Your video is variable frame rate. MediaInfo text report.
- Code: Select all
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4
Format settings : CABAC / 2 Ref Frames
Format settings, CABAC : Yes
Format settings, RefFrames : 2 frames
Format settings, GOP : M=2, N=59
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 49 s 320 ms
Source duration : 49 s 433 ms
Bit rate : 6 741 kb/s
Width : 1 664 pixels
Height : 954 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 59.818 FPS
Minimum frame rate : 30.000 FPS
Maximum frame rate : 60.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.071
Stream size : 39.6 MiB (96%)
Source stream size : 39.6 MiB (96%)
Title : Core Media Video
Encoded date : UTC 2018-07-22 01:34:03
Tagged date : UTC 2018-07-22 01:34:03
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Most(?) of the time with ffmpeg you will get a constant frame rate file from a VFR source video generated from screen capture software. It might be the frame rate you want. Then again, it might not. For example. Should the constant frame rate be 59.94 or 60.0. ffmpeg could think if should be one or the other, or just keep it variable.
So use MediaInfo to check your source and result media and if the result is not constant frame rate, or the wrong constant rate, then use an ffmpeg command to resample to a proper constant frame rate. If you just know you always want X then just let the command always set for X. It does something or not depending on the source.
For example:
-i %1 -filter:v fps=30000/1001 -c:v libx264
where fps is what you want. For NTSC I like to use the "proper" numerator/denominator values.
29.97 => 30000/1001, 59.94 => 60000/1001, 23.976 => 24000/1001
Others are obviously easier to specify.
filter fps and the -r command rate option may give the same result. I don't know. ffmpeg has duplicate ways to do some things.