[Ffmpeg-devel] DCT problem with decoded frames.

paolo mosna paolo.mosna
Fri Feb 23 15:04:37 CET 2007


Hi all,

I'm extracting an AVFrame from an mpeg stream using method:
avcodec_decode_video()

Extracted AVFrame is correct. But although, the option FF_DEBUG_DCT_COEFF is
on,
when i process dct_coeff array of extracted AVFrame, the system crashes.
In order to process dct_coeff I must use coded_frame->dct_coeff of coded
context (AVCodecCtx).
Unfortunately such dct_coeff array result to be some frames head of the
extracted AVFrame.

Does anybody know the reason?
How can I get the dct_coeff of the extracted AVFrame using
avcodec_decode_video()?

Thanks for any help.



-- 
Ing. Paolo Mosna
Senior Software Analyst

Phone: +39 329 7776617
Skype: paolo.mosna
Email: paolo.mosna at tiscali.it
Address:
  Strada Granda 41,
  Torbole sul Garda,
  TRENTO (ITALY)




More information about the ffmpeg-devel mailing list