[PATCH] Output AAC as M4A for iTunes with metadata tags
bat guano
batguano999 at hotmail.com
Wed Mar 30 10:18:29 EDT 2011
> So, currently in my version of get_iplayer:
>
> 1 rtmpdump downloads flv
> 2 ffmpeg remuxes flv to aac
> 3 ffmpeg remuxes aac to m4a and removes ADTS
> 4 atomicparsley tags the m4a
>
> Your testing shows that ffmpeg at least is causing a problem with it's
> m4a handling and that EasyTag corrects this but AtomicParsley does not
>
> Does EasyTag have command line options that we can test?
>
Hi shevek
I don't know whether EasyTAG has command line options.
But....
I asked a question on the ffmpeg mailing list about aac/m4a files.
This is the mailing list:- http://ffmpeg.org/pipermail/ffmpeg-user/2011-March/date.html
This is my thread:- http://ffmpeg.org/pipermail/ffmpeg-user/2011-March/000138.html
A developer sent me a patch for ffmpeg.
I've re-compiled ffmpeg with the patch and I can produce m4a files that now play in
my Shuffle without needing EasyTAG.
When I use this patched ffmpeg with get_iplayer the files play OK too!!
Also, it's not necessary for me to use 2 steps to make m4a files.
Just one step.
Like this:-
Download Paul Jones show in flv format using '--raw' option.
get_iplayer --get --type=radio --pid=b00zp6fd --raw
Then convert the flv straight into m4a using the '-absf' filter and add some tags.
Like this:-
ffmpeg -i "Paul_Jones_-_28_03_2011_b00zp6fd_default.flv" -acodec copy -absf aac_adtstoasc PaulJones.m4a && AtomicParsley PaulJones.m4a --artist "BBC Radio2" --title "Paul Jones show" --overWrite
This would be a good method to use.
Instead of creating an aac file then creating an m4a file from it, do both ops together.
I don't know whether this applies to all versions of ffmpeg or whether only for my patched version.
1 rtmpdump downloads flv
2 ffmpeg remuxes flv to m4a and removes ADTS
3 atomicparsley tags the m4a
I will wait and see whether the patch is going to be included in git.
More information about the get_iplayer
mailing list