Log in

View Full Version : x264: Zero-Motion Vectors


Dase1n
30th May 2013, 19:33
I have a special type of content I want to encode in a way such that static (not moving) Macroblocks in a frame are predicted (P, or p_skip) and non-static (moving, even slightly) Macroblocks are intra-coded ? (the full sequence is IPPPP... no B-frames)

anyway to force x264 to do that ?

(I tried "--me esa --merange 0 --mvrange 0 --direct none --subme 0" but it didn't help, the generated bitstream still has Motion Vector that are non-zeros)

akupenguin
31st May 2013, 09:58
No. Minimum merange is 4. Minimum mvrange is 32. Even if you patched x264 to set all motion vectors to zero, that wouldn't by itself force moving blocks to be I, because P with the wrong mv might still be cheaper than I.