Dear All,<br><br>For cryptography purposes, I would like to insert decryption in the h264 codec file.<br>What I am looking for is actually the points where I can access the each DCT coeff and MV value in CAVLC mode.<br>
<br>
What I know so far is that there is a very long function called 
decode_mb_cavlc() and it has lines "tprintf(s->avctx, "final mv:%d 
%d\n", mx, my);" after which the final mv is calculated but can anybody 
tell me where I can access the residual values that are stored in the 
video file. So at which point is that read?<br>

<br>As for dct level and sign values, I have the same question. Where 
can I access the values directly after they get read from the source 
file? (so that I can manipulate/decrypt them)<br><br>Thanks for help.