Log in

View Full Version : FFMPEG Audio Encoder v4.0


jlw_4049
8th July 2020, 04:15
FFMPEG Audio Encoder v4.0

https://i.imgur.com/mJoocLC.png

Click lower images for higher resolution

https://thumbs2.imgbox.com/17/de/qehF8gV7_t.png (https://imgbox.com/qehF8gV7)

https://thumbs2.imgbox.com/e8/46/ulnMI07w_t.png (https://imgbox.com/ulnMI07w)

https://thumbs2.imgbox.com/82/30/ltq5KBrP_t.png (https://imgbox.com/ltq5KBrP)

https://thumbs2.imgbox.com/47/6a/UGnPUyTT_t.png (https://imgbox.com/UGnPUyTT)

https://thumbs2.imgbox.com/de/76/CWzPrTTW_t.png (https://imgbox.com/CWzPrTTW)

https://thumbs2.imgbox.com/10/a3/UE0B8sD2_t.png (https://imgbox.com/UE0B8sD2)

https://thumbs2.imgbox.com/c8/6b/JZKxoeFJ_t.png (https://imgbox.com/JZKxoeFJ)

https://thumbs2.imgbox.com/7d/54/r30J1iuu_t.png (https://imgbox.com/r30J1iuu)

Description:

Program now supports Batch Encoding as of version 2.5

This is a small first time project I've been working on, to improve my skills at coding.

FFMPEG is the heart of this program, however it is also bundled with a couple other required apps needed to run. All of the included apps is required for the program to run. Each application is included with the program in individual folders. They do not need windows path environment variable modified in any way what so ever to run, this program is completely standalone.

If you want to use a specific version of FFMPEG (or any of the other apps bundled) you can easily just replace the application in the programs folders.

This program can intake any media file that has audio and encode it to the codec/settings of your choice. You can open any video/audio file.

All of the following codecs are supported:

Codecs Supported:
* AAC
* AC3
* E-AC3
* DTS
* Opus
* MP3 (Lame)
* FDK-AAC
* QAAC
* FLAC
* ALAC

Instructions:
1) Open your file
2) Open the file or drag and drop a file into the 'Open File' area
3) Afterword's you'll be able to select what ever codec you want to use to encode/extract with you can then select 'Audio Settings' to open a sub window
4) You can choose what ever options you want then press 'Apply'
5) The program will automatically select a new name/file location based off of file input. You can choose a different option with the 'Save File' button.
6) Once you are ready to encode just select 'Start Job'
Note: Program will not run from archive, It needs to be extracted to a folder somewhere!


