[FFmpeg-user] ffenc_bmp encode issue

Carlos Aguero carlos.aguero at ridgerun.com
Thu Jul 19 02:56:15 CEST 2012


On 07/18/2012 06:31 PM, Paul B Mahol wrote:
> On 7/18/12, Carlos Aguero<carlos.aguero at ridgerun.com>  wrote:
>> Hi all,
>>
>> I am trying to grab a frame and encode it as a bmp file, grayscale,
>> 8bits, if I use the ffenc_pgm I get a grayscale png file as expected,
>> but when I use the ffenc_bmp encoder the result is a dark bmp file, any
>> suggestions? or is there a problem with the bmp encoder?
>>
>> *I am using this pipeline for png encode (working fine)*
>> gst-launch v4l2src always-copy=false chain-ipipe=true num-buffers=1 !
>> 'video/x-raw-yuv, width=(int)640, height=(int)480,
>> framerate=(fraction)30/1' ! ffmpegcolorspace ! 'video/x-raw-gray,
>> width=(int)640, height=(int)480, framerate=(fraction)30/1, bpp=(int)8,
>> depth=(int)8' ! ffenc_pgm ! filesink location=test.png
>>
>> *and this one for bmp encoding (not working)*
>> gst-launch v4l2src always-copy=false chain-ipipe=true num-buffers=1 !
>> 'video/x-raw-yuv, width=(int)640, height=(int)480,
>> framerate=(fraction)30/1' ! ffmpegcolorspace ! 'video/x-raw-gray,
>> width=(int)640, height=(int)480, framerate=(fraction)30/1, bpp=(int)8,
>> depth=(int)8' ! ffenc_bmp ! filesink location=test.bmp
> What FFmpeg version?
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Hi,

Thank you for your attention. I am using ffmpeg version 0.10.11

Regards,
Carlos


More information about the ffmpeg-user mailing list