picture frozen issue when switch video in M3U8 file

Jun 24, 2014 at 7:39 AM
Hi,

When switch video in M3U8 file, it's always picture frozen. Can we solve it?
Thank you!
Jun 24, 2014 at 8:16 AM
Coordinator
Jun 24, 2014 at 5:40 PM
The #EXT-X-DISCONTINUITY tag is, unfortunately, ignored. The tag itself is simple enough to recognize, but there is currently no simple way to get that information to where it is needed. Some significant changes to the whole processing pipeline is need to resolve this (and some related issues); ths should be happening at some point in the near future.
Jun 25, 2014 at 3:49 AM
Thank you for reply. Hope it can be solved ASAP. Picture frozen is a big issue in our Project. Thanks again!!
Jun 25, 2014 at 8:33 AM
hi,

I tried to delete EXT-X-DISCONTINUITY and played the m3u8 file, I found that it's also have picture frozen issue. I found when switch from one FLV file to another FLV file, It will cause picture frozen.

For example: From http://122.143.9.201/*.flv to http://113.6.235.178/*.flv

EXTINF:15,

http://122.143.9.201/657424744DC3181BEF6A285E83/030001100053118DFE6AA7059F63C409CB699E-FD79-2572-FE3D-65EB76C561BE.flv.ts?ts_start=180&ts_end=196&ts_seg_no=18

EXTINF:10,

http://113.6.235.178/697952058054A73AB878E4E52/030001100153118DFE6AA7059F63C409CB699E-FD79-2572-FE3D-65EB76C561BE.flv.ts?ts_start=0&ts_end=10&ts_seg_no=19
Coordinator
Jun 25, 2014 at 10:18 AM
Since phonesm is currently ignoring the #EXT-X-DISCONTINUITY tag, I wouldn't expect that removing it would make any difference.

If you don't mind doing some mucking with the playlist, one way to work-around this problem would be to break the playlist into separate playlists at each of the discontinuity tags. Come to think of it, if you customize HlsPlaylistSegmentManager to stop playback at each discontinuity tag and add a handler to the closed event to start playback at the next segment, then this might not be too difficult...
Jun 25, 2014 at 10:48 AM
Coordinator
Jun 26, 2014 at 10:44 PM
If the discontinuity itself is simple enough to be fixed by TsTimestamp (i.e., there is only a discontinuity in the timestamp), then it should keep playing. If there is something more significant, like the audio or video format changing more than what the operating system will tolerate, then the playback needs to be reinitialized. It is this reinitialization that isn't implemented.