Mercurial > repos > greg > ffmpeg
diff ffmpeg.xml @ 0:d289676d7bd9 draft
Uploaded
author | greg |
---|---|
date | Tue, 17 Oct 2017 08:59:04 -0400 |
parents | |
children | e6a324da6082 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ffmpeg.xml Tue Oct 17 08:59:04 2017 -0400 @@ -0,0 +1,35 @@ +<tool id="ffmpeg" name="FFMPEG" version="3.2.4"> + <description> video to image converter</description> + <requirements> + <requirement type="package" version="3.2.4">ffmpeg</requirement> + </requirements> + <command detect_errors="exit_code"><![CDATA[ +mkdir output && +ffmpeg -i '$input' -filter:v fps=fps=1/$sbf %05d.png + ]]></command> + <inputs> + <param name="input" type="data" format="avi,mpg" label="Select input video" /> + <param name="sbf" type="int" value="1" label="Number of seconds between frames" /> + </inputs> + <outputs> + <collection name="output" type="list"> + <discover_datasets pattern="__name__" directory="output" format="png" /> + </collection> + </outputs> + <tests> + <test> + </test> + </tests> + <help> +**What it does** + +Converts video files to images. + +----- + +**Options** + + </help> + <citations> + </citations> +</tool>