I have a source video file with 59,94006 FPS according to VLC Player or 60000/1001 fps as ffprobe shows it. I want to edit it and export it with exact the same frame rate to avoid any stutterings etc. So on the “Video” tab I enter 59,940 in the Frames/sec field, more digits cannot be entered. And I see that in the “Other” tab that the parameters
frame_rate_num=60000
frame_rate_den=1001
are added which looks pretty good.
But in the output video I get 59,941256 in VLC Player or 19001/317 fps as ffprobe show it. So what am I doing wrong to get the original 60000/1001 fps?
Hey! Thanks for your quick response, your support is really great. I downloaded the latest version and I can enter more digits in the targe frames/sec field. But the result is still the same it is 59,941256 fps in VLC Player and not 59,94006. With a simple ffprobe query without any paramters it shows 59,94 fps. But with this query to get the axeact framerate:
As you can see, only framerate of 60000/1001 is supplied. From Shotcut > Properties > More Info…, which uses ffprobe:
r_frame_rate=60000/1001
avg_frame_rate=60000/1001
I did not have a 59.94 clip on this laptop while out of town and used Settings > Video Mode > HD 1080p 59.94 fps to make a test. What does your job XML show for both profile and consumer?
If I make another testing using Automatic with 29.97 clip but enter into the Export panel 59.94006, then I still get the intended result:
So this is the export XML:
<profile display_aspect_num="1920" frame_rate_num="60000" sample_aspect_den="1" height="1080" display_aspect_den="1080" width="1920" frame_rate_den="1001" progressive="1" sample_aspect_num="1" colorspace="709" description="automatic"/>
I reproduce it with f=matroska. It is my understanding that Matroska does not typically store the frame rate information for H.264, and tools gather it from the video codec timing. Here is a previous discussion about that matter:
Next, I used ffmpeg that comes with Shotcut to make a similar encoding, and it reports the same result: