Mercurial > repos > greg > ffmpeg
comparison ffmpeg.xml @ 22:4b0e8f6dfd53 draft
Uploaded
author | greg |
---|---|
date | Wed, 18 Oct 2017 14:13:23 -0400 |
parents | b99f8116ad62 |
children | 533ddfd05522 |
comparison
equal
deleted
inserted
replaced
21:b99f8116ad62 | 22:4b0e8f6dfd53 |
---|---|
19 #set full_name = $i.name | 19 #set full_name = $i.name |
20 #set ext = $i.ext | 20 #set ext = $i.ext |
21 cp $input_filename input_dir/$full_name && | 21 cp $input_filename input_dir/$full_name && |
22 #end for | 22 #end for |
23 #if str($output_process_log) == 'yes': | 23 #if str($output_process_log) == 'yes': |
24 ffmpeg -r $conversion_cond.frame_rate -f mp4 -s 1920x1080 -i input_dir/%05d_predictions.$ext -vcodec libx264 -crf $conversion_cond.quality -pix_fmt yuv420p $output_video | 24 ffmpeg -r $conversion_cond.frame_rate -s 1920x1080 -i input_dir/%05d_predictions.$ext -vcodec libx264 -crf $conversion_cond.quality -pix_fmt yuv420p output/out.mp4 2> $output_process_log && |
25 #else: | 25 #else: |
26 ffmpeg -r $conversion_cond.frame_rate -f mp4 -s 1920x1080 -i input_dir/%05d_predictions.$ext -vcodec libx264 -crf $conversion_cond.quality -pix_fmt yuv420p $output_video | 26 ffmpeg -r $conversion_cond.frame_rate -s 1920x1080 -i input_dir/%05d_predictions.$ext -vcodec libx264 -crf $conversion_cond.quality -pix_fmt yuv420p output/out.mp4 2> /dev/null && |
27 #end if | 27 #end if |
28 mv output/out.mp4 $output_video | |
28 #end if | 29 #end if |
29 ]]></command> | 30 ]]></command> |
30 <inputs> | 31 <inputs> |
31 <conditional name="conversion_cond"> | 32 <conditional name="conversion_cond"> |
32 <param name="conversion" type="select" label="Convert"> | 33 <param name="conversion" type="select" label="Convert"> |