[FFmpeg-user] ffenc_bmp encode issue
Carlos Aguero
carlos.aguero at ridgerun.com
Thu Jul 19 00:45:04 CEST 2012
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
Regards,
Carlos
More information about the ffmpeg-user
mailing list