[PATCH] Output AAC as M4A for iTunes with metadata tags (Shevek)

Shevek shevek at shevek.co.uk
Thu Mar 31 14:55:46 EDT 2011


On 31 March 2011 16:21, dinkypumpkin <dinkypumpkin at gmail.com> wrote:
>
> On 31 Mar 2011, at 16:01, Shevek wrote:
>
>> This is possibly a stupid question, but can ffmpeg pipe to itself to
>> do both things separately but in one command?
>
> This worked for me:
>
> ffmpeg -i test.flv -vn -acodec copy -f adts - | ffmpeg -i - -vn -acodec copy -absf aac_adtstoasc -y test.m4a
>
> I think the trick is choosing the right output format from the first ffmpeg command.  It needs to use a muxer that doesn't require seekable output, so adts seemed like the right choice.
>

This works great, however with get_iplayer on windows it is possible
to have spaces in the file path and so only works if the flv and m4a
paths are in quotes.

How will this affect linux versions?



More information about the get_iplayer mailing list