Hadrian
24th September 2013, 21:41
I'm trying to compress a Lagarith source using the following x264 binary from x264.nl:
x264 0.133.2334 a3ac64b
(libswscale 2.3.100)
(libavformat 55.7.100)
(ffmpegsource 2.17.4.0)
built on May 21 2013, gcc: 4.7.3
configuration: --bit-depth=10 --chroma-format=all
The input file is an RGB Lagarith video at 1080p and 24fps. It is detected (and played back) correctly by media players and editing programs.
When playing back the x264-encoded output, the framerate is way off. I tried using the --fps and --force-cfr flags but they appear to have no effect at all.
Here a sample of what the console puts out:
x264 --preset slow --force-cfr --fps 24 --qp 0 --output-csp i422 --input-csp rgb -o "output.mp4" "input.avi"
ffms [info]: 1920x1080p 0:1 @ 8934/1001 fps (cfr)
resize [warning]: converting from rgb24 to yuv422p
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High 4:4:4 Predictive, level 5.0, 4:2:2 10-bit
x264 [info]: frame I:14 Avg QP: 0.00 size:377718
x264 [info]: frame P:1750 Avg QP: 0.00 size: 11827
x264 [info]: mb I I16..4..PCM: 83.0% 2.0% 15.0% 0.0%
x264 [info]: mb P I16..4..PCM: 0.9% 0.1% 0.2% 0.0% P16..4: 0.4% 0.2% 0.
1% 0.0% 0.0% skip:98.1%
x264 [info]: 8x8 transform intra:4.7% inter:27.5%
x264 [info]: coded y,uvDC,uvAC intra: 23.8% 24.6% 24.6% inter: 0.3% 0.4% 0.4%
x264 [info]: i16 v,h,dc,p: 76% 23% 1% 0%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 40% 44% 9% 3% 1% 1% 0% 0% 2%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 43% 37% 9% 3% 1% 2% 1% 1% 3%
x264 [info]: i8c dc,h,v,p: 68% 13% 19% 0%
x264 [info]: Weighted P-Frames: Y:0.1% UV:0.1%
x264 [info]: ref P L0: 54.5% 18.6% 12.2% 6.9% 7.8%
x264 [info]: kb/s:2828.33
encoded 1764 frames, 21.51 fps, 2828.40 kb/s
The fps value in the ffms line (in this case 8934/1001) varies greatly with different input files. Any idea how to resolve this issue?
Thanks!
x264 0.133.2334 a3ac64b
(libswscale 2.3.100)
(libavformat 55.7.100)
(ffmpegsource 2.17.4.0)
built on May 21 2013, gcc: 4.7.3
configuration: --bit-depth=10 --chroma-format=all
The input file is an RGB Lagarith video at 1080p and 24fps. It is detected (and played back) correctly by media players and editing programs.
When playing back the x264-encoded output, the framerate is way off. I tried using the --fps and --force-cfr flags but they appear to have no effect at all.
Here a sample of what the console puts out:
x264 --preset slow --force-cfr --fps 24 --qp 0 --output-csp i422 --input-csp rgb -o "output.mp4" "input.avi"
ffms [info]: 1920x1080p 0:1 @ 8934/1001 fps (cfr)
resize [warning]: converting from rgb24 to yuv422p
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High 4:4:4 Predictive, level 5.0, 4:2:2 10-bit
x264 [info]: frame I:14 Avg QP: 0.00 size:377718
x264 [info]: frame P:1750 Avg QP: 0.00 size: 11827
x264 [info]: mb I I16..4..PCM: 83.0% 2.0% 15.0% 0.0%
x264 [info]: mb P I16..4..PCM: 0.9% 0.1% 0.2% 0.0% P16..4: 0.4% 0.2% 0.
1% 0.0% 0.0% skip:98.1%
x264 [info]: 8x8 transform intra:4.7% inter:27.5%
x264 [info]: coded y,uvDC,uvAC intra: 23.8% 24.6% 24.6% inter: 0.3% 0.4% 0.4%
x264 [info]: i16 v,h,dc,p: 76% 23% 1% 0%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 40% 44% 9% 3% 1% 1% 0% 0% 2%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 43% 37% 9% 3% 1% 2% 1% 1% 3%
x264 [info]: i8c dc,h,v,p: 68% 13% 19% 0%
x264 [info]: Weighted P-Frames: Y:0.1% UV:0.1%
x264 [info]: ref P L0: 54.5% 18.6% 12.2% 6.9% 7.8%
x264 [info]: kb/s:2828.33
encoded 1764 frames, 21.51 fps, 2828.40 kb/s
The fps value in the ffms line (in this case 8934/1001) varies greatly with different input files. Any idea how to resolve this issue?
Thanks!