[FFmpeg-user] [buffer @ 0x17db380] Invalid pixel format '-1'

James Lu luj125 at gmail.com
Thu Aug 25 22:37:36 CEST 2011


On Thu, Aug 25, 2011 at 10:29 AM, Dmitry Sherman <dmitry at interhost.co.il>wrote:

> Hello,
> I receive another new error when trying to extract images from video:
> ffmpeg -ss 00:01:01 -i 41167.flv -vframes 1 -f image2 4.jpg
>
> I get:
> [buffer @ 0x17db380] Invalid pixel format '-1'
> Error opening filters!
>
> Full output:
> [buffer @ 0x17db380] Invalid pixel format '-1'
> Error opening filters!
>
>
> Thanks.
>
> Dmitry Sherman
> dmitry at interhost.co.il<mailto:dmitry at interhost.co.il>
> Interhost Networks Ltd
> t: (+972)-543181182 f: (+972)-577976157
> http://www.interhost.co.il/
> http://facebook.com/InterhostIL
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>

Can you give us full output from the flv input?

I suspect it may be a colorspace issue, in which case you can use -vf
format='pixel_format' to correct it.

Also, I use -vcodec mjpeg to get jpeg still frames rather than -f image2.
Perhaps that may work?

Hope this helps,
~James


More information about the ffmpeg-user mailing list