[FFmpeg-user] ffmpeg -f fbdev doesn't work with some fb drivers
Carl Eugen Hoyos
cehoyos at ag.or.at
Wed Jul 10 14:06:13 CEST 2013
Dan Flett <dflett <at> bigpond.net.au> writes:
> 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.)
Carl Eugen
More information about the ffmpeg-user
mailing list