Op wo 20-08-2003, om 15:29 schreef Ray Cole: > 'tee' will take data from '$1' and write to pipe1 and pipe2 (and also to stdout, therefore the redirection of its stdout to /dev/null, although you could actually do 'tee pipe1 < $1 | yuvscaler' if you wanted to, then yuvscaler would pull from tee's stdout).
I have the following script now, not perfect and very slow but it works, only my stream.yuv pipe is growing and it shouldn't. -- Groetjes Japie
#!/bin/bash mkfifo -m 660 stream.yuv mkfifo -m 660 resized_stream.yuv mplayer -benchmark -noframedrop -nosound -vo yuv4mpeg -osdlevel 0 $1 & cat stream.yuv | yuvscaler -v 0 -M WIDE2STD -O SIZE_352x288 -n p | tee > resized_stream.yuv & ffmpeg -f yuv4mpegpipe -i resized_stream.yuv -b 1150 -r 25 -s 352x288 -ab 224 -ar 44100 -hq ffmpeg_vcd.mpg rm stream.yuv resized_stream.yuv
