[Ffmpeg-devel] uncompressed AVI output problem

Michael Niedermayer michaelni
Fri Jan 27 15:21:05 CET 2006


On Thu, Jan 26, 2006 at 07:44:27PM -0500, DKorchev at aol.com wrote:
> Hi,
> I was trying to use ffmpeg to convert video into uncompressed AVI  ("-vcodec 
> rawvideo" option) format and I found that output uncompressed AVI  file cannot 
> be used by Microsoft utility UncompAVIToWMV. 
> I was able to fix this problem in ffmpeg\libavformat\avienc.c file by  
> changing depth to 12 instead of 24 and frame buffer size to 1.5 * (width*height)  
> instead of 3, see the changes in red below.
> I also think that these parameters are more logical for the video  format 
> I420 (yuv420).
> Any suggestions?

yes, make that change dependant upon pix_fmt


More information about the ffmpeg-devel mailing list