git 在 VLC 上播放 MPEG-DASH

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/31925434/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 11:15:48  来源:igfitidea点击:

MPEG-DASH playback on VLC

gitvlcmpegmpeg-dash

提问by Danny Ayoub

I see that VLC should support MPEG-DASH playback from version 2.1 onwards, but I can't seem to get it to play back any DASH content, for either sample media found online or videos I've encoded myself. I've successfully tested these video manifests in a browser-based player, but I need to stream the video and collect bandwidth data from a computer that has no display.

我看到 VLC 应该从 2.1 版开始支持 MPEG-DASH 播放,但我似乎无法让它播放任何 DASH 内容,无论是在线找到的示例媒体还是我自己编码的视频。我已经在基于浏览器的播放器中成功测试了这些视频清单,但我需要流式传输视频并从没有显示器的计算机上收集带宽数据。

When I try to stream a manifest from command line, it looks like vlc tries to parse the manifest using lua filters (because the file is coming over http, I presume), but I don't see any mention of DASH anywhere, and vlc fails to play the file. I don't have my test rig set up, but I can get a detailed output if anyone would like it.

当我尝试从命令行流式传输清单时,看起来 vlc 尝试使用 lua 过滤器解析清单(因为我认为该文件是通过 http 传输的),但我在任何地方都没有看到 DASH 的任何提及,而 vlc无法播放文件。我没有设置测试装置,但如果有人愿意,我可以获得详细的输出。

Searching for a solution brought me here, but when I look through the vlc source from version 2.1.0 (with git checkout tags/2.1.0-gitafter cloning), the lines they mention to change are not in the files they mention. Any help would be greatly appreciated, this problem has been getting in the way of my research for more than a week now.

寻找解决方案让我来到这里,但是当我查看 2.1.0 版的 vlc 源代码(git checkout tags/2.1.0-git克隆后)时,他们提到要更改的行不在他们提到的文件中。任何帮助将不胜感激,这个问题已经阻碍了我一个多星期的研究。

回答by JieGhost

VLC official version 2.2.1 does not support MPEG-Dash.

VLC 正式版 2.2.1 不支持 MPEG-Dash。

I have used nightly build 3.0 and it has dash support.

我使用了 nightly build 3.0 并且它有破折号支持。

you can download it from here:

你可以在这里下载:

http://nightlies.videolan.org/.

http://nightlies.videolan.org/

Hope this helps.

希望这可以帮助。

回答by Whome

I tried VLC nightly build vlc-3.0.0-git-20151220-0402-win64.7z release, it was able to playback mpd test files I have in use(*). Previous 3.x releases did not play anything. This version is not perfect picture as it flashes once in a while when downloading new segments.

我尝试了 VLC nightly build vlc-3.0.0-git-20151220-0402-win64.7z 版本,它能够播放我正在使用的 mpd 测试文件(*)。以前的 3.x 版本没有播放任何内容。这个版本不是完美的图片,因为它在下载新片段时会偶尔闪烁。

http://nightlies.videolan.org/build/win64/last/

http://nightlies.videolan.org/build/win64/last/

(*) mp4(h264,aac) file dashed using a live profile.

(*) mp4(h264,aac) 文件使用实时配置文件虚线。