ffmpeg custom command does not seems to work. %in_file and %out_file are not substituted.
The code in mm_ffmpeg.module is:
if ($configuration['ffmpeg_video_custom']) {
$options[] = sprintf($configuration['ffmpeg_video_custom_command'], $current_file, $output_file);
}
It could be replaced with something like:
if ($configuration['ffmpeg_video_custom']) {
$str=str_replace("%in_file", $current_file, $configuration['ffmpeg_video_custom_command']);
$options[] =str_replace("%out_file", $output_file, $str);
}
Comments
Comment #1
arthurf commentedThanks for the bug report. I've modified your code slightly, but the concept is the same. Fix is now in CVS. Thanks!
Comment #2
arthurf commentedOh and issue is fixed
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.