rendered paste body//this is bash shell 1
./myapp/bin/a.out ./sdi named_pipe 1
//my software will output raw RGB values
//this is bash shell 2
videolink@videolink:~/workspace$ ffmpeg -pix_fmt bgr24 -s 720x576 -f rawvideo -i named_pipe -r 25 -s 720x576 -b 6000k -vc x264top test.avi;
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-static --enable-pthreads --enable-libmp3lame --enable-x264 --enable-libfaac --enable-libfaad --enable-libdts --enable-zlib --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-libgsm --enable-dc1394
libavutil version: 49.4.0
libavcodec version: 51.40.4
libavformat version: 51.12.1
built on May 9 2007 12:09:54, gcc: 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
Input #0, rawvideo, from 'test':
Duration: N/A, bitrate: N/A
Stream #0.0: Video: rawvideo, bgr24, 720x576, 25.00 fps(r)
File 'test.avi' already exists. Overwrite ? [y/N] y
Output #0, avi, to 'test.avi':
Stream #0.0: Video: mpeg4, yuv420p, 720x576, q=2-31, 6000 kb/s, 25.00 fps(c)
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 1 fps= 0 q=6.7 Lsize= 29kB time=0.0 bitrate=5976.0kbits/s
video:24kB audio:0kB global headers:0kB muxing overhead 23.593647%
and only ONE image was produced....
I think this has something to do with the buffersize of the pipe....