FFmpeg Assistance - convert, trim media files
Posted: 06 Sep 2013 19:52
FFmpeg Assistance
Base on 40k idea here: http://www.xyplorer.com/xyfc/viewtopic. ... lit=ffmpeg
I made a script to easily pass command-line parameters to FFmpeg, so that you can easily convert (re-encode); trim; save screenshot... with your video/audio files:
1) Download FFmpeg here: http://ffmpeg.zeranoe.com/builds/
2) Customize the last line of this script to reflect actual path to ffmpeg.exe
3) Select a few audio/video files
4) Run this script
5) Select a few actions from this dialog 6) Manually edit the parameters; file name; extension; location (all options have explanations). Question mark "?" are removed by default, which means, if you do not change it to a for Audio; v for Video; s for subtitle... then the options will be applied to all streams.
This below screen trim the original files from beginning to 12min 8sec 120ms without re-encoding (no quality loss at all!) Done!
Note: I only listed out the most frequently used options. You should read FFmpeg manual for a lot more functionality.
If you find any good options, feel free to post here so that I will update the list (I am not expert at FFmpeg or media encoding at all!).
Update:
v1.0 [7-Sep-13]: Initial release
v1.1 [8-Sep-13]: Separate options for input and output; update the list
v1.2 beta [10-Sep-13]: Attempt to add option to join files; there's still something wrong with concat filter
Base on 40k idea here: http://www.xyplorer.com/xyfc/viewtopic. ... lit=ffmpeg
I made a script to easily pass command-line parameters to FFmpeg, so that you can easily convert (re-encode); trim; save screenshot... with your video/audio files:
1) Download FFmpeg here: http://ffmpeg.zeranoe.com/builds/
2) Customize the last line of this script to reflect actual path to ffmpeg.exe
3) Select a few audio/video files
4) Run this script
5) Select a few actions from this dialog 6) Manually edit the parameters; file name; extension; location (all options have explanations). Question mark "?" are removed by default, which means, if you do not change it to a for Audio; v for Video; s for subtitle... then the options will be applied to all streams.
This below screen trim the original files from beginning to 12min 8sec 120ms without re-encoding (no quality loss at all!) Done!
Note: I only listed out the most frequently used options. You should read FFmpeg manual for a lot more functionality.
If you find any good options, feel free to post here so that I will update the list (I am not expert at FFmpeg or media encoding at all!).
Update:
v1.0 [7-Sep-13]: Initial release
v1.1 [8-Sep-13]: Separate options for input and output; update the list
v1.2 beta [10-Sep-13]: Attempt to add option to join files; there's still something wrong with concat filter