问题
I am converting MPEG-2 transportable format from incoming movie for live streaming which is not playable, then validate the .m3u8 file by using mediastreamvalidator, it says "WARNING: stream discontinuity detected without EXT-X-DISCONTINUITY tag". The conversion happen using FFMPEG, please help me what i am missing?
Sri
回答1:
Possibly this refers to PTS and PCR discontinuity. When a different streams are generated using fresh context - the PTS and PCR values might be completely off the sync. This can be a potential problem that throws Warning of discontinuity.
回答2:
When using FFMPEG, you can rewrite the timestamps on the output files with the setpts option.
来源:https://stackoverflow.com/questions/5374533/update-m3u8-playlist-file-for-http-live-streaming