[FFmpeg-user] FFMPEG HLS Streaming: Older segment program date time also changing in playlist.m3u8 when re-streaming after discontinuity
Suriya.Velusamy at redflex.com
Wed Nov 11 11:26:01 EET 2020
Following is the ffmpeg command used to stream the data.
ffmpeg -re -f avfoundation
-framerate 30 -i 0
-codec:v h264_videotoolbox -x264-params keyint=120:scenecut=0
-codec:a copy -f hls
Following is the playlist.m3u8 content which generated for few seconds.
When the re-stream happens(in case of restarting the streaming service), the program date time of older segments(before #EXT-X-DISCONTINUITY) also get changed like below which is unexpected.
Why the program date time of older segment should change? Should we add any arguments explicitly in ffmpeg command to handle this?
Suriya Velusamy | Software Engineer | Product Engineering | Redflex Group
E Suriya.Velusamy at redflex.com<mailto:Suriya.Velusamy at redflex.com>
4/293, Old Mahabalipuram Road, Perungudi, Chennai Tamil Nadu 600096, India
Confidentiality Note: This e-mail, and any attachment to it, is intended only for the use of the individual(s) or entity named on the e-mail, and may contain confidential or proprietary information (including copyrighted materials). If the reader is not an authorized recipient, you are hereby notified that reading it or further distributing it (other than to the author or the intended recipient) is prohibited and is potentially an infringement of the rights of the sender or intended recipient. If you have received this e-mail in error, please immediately return it to the sender and delete it from your system. Thank you.
More information about the ffmpeg-user