Forumsee logo

x264 encoding times in CRF and VBR second-pass differ by twice

MPEG-4 AVC / H.264 - Doom9's Forum - forum.doom9.org
Dear experts

i observe a strange issue with x264 (version 0.142, compiled by gcc).

On same content and with almost same parameters encoding time (user time) of single-pass CRF is about twice smaller than that of second-pass VBR.

For example gprof reveals that the function 'x264_macroblock_deblock_strength' in VBR run takes ~19s while in CRF run it takes ~3s.

The function actually does not depend on content but it accesses 'mb.cache' data. Maybe accesses to mb.cache slows down performance in VBR second-pass.

Did anybody experienced similar problem with x264 and can explain the difference in performance between single-pass CRF and second-pass VBR?
Date: Jun 19, 2017   


Last videos:

JVC S9800U VHS VCR problem
JVC S9800U VHS VCR problem
Help w/ Recessed/Motorized Screen
Help w/ Recessed/Motorized Screen
4k UHDs running on 1080 tvs..
4k UHDs running on 1080 tvs..
Conversions: Retro Fit vs Integrated
Conversions: Retro Fit vs Integrated
Conversions: Retro Fit vs Integrated
Conversions: Retro Fit vs Integrated
Kong Skull Island - plain vanilla HD 1080p version
Kong Skull Island - plain vanilla HD 1080p version
Rammstein: Paris
Rammstein: Paris
Is Genesis History? (Blu-ray release date April 11th 2017) offical thread
Is Genesis History? (Blu-ray release date April 11th 2017) offical thread

Cars ·
Travel ·
Pets ·
production-frontend