Download:
FFMPEG Audio Encoder Download (https://github.com/jlw4049/FFMPEG-Audio-Encoder/releases)

Link to project page (https://github.com/jlw4049/FFMPEG-Audio-Encoder)

There is a small chance on Windows that the program will give a false positive saying this program is a virus. This .zip is clean and everything that comes with it is clean. You can run it through Virus Total (https://www.virustotal.com/gui/home/upload) if you'd like.

tormento
8th July 2020, 08:59
Please notice that Windows AV reports it as Trojan:Win32/Wacatam

If you used any exe compression or encryption, perhaps much better to release the first version as plain exe.

tebasuna51
8th July 2020, 15:58
Please show the log window or send any error message.

- The dts encoder don't work at all. We can't select bitrate and the output is always wrong.
I remember you how can use ffmpeg like dts encoder, seems your command line is wrong (I can't see it):

FFMPEG -i input -strict -2 -c:a dca -b:a 1509k output.dts

BTW the encoded dts by ffmpeg aren't compliant for some DVD/BD authoring soft, if we need a dts compliant is better use ffdcaenc.exe with GUI's like UsEac3to or BeHappy.

- The opus encoder make files with .ogg extensions and always downmix to stereo

- The Vorbis encoder is not needed now, it was replaced with opus.

- Maybe you can add the eac3 format.

richardpl
8th July 2020, 16:08
BTW the encoded dts by ffmpeg aren't compliant for some DVD/BD authoring soft, if we need a dts compliant is better use ffdcaenc.exe with GUI's like UsEac3to or BeHappy.

Can you show valid proof that this statement is correct at all?

jlw_4049
8th July 2020, 18:00
Please show the log window or send any error message.

- The dts encoder don't work at all. We can't select bitrate and the output is always wrong.
I remember you how can use ffmpeg like dts encoder, seems your command line is wrong (I can't see it):

FFMPEG -i input -strict -2 -c:a dca -b:a 1509k output.dts

BTW the encoded dts by ffmpeg aren't compliant for some DVD/BD authoring soft, if we need a dts compliant is better use ffdcaenc.exe with GUI's like UsEac3to or BeHappy.

- The opus encoder make files with .ogg extensions and always downmix to stereo

- The Vorbis encoder is not needed now, it was replaced with opus.

- Maybe you can add the eac3 format.

Thank you for the feedback.

The DTS is merely just for reducing DTSHD to core or extracting DTSHD. I haven't added the experimental DTS encoding features.

I will work on adding error output however.

The opus encoder is set to default to make files stereo, to avoid errors. If you take a 5.1 source and let Opus try to copy those channels you will get an error as Opus doesn't support 5.1(side)

Thank you on the Vorbis information. If it's truly out-dated I will remove it from the software.

I will also look into adding eac3 as well.

Thanks for the feedback so far.


Please notice that Windows AV reports it as Trojan:Win32/Wacatam

If you used any exe compression or encryption, perhaps much better to release the first version as plain exe.


Updated the .zip on github with an uncompressed version of the .exe
Thanks for the tip! :)

tebasuna51
8th July 2020, 18:49
Can you show valid proof that this statement is correct at all?

That is a old discussion, I don't know if I can find the thread: https://forum.doom9.org/showthread.php?p=1688157#post1688157

I say "some" not all or actual authoring tools.

Basically that tool only accept dts's "1536" with frame size 2013 obtained with ffdcaenc -b 1509.75

With ffmpeg I can obtain 2012 (-b:a 1509) or 2016 (-b:a 1509.001)

BTW, DTS is a format without interest to output in this time, for me is correct this:

The DTS is merely just for reducing DTSHD to core or extracting DTSHD

but ffmpeg try to do a dts (size 0) with input no dts.

jlw_4049
8th July 2020, 19:06
but ffmpeg try to do a dts (size 0) with input no dts.

I'm currently working on adding e-ac3 and removing vorbis. As well as correcting the Opus output container to .opus instead of .ogg

However, I'm not sure what exactly you mean with the DTS (size 0)

Are you saying that if someone tries to use the DTS codec in the drop down selection and they don't have a DTS input, it will error out? If so yes it will, as currently I have only added support for extract DTS to core from DTSHD or extracting the DTSHD file.

tebasuna51
8th July 2020, 19:31
With a simple wav input, codec DTS, DTS settings (default Reduce to core), Apply, Start audio job and I ibtain a .NEW.dts 0 bytes without any error message.
If I select DTS settings: extract HD track, I obtain a .NEW.dts file with garbage.

With input dts-hd the core is extracted ok.
You must add .m2ts to open files list.

jlw_4049
8th July 2020, 19:35
With a simple wav input, codec DTS, DTS settings (default Reduce to core), Apply, Start audio job and I ibtain a .NEW.dts 0 bytes without any error message.
If I select DTS settings: extract HD track, I obtain a .NEW.dts file with garbage.

With input dts-hd the core is extracted ok.
You must add .m2ts to open files list.

Could you provide me this wav input so I can do some tests and add it to the program?

EDIT:
I made a .wav file of the HD track. Added it to the program, was able to reduce wav to DTS core and was also able to extract DTS-HD from .wav


Updated program to v1.1:
Removed Vorbis (Outdated codec)
Added E-AC3
Added a long list of supported bit rates and sample rates.
Added .mt2s and .wav to the file input window.

tormento
9th July 2020, 09:53
Please show the log window or send any error message.
https://i1.lensdump.com/i/jYVLT7.md.png (https://lensdump.com/i/jYVLT7)

jlw_4049
9th July 2020, 16:25
https://i1.lensdump.com/i/jYVLT7.md.png (https://lensdump.com/i/jYVLT7)Working on adding that feature as well. Shouldn't be long!

Sent from my SM-G986U1 using Tapatalk

jlw_4049
11th July 2020, 01:46
Updated release v1.32:
*Added a new menu button in the top left of audio codec sub window. This will allow you to view all the streams your input file has while you are choosing your audio codec settings.

*Added a new feature in the Options menu called "Shell Options":
The default option leaves the program to work like it did before. The 2nd option "Shell Stays Open (Debug)" allows the user to see all of the command line as well sets the shell to stay open after an encode. This is useful for users wanting to see more information or debugging in the event there is a bug.

*Added a new button on the main GUI. This is called "Show Command" You are allowed to select it once you have pressed "Apply" in the codec sub window. This button allows you see the full command line before it's executed.

*On top of those features, I removed some useless modules, I cleaned up the code some as well as cleaned up a couple minor bugs. Latest release download is on github/link is updated on main post.

jlw_4049
13th July 2020, 01:56
Updating release: v1.45
*Program now supports FDK-AAC and all of it's advanced features
*I've added support for all codecs displaying their command lines as well

jlw_4049
14th July 2020, 07:21
Updating release: v1.5
*Program now fully supports Drag and Drop. This was difficult because Python/Tkinter doesn't actually support drag and drop natively. It took a lot more effort then I thought it would have.
*Removed FFPROBE from the required files for this program. It will no longer be packed with it, making the program lighter as well as fixing a couple small bugs and allowed me to organize the streams viewer a lot more. This was replaced by mediainfocli.

jlw_4049
14th July 2020, 23:47
Updating release: v1.7
*Program now supports QAAC Encoder.
*Added a basic error message when trying to open incorrect file types
More extensions may need to be added, but I have a huge list of the 'most used' filetypes added to the program now.

jlw_4049
15th July 2020, 05:16
Updating release: v1.75
*When you press save file now there will be a default name based off of what the input is.
This already worked for auto save path, but this did not work properly when you actually pressed 'Save File".
This now has proper location and a default save name that can be changed.

*Updated QAAC codec to 2.69. (Latest Version)

jlw_4049
26th July 2020, 06:34
Updating Release: v2.0

Every codec has had a re-work. I double checked every codec and made the following changes:

AAC Encoder:
* Adjusted window size
* Removed some unnecessary row configurations
* Added custom command line for AAC codec
* Added ability to input Title
* Added VBR Toggle Option
* Organized all the AAC window code
* Added all supported channel options
* Added all supported sample rates

AC3 Encoder:
* Added all available bitrates to the drop down menu
* Removed unsupported audio channels and added all missing supported channel selections
* Removed unnecessary code for the 'gain' selection part of the AC3 codec
* Added '32000' to the sample rate drop down menu, completing all supported sample rates for this codec
* Adjusted command line with required changes
* Added 'View Command' Button
* Adjusted 'show commands' command line for the required changes
* Added custom command line input
* Added title entry box
* Added needed 'row configure' to keep buttons nice looking for different sized DPI settings (based on OS)
* Resized AC3 Settings window
* Set 'Apply' button in 'AC3 Settings' to close any/all 'View Command' windows that may or may not be up

DTS Encoder:
* Added Gain Options
* Added the option to encode
* Added Sample rate options
* Added custom command line input
* Set program to disable and set default unsupported options when using 'Reduce to Core' and 'Extract HD Track'
* Added the ability to 'View Commands' in the DTS Codec Menu
* Added audio channel options (This is limited by FFMPEG. There is only mono/stereo to choose from. IF you leave this set to
'Original' and your track is 5.1 then when it encodes it will be 5.1)
* Updated main GUI show command line feature for this codec and all of it's selections

Opus Encoder:
* Added Constrained VBR to the list of VBR options, completeing Opus codecs vbr options
* Adjusted Audio Channel choices to only supported channels
* Removed 'Original' from the channels, as Opus requires channels to be specified, regardless of input.
The default is now set to stereo, but can be changed to any of the supported channel layouts in the sub-menu.
I am going to work on some work around to this in the future, but for a while this is how it will be. This is
a limitation of FFMPEG/LibOpus.
* Removed unnecessary code from the 'Gain Choices' drop down menu
* Organized "Opus" code
* Added Custom Command line input
* Added a 'View Command' button
* Added sample rate drop down menu with all supported sample rates
* Adjusted window size of Opus codec
* Added Packet Loss spinbox (default is 0)
* Added Frame Duration spinbox (default is 20)
* Worked all new settings/features into the 'View Command' button in the 'Opus Settings' window
* Opus doesn't support holding 'Title' information so this feature will not be added to this codec
* Corrected supported bitrates from this codec

MP3 Encoder:
* Added all supported sample rates
* Added all supported bitrates for CBR
* Average bitrate choices will be based off of the CBR choices
* Added average bitrate check button
* Added VBR check button (This is enabled by default. Once you disable this you will have access to CBR/ABR options)
* Added ABR check button
* Added all options to "View Commands" in the MP3 Audio Settings window
* Added all options to the 'Show Commands' button in the main GUI
* Removed code that was no longer needed/shared with other codecs
* Resized the window to make everything look nice

FDK-AAC Encoder:
* Added custom title input
* Added custom command line
* Resized window
* Added view command button
* Adjusted command line viewer for main gui
* Adjusted start job command line

E-AC3 Encoder:
* Added all supported channels
* Added all supported sample rates
* There will be no 'Title' entry for this codec, as AC3 doesn't support holding that information
* Added all of the advanced settings: (All these are set to default)
-Per Frame Metadata
-Mixing Level
-Room Type
-Copyright Bit
-Dialogue Level
-Dolby Surround Mode
-Original Bit Stream
-Stereo Downmix Mode
-Lt/Rt Center Mix Level
-Lt/Rt Surround Mix Level
-Lo/Ro Center Mix Level
-Lo/Ro Surround Mix Level
-Dolby Surround EX Mode
-Dolby Headphone Mode
-A/D Converter Type
-Stereo Rematrixing
-Channel Coupling
-Coupling Start Band
-Custom Command Line
* Added a view command button
* Resized the window to hold all of the new selections. I will organize and adjust this window potentially later
* Updated both view commands button, one on main GUI and the button inside of the "Audio Settings" window for this codec

QAAC Encoder:
* Added custom command line input
* Added title entry input
* Adjusted disabled color of the spinboxs
* Added No Delay Check Box
* Added VBR Mode Selection
* Added QAAC Gain instead of FFMPEG
* Added Normalize toggle
* Added No Dither Toggle
* Added No Delay toggle
* Added No Optimize Toggle
* Added High Efficeincy Toggle
* Added Threading Toggle
* Added Limiter Toggle
* Added Gapless Mode Drop Down Menu

jlw_4049
28th July 2020, 22:59
Updating Release: v2.1

New Features:
*Added Dolby Pro Logic II check box to all encoder windows other then 'E-AC3' (This is a default option in the advanced section of for this codec) - You can use Dolby Pro Logic II with any codec as long as you first set the channels to '2 (Stereo)'

*Changed the gain selection in all encoder windows from a drop down menu to a spinbox, giving more flexibility and making it look nicer
(You can now select from -30 to 30)

Bug Fixes:
* QAAC encoder - adjust bitrate spinbox from 1 to 0 as the minimum. When set to 0 this enables the encoder to automatically use as much bitrate as possible.
* Fixed 'view command' line function from last update
* Fixed 'debug' option, that in some instances would fail
* Fixed the code for QAAC 'threading' option. This enabled the wrong command when selected, this is now fixed

manolito
29th July 2020, 13:17
Does not even start on my machine:

https://i.ibb.co/frfSw95/error.png (https://imgbb.com/)

My sytem:
Win7 64-bit, latest SP1 with all updates,
All VC++ runtimes installed
Thinkpad T530, CoreI5 3rd generation, 8GB RAM

Launching as administrator or using compatibility modes does not help. No other Python version installed.

jlw_4049
29th July 2020, 16:41
Does not even start on my machine:

https://i.ibb.co/frfSw95/error.png (https://imgbb.com/)

My sytem:
Win7 64-bit, latest SP1 with all updates,
All VC++ runtimes installed
Thinkpad T530, CoreI5 3rd generation, 8GB RAM

Launching as administrator or using compatibility modes does not help. No other Python version installed.

Just tested v 2.1 on 4 other machines and 3 virtual machines. It launched without issue.

Be sure that your antivirus isn't flagging it as a virus, be sure that you are running the .exe from the main folder that you extracted it in.

You may make a shortcut to it.

EDIT: Installing Windows 7 on a virtual machine now.
EDIT: I never tested Windows 7 before, testing now I see that there is indeed an error. I will work on this and post a new update once I get it fixed.

FIXED: Was 1 line of code, that adjusted DPI for windows 10 causing the issue. I have made a Windows 7 x64 release and in the future will make sure that it works on all Windows x64 OS.


Windows 7 Version Here (https://github.com/jlw4049/FFMPEG-Audio-Encoder/releases/download/2.1/FFMPEG.Audio.Encoder.v2.1.Windows.7.x64.zip)

manolito
29th July 2020, 21:33
Thanks for the fix, works nicely now... :D

I will probably stick with dmMediaConverter for my audio conversion needs. It has fewer codecs, but also some nice features which can make my life easier. For example Peak Detection for helping users to adjust the gain. And it does video, too, no need to learn a different software for video and audio.

jlw_4049
29th July 2020, 21:43
Thanks for the fix, works nicely now... :D



I will probably stick with dmMediaConverter for my audio conversion needs. It has fewer codecs, but also some nice features which can make my life easier. For example Peak Detection for helping users to adjust the gain. And it does video, too, no need to learn a different software for video and audio.I understand, as I use StaxRip for a large portion of my needs.

However, I wanted to learn to code and so I just went with it.

Im constantly improving it so if you have features you're looking for to make it better feel free to let me know.

I really built the app for convenience when I'm muxing a movie and decide I want the audio changed.

I generally encode my video and manually mux later. Depends on the situation really.

However, I have a lot more plans for it, batching etc eventually. Still learning every day.

Sent from my SM-G986U1 using Tapatalk

jlw_4049
3rd August 2020, 20:22
Updating Release: v2.5

New Features:
* Added support for Windows 7 x64 to Windows 10 x64
* Added Batch Encoding

Update:
* Added every codec to the batch encoder that was supported in main program
* Added a bunch of optional extensions, if you use common it will support most if not all extensions most people use. You have all files as an option, but this could break the batch program if you have a file with an extension that is something that doesn't belong. (.jpg or anything else that isn't audio/video)
* Cleaned up the UI for the Batch Window
* Linked the drop down menu in main program where you can select "Debug" if you need to
* Added the ability to see all the command line options in batch form, in the batch window
* Added folder drag and drop (for the batch window). You can drag and drop a folder into the 'Open Directory' button or into the
Entry Box to the right of it

* I adjusted 'Save Directory' to default to the folder that was opened for encoding instead of root of the program
* On the main GUI I removed the 'MediaInfo' button, it is replaced by the "Batch Process" button. However, I added a tools option in the menu bar, that will still allow you to use this feature like it was before. (If you have an input file opened, it will still open the program with that file automatically, if you don't it'll open the program up to where you can do what ever you like)

jlw_4049
21st August 2020, 19:31
Updating Release: v2.7

New Features:
* Added "Time Modification" - This is supported for both batch encoding as well as single file encoding

This was a requested feature

jlw_4049
17th September 2020, 17:01
Updating Release: v2.8

Minor Update:
* Added FLAC input

jlw_4049
21st September 2020, 19:05
Updating Release: v2.9

New Features:
* Added 'FLAC' encoder to the main gui program
* Added 'FLAC' to the batch encoder gui

jlw_4049
23rd September 2020, 04:05
Updating Release: v2.9.1

New Features:
* Added 'ALAC' encoder to the main gui program
* Added 'ALAC' to the batch encoder gui
* Fixed some bugs that was on the batch side of the program

jlw_4049
25th September 2020, 22:01
Updating Release: v2.9.2

New Features:
* Added MPV Player to listen to selected tracks
You can control the volume with keys '9' and '0' (VolDown and VolUp) when viewing/listening to video/audio
* Added E-AC3 to the extension list for both main GUI and batch GUI

A very useful application does not recognize the missing E-AC-3 codec input add please thanks
Thanks for the feedback and added eac3 extension in latest release.

jlw_4049
7th October 2020, 05:59
Updating Release: v2.9.3

New Features:
* Added a new custom youtube-dl GUI

This is based off of youtube-dl CLI, current functions are downloading audio/basic audio encoding/full quality video/audio download from links

* This program is a standalone program packaged with FFMPEG Audio Encoder
* You can open this either from inside the FFMPEG Audio Encoder folder or by using the Tools menu in the main GUI

Update:
* Updated qaac to latest version

jlw_4049
7th October 2020, 21:18
Updating Release: v2.9.4

Major Changes to the code:
* Broke up the code between Main Gui, Batch Gui, and YoutubeDL Gui (This will make managing all of them a lot easier)
* Changed how the File -> Exit button functions, this was required for each individual window with the new code
* QAAC encoder had some major bugs on any setting that was not 'True VBR.' This has been fixed for both the batch encoder and the single file encoder
* YoutubeDL Gui is now built into the main GUI, instead of being a separate executable/script. (I will still update/release standalone versions of this) You can access this via the 'Tools' menu at the top of the GUI

jlw_4049
19th October 2020, 00:56
Updating Release: v2.9.6

Major Changes to the code:
* Added '.aax' extension to the program
* Removed 'NEW_' from the batch side of the program, since the program automatically puts new files into a new directory. This makes it easier for the user not to have to go batch edit a bunch of new files in case they didn't want 'NEW_' included in the filename
* Added a license to the program (GPL-3.0 License)
* Updated 'ffmpeg.exe' to the latest version
* Program will now 'Auto Download' required apps, instead of them being in the repository
* The 'Auto Downloader' will check to see if the file exists, if it doesn't it'll download it for you
* Program will no longer ship with FFMPEG automatically, this makes the program lighter and will check your system 'PATH' for existing installations before downloading one on it's own
* Changed the way closing the program behaves. It will now prompt you to be sure you want to close it

jlw_4049
20th October 2020, 20:51
Updating Release: v2.9.7

Updates:
* Program now checks for for existing folders in the 'Apps' directory, if they aren't there, it creates them.
* Added static links for the downloadable app, I got as many of these links to pull directly from the source for the latest versions
* Added a progress bar to the 'App Download' window
* Updated 'Youtube-DL-Gui' to the latest beta (v1.4) Check Youtube-DL-Gui github for changes (https://github.com/jlw4049/Youtube-DL-GUI)
* Program now checks for both ffmpeg.exe and youtube-dl.exe on your system path, before attempting to download them directly to the program
* Some minor bug fixes

PatchWorKs
2nd November 2020, 10:00
Just a question: how many downmix to stereo "approaches" does it support ?

https://superuser.com/questions/852400/properly-downmix-5-1-to-stereo-using-ffmpeg

jlw_4049
2nd November 2020, 19:01
Just a question: how many downmix to stereo "approaches" does it support ?



https://superuser.com/questions/852400/properly-downmix-5-1-to-stereo-using-ffmpegIt uses FFMPEGs most popular option via -ac 2 to down mix the stereo.

You can see the commands it uses via the show command button.

On top of that there is room for custom commands if you'd like something different.

With every codec you also have the option to use Dolby Pro Logic II once stereo is selected.

Sent from my SM-G986U1 using Tapatalk

jlw_4049
4th November 2020, 06:04
Updating Release: v3.0

Updates:
* Program now has new progress windows (This includes a small text output with a progress bar underneath it)
For the main part of the program the progress bars show the progress of each individual file, for the batch side of the program it is based off of completion of the amount of files being encoded
* Program now asks if you are sure you want to exit for the main GUI/batch GUI
* Using the option 'Debug' still works the same, the option 'Default' actually spawns the new window with the progress bar and shows the progress
* There is a lot of new code/quality of life improvements to the code, I've checked several times but there could be bugs, if you find any please let me know so I can fix them

jlw_4049
18th November 2020, 00:45
Updating Release: v3.1

Updates:
* Fixed a bug where 'FFMPEG' was located on Windows PATH and had white spaces in the name, the program could bug out on some encoders
* Added forced window geometry, so progress bar pop ups would look correct on different DPI settings
* Added a new config.ini file (this will be generated upon first program launch)
* You can now adjust the path to ffmpeg.exe/mpv.exe/mediainfo(gui & cli).exe
* Adjust these settings in the Options menu at the top of the GUI
* I have also added a 'Reset Configuration File' button in the Options menu as well (this will reset the config file/shut down the program)
* I have also fixed a bug with the QAAC encoder. Using 'True VBR' could result in a failed encode rarely, this has been fixed now

jlw_4049
20th December 2020, 21:59
Updating Release: v3.2

Minor Updates:
Main GUI:
* Added the ability to set the shell options permanently depending on what the user wants, this is now written to the config.ini file and can be adjusted via the GUI like before or can be adjusted via the config file if information is entered correctly

Batch GUI:
* Removed menu bars completely, this is not required and I wanted to make it cleaner looking
* The Batch GUI now checks the config file for the 'shell_options' setting, this can be changed on the fly/before you open the batch gui

Pringles
24th December 2020, 14:30
Hi, thank you for you cool piece of software. It's really working as intended and fast. Since I'm always using the same job (AC3@512 stereo downmix), is there a way for FFMPEG Audio Encoder to load the last setting used on startup?

jlw_4049
24th December 2020, 14:43
Hi, thank you for you cool piece of software. It's really working as intended and fast. Since I'm always using the same job (AC3@512 stereo downmix), is there a way for FFMPEG Audio Encoder to load the last setting used on startup?If you would mind putting it on the github tracker, I'll work on it very soon :)

Sent from my SM-G986U1 using Tapatalk

jlw_4049
6th March 2021, 07:55
Updating Release: v3.4

Updates:
* Program is now uncompressed, this allows for a faster start and less chance of Windows detecting it as a false positive virus. The downside to this is the programs folder is a lot messier (You can just place program in a folder and create a shortcut to the .exe)
* Program now utilizes a new 'profiles.ini' file to save/read profiles

* All codecs now has a new toolbar menu labeled 'Options' with the following sub menu options 'Save Current Settings' and 'Reset Settings to Default'
-'Save Current Settings' will allow the user to save what ever settings they have selected in the codec audio window. Next time you open that audio codec, it will have -the exact same settings. (This does not save 'Track Selection', 'Custom Command Line', or 'Track Name' (If requested I could program these to be saved as well)
-'Reset Settings to Default' will revert the current selected codec back to default settings, close and then re-open the audio window with default settings. This will ---- -delete your profile with no way to get it back, aside from manually saving the new profile again.

* Moved Batch Processing Button into the 'Tools' section of the program
* Moved 'Show Command' in Batch Processing button's old spot

*Added a new button 'Auto Encode:...' in 'Show Commands' place
-This allows the user to encode the next file with the last options/codec used (This does not include Track selection, currently it defaults to Track 1 always) If requested I'll add this
* Modified the auto track selection code to allow a new feature:
* Program now supports displaying source file audio codec(s)
-This enables it to show the Track Number, Codec, Channels, and Bitrate in the drop down menu instead of the generic Track 1, Track 2

* Adjusted the code for View Streams selection, so the track counts always started at 1 instead of randomly at 0 or 2 depending on source
* Fixed code required for 'Input Button' to work correctly again (Drag and Drop worked fine, bug was only for manual input)

* Added a 'Status Label' to the bottom of the GUI:
-This updates when the user hovers the mouse over the buttons/menus in the main GUI giving them useful tips/commands in the 'Status Label'

* Added a new 'Right Click' menu to the 'Auto Encode:...' button:
-This new menu allows the user to open a small window to see the commands that was last used/that will be used with that button, in case the settings aren't what they want

* Set both entry boxes on the main GUI to disabled right away, this is just a quality of life fix, will not effect the user at all
* Slightly adjusted main GUI size
* Fixed bug with youtube-dl-gui
* Updated latest youtube-dl-gui to 1.4

Batch Encoder:
* Batch encoder now reads 'profiles.ini' - This currently only works with AC3/AAC
* Added AC3/AAC default settings to read from the Main Gui saved profile (If requested I'll program the batch GUI to have a separate profile)
* I haven't done any more work on the batch encoder yet

Audionut
12th April 2021, 16:09
Hi,

Thanks for this program, it is very handy.

I am having an issue where the audio settings are refusing to stick when hitting "apply".

If I use "options|save current settings", this appears to make the options stick, except track selection. Track selection refuses to stick to anything other then the default track #1.

Cheers.

jlw_4049
12th April 2021, 17:08
Without saving the profile the options will reset to default each time the audio codec sub window is closed. Once you select apply in the window the program, the window closes and the program remembers all of the options you selected to encode with. If you re-open the window the program will automatically set the gui back to saved defaults (minus track and custom command lines) I can probably make the program remember the settings until the entire program is closed. This is something I haven't attempted yet.

When you press apply and choose view commands, does the program remember the correct commands?

Are you only referring to remember which track? The program defaults to track 1 by default, if you'd like I could make it retain the track as well. If you could post it as an issue on the github issues tracker, that would be helpful. This would require me to program it in.

Sent from my SM-G986U1 using Tapatalk

Audionut
14th April 2021, 02:01
I can probably make the program remember the settings until the entire program is closed.

This would seem to make sense. Thankyou.


When you press apply and choose view commands, does the program remember the correct commands?

Yes, it does.


Are you only referring to remember which track?

The initial problem I found, was that track #1 was being encoded, even though I had selected track #2.

However, I have been unable to replicate the issue so I could file a bug report at Git.
I tried different files, the original file. A different combination of when to choose the save file, vs when changing the audio settings. I cannot replicate the error.

File this one away as a dumb user error.

Cheers.

cez4r
17th November 2021, 21:59
Hi! I've found a bug in Batch Processing:
I changed a path to Ffmpeg. Then I opened Batch Processing, set everything and clicked Show Command - in the new window I could clearly read:
... do "/Apps/ffmpeg/ffmpeg.exe" ... - and I have set path to the totally other folder.
I closed program and checked "config.ini" - everything is as I set it. I opened program and tried the Batch again and again - always the same.
I'm using the newest v3.36.1.
Could You look at it? TIA.
Cheers.

jlw_4049
18th November 2021, 16:24
Hi! I've found a bug in Batch Processing:
I changed a path to Ffmpeg. Then I opened Batch Processing, set everything and clicked Show Command - in the new window I could clearly read:
... do "/Apps/ffmpeg/ffmpeg.exe" ... - and I have set path to the totally other folder.
I closed program and checked "config.ini" - everything is as I set it. I opened program and tried the Batch again and again - always the same.
I'm using the newest v3.36.1.
Could You look at it? TIA.
Cheers.Thanks for the bug report. I'll look into this tonight!

EDIT:

Looking at the code. The program is actually using the specified location of where your FFMPEG.exe has been defined. However, in the code, I have the label (the font your seeing in that window) hard coded as '/Apps/FFMPEG/ffmpeg.exe'
In reality, you are using the FFMPEG.exe where you specified it. I will fix the show command for the next release.

jlw_4049
19th November 2021, 08:08
Updating Release(s)

v3.34:
* Fix for .dll error on Windows versions under 10
* I had to revert back to older python/pyinstaller, for what ever reason latest versions of them break older windows support

v3.35:
* Program should now clear Windows antivirus always, I've compiled my own version of pyinstaller and made sure not to add anything that was not needed and a few other smaller changes
* Officially from this point on the app will only run on x64 systems.
* QAAC has been updated to 'v2.72'
* Youtube-DL has been updated to 'youtube-dl 2021.06.06'
* MPV-Player has been updated to '0.33.1'
* Mediainfo CLI/GUI has been updated to v21.09
* FFMPEG has been updated to '2021-10-14-git-c336c7a9d7'

v3.36:
* Completely re-wrote the entire youtubedl GUI that was included within FFMPEGAudioEncoder
- It's fully written in python, with no needed binaries to run (other then FFMPEG which is included with ffmegaudioencodergui)
- It's fully multi-threaded
- It uses the python module ytb-dl in order to do the work
- It has the ability to download video and or audio, from almost any video website
- The simple version of this program has much less features then the full fledged version, how ever it has the basic needed features and it'll be much easier to keep up to date as I work with ffmpegaudioencodergui
- Youtube-DL is no longer required and is removed from the program entirely, the youtubeGUI is now built based off of the python module 'yt-dlp' and is currently only version 'yt-dlp 2021.11.10.1'

v3.36.1:
* Changed menu option from Youtube-DL-Gui to Simple-Youtube-DL-Gui
* Update this to the latest version from standalone
* This will correct a small bug that would have had to do with FFMPEG set location

v3.36.2: (Batch Gui Fixes)
* I stripped the un-needed brackets ({}) off of the file input for drag and drop. This didn't change the function of the app however it does make it look nicer when displaying the save file/view commands
* Show commands "FFMPEG" location will now update correctly based off where you choose in the "Set FFMPEG location"
NOTE: This was fully functional internally, however it did not correctly display on the show commands window

jlw_4049
25th May 2022, 16:48
Updating Release

v4.0:
There have been many major changes to how the program works, for a full changelog, please click the link:
https://github.com/jlw4049/FFMPEG-Audio-Encoder/releases/tag/4.0

Major Changes:
* New auto encode track selector (if there is 2 or more audio tracks)
* New Streams Viewer
* New Codec Settings windows
* New batch processing feature
* New progress window output
* New Job manager
* New geometry settings manager
* New display command window
* Define save paths for tools/directories
* Update ffmpeg, ytdlp, mpv, mediainfoGUI, removed mediainfoCLI
* FDK-AAC/QAAC, while still supported, are no longer shipped with everything they need to run (due to license conflicts)
* These are just some of the highlighted changes, there is MANY changes to how the program works
* Added an installer option (still releases with portable version)
* The program is much faster at opening/parsing input files

Again, to see a full list of changes, please click https://github.com/jlw4049/FFMPEG-Audio-Encoder/releases/tag/4.0