On 2012-07-04 18:41, Marc wrote: > ffmpeg "'.$videotrack.'" -i "'.$audiotrack2.'" -vcodec copy -acodec > copy "'.$targetFile.'" This probably doesn't work because you're missing -i before one of the input files.