DCT coefficients and MV extraction in ffmpeg Mpeg-4 encoding -


i'm using ffmpeg , libx264 encode video , want extract dct coefficients , motion vector of each frame during encoding process.

what best way this?

i read in ffmpeg manual possible use debug mode flags extract these values. tried ffmpeg -debug dct_coeff output dct coefficients option doesn't work me; deprecated or related specific ffmpeg version?

another option modify , recompile ffmpeg source code don't know in part of code dct , mv calculated.

any debug mode or code modification suggestions appreciated.

multiple options try:

-->using x264 source code better ffmpeg because of complex code in ffmpeg. can download x264 here , @ encoder/me.c file. has several block matching algorithms out of 1 selected based on encoding settings. there, after searching, can mv_x , mv_y

-->using ffmpeg code suggested aergistal or use ffplay/mplayer display motion vectors while decoding below:

ffplay -flags2 +export_mvs input.mp4 

--> can use ready-made tool here


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -