[FFmpeg-user] Screen capture in android

Navin Math hinavinmath at gmail.com
Thu Jan 24 16:46:03 CET 2013


Hi

If I use

./ffmpeg -y -vcodec rawvideo -f rawvideo -pix_fmt rgb32 -s 320x480 -i
/dev/graphics/fb0 /sdcard/output2.avi
the above command in android shell, works for few seconds and through error
and ffmpeg quits:

error:
[rawvideo @ 0x2081a60] Invalid buffer size, packet size 122880 < expected
length 614400
Error while decoding stream #0:0: Invalid argument
frame=   10 fps=0.0 q=2.0 Lsize=       8kB time=00:00:00.40 bitrate=
167.4kbits/s
video:2kB audio:0kB subtitle:0 global headers:0kB muxing overhead
241.714286%


What is the solution:


Thanks
Math


More information about the ffmpeg-user mailing list