On 02/01/2012 04:29 AM, Alfs Kurmis wrote:
It does actually not make a difference if you also specify the
audio-codec (-acodec pcm_s16le). The format is the same for both.
> It seems that ffmpeg during da decoding set terminal in canonical mode.
There's some (undocumented) feature: pass '-d' as first argument to
ffmpeg. That makes ffmpeg shut up and not touch termios; it still works
with writing data to stdout:
ffmpeg -d -i /some/file -f s16le -c 2 -ar 44100 pipe: | ...
kill -TERM `pidof ffmpeg`
Linux-audio-dev mailing list
LINUX® is a registered trademark of Linus Torvalds in the USA and other countries. Linuxaudio.org logo copyright Thorsten Wilms © 2006. Hosting provided by the Virginia Tech Department of Music and DISIS.