社区
Linux/Unix社区
帖子详情
VLC播放m3u8文件,视频播放进度不正确
wangguang246
2013-01-22 05:12:08
我在使用vlc播放m3u8文件的时候,设置去复用 为avformat去复用器。 但是播放的进度不正确。
请教大家如何解决此问题!
...全文
2220
4
打赏
收藏
VLC播放m3u8文件,视频播放进度不正确
我在使用vlc播放m3u8文件的时候,设置去复用 为avformat去复用器。 但是播放的进度不正确。 请教大家如何解决此问题!
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
ashiny_why
2015-01-04
打赏
举报
回复
楼主的VLC是怎么播放m3u8文件的啊?我在ubuntu下安装了一个vlc,怎么老是显示无法识别m3u8格式的文件呢?
matthew0618band
2013-05-03
打赏
举报
回复
您好,请问您的vlc.apk在播放直播流,比如:http://192.168.100.121/live/2/index.m3u8,有自动停止的情况吗?我这边会停止日志如下: Live Playlist HLS protocol version: 1 I/VLC ( 5663): updating hls stream (program-id=1, bandwidth=915936) has 10 segments D/VLC ( 5663): latency 2052 ms, 205/255 buffers D/VLC ( 5663): latency 2045 ms, 204/255 buffers D/VLC ( 5663): waiting decoder fifos to empty D/VLC ( 5663): latency 2048 ms, 204/255 buffers D/VLC ( 5663): latency 2051 ms, 205/255 buffers D/VLC ( 5663): latency 2045 ms, 204/255 buffers D/VLC ( 5663): latency 2048 ms, 204/255 buffers D/VLC ( 5663): waiting decoder fifos to empty D/VLC ( 5663): waiting decoder fifos to empty D/VLC ( 5663): waiting decoder fifos to empty D/VLC ( 5663): waiting decoder fifos to empty D/VLC ( 5663): waiting decoder fifos to empty D/VLC ( 5663): waiting decoder fifos to empty D/VLC ( 5663): waiting decoder fifos to empty D/VLC ( 5663): waiting decoder fifos to empty D/VLC ( 5663): waiting decoder fifos to empty D/VLC ( 5663): waiting decoder fifos to empty D/VLC ( 5663): waiting decoder fifos to empty D/VLC ( 5663): waiting decoder fifos to empty D/VLC ( 5663): waiting decoder fifos to empty D/VLC ( 5663): waiting decoder fifos to empty D/VLC ( 5663): waiting decoder fifos to empty D/VLC ( 5663): waiting decoder fifos to empty D/VLC ( 5663): waiting decoder fifos to empty D/VLC ( 5663): waiting decoder fifos to empty I/VLC ( 5663): Reloading HLS live meta playlist D/VLC ( 5663): creating access 'http' location='192.168.100.121/live/2/chc-2.m3u8', path='(null)' D/VLC ( 5663): looking for access module matching "http": 13 candidates D/VLC ( 5663): querying proxy for http://192.168.100.121/live/2/chc-2.m3u8 D/VLC ( 5663): no proxy D/VLC ( 5663): http: server='192.168.100.121' port=80 file='/live/2/chc-2.m3u8' D/VLC ( 5663): net: connecting to 192.168.100.121 port 80 D/VLC ( 5663): connection succeeded (socket = 71) D/VLC ( 5663): protocol 'HTTP' answer code 206 D/VLC ( 5663): Connection: close D/VLC ( 5663): Content-Type: application/x-mpegURL D/VLC ( 5663): stream size=288,pos=0,remaining=288 D/VLC ( 5663): this frame size=288 D/VLC ( 5663): Server: lighttpd/1.4.18 D/VLC ( 5663): using access module "access_http" D/VLC ( 5663): Using stream method for AStream* D/VLC ( 5663): starting pre-buffering D/VLC ( 5663): received first data after 0 ms D/VLC ( 5663): pre-buffering done 288 bytes in 0s - 1015 KiB/s D/VLC ( 5663): removing module "access_http" D/VLC ( 5663): parse_M3U8 D/VLC ( 5663): #EXTM3U D/VLC ( 5663): #EXT-X-TARGETDURATION:5 D/VLC ( 5663): #EXT-X-MEDIA-SEQUENCE:911 D/VLC ( 5663): #EXTINF:8 D/VLC ( 5663): chc-2-911.ts D/VLC ( 5663): #EXTINF:8 D/VLC ( 5663): chc-2-912.ts D/VLC ( 5663): #EXTINF:8 D/VLC ( 5663): chc-2-913.ts D/VLC ( 5663): #EXTINF:8 D/VLC ( 5663): chc-2-914.ts D/VLC ( 5663): #EXTINF:8 D/VLC ( 5663): chc-2-915.ts D/VLC ( 5663): #EXTINF:8 D/VLC ( 5663): chc-2-916.ts D/VLC ( 5663): #EXTINF:8 D/VLC ( 5663): chc-2-917.ts D/VLC ( 5663): #EXTINF:8 D/VLC ( 5663): chc-2-918.ts D/VLC ( 5663): #EXTINF:6 D/VLC ( 5663): chc-2-919.ts D/VLC ( 5663): #EXTINF:8 D/VLC ( 5663): chc-2-920.ts I/VLC ( 5663): Live Playlist HLS protocol version: 1 I/VLC ( 5663): updating hls stream (program-id=1, bandwidth=915936) has 10 segments D/VLC ( 5663): waiting decoder fifos to empty D/VLC ( 5663): waiting decoder fifos to empty D/VLC ( 5663): latency 1 ms, 0/255 buffers D/VLC ( 5663): removing module "avcodec" D/VLC ( 5663): ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped D/VLC ( 5663): killing decoder fourcc `h264', 0 PES in FIFO D/VLC ( 5663): saving a free vout D/VLC ( 5663): reusing provided vout D/VLC ( 5663): removing module "packetizer_h264" E/VLC ( 5663): Failed to change zoom E/VLC ( 5663): Failed to change source AR D/VLC ( 5663): removing module "avcodec" D/VLC ( 5663): ffmpeg codec (MPEG AAC Audio) stopped D/VLC ( 5663): killing decoder fourcc `mp4a', 0 PES in FIFO D/VLC ( 5663): removing module "ugly_resampler" D/VLC ( 5663): removing module "audio_format" D/VLC ( 5663): removing module "integer_mixer" D/VLC ( 5663): keeping audio output D/VLC ( 5663): removing module "packetizer_mpeg4audio" D/VLC ( 5663): removing module "ts" D/VLC ( 5663): pid list: D/VLC ( 5663): - pid[0] seen D/VLC ( 5663): - pid[480] seen D/VLC ( 5663): - pid[481] seen D/VLC ( 5663): Program doesn't contain anymore ES D/VLC ( 5663): - pid[482] seen D/VLC ( 5663): - pid[8191] seen D/VLC ( 5663): removing module "httplive" D/VLC ( 5663): creating access 'http' location='192.168.100.121/live/2/chc-2-911.ts', path='(null)' D/VLC ( 5663): looking for access module matching "http": 13 candidates D/VLC ( 5663): querying proxy for http://192.168.100.121/live/2/chc-2-911.ts D/VLC ( 5663): no proxy D/VLC ( 5663): http: server='192.168.100.121' port=80 file='/live/2/chc-2-911.ts' D/VLC ( 5663): net: connecting to 192.168.100.121 port 80 D/VLC ( 5663): object waitpipe triggered D/VLC ( 5663): object waitpipe triggered E/VLC ( 5663): cannot connect to 192.168.100.121:80 D/VLC ( 5663): net: connecting to 192.168.100.121 port 80 E/VLC ( 5663): cannot connect to 192.168.100.121:80 D/VLC ( 5663): no access modules matched E/VLC ( 5663): no suitable access module for `http://192.168.100.121/live/2/chc-2-911.ts' E/VLC ( 5663): downloading segment 911 from stream 0 failed D/VLC ( 5663): removing module "access_http" D/VLC ( 5663): Destroying the input for 'http://192.168.100.121/live/2/index.m3u8' D/VLC ( 5663): removing module "opensles_android" D/VLC ( 5663): destroying useless vout D/VLC ( 5663): Filter 0x57b0e36c removed from chain D/VLC ( 5663): removing module "yuv_rgb_neon" D/VLC ( 5663): removing module "android_surface" D/VLC ( 5663): removing module "freetype" D/VLC ( 5663): removing module "yuvp" D/VLC ( 5663): removing module "swscale"
xiong1978
2013-04-11
打赏
举报
回复
这个问题的原因就是vlc还没有很好的支持hls协议
hcaihao
2013-02-08
打赏
举报
回复
我也遇到了这个问题,不知道如何解决,能留个联系方式吗讨论下
m3u8
播放
器实现
基于开源
播放
器
vlc
j-player,追加.
M3U8
播放
功能.
WPF基于
Vlc
.DotNet.Wpf封装的
视频
播放
器
WPF基于
Vlc
.DotNet.Wpf封装的
视频
播放
器
播放
器源代码.
播放
器源代码.
播放
器源代码.
VLC
播放
基于HLS协议
m3u8
文件
的几个问题
最近比较忙,刚刚接手一个电视
视频
直播与点播的项目,服务器端
视频
流是基于HLS协议,关于HLS协议的相关介绍这里就不介绍了,请参考Apple的官网。刚接手项目的时候,试了几种开源
播放
器,MPlayer、
VLC
、ffplayer等,效果都不怎么样,
播放
m3u8
list的时候多多少少都有些问题,经过权衡以后,还是选择了
VLC
,看了大约一周
VLC
的源码,对
VLC
的源码架构有了一些了解,其中重点看了
播放
m
WPF
播放
m3u8
文件
(使用
Vlc
库,支持在线和离线
播放
)
目前主流的
播放
器都是调用
VLC
库(支持
视频
类型比较多且功能强大),主流
视频
网站采用的是流媒体传输协议(就是将一段
视频
切成无数个小段,这几个小段就是ts格式的
视频
文件
,一段一段的
播放
,
m3u8
为其索引
文件
)。
Linux/Unix社区
23,217
社区成员
74,540
社区内容
发帖
与我相关
我的任务
Linux/Unix社区
Linux/Unix社区 应用程序开发区
复制链接
扫一扫
分享
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章