Encoding with FFmpeg using a FIFO
- by Ashot Martirosyan
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.