root@kindle:video>
ffmpeg -i ./pluto.avi -pix_fmt gray -r 15 -f rawvideo -s 800x600 -|./raw2gmv > output
Quote:
ffmpeg version 0.8.12, Copyright (c) 2000-2011 the FFmpeg developers
built on Sep 2 2012 03:36:07 with gcc 4.2.1
configuration: --enable-cross-compile --cross-prefix=/home/you/GIT/buildroot/output/host/usr/bin/arm-none-linux-gnueabi- --sysroot=/home/you/GIT/buildroot/output/host/usr/arm-unknown-linux-gnueabi/sysroot --host-cc=/usr/bin/gcc --arch=arm --target-os=linux --extra-cflags=-fPIC --enable-static --enable-shared --prefix=/usr --disable-avfilter --disable-doc --enable-gpl --enable-nonfree --enable-ffmpeg --enable-ffplay --enable-ffserver --enable-postproc --enable-swscale --enable-indevs --enable-outdevs --enable-pthreads --disable-zlib --enable-armv6 --enable-armvfp
libavutil 51. 9. 1 / 51. 9. 1
libavcodec 53. 8. 0 / 53. 8. 0
libavformat 53. 5. 0 / 53. 5. 0
libavdevice 53. 1. 1 / 53. 1. 1
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, avi, from './pluto.avi':
Metadata:
encoder : Lavf52.94.0
Duration: 00:00:55.01, start: 0.000000, bitrate: 1012 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 320x234 [PAR 254:255 DAR 8128:5967], 24 tbr, 24 tbn, 24 tbc
Stream #0.1: Audio: mp2, 22050 Hz, stereo, s16, 64 kb/s
Output #0, rawvideo, to 'pipe:':
Metadata:
encoder : Lavf53.5.0
Stream #0.0: Video: rawvideo, gray, 800x600, q=2-31, 200 kb/s, 90k tbn, 15 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop, [?] for help
frame= 826 fps= 3 q=0.0 Lsize= 387188kB time=00:00:55.06 bitrate=57600.0kbits/s dup=0 drop=493
video:387188kB audio:0kB global headers:0kB muxing overhead 0.000000%
|
root@kindle:video>
cat output | ./video
717 frames in 108.4 secs = 6.6 FPS
Would be nice to get the audio stream in now...