diff --git a/tools/ffmpeg/.shed.yml b/tools/ffmpeg/.shed.yml new file mode 100644 index 0000000000..3d893d6fa7 --- /dev/null +++ b/tools/ffmpeg/.shed.yml @@ -0,0 +1,17 @@ +name: ffmpeg +owner: bgruening +description: A complete, cross-platform solution to record, convert and stream audio and video. +long_description: | + A complete, cross-platform solution to record, convert and stream audio and video. +type: unrestricted +categories: + - Convert Formats +remote_repository_url: https://github.com/bgruening/galaxytools/tree/master/tools/ffmpeg +homepage_url: https://ffmpeg.org +auto_tool_repositories: + name_template: "{{ tool_id }}" + description_template: "Wrapper for the ffmpeg suite tool: {{ tool_name }}" +suite: + name: "suite_ffmpeg" + description: A complete, cross-platform solution to record, convert and stream audio and video. + long_description: A complete, cross-platform solution to record, convert and stream audio and video. diff --git a/tools/ffmpeg/ffmpeg_converter.xml b/tools/ffmpeg/ffmpeg_converter.xml new file mode 100644 index 0000000000..fb1086b645 --- /dev/null +++ b/tools/ffmpeg/ffmpeg_converter.xml @@ -0,0 +1,88 @@ + + Convert between video and audio formats + + ffmpeg + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This tool uses FFmpeg to convert between common video and audio file formats. + + Input formats: + - Video: MP4, MOV, AVI, MKV + - Audio: MP3, WAV, FLAC, AAC, OGG + + Select the output format you want, and FFmpeg will handle the conversion. + + + + @article{tomar2006converting, + title={Converting video formats with FFmpeg}, + author={Tomar, Suramya}, + journal={Linux Journal}, + volume={2006}, + number={146}, + pages={10}, + year={2006}, + publisher={Belltown Media} + } + + + diff --git a/tools/ffmpeg/test-data/.gitignore b/tools/ffmpeg/test-data/.gitignore new file mode 100644 index 0000000000..14d3304e47 --- /dev/null +++ b/tools/ffmpeg/test-data/.gitignore @@ -0,0 +1 @@ +SampleVideo_360x240_1mb.mp4 diff --git a/tools/ffmpeg/test-data/SampleVideo_360x240_cut.flac b/tools/ffmpeg/test-data/SampleVideo_360x240_cut.flac new file mode 100644 index 0000000000..8b324378f3 Binary files /dev/null and b/tools/ffmpeg/test-data/SampleVideo_360x240_cut.flac differ diff --git a/tools/ffmpeg/test-data/SampleVideo_360x240_cut.mkv b/tools/ffmpeg/test-data/SampleVideo_360x240_cut.mkv new file mode 100644 index 0000000000..75b4c4b1dc Binary files /dev/null and b/tools/ffmpeg/test-data/SampleVideo_360x240_cut.mkv differ diff --git a/tools/ffmpeg/test-data/SampleVideo_360x240_cut.mp3 b/tools/ffmpeg/test-data/SampleVideo_360x240_cut.mp3 new file mode 100644 index 0000000000..9e0f7ea094 Binary files /dev/null and b/tools/ffmpeg/test-data/SampleVideo_360x240_cut.mp3 differ diff --git a/tools/ffmpeg/test-data/SampleVideo_360x240_cut.mp4 b/tools/ffmpeg/test-data/SampleVideo_360x240_cut.mp4 new file mode 100644 index 0000000000..bb7b90015f Binary files /dev/null and b/tools/ffmpeg/test-data/SampleVideo_360x240_cut.mp4 differ diff --git a/tools/ffmpeg/test-data/SampleVideo_360x240_cut.webm b/tools/ffmpeg/test-data/SampleVideo_360x240_cut.webm new file mode 100644 index 0000000000..c4b2f5b826 Binary files /dev/null and b/tools/ffmpeg/test-data/SampleVideo_360x240_cut.webm differ diff --git a/tools/ffmpeg/test-data/converted.mp3 b/tools/ffmpeg/test-data/converted.mp3 new file mode 100644 index 0000000000..f12a0f46b9 Binary files /dev/null and b/tools/ffmpeg/test-data/converted.mp3 differ diff --git a/tools/ffmpeg/test-data/flac_to_ogg.ogg b/tools/ffmpeg/test-data/flac_to_ogg.ogg new file mode 100644 index 0000000000..4054fedf60 Binary files /dev/null and b/tools/ffmpeg/test-data/flac_to_ogg.ogg differ diff --git a/tools/ffmpeg/test-data/readme.txt b/tools/ffmpeg/test-data/readme.txt new file mode 100644 index 0000000000..3125d2c2c6 --- /dev/null +++ b/tools/ffmpeg/test-data/readme.txt @@ -0,0 +1,7 @@ +ffmpeg -ss 00:00:02 -to 00:00:04 -i SampleVideo_360x240_1mb.mp4 -c copy SampleVideo_360x240_cut.mp4 + +ffmpeg -i SampleVideo_360x240_cut.mp4 SampleVideo_360x240_cut.webm +ffmpeg -i SampleVideo_360x240_cut.mp4 SampleVideo_360x240_cut.flac +ffmpeg -i SampleVideo_360x240_cut.mp4 SampleVideo_360x240_cut.mp3 +ffmpeg -i SampleVideo_360x240_cut.flac flac_to_ogg.ogg +ffmpeg -i SampleVideo_360x240_cut.mp4 SampleVideo_360x240_cut.mkv