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?