The playlist_dvr.m3u8 outputs separate sessions as one contiguous video stream.
I followed directions to use ffmpeg to convert to an mp4 file. But I always lose a lot of content when doing that.
For example, I have one playlist_dvr.m3u8 which is 36:20 in duration. When I convert to mp4 it results in a video file 19:31 in duration.
I use this command:
ffmpeg -i http://localhost:8080/live/test/playlist_dvr.m3u8 -codec copy -bsf:a aac_adtstoasc /shared/tmp/test.mp4
When I run that command I see a ton of warning messages like this
[mp4 @ 0x3057780] Non-monotonous DTS in output stream 0:1; previous: 16898566, current: 16891056; changing to 16898567. This may result in incorrect timestamps in the output file.
Does anyone else see errors like this?
what is the source for live/test rtmp/rtsp/mpegts ?
thanks for your quick reply
It's a live RTMP stream sent to nimble, and I have setup a DVR stream
please dig a little deeper. what is sources stream from SDI/Sattelite or at least from that point you now about.
You should understand that messages like " previous: 16898566, current: 16891056; changing to 1689856" caused by source stream time problems so we know all story we can help with more probability
I don't follow what you mean.
I'm streaming a live event using Open Broadcaster Software sending an RTMP stream to nimble streamer.
After the streaming sessions are complete (no longer live streaming) I playback the playlist_dvr.m3u8 using ffmpeg in order to convert to mp4.
The reason there are time problems is because there are multiple streams from starting and stopping the broadcaster. But playlist_dvr plays a contiguous stream totaling 36:20 duration. But ffmpeg when converting to mp4 only gets 19 minutes
Is there another way to convert the dvr stream in playlist_dvr.m3u8 to mp4?
and required to achieve the purposes illustrated in the
If you want to know more or withdraw your consent to all or some of the cookies, please
refer to the