Log in

View Full Version : vspreview: Incorrect Frame Rate


jay123210599
4th November 2024, 17:51
No matter which source I use, I always get the wrong frame rate from one of my videos. How do I fix it?

Video Information:
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5
Format settings : CABAC / 5 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 24 min 36 s
Bit rate : 4 725 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 26.195 FPS
Original frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.087
Stream size : 831 MiB (87%)
Writing library : x264 core 148 r2638 7599210
Encoding settings : cabac=1 / ref=5 / deblock=1:1:1 / analyse=0x3:0x113 / me=umh / subme=9 / psy=1 / psy_rd=0.70:0.00 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=17.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : Yes
Forced : No

Im trying to get the original frame rate, but I either keep getting the other frame rate instead or simply an incorrect one.

Emulgator
4th November 2024, 22:41
You may try BestSource()

jay123210599
5th November 2024, 01:12
You may try BestSource()

BestSource did not work, either

Emulgator
5th November 2024, 16:30
Then it might be borked by the last encoder, or real VFR.
I have no access to your source, but I would inspect all frames, their motion, and maybe the damage can be undone.
In the worst case by exporting them all, dropping the repeats, count the uniques and Assumefps them across the new timeline.

jay123210599
6th November 2024, 18:06
Then it might be borked by the last encoder, or real VFR.
I have no access to your source, but I would inspect all frames, their motion, and maybe the damage can be undone.
In the worst case by exporting them all, dropping the repeats, count the uniques and Assumefps them across the new timeline.

Here's my video.
https://www.mediafire.com/file/fvx8t1dkmr9axje/sample_vfr.7z/file

Z2697
6th November 2024, 19:54
Here's my video.
https://www.mediafire.com/file/fvx8t1dkmr9axje/sample_vfr.7z/file

It's TRUE VFR

Z2697
6th November 2024, 20:01
It's 24p and 30p mix
I assume that only the credits part of the video is 30p so maybe you can do some black magic to it but that's complex just extract and mux the timestamps and call it a day if you are doing some VapourSynth but if not just use FFmpeg to handle the VFR with -fps_mode

jay123210599
6th November 2024, 21:29
It's 24p and 30p mix
I assume that only the credits part of the video is 30p so maybe you can do some black magic to it but that's complex just extract and mux the timestamps and call it a day if you are doing some VapourSynth but if not just use FFmpeg to handle the VFR with -fps_mode

I don't want to encode it, I just to play it at its original frame rate (23.976 (24000/1001) FPS) in vspreview.

poisondeathray
6th November 2024, 21:44
I don't want to encode it, I just to play it at its original frame rate (23.976 (24000/1001) FPS) in vspreview.

Use AssumeFPS
http://www.vapoursynth.com/doc/functions/video/assumefps.html