[FFmpeg-user] Unable to pipe fdk_aac output

Timothy Gu timothygu99 at gmail.com
Thu Apr 11 05:34:00 CEST 2013


On Apr 10, 2013 5:07 PM, "Andrew Crothers" <andrew at sonar.sg> wrote:
>
> Hi all,
>
> I having major problems piping aac output.
>
> No problems writing directly to a file, but I just can't pipe!
>
> Any help out there?
>
>
> Input:
>
> ffmpeg -i source.wav -c:a libfdk_aac -profile:a aac_he_v2 -b:a 32k pipe:1
>
> Result:
>
> ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
>   built on Apr 11 2013 06:57:44 with llvm-gcc 4.2.1 (LLVM build
2336.11.00)
>   configuration: --enable-libaacplus --enable-libfdk_aac --enable-libopus
--enable-libfaac --enable-nonfree
>   libavutil      52. 18.100 / 52. 18.100
>   libavcodec     54. 92.100 / 54. 92.100
>   libavformat    54. 63.104 / 54. 63.104
>   libavdevice    54.  3.103 / 54.  3.103
>   libavfilter     3. 42.103 /  3. 42.103
>   libswscale      2.  2.100 /  2.  2.100
>   libswresample   0. 17.102 /  0. 17.102
> [wav @ 0x7fec2403d800] max_analyze_duration 5000000 reached at 5015510
microseconds
> Guessed Channel Layout for  Input Stream #0.0 : stereo
> Input #0, wav, from 'source.wav':
>   Metadata:
>     copyright       : ? ueberschall 2003
>   Duration: 00:00:30.00, bitrate: 1411 kb/s
>     Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz,
stereo, s16, 1411 kb/s
> [NULL @ 0x7fec2405e200] Unable to find a suitable output format for
'pipe:1'
> pipe:1: Invalid argument

You did not specify the output format. Try this:

ffmpeg -i source.wav -c:a libfdk_aac -profile:a aac_he_v2 -b:a 32k -f adts
pipe:1

Timothy Gu


More information about the ffmpeg-user mailing list