
Originally Posted by
jagabo
That
ffmpeg command line produces a variable frame rate video. It shouldn't play any smoother than the original because the timecodes play the remaining frames at exactly the same time as in the original file. So for example, one second worth of totally black frames might be reduced to a single black frame. But that single black frame will be displayed for one second, just like in the original video.
Some players (especially editors) can't handle VFR properly and will play the video at the average frame rate of the final video. That one black frame will be displayed for the same duration as all the other frames. That is probably what you're seeing.
Well, something didn't work because CFR came out.
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.2
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference fra : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 9 s 944 ms
Bit rate : 6 455 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 59.940 (60000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.052
Stream size : 7.65 MiB (97%)
Writing library : x264 core 144 r2525 40bb568
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Codec configuration box : avcC
Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 12 s 791 ms
Duration_LastFrame : -9 ms
Bit rate mode : Constant
Bit rate : 128 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 200 KiB (2%)
Default : Yes
Alternate group : 1
Edit:
But out of curiosity I checked it with ffmpeg8 and it turned out OK. Of course, this doesn't actually improve anything.
Duration : 12 s 730 ms
Source duration : 12 s 763 ms
Frame rate mode : Variable