Invalid rational "--fps" forwarding.
Hello.
I use x264 command-line tool with rational "--fps" argument. I've found that the tool can't understand long integers and proceed with error silently.
2021-11-09 10:20:53.731 10300 x264-r3075-66a5bc1.exe[3516] procArgs= D:\x264\core164 r3075 66a5bc1\x264-r3075-66a5bc1.exe --demuxer raw --input-csp i420 --input-depth 8 --input-res 744x418 --sar 836:837 --fps 19036000000/634533333 --input-range tv --colorprim undef --transfer undef --colormatrix undef --muxer mp4 --threads 1 --lookahead-threads 1 --min-keyint 6 --rc-lookahead 40 --ref 3 --cplxblur 20.0 --qblur 0.5 --bitrate 252 --pass 1 --output D:\out\encoderIntermediateDir\pass1OutFile.mp4 -
2021-11-09 10:20:53.913 10300 x264-r3075-66a5bc1.exe[3516] raw [info]: 744x418p 836:837 @ 1431655765/211511111 fps (cfr)
2021-11-09 10:20:53.915 10300 x264-r3075-66a5bc1.exe[3516] x264 [info]: using SAR=836/837
2021-11-09 10:20:53.917 10300 x264-r3075-66a5bc1.exe[3516] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
2021-11-09 10:20:53.918 10300 x264-r3075-66a5bc1.exe[3516] x264 [info]: profile Main, level 2.2, 4:2:0, 8-bit
2021-11-09 10:20:53.920 10300 x264-r3075-66a5bc1.exe[3516] 1 frames: 6.13 fps, 45.76 kb/s
Here --fps 19036000000/634533333
and following raw [info]: 744x418p 836:837 @ 1431655765/211511111 fps (cfr)
are different.
19036000000/634533333=30,000000015759613372430979918276
1431655765/211511111=6,7687024016435713393798966901554
In my case --sar and --fps arguments are received from a Python application. (Python can operate large integers)