Mercurial > repos > greg > ffmpeg
comparison ffmpeg.xml @ 23:533ddfd05522 draft
Uploaded
| author | greg |
|---|---|
| date | Wed, 18 Oct 2017 14:30:53 -0400 |
| parents | 4b0e8f6dfd53 |
| children | 0609c266d650 |
comparison
equal
deleted
inserted
replaced
| 22:4b0e8f6dfd53 | 23:533ddfd05522 |
|---|---|
| 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/%05d_predictions.$ext -vcodec libx264 -crf $conversion_cond.quality -pix_fmt yuv420p output/out.mp4 2> $output_process_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/%05d_predictions.$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 |
