Hi, I've been using ffmpeg in Windows for many years, and I always missed the convenience of some graphical interface to have drag and drop, file listing, batch processing, progress bar, the typical windows application features. I searched for something simple, because my operations are usually just stream copy to .mp4, .ts, convert to mp3, flac 16/44,1, convert video audio tracks to aac 2 channels, trimming, concatenating, also some video shrinking and resizing.
The point is, all the similar programs that I tried are either too complex for just a few things I want to do, or they do not allow to use the parameters set of your choice, I'm somewhat limited to use predefined options.
So, for advanced users that just miss the convenience of Windows Explorer, and at the same time want to have total control of ffmpeg behaviour, I started developing this application: FFmpeg Batch. Free and open source for anyone to try, beta but fully functional, compatible with Windows 7/8/10.
https://sourceforge.net/projects/ffmpeg-batch
My programming skills are limited. Any feedback very welcome.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 30 of 778
Thread
-
Last edited by Eibol; 30th Nov 2017 at 17:52. Reason: Minor correction
-
I have released a new version, with some bug fixes, better translation, and audio features like volume change, shifting, graphical waveform.
https://sourceforge.net/projects/ffmpeg-batch -
New version 1.05 with stream mapping and mkv multiplexing.
Single stream mapping and encoding.
https://files.videohelp.com/u/273695/FFbatch_setup_1.05.msi -
Hi. I just tried using this to batch convert pairs of CDG+MP3 files to MP4, but I get Unhandled Exception when trying to add the first file ? Same issue occurs regardless of which mp3 is selected as the source.
Doing a similar ffmpeg conversion from Windows 10 command prompt work ok.
ffmpeg -i test1.cdg -i test1.mp3 -b:v 1M -y test1.mp4
I can provide copies of the source files if this helps?
Here is the error I'm getting:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
at System.String.Substring(Int32 startIndex, Int32 length)
at WindowsFormsApp1.Form1.openFileDialog1_FileOk(Obje ct sender, CancelEventArgs e) in C:\Users\Abel\ownCloud\FFmpeg Batch\FFBatch_Lview_Final\WindowsFormsApp1\Form1.cs:lin e 209
at System.Windows.Forms.FileDialog.OnFileOk(CancelEve ntArgs e)
at System.Windows.Forms.FileDialog.HandleVistaFileOk( IFileDialog dialog)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2115.0 built by: NET47REL1LAST
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
FFBatch
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/EibolSoft/FFmpeg%20Batch/FFBatch.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2110.0 built by: NET47REL1LAST
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2110.0 built by: NET47REL1LAST
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2046.0 built by: NET47REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2046.0 built by: NET47REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2117.0 built by: NET47REL1LAST -
Hi, thanks for the input, it looks like file size it's not being reported correctly.
You can try this modified 1.5.0.1 executable by replacing it on the installation folder.
If you get the same result, test files are very welcome.
https://drive.upm.es/index.php/s/PDpS6u8JgpZUbCq
Regards
AbelLast edited by Eibol; 22nd Dec 2017 at 17:27. Reason: Wrong link
-
Still getting the same error. Zip attached containing the mp3 & cdg I'm testing with.
Pete -
Hi again, I havent been able to reproduce the issue, I have added your files and could convert them successfully, results attached.
Maybe the way of adding parameters for specific track encoding is not clear: if parameter is not "copy", -c:v or -c:a is then included, so since your are transcoding you need to add a codec like libx264, and then the bitrate parameter. You can see what I did it on the screenshot below. clearly the feature needs some work:
[Attachment 44108 - Click to enlarge]
Processed files: https://drive.upm.es/index.php/s/aVT4j0ijjMugkX9
Since by default muxing is saved as mkv, I included version 1.05.2, that obtains file extension from main screen format textbox. -
Hmm. Not sure what's going on with my install, but I'm still getting the "System.ArgumentOutOfRangeException: Length cannot be less than zero." error.
I've tried the software on both windows 7 & 10 laptops, but same issue. I also tried moving the source folder to a different location. I wonder if there's something conflicting in windows config ?
Is there a particular version of .NET framework that should be installed ? Also is this 32 or 64 bit ?Last edited by pete999; 24th Dec 2017 at 07:05.
-
I think I found the issue, I was handling poorly the size decimal separator, since I assumed it was ",".
Please remove your current version, delete the installation folder if you still have any custom exe file there and try this new version 1.1 with better
size formatting:
https://sourceforge.net/projects/ffmpeg-batch/files/FFbatch_setup_1.1.msi/download
Thanks for your input and sorry for the inconvenience.
Visual Studio .NET installer is not very good, but it should detect required dependencies, in this case .NET runtime 4.6.2. 64 bits. I leave the link for .NET 4.6.2 if required: https://www.microsoft.com/en-us/download/details.aspx?id=53344
Last edited by Eibol; 26th Dec 2017 at 01:29. Reason: 64 bits / .net 4.6.2 / Found solution new version
-
New version 1.1 with mp4 muxing support and solved runtime error while adding files due to wrong file size string handling.
FFmpeg Batch 1.1Last edited by Eibol; 26th Dec 2017 at 01:34. Reason: Internal link
-
This version now works for me, and file size errors gone - thanks.
Couple of new questions:
1) How to save the Batch Processing settings so I don't need to configure "libx264 -b:v 1M" and Eng Audio for every file ?
2) The resultant MP4 plays fine in VLC with video & audio, but not in Windows Media where I don't see video ? -
Glad to know it works at last.
For question one, those features are not implemented on current version yet, but on 1.2 they will be somehow available. I may provide a beta executable so you can have them earlier.
Unlike VLC, Windows Media Player is rather "picky" with media files, so maybe you need to try other parameters until you find the ones that your such player version accepts. It maybe a color space limitation, so for improved compatibility, you may try adding this to your parameters set: -pix_fmt yuv420p
Last edited by Eibol; 29th Dec 2017 at 18:26. Reason: typo
-
I need help with 'How to convert OPUS audio of MP4/WEBM/MKV to MP3/AC3 without re-encoding video?'
at this thread https://forum.videohelp.com/threads/386336-Dealing-with-OPUS-audio-of-MP4-WEBM-MKV#post2505812
Installing FFmpeg Batch 1.1 gives the warning:
This installation package is not supported by this processor type. Contact your product vendor.Sword is no substitute for kitchen-knife. -
Hi, maybe you have a 32 bits operating system and the product searches a 64 bits. You can find below a 32 bits installer that should work fine, try and let me know:
FFmpeg Batch 1.1 32 bits: https://drive.upm.es/index.php/s/bVuxKEKZrfTbIJN/download
Last edited by Eibol; 30th Dec 2017 at 11:25. Reason: Changed link
-
Thanks.
Installed. When used, gave this message: [screenshot attached]
Please advise.Sword is no substitute for kitchen-knife. -
You cannot put VP8 video into an MP4 container, it does not belong to the video formats supported by the MPEG-4 standard.
-
Last edited by ConverterCrazy; 31st Dec 2017 at 02:18. Reason: Additional inputs.
Sword is no substitute for kitchen-knife. -
Created a new preset.
It's working.
Thanks.Sword is no substitute for kitchen-knife. -
New version 1.2:
- Added batch subtitling feature. Add videos and the application will search and mux subtitle files available on the same folder with the same name.
- Added feature to save a default enconding for mapping and muxing tracks.
- Solved issues with subrip subtitles encoding and mapping PGS subtitles.
- Prevented unintended file overwriting ruining source file.
- Minor bug fixed.
64 bits: https://files.videohelp.com/u/273695/FFbatch_setup_1.2_x64.msi
32 bits: https://files.videohelp.com/u/273695/FFbatch_setup_1.2_x86.msi
FFmpeg BatchLast edited by Eibol; 2nd Jan 2018 at 06:10. Reason: typo, last-minute link update
-
-
Update 1.2.2: Refinements and bug fixes on batch subtitling feature. Better warnings and compatibility between mkv/mp4 containers.
32 bits: https://files.videohelp.com/u/273695/FFbatch_setup_1.2.2_x86.msi
64 bits: https://files.videohelp.com/u/273695/FFbatch_setup_1.2.2_x64.msi
FFmpeg Batch -
New version 1.3.1:
- Redesigned interface now shows all process estimated remaining time. Fixed bug due to localization issues.
- Added feature to include ffmpeg pre-input parameters, and easy pre-input seeking, for faster seeking operations.
- Added feature to create a video using a still image and audio file.
https://files.videohelp.com/u/273695/FFbatch_setup_1.3.1_x64.msi
https://files.videohelp.com/u/273695/FFbatch_setup_1.3.1_x86.msi
FFmpeg BatchLast edited by Eibol; 21st Jan 2018 at 18:43. Reason: New version to fix fatal error due to localization
-
New version 1.3.1 in order to fix a fatal error due to time measurement localization and pre-input seeking buggy field.
https://files.videohelp.com/u/273695/FFbatch_setup_1.3.1_x86.msi
https://files.videohelp.com/u/273695/FFbatch_setup_1.3.1_x64.msiLast edited by Eibol; 21st Jan 2018 at 18:42. Reason: Wrong link
-
-
Hopefully, all localization errors fixed.
Ver 1.3.2
- Added total time info.
- Added total file list size info.
- A few interface improvements.
- Long term support version.
https://files.videohelp.com/u/273695/FFbatch_setup_1.3.2_x64.msi
https://files.videohelp.com/u/273695/FFbatch_setup_1.3.2_x86.msi
FFmpeg Batch ConverterLast edited by Eibol; 23rd Jan 2018 at 10:30. Reason: Edited links
-
Updated Screenshots, with comparison converting audio to mp3 using single thread, 46 seconds, vs N-threads, 13 seconds. (Only recommended for audio only conversions).
[Attachment 44475 - Click to enlarge]
[Attachment 44476 - Click to enlarge]
Stream mux:
[Attachment 44477 - Click to enlarge]
Batch subtitling:
[Attachment 44478 - Click to enlarge]
Similar Threads
-
Batch trim using FFMPEG
By taonas in forum EditingReplies: 4Last Post: 25th Feb 2021, 11:17 -
(HELP PLEASE) FFmpeg - Batch Remove metadata
By uppon2 in forum Newbie / General discussionsReplies: 14Last Post: 3rd Jun 2016, 07:47 -
Batch stabilize script for ffmpeg
By racer-x in forum Video ConversionReplies: 20Last Post: 2nd Jun 2016, 18:10 -
FFMPEG Batch Converter! Help Please
By kerafb in forum Video ConversionReplies: 0Last Post: 15th Jan 2016, 20:18 -
Can I get a little help with an ffmpeg script/batch file?
By Iced Coffee in forum Newbie / General discussionsReplies: 14Last Post: 26th Aug 2015, 02:56