[FFmpeg-devel] [PATCH] use correct colorspace in Cinepak decoder

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Feb 12 23:41:23 CET 2013


 <u-bo1b <at> 0w.se> writes:

> -        avctx->pix_fmt = AV_PIX_FMT_YUV420P;
> +        avctx->pix_fmt = AV_PIX_FMT_RGB24;

Sorry if this is a stupid question:
Is it impossible to patch the codebook so the 
decoder outputs yuv420p data that libswscale 
would convert into the expected rgb data?

If not: Did you measure if there is a 
performance difference with your patch 
when encoding cinepak into png-in-mov?
(and how big the difference is when 
transcoding to mpeg4?)

Thank you, Carl Eugen



More information about the ffmpeg-devel mailing list