
Output #0, avi, to '/sdcard/output2.avi':

auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'format' Input #0, rawvideo, from '/dev/graphics/fb0':ĭuration: N/A, start: 0.000000, bitrate: N/A Estimating duration from bitrate, this may be inaccurate ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developersīuilt on 13:28:38 with gcc 4.6.x-google 20120106 (prerelease)Ĭonfiguration: -arch=arm -cpu=cortex-a8 -target-os=linux -enable-runtime-cpudetect -prefix=/data/data/ -enable-pic -disable-shared -enable-static -cross-prefix=/opt/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-sysroot=/opt/android-ndk/platforms/android-3/arch-arm -extra-cflags='-I./x264 -mfloat-abi=softfp -mfpu=neon' -extra-ldflags=-L./x264 -enable-version3 -enable-gpl -disable-doc -enable-yasm -enable-decoders -enable-encoders -enable-muxers -enable-demuxers -enable-parsers -enable-protocols -enable-filters -enable-avresample -enable-libfreetype -disable-indevs -enable-indev=lavfi -disable-outdevs -enable-hwaccels -enable-ffmpeg -disable-ffplay -disable-ffprobe -disable-ffserver -disable-network -enable-libx264 -enable-zlib


This creates a file with a single (unclear) frame and stops. I am trying to capture an Android device's screen as a video file using FFmpeg with this command: /data/local/ffmpeg -y -vcodec rawvideo -f rawvideo -pix_fmt rgb32 -s 320x480 -i /dev/graphics/fb0 /sdcard/output2.avi 2> /sdcard/out.txt
