0

I have several mp4 files with a frame rate of 119.88 frames/second, I need to convert these to 29.97 frames/second without resampling.

To do this, I ran

ffmpeg -itsscale 4 -i input.mp4 -c copy output_con.mp4

However, some of these files return with a frame rate of 29.98 frames/second, this is messing me up in later analyses by throwing off some cross correlations between the mp4 files and related wav files. Any insight into how to remedy this would be much appreciated!

2
  • You'll need to share some more information on your input files. Preferrably about one that does work and one that doesnt. Could it be your total number of frames doesnt divide well by 4 leading to inconsistencies like this ?
    – Silbee
    Commented Jun 21 at 10:08
  • tsMuxer can change the frame rate to 29.97 without reencoding. It has proved to be very.reliable for me. If you can test it with your problem files, it might confirm whether the issue is with the file, or ffmpeg.
    – Sark
    Commented Jun 21 at 11:00

0

You must log in to answer this question.

Browse other questions tagged .