[PATCH] Output AAC as M4A with metadata tags
Shevek
shevek at shevek.co.uk
Fri Apr 1 07:24:49 EDT 2011
On 1 April 2011 11:54, dinkypumpkin <dinkypumpkin at gmail.com> wrote:
>
> On 1 Apr 2011, at 11:11, Roger Burton West wrote:
>
>> I don't have scope to test this in place, but broadly speaking I would
>> expect you could get away with something like this. Set up @cmd1 and
>> @cmd2 to be the first and second system() calls, then:
>>
>> my $buffersize=1024*4096;
>>
>> open(INPUT,'-|', at cmd1); # or report the error
>> binmode INPUT;
> [snip]
>
> I would suggest writing to an intermediate AAC file instead of using a pipe. That way, if something goes wrong, the AAC artefact is left available for debugging. Just remove upon successful creation of m4a file.
> _______________________________________________
which is what my original patch did :D
More information about the get_iplayer
mailing list