I'm trying to record segments using a webcam and save these segments with a lower fps. I've tried this command, but it keeps giving me an error:
ffmpeg -f v4l2 -input_format mjpeg -video_size 800x600 -i /dev/video0 -c:v copy -c:a copy -f segment -segment_time 10 -reset_timestamps 1 -r 10 -strict -2 test_%04d.avi
The errors I get is:
[segment @ 0x15bf0e0] Non-monotonous DTS in output stream 0:0; previous: 86, current: 73; changing to 87. This may result in incorrect timestamps in the output file.
[segment @ 0x15bf0e0] Non-monotonous DTS in output stream 0:0; previous: 87, current: 74; changing to 88. This may result in incorrect timestamps in the output file.
[segment @ 0x15bf0e0] Non-monotonous DTS in output stream 0:0; previous: 88, current: 75; changing to 89. This may result in incorrect timestamps in the output file.
Anyone know how to do it right?