[FFmpeg-user] ffmpeg -f fbdev doesn't work with some fb drivers
Dan Flett
dflett at bigpond.net.au
Thu Jul 11 01:39:28 CEST 2013
> -----Original Message-----
> From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-
> bounces at ffmpeg.org] On Behalf Of Carl Eugen Hoyos
> Sent: Wednesday, 10 July 2013 22:06
> > But I've discovered that this does work:
> >
> > $ /usr/local/bin/ffmpeg -f rawvideo -codec:v rawvideo -s 1680x1050
> > -pix_fmt rgb565le -frames:v 1 -r 1 -i /dev/fb0 screenshot-ff01.bmp
>
> > [rawvideo <at> 0x2a8c3a0] Invalid buffer size, packet size 20160 <
> > expected length 3528000
>
> This line indicates that it does not work.
> Please add some printf's to get_pixfmt_from_fb_varinfo() in
> libavdevice/fbdev.c to show the contents of varinfo.
> (Although I fear a compressed format is used.)
Yes obviously there's some issue there too, but despite the error message,
ffmpeg does work in that I do get an output (a BMP screenshot in this case).
I will do as you suggest and report back.
Dan
More information about the ffmpeg-user
mailing list