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

Roger Burton West roger at firedrake.org
Thu Mar 31 15:33:15 EDT 2011


On Thu, Mar 31, 2011 at 08:22:26PM +0100, Shevek wrote:
>What am I doing wrong?

You can't use shell functions (such as pipe) with the list-form
invocation of system().

Easiest option (though it's vulnerable to shellmetas showing up in
filenames) is probably to do it all in one string: set $cmd instead of
@cmd and system($cmd).

Slightly harder but more secure option would be to do it in two stages
using a tmpfile - or to build your own pipework to join the two
processes.

R



More information about the get_iplayer mailing list