Mercurial > repos > greg > ffmpeg
comparison ffmpeg.xml @ 25:3b06d705bcdb draft default tip
Uploaded
| author | greg |
|---|---|
| date | Thu, 19 Oct 2017 13:56:17 -0400 |
| parents | 0609c266d650 |
| children |
comparison
equal
deleted
inserted
replaced
| 24:0609c266d650 | 25:3b06d705bcdb |
|---|---|
| 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 -s 1920x1080 -i input_dir/*.$ext -vcodec libx264 -crf $conversion_cond.quality -pix_fmt yuv420p output/out.mp4 2> $output_log && | 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_log && |
| 25 #else: | 25 #else: |
| 26 ffmpeg -r $conversion_cond.frame_rate -s 1920x1080 -i input_dir/*.$ext -vcodec libx264 -crf $conversion_cond.quality -pix_fmt yuv420p output/out.mp4 2> /dev/null && | 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 mv output/out.mp4 $output_video |
| 29 #end if | 29 #end if |
| 30 ]]></command> | 30 ]]></command> |
| 31 <inputs> | 31 <inputs> |
| 64 <tests> | 64 <tests> |
| 65 <test> | 65 <test> |
| 66 <param name="conversion" value="images"/> | 66 <param name="conversion" value="images"/> |
| 67 <param name="input"> | 67 <param name="input"> |
| 68 <collection type="list"> | 68 <collection type="list"> |
| 69 <element name="big_buck_bunny1.jpg" value="big_buck_bunny1.jpg"/> | 69 <element name="00001_predictions.jpg" value="00001_predictions.jpg"/> |
| 70 <element name="big_buck_bunny2.jpg" value="big_buck_bunny2.jpg"/> | 70 <element name="00002_predictions.jpg" value="00002_predictions.jpg"/> |
| 71 <element name="big_buck_bunny3.jpg" value="big_buck_bunny3.jpg"/> | 71 <element name="00003_predictions.jpg" value="00003_predictions.jpg"/> |
| 72 </collection> | 72 </collection> |
| 73 </param> | 73 </param> |
| 74 <param name="rame_rate" value="1"/> | 74 <param name="rame_rate" value="1"/> |
| 75 <param name="quality" value="15"/> | 75 <param name="quality" value="15"/> |
| 76 <param name="output_process_log" value="yes"/> | 76 <param name="output_process_log" value="yes"/> |
