[FFmpeg-user] Transcode live mp3 stream to CBR aac+ with ffmpeg
chiapas at aktivix.org
Tue May 12 14:29:51 CEST 2015
Many thanks Carl and Moritz.
I'll go and recompile ffmpeg and have a think about the command line
I will return - no doubt with a new set of questions.
Best regards for now
On 12 May 2015 at 12:32, Moritz Barsnick <barsnick at gmx.net> wrote:
> Hi Chip,
> On Tue, May 12, 2015 at 12:02:54 +0100, Chip wrote:
>> ffmpeg version 1.0.10 Copyright (c) 2000-2014 the FFmpeg developers
>> built on Jul 25 2014 07:50:40 with gcc 4.7 (Debian 4.7.2-5)
> Apart from Carl Eugen's comment that this version is way too old to try
> to analyze and fix any issues with it:
>> /usr/bin/ffmpeg -re -user-agent 42 -i
>> http://example1.com:8002/stream.mp3 -c:a libfaac -ar 44100 -ab 48k
>> -acodec copy http://username:firstname.lastname@example.org:8099/stream.aac -v
> Please do pay close attention to the construction of your command line.
> What to you expect ffmpeg to do if you give
> "-c:a libfaac -ar 44100 -ab 48k -acodec copy"?
> ffmpeg can only fulfil one of the two (either aac or copy).
> Note what happened:
>> Output #0, adts, to
>> 'http://username:email@example.com:8099/stream.aac -v debug':
>> encoder : Lavf54.29.104
>> Stream #0:0, 0, 1/90000: Audio: mp3, 44100 Hz, stereo, 128 kb/s
>> Stream mapping:
>> Stream #0:0 -> #0:0 (copy)
> You're actually streaming unchanged MP3 into an ADTS stream named with
> the suffix "aac". It may work - i don't know - but this is not close to
> what you're trying to achieve.
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
More information about the ffmpeg-user