0
|
1 <tool id="ffmpeg" name="FFMPEG" version="3.2.4">
|
|
2 <description> video to image converter</description>
|
|
3 <requirements>
|
|
4 <requirement type="package" version="3.2.4">ffmpeg</requirement>
|
|
5 </requirements>
|
|
6 <command detect_errors="exit_code"><![CDATA[
|
|
7 mkdir output &&
|
|
8 ffmpeg -i '$input' -filter:v fps=fps=1/$sbf %05d.png
|
|
9 ]]></command>
|
|
10 <inputs>
|
|
11 <param name="input" type="data" format="avi,mpg" label="Select input video" />
|
|
12 <param name="sbf" type="int" value="1" label="Number of seconds between frames" />
|
|
13 </inputs>
|
|
14 <outputs>
|
|
15 <collection name="output" type="list">
|
|
16 <discover_datasets pattern="__name__" directory="output" format="png" />
|
|
17 </collection>
|
|
18 </outputs>
|
|
19 <tests>
|
|
20 <test>
|
|
21 </test>
|
|
22 </tests>
|
|
23 <help>
|
|
24 **What it does**
|
|
25
|
|
26 Converts video files to images.
|
|
27
|
|
28 -----
|
|
29
|
|
30 **Options**
|
|
31
|
|
32 </help>
|
|
33 <citations>
|
|
34 </citations>
|
|
35 </tool>
|