VLC播放m3u8文件,视频播放进度不正确

wangguang246 2013-01-22 05:12:08

我在使用vlc播放m3u8文件的时候,设置去复用 为avformat去复用器。 但是播放的进度不正确。

请教大家如何解决此问题!
...全文
1260 4 打赏 收藏 转发到动态 举报
写回复
用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
  • 打赏
  • 举报
回复
我也遇到了这个问题,不知道如何解决,能留个联系方式吗讨论下

23,117

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