Encoding with FFmpeg using a FIFO

Posted by Ashot Martirosyan on Super User See other posts from Super User or by Ashot Martirosyan
Published on 2010-12-28T14:27:21Z Indexed on 2010/12/28 22:56 UTC
Read the original article Hit count: 190

Filed under:
|
|
|

Hello everyone.

I'm trying to convert Flac audio file to AAC file using command line.

So I wrote this

    ffmpeg -i input.flac temp.wav
    faac -q 120 -o output.m4a temp.wav

It's working fine. Now I want to do the same using fifo, so I'm writing this

   mkfifo temp.wav
   ffmpeg -i input.flac temp.wav  &   faac -q 120 -o output.m4a temp.wav

And it's freezing.

So could you tall me what I'm doing wrong.

Thanks a lot, and sorry for my English.

© Super User or respective owner

Related posts about linux

Related posts about bash