[FFmpeg-user] format used by bmp encoder

Paul B Mahol onemda at gmail.com
Sun Feb 17 22:53:03 CET 2013


On 2/17/13, Lyman Hurd <lyman.hurd at gmail.com> wrote:
> I am using ffmpeg to render a movie into individual frames, e.g.:
>
> ffmpeg -i test2.mov -f image2 /mnt/cbsvolume2/test2/test%06d.bmp

ffmpeg -i test2.mov -f image2 -pix_fmt bgr24 /mnt/cbsvolume2/test2/test%06d.bmp

>
> for certain videos I get back a sequence of 24-bit bgr frames (which is
> what I want) and the output stream is identified as:
>
> Stream #0:0(eng): Video: bmp, bgr24, 1280x720, q=2-31, 200 kb/s, 90k tbn,
> 25 tbc
>
> for other videos it encodes the frames as indexed color 8-bit BMP images
> and identifies the output stream as:
>
> Stream #0:0(eng): Video: bmp, bgr8, 720x480, q=2-31, 200 kb/s, 90k tbn,
> 23.98 tbc
>
> My question is how I can be more specific in my command line to ensure that
> I get behavior one instead of behavior two.  I am also curious how ffmpeg
> makes the determination of the default behavior but the important issue for
> me is how to always get 24-bit results.
>
> Thanks,
>
> Lyman
>
> PS I am running on an Ubuntu system:
>
> ffmpeg version git-2012-12-14-ecebf6f Copyright (c) 2000-2012 the FFmpeg
> developers
>   built on Dec 14 2012 17:36:48 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)
>
> --
> Lyman Hurd
> (770) 309-8351 (mobile)
> (267) 390-1546 (fax)
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list