Playing HLS streaming video with VLC player
Posted: 27 Aug 2013 20:41
(I hope i post on the right section of the forum)
Hey. I am encountering problem with playing HLS streaming video using VLC player.
I have generated a set of video segments (.ts files) and the required playlist (.m3u8) using ffmpeg. The following is a sample command i used to generate the video segments: (there is no sound to the video, hence no sound codec)
After creating the necessary files, I tried to play the m3u8 playlist on ffplay, and it works smoothly.
When i try to play on VLC Player, the following are the error message i encounter:
The player version is VLC 2.0.5 TwoFlower
The player stuttered alot, jumping alot of frames, and eventually, stop playing the streaming. Can anyone advise what I could do to troubleshoot the issue? Thanks =)
Hey. I am encountering problem with playing HLS streaming video using VLC player.
I have generated a set of video segments (.ts files) and the required playlist (.m3u8) using ffmpeg. The following is a sample command i used to generate the video segments: (there is no sound to the video, hence no sound codec)
Code: Select all
ffmpeg -i test.m4v -vcodec libx264 -f mpegts output/test1.ts
When i try to play on VLC Player, the following are the error message i encounter:
Code: Select all
[0xb5104178] stream_filter_httplive stream: HTTP Live Streaming (/home/lokeyanhao/Desktop/HLSStream/HLS-Stream-Creator/output/test.ts.m3u8)
[0xb5104178] stream_filter_httplive stream: VOD Playlist HLS protocol version: 3
[0xb5104178] stream_filter_httplive stream: video on demand (vod) mode
[0xb5104178] stream_filter_httplive stream: Choose segment 0/3 (sequence=0)
[0xb5104178] stream_filter_httplive stream: downloaded segment 0 from stream 0
[0xb5104178] stream_filter_httplive stream: downloaded segment 1 from stream 0
[0xb5104178] stream_filter_httplive stream: playing segment 0 from stream 0
[0xb5104178] stream_filter_httplive stream: downloaded segment 2 from stream 0
[0xb5104178] stream_filter_httplive stream: playing segment 1 from stream 0
libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 3) for PID 17
libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 12) for PID 0
libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 12) for PID 4096
[0xb5111a10] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 300 ms)
[0xb5111a10] main input error: ES_OUT_RESET_PCR called
[0xb5104178] stream_filter_httplive stream: playing segment 2 from stream 0
libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 2) for PID 17
libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 6) for PID 0
libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 6) for PID 4096
[0xb5111a10] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 1800 ms)
[0xb5111a10] main input error: ES_OUT_RESET_PCR called
The player stuttered alot, jumping alot of frames, and eventually, stop playing the streaming. Can anyone advise what I could do to troubleshoot the issue? Thanks =)