This project has moved and is read-only. For the latest updates, please go here.

picture frozen issue when switch video in M3U8 file

Jun 24, 2014 at 8:39 AM

When switch video in M3U8 file, it's always picture frozen. Can we solve it?
Thank you!
Jun 24, 2014 at 9:16 AM
Jun 24, 2014 at 6: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 4: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 9:33 AM

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*.flv to*.flv


Jun 25, 2014 at 11: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 11:48 AM
Jun 26, 2014 at 11: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.