Re: [LAD] Mplayer (ffmpeg) decode to stdout

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alfs Kurmis <kallipygos@...>
Cc: The Linux Audio Developers' Mailing List <linux-audio-dev@...>
Date: Wednesday, February 1, 2012 - 4:02 pm

On 02/01/2012 04:29 AM, Alfs Kurmis wrote:

Well, yes.
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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

This is the only confirmed message in this thread.
Possibly related messages: