Only show first frame when playing m3u8

*nix specific usage questions
Kevinzhy
New Cone
New Cone
Posts: 2
Joined: 15 Oct 2013 11:11

Only show first frame when playing m3u8

Postby Kevinzhy » 15 Oct 2013 11:33

hi buddys,

Im now trying to get vlc to work with m3u8(actually it is supposed to do so), however, for some of the m3u8's, vlc does not work with them. It only gives me the first frame and it's then just stuck on that frame for 10-20 secs and finally "quit". The "quit" here does not mean the player quit or crushes, it still remains there and functions well meaning you can continue playing other media sources. So it looks like the player thinks it just finished up playing that m3u8. All of the m3u8's I tried are live not vod, so it can never reach the end.
Btw, ffmpeg works with all of the m3u8's I tried.

here is the log info:

Code: Select all

main debug: processing request item: http://live.itv.doplive.com.cn/live651/index_512k.m3u8, node: Playlist, skip: 0 main debug: resyncing on http://live.itv.doplive.com.cn/live651/index_512k.m3u8 main debug: http://live.itv.doplive.com.cn/live651/index_512k.m3u8 is at 0 main debug: starting playback of the new playlist item main debug: resyncing on http://live.itv.doplive.com.cn/live651/index_512k.m3u8 main debug: http://live.itv.doplive.com.cn/live651/index_512k.m3u8 is at 0 main debug: creating new input thread main debug: Creating an input for 'http://live.itv.doplive.com.cn/live651/index_512k.m3u8' main debug: using timeshift granularity of 50 MiB, in path '/tmp' main debug: `http://live.itv.doplive.com.cn/live651/index_512k.m3u8' gives access `http' demux `' path `live.itv.doplive.com.cn/live651/index_512k.m3u8' main debug: creating demux: access='http' demux='' location='live.itv.doplive.com.cn/live651/index_512k.m3u8' file='(null)' main debug: looking for access_demux module matching "http": 19 candidates main debug: no access_demux modules matched main debug: creating access 'http' location='live.itv.doplive.com.cn/live651/index_512k.m3u8', path='(null)' main debug: looking for access module matching "http": 21 candidates access_http debug: querying proxy for http://live.itv.doplive.com.cn/live651/index_512k.m3u8 access_http debug: no proxy access_http debug: http: server='live.itv.doplive.com.cn' port=80 file='/live651/index_512k.m3u8' main debug: net: connecting to live.itv.doplive.com.cn port 80 qt4 debug: IM: Setting an input main debug: connection succeeded (socket = 27) access_http debug: protocol 'HTTP' answer code 206 access_http debug: Server: Tengine/1.3.0 access_http debug: Content-Type: application/octet-stream access_http debug: this frame size=288 access_http debug: Connection: close access_http debug: stream size=288,pos=0,remaining=288 main debug: using access module "access_http" main debug: Using stream method for AStream* main debug: starting pre-buffering main debug: received first data after 0 ms main debug: pre-buffering done 288 bytes in 0s - 5859 KiB/s main debug: looking for stream_filter module matching "any": 9 candidates httplive info: HTTP Live Streaming (live.itv.doplive.com.cn/live651/index_512k.m3u8) httplive debug: parse_M3U8 #EXTM3U #EXT-X-TARGETDURATION:10 #EXT-X-MEDIA-SEQUENCE:4520 #EXTINF:10, sample_512k-1381829001.ts #EXTINF:10, sample_512k-1381829012.ts #EXTINF:10, sample_512k-1381829023.ts #EXTINF:10, sample_512k-1381829033.ts #EXTINF:10, sample_512k-1381829043.ts #EXTINF:10, sample_512k-1381829054.ts httplive debug: Live Playlist HLS protocol version: 1 httplive debug: Choose segment 3/6 (sequence=4523) main debug: creating access 'http' location='live.itv.doplive.com.cn/live651/sample_512k-1381829033.ts', path='(null)' main debug: looking for access module matching "http": 21 candidates access_http debug: querying proxy for http://live.itv.doplive.com.cn/live651/sample_512k-1381829033.ts access_http debug: no proxy access_http debug: http: server='live.itv.doplive.com.cn' port=80 file='/live651/sample_512k-1381829033.ts' main debug: net: connecting to live.itv.doplive.com.cn port 80 main debug: connection succeeded (socket = 29) access_http debug: protocol 'HTTP' answer code 206 access_http debug: Server: Tengine/1.3.0 access_http debug: Content-Type: text/plain access_http debug: Connection: close access_http debug: this frame size=997340 access_http debug: stream size=997340,pos=0,remaining=997340 main debug: using access module "access_http" main debug: Using stream method for AStream* main debug: starting pre-buffering main debug: received first data after 0 ms main debug: pre-buffering done 1024 bytes in 0s - 27027 KiB/s main debug: removing module "access_http" httplive debug: downloaded segment 4523 from stream 0 main debug: using stream_filter module "httplive" main debug: Inserted a stream filter main debug: creating access 'http' location='live.itv.doplive.com.cn/live651/sample_512k-1381829043.ts', path='(null)' main debug: looking for access module matching "http": 21 candidates main debug: looking for stream_filter module matching "any": 9 candidates main debug: no stream_filter modules matched access_http debug: querying proxy for http://live.itv.doplive.com.cn/live651/sample_512k-1381829043.ts main debug: looking for stream_filter module matching "stream_filter_record": 9 candidates main debug: no stream_filter modules matched main debug: creating demux: access='http' demux='' location='live.itv.doplive.com.cn/live651/index_512k.m3u8.ts' file='(null)' main debug: looking for demux module matching "any": 63 candidates httplive debug: playing segment 4523 from stream 0 ts debug: PATCallBack called ts debug: new PAT ts_id=1 version=0 current_next=1 ts debug: * number=1 pid=4095 ts debug: PMTCallBack called ts debug: new PMT program number=1 version=0 pid_pcr=256 ts debug: * es pid=256 type=27 fcc=h264 main debug: selecting program id=1 ts error: MPEG-4 descriptor not found ts debug: * es pid=257 type=15 fcc=mp4a main debug: using demux module "ts" main debug: looking for decoder module matching "any": 40 candidates access_http debug: no proxy access_http debug: http: server='live.itv.doplive.com.cn' port=80 file='/live651/sample_512k-1381829043.ts' main debug: net: connecting to live.itv.doplive.com.cn port 80 avcodec debug: trying to use direct rendering avcodec debug: allowing 4 thread(s) for decoding avcodec debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started avcodec debug: using frame thread mode with 4 threads main debug: using decoder module "avcodec" main debug: looking for packetizer module matching "any": 21 candidates main debug: using packetizer module "packetizer_h264" main debug: looking for decoder module matching "any": 40 candidates main debug: using decoder module "faad" main debug: looking for packetizer module matching "any": 21 candidates packetizer_mpeg4audio debug: running MPEG4 audio packetizer packetizer_mpeg4audio debug: no decoder specific info, must be an ADTS or LOAS stream main debug: using packetizer module "packetizer_mpeg4audio" ts debug: DEMUX_SET_GROUP 0 (nil) main debug: looking for meta reader module matching "any": 2 candidates lua debug: Trying Lua scripts in /home/thelord/.local/share/vlc/lua/meta/reader lua debug: Trying Lua scripts in /home/thelord/Downloads/vlc-2.1.0/src/.libs/vlc/lua/meta/reader lua debug: Trying Lua scripts in /home/thelord/Downloads/vlc-2.1.0/share/lua/meta/reader lua debug: Trying Lua playlist script /home/thelord/Downloads/vlc-2.1.0/share/lua/meta/reader/filename.lua main debug: connection succeeded (socket = 29) lua debug: Trying Lua playlist script /home/thelord/Downloads/vlc-2.1.0/share/lua/meta/reader/filename.luac main debug: no meta reader modules matched main debug: `http://live.itv.doplive.com.cn/live651/index_512k.m3u8' successfully opened ts warning: first packet for pid=256 cc=0x8 ts warning: first packet for pid=257 cc=0x1 packetizer_mpeg4audio debug: detected ADTS format packetizer_mpeg4audio info: AAC channels: 2 samplerate: 32000 packetizer_h264 debug: found NAL_SPS (sps_id=0) packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0) faad warning: decoded zero sample main debug: reusing audio output pulse debug: using stereo channel map main debug: looking for text renderer module matching "any": 3 candidates freetype debug: Building font databases. freetype debug: Took 1 microseconds freetype debug: Using Serif Bold as font from file /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf freetype debug: using fontsize: 2 main debug: using text renderer module "freetype" main debug: looking for video filter2 module matching "any": 54 candidates pulse debug: changed buffer metrics: maxlength=4194304, tlength=36712, prebuf=0, minreq=10240 pulse debug: connected to sink alsa_output.pci-0000_00_1b.0.analog-stereo main debug: output 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality) main debug: using video filter2 module "swscale" main debug: looking for video filter2 module matching "any": 54 candidates yuvp debug: YUVP to YUVA converter main debug: using video filter2 module "yuvp" main debug: looking for audio volume module matching "any": 2 candidates main debug: using audio volume module "float_mixer" main debug: input 'f32l' 32000 Hz Stereo frame=1 samples/8 bytes main debug: looking for audio filter module matching "scaletempo": 14 candidates scaletempo debug: format: 32000 rate, 2 nch, 4 bps, fl32 scaletempo debug: params: 30 stride, 0.200 overlap, 14 search scaletempo debug: 1.000 scale, 960.000 stride_in, 960 stride_out, 768 standing, 192 overlap, 448 search, 1600 queue, fl32 mode main debug: using audio filter module "scaletempo" main debug: conversion: 'f32l'->'f32l' 32000 Hz->32000 Hz Stereo->Stereo main debug: conversion pipeline complete main debug: conversion: 'f32l'->'f32l' 32000 Hz->32000 Hz Stereo->Stereo main debug: conversion pipeline complete main debug: looking for audio resampler module matching "any": 3 candidates main debug: Deinterlacing available main debug: using audio resampler module "samplerate" main debug: deinterlace 0, mode blend, is_needed 0 main debug: End of audio preroll httplive warning: playback in danger of stalling pulse debug: base volume: 65536 main debug: Opening vout display wrapper main debug: looking for vout display module matching "any": 11 candidates main debug: looking for vout window xid module matching "qt4,any": 4 candidates qt4 debug: requesting video window... access_http debug: protocol 'HTTP' answer code 206 access_http debug: Server: Tengine/1.3.0 access_http debug: Content-Type: text/plain access_http debug: Connection: close access_http debug: this frame size=984932 access_http debug: stream size=984932,pos=0,remaining=984932 main debug: using access module "access_http" main debug: Using stream method for AStream* main debug: starting pre-buffering main debug: received first data after 0 ms main debug: pre-buffering done 1024 bytes in 0s - 1652 KiB/s qt4 debug: Video was requested 0, 0 main debug: using vout window xid module "qt4" main debug: looking for inhibit module matching "any": 2 candidates dbus_screensaver debug: cannot find service org.freedesktop.ScreenSaver dbus_screensaver debug: cannot find service org.freedesktop.PowerManagement.Inhibit dbus_screensaver debug: cannot find service org.mate.SessionManager dbus_screensaver debug: found service org.gnome.SessionManager main debug: using inhibit module "dbus_screensaver" xcb_xv debug: connected to X11.0 server xcb_xv debug: vendor : The X.Org Foundation xcb_xv debug: version: 11103000 xcb_xv debug: using screen 0xaf xcb_xv debug: using XVideo extension v2.2 xcb_xv debug: using adaptor Intel(R) Textured Video xcb_xv debug: using port 77 xcb_xv debug: using image format 0x30323449 xcb_xv debug: using X11 visual ID 0x21 (depth: 24) xcb_xv debug: using X11 window 0x04400000 xcb_xv debug: using X11 graphic context 0x04400002 main debug: VoutDisplayEvent 'fullscreen' 0 main debug: VoutDisplayEvent 'resize' 640x480 window main debug: using vout display module "xcb_xv" main debug: original format sz 640x480, of (0,0), vsz 640x480, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0 main debug: removing module "freetype" main debug: looking for text renderer module matching "any": 3 candidates freetype debug: Building font databases. freetype debug: Took 1 microseconds freetype debug: Using Serif Bold as font from file /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf freetype debug: using fontsize: 2 main debug: using text renderer module "freetype" avcodec warning: disabling direct rendering xcb_xv debug: display is visible main error: Failed to resize display main debug: End of video preroll main debug: Received first picture freetype error: Breaking unbreakable line main debug: looking for video blending module matching "any": 1 candidates main debug: using video blending module "blend" main debug: auto hiding mouse cursor main debug: removing module "access_http" httplive debug: downloaded segment 4524 from stream 0 httplive debug: playing segment 4524 from stream 0 main debug: creating access 'http' location='live.itv.doplive.com.cn/live651/sample_512k-1381829054.ts', path='(null)' main debug: looking for access module matching "http": 21 candidates access_http debug: querying proxy for http://live.itv.doplive.com.cn/live651/sample_512k-1381829054.ts access_http debug: no proxy access_http debug: http: server='live.itv.doplive.com.cn' port=80 file='/live651/sample_512k-1381829054.ts' main debug: net: connecting to live.itv.doplive.com.cn port 80 main debug: connection succeeded (socket = 29) httplive warning: playback in danger of stalling access_http debug: protocol 'HTTP' answer code 206 access_http debug: Server: Tengine/1.3.0 access_http debug: Content-Type: text/plain access_http debug: Connection: close access_http debug: this frame size=1069720 access_http debug: stream size=1069720,pos=0,remaining=1069720 main debug: using access module "access_http" main debug: Using stream method for AStream* main debug: starting pre-buffering main debug: received first data after 0 ms main debug: pre-buffering done 1024 bytes in 0s - 27777 KiB/s main debug: removing module "access_http" httplive debug: downloaded segment 4525 from stream 0 httplive debug: playing segment 4525 from stream 0 httplive warning: playback in danger of stalling httplive debug: Reloading HLS live meta playlist main debug: creating access 'http' location='live.itv.doplive.com.cn/live651/index_512k.m3u8', path='(null)' main debug: looking for access module matching "http": 21 candidates access_http debug: querying proxy for http://live.itv.doplive.com.cn/live651/index_512k.m3u8 access_http debug: no proxy access_http debug: http: server='live.itv.doplive.com.cn' port=80 file='/live651/index_512k.m3u8' main debug: net: connecting to live.itv.doplive.com.cn port 80 main debug: connection succeeded (socket = 29) access_http debug: protocol 'HTTP' answer code 206 access_http debug: Server: Tengine/1.3.0 access_http debug: Content-Type: application/octet-stream access_http debug: this frame size=288 access_http debug: Connection: close access_http debug: stream size=288,pos=0,remaining=288 main debug: using access module "access_http" main debug: Using stream method for AStream* main debug: starting pre-buffering main debug: received first data after 0 ms main debug: pre-buffering done 288 bytes in 0s - 23437 KiB/s main debug: removing module "access_http" httplive debug: parse_M3U8 #EXTM3U #EXT-X-TARGETDURATION:10 #EXT-X-MEDIA-SEQUENCE:4520 #EXTINF:10, sample_512k-1381829001.ts #EXTINF:10, sample_512k-1381829012.ts #EXTINF:10, sample_512k-1381829023.ts #EXTINF:10, sample_512k-1381829033.ts #EXTINF:10, sample_512k-1381829043.ts #EXTINF:10, sample_512k-1381829054.ts httplive debug: Live Playlist HLS protocol version: 1 httplive debug: updating hls stream (program-id=0, bandwidth=797872) has 0 segments httplive debug: updating hls stream (program-id=0, bandwidth=0) has 6 segments httplive warning: timeout limit reached! ts debug: eof ? main debug: EOF reached main debug: finished input main debug: object waitpipe triggered main warning: early picture skipped main warning: early picture skipped main warning: early picture skipped main warning: early picture skipped main warning: early picture skipped main debug: removing module "avcodec" avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped main debug: killing decoder fourcc `h264', 760 PES in FIFO main debug: saving a free vout main debug: reusing provided vout main debug: removing module "packetizer_h264" main debug: discarded audio buffer main debug: discarded audio buffer main debug: discarded audio buffer main debug: discarded audio buffer main debug: discarded audio buffer main debug: removing module "faad" main debug: killing decoder fourcc `mp4a', 49 PES in FIFO main debug: removing module "samplerate" main debug: removing module "scaletempo" main debug: removing module "float_mixer" main debug: keeping audio output main debug: removing module "packetizer_mpeg4audio" main debug: removing module "ts" ts debug: pid list: ts debug: - pid[0] seen ts debug: - pid[256] seen main debug: Program doesn't contain anymore ES ts debug: - pid[257] seen ts debug: - pid[4095] seen ts debug: - pid[8191] seen main debug: removing module "httplive" main error: Failed to resize display main debug: auto hiding mouse cursor main debug: removing module "access_http" main debug: dead input main debug: changing item without a request (current 0/1) main debug: nothing to play main debug: destroying useless vout main debug: removing module "blend" main debug: removing module "xcb_xv" dbus_screensaver debug: got cookie 1852694680 main debug: removing module "dbus_screensaver" qt4 debug: releasing video... qt4 debug: IM: Deleting the input qt4 debug: Video is not needed anymore main debug: removing module "freetype" main debug: removing module "yuvp" main debug: removing module "swscale"

Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 5 guests