Non-monotonous DTS in output stream
Nevermind, looks like I found the answer.
Try:
ffmpeg -use_wallclock_as_timestamps 1 -i rtsp://10.0.0.1:8554/test1.sdp -acodec copy -vcodec copy /home/sana/lab/mrp/test1.avi
FFmpeg source.
You might also need to add -rtsp_transport tcp
before -i
if you start noticing errors like max delay reached. need to consume packet
.
At least this is what fixed the error for me with a rtsp stream.