View Full Version : dmMediaConverter v2.4.1


mdalacu
21st May 2014, 09:29
https://1.bp.blogspot.com/-NZPpXiM1mSU/XhHlpcSwqoI/AAAAAAABsUE/atE1MYvoGJsYIDaEKaHMUMxEJ4Yh6J89wCLcBGAsYHQ/s640/Screenshot_2020-01-05_15-30-46.png
dmMediaConverter is a crossplatform FFmpeg frontend (GUI) exposing some of its features. It is intended to be simple and easy to use but also to be able to achieve complex tasks. I have inspired myself from a lot of media converters like Handbrake, WinFF and MkvMergeGui. One feature was lacking from most of them, video stream copy (pass through), that made me build this.

For download and more details, here:
https://sites.google.com/site/dmsimpleapps/dmMediaConverter

If i have posted in the wrong subforum, please move the thread.
Also i will appreciate any kind of feedback.
Thanks.

sef
21st May 2014, 17:21
Thanks Marius!.. I will test .. (both, Linux and Windows)

mdalacu
27th May 2014, 11:01
Version 0.9.5 is up! :)
http://dmsimpleapps.blogspot.ro/2014/04/dmmediaconverter.html

mdalacu
28th May 2014, 09:27
Added support for VP8, VP9, Vorbis and Opus. So, now you can save in webp format.

mdalacu
30th May 2014, 10:12
Version 0.9.8 is up. With this release i will provide DEB files for easy instalation on Debian and flavors (Ubuntu, Mint , etc).

mdalacu
2nd July 2014, 08:13
Is there a problem with the app, because i can not see the thread anymore? Is the app in the same situation as potplayer?
Thank you.

Asmodian
2nd July 2014, 17:39
The forum defaults to only display one month of threads, I don't think anyone has accused you of violating any licences. ;)

It looks like a nice GUI, I would give it a try but I am a CLI user. :)

mdalacu
3rd July 2014, 18:08
Version 0.9.9. is up!

mdalacu
22nd August 2014, 06:09
dmMediaConverter (http://dmsimpleapps.blogspot.ro/2014/04/dmmediaconverter.html) v1.0.0
New Features!

- Stream Profiles!
- Bulk Convert mode! Convert multiple files at once.
- 2 pass encoding for video codecs
- DeShake filter (not so good ...)
- Creation_time tag
- HiDPI support
- Added all ISO 639-2 language codes
- Added color coded stream types for easy identification.

I hope you like it and please, provide feedback.
thanks.

Sparktank
22nd August 2014, 06:28
How interesting.

Though, it's a bit tricky to download with the Google thing.
View defaults to tiles instead of list/details.
Plus I had to refresh page a couple times before downloaded started for me.

Thanks for the update. I'll give it a whirl sometime. Get something going for my Sony media player.

mdalacu
22nd August 2014, 06:57
How interesting.

Though, it's a bit tricky to download with the Google thing.
View defaults to tiles instead of list/details.
Plus I had to refresh page a couple times before downloaded started for me.

Thanks for the update. I'll give it a whirl sometime. Get something going for my Sony media player.

I think you are right ... default view mode in GDrive is a little annoying, but for me it is very reliable, i never had an issue with it and that was the main reason to host the files there.
I will thing for an alternate location.
Thank you for your feedback.

foxyshadis
22nd August 2014, 21:50
GDrive is a bit finicky, since it uses a lot of Javascript, and the default view (grid) doesn't work for your names, since all files look like "dmmediaconverter...". You should add "#list" to your download link.

Dropbox is a great alternate location, it's easy to share whole folders once and copy whatever you want into them later.

mdalacu
23rd August 2014, 09:56
GDrive is a bit finicky, since it uses a lot of Javascript, and the default view (grid) doesn't work for your names, since all files look like "dmmediaconverter...". You should add "#list" to your download link.

Dropbox is a great alternate location, it's easy to share whole folders once and copy whatever you want into them later.

Great tip, i will modify the link.
Regardind Dropbox, GDrive can do the same, you don't have to specify explicit permisions for uploaded files on a shared folder. In my country i can upload to GDrive with ~9 MB/s and on Dropbox with only 800 KB/s.
Thanks.

7ekno
25th August 2014, 09:18
Awesome app! Just had a play with the windows version and it's coming along nicely :D

The only thing I miss is the extra ~ 15% speed of a 64bit x264!

How difficult are 64bit versions of this sort of thing (I assume FFMPEG have a native 64 bit version)?!?

7ek

mdalacu
25th August 2014, 10:13
Awesome app! Just had a play with the windows version and it's coming along nicely :D

The only thing I miss is the extra ~ 15% speed of a 64bit x264!

How difficult are 64bit versions of this sort of thing (I assume FFMPEG have a native 64 bit version)?!?

7ek

They are not but i didn't think anyone would need such a version. Is the speed benefit real or placebo?
If it is real then i would take this into consideration since on linux i already provide a 64bit version.
Thanks for suggesting this.

mdalacu
12th September 2014, 21:16
ANOTHER BIG RELEASE! v1.1.0
- Added Preferences in main menu. Please learn how to use Latest option because in the feature i will not ship FFmpeg anymore.
- Added Test Run.
- Now you can rearrange and remove source files.
- Metadata edit for stream and container.
- Show complete stream and container info.
- x264 and x265 extra settings field (ex. put there bluraycompat, etc)
- More output container options.
- On failure does not clear settings.

Have fun and, please, provide feedback!
Thx.

http://dmsimpleapps.blogspot.ro/2014/04/dmmediaconverter.html

mdalacu
16th September 2014, 11:28
Version v1.2.0 is up, mainly bug fixing.

GodRealm
19th September 2014, 13:53
Not working 2 pass mode in x265. He's working in ABR.

Other than that, the program is perfect. Good job!

mdalacu
19th September 2014, 14:15
Not working 2 pass mode in x265. He's working in ABR.

Other than that, the program is perfect. Good job!

Hi, i have just tested to be sure and for me it is working ... Can you detail the problem a little bit?
Thx.

GodRealm
19th September 2014, 15:41
Hi, i have just tested to be sure and for me it is working ... Can you detail the problem a little bit?
Thx.

In Mediainfo tool appears rc: abr and no rc: 2 pass.

I'm enabling 2 pass mode. But after I finish work, I'll check with Mediainfo, is displayed information --rc as abr and not as 2 pass.

mdalacu
19th September 2014, 16:28
In Mediainfo tool appears rc: abr and no rc: 2 pass.

I'm enabling 2 pass mode. But after I finish work, I'll check with Mediainfo, is displayed information --rc as abr and not as 2 pass.

In my opinion this is the way it should work. 2 pass is necessary for creation of an efficient abr file with a size restriction. If you look at Output tab it will see that ffmpeg is using 2 pass...

mdalacu
31st October 2014, 19:17
New, big release: v1.5.0!
Changelog:
- Parallel jobs - you can run multiple jobs in the same time
- Initial job progress implementation
- Split UI improvements
- Running under WINE is more robust now (Mac Os)
- Internal code rework
- Some bugs fixed
- Updated FFmpeg binary with latest version

I hope you like it and please provide feedback!

manolito
6th November 2014, 18:44
Very nice, I already like it better than Handbrake... :)

I think this thread is in the wrong section, it belongs under MPEG-4 Encodcer GUIs.

Can a mod please move it?


Cheers
manolito

mdalacu
7th November 2014, 08:03
Very nice, I already like it better than Handbrake... :)

I think this thread is in the wrong section, it belongs under MPEG-4 Encodcer GUIs.

Can a mod please move it?


Cheers
manolito

I am glad that you like it . Thank you.
And, i also think that this thread can be moved by a moderator in MPEG-4 Encodcer GUIs.

Thanks.

mdalacu
17th November 2014, 10:46
Thanks for moving the thread.:thanks:

CommonMortal
24th November 2014, 09:05
This is very useful, specially the video copy feature! One question please. What's the format i must put other parameters? I mean, the way i must put "subme 9" for example? I get failure message.

Another thing. It would be nice, if there was a way to save my encoding preferences. It seems when you launch again, it all turns to auto and default settings and you have to put again manually everything.

mdalacu
24th November 2014, 13:07
This is very useful, specially the video copy feature! One question please. What's the format i must put other parameters? I mean, the way i must put "subme 9" for example? I get failure message.

Another thing. It would be nice, if there was a way to save my encoding preferences. It seems when you launch again, it all turns to auto and default settings and you have to put again manually everything.

Hi, Thank you for your kind words.
You can use "subme=9" entered in the Params field.
You can not save encode settings, but you can create video and audio profiles and the apply them using right click (a very fast way). I can not create an a profile with whole settings (video, audio, subs) because i don't know in advanced the number of streams for it to be applied to....
Did it work for you?
Thx.

CommonMortal
26th November 2014, 08:08
Hi, Thank you for your kind words.
You can use "subme=9" entered in the Params field.
You can not save encode settings, but you can create video and audio profiles and the apply them using right click (a very fast way). I can not create an a profile with whole settings (video, audio, subs) because i don't know in advanced the number of streams for it to be applied to....
Did it work for you?
Thx.

Thank you. You already had a tip in the GUI, how dumb of me. Yes, it worked fine. Oh, any chance you can put audio in AC3 DPLII, like Handbrake does? Also, it would be nice to have an option like "anamorphic none" for DAR in Handbrake. It's the only way i don't mess with DAR... But i know, this way it would become a Handbrake clone i guess... Still, the video copy is useful for me. So thanks.

mdalacu
27th November 2014, 15:04
Thank you. You already had a tip in the GUI, how dumb of me. Yes, it worked fine. Oh, any chance you can put audio in AC3 DPLII, like Handbrake does? Also, it would be nice to have an option like "anamorphic none" for DAR in Handbrake. It's the only way i don't mess with DAR... But i know, this way it would become a Handbrake clone i guess... Still, the video copy is useful for me. So thanks.

For "anamorfic none" you can empty the DAR box and the program will not make any aspect ratio modifications or if you want you can write 1:1 to force an square pixel format.
As for DP2 i don't know if or how to do it yet...

CommonMortal
27th November 2014, 18:39
For "anamorfic none" you can empty the DAR box and the program will not make any aspect ratio modifications or if you want you can write 1:1 to force an square pixel format.
As for DP2 i don't know if or how to do it yet...

Thanks! Yeah only Handbrake i 've seen uses Dolby Prologic II, so it must have a support for such encoder that i guess it's not easy to find. Thanks anyway, it's useful.

mdalacu
6th February 2015, 07:36
Version 1.6.0 is up! :-)

Minor release:
- Added checkup for not overwriting the source file.
- You can assign dmMediaConverter to open media files. (ex. Right clik on file and "Open with..." dmMediaConverter's executable). You can use it like media info.
- Now bitrate will be shown in kbit/s for better readability.
- Small UI fixes
- Updated FFMpeg binary with latest version

http://dmsimpleapps.blogspot.ro/2014/04/dmmediaconverter.html

manolito
6th February 2015, 14:32
Thanks! Working fine... :)

Cheers
manolito

Bozotheclown
12th February 2015, 17:06
try this app today, few of my suggestion:

- the help on first run is good idea, can you also add balloon tips when mouse is on important options (enable, copy, etc.)

- when I uncheck enable checkbox the copy checkbox is still active

- add subtitle preview

mdalacu
13th February 2015, 08:17
Thank's for your suggestions.
1. it could be done
2. it greys out when you uncheck enable. Has nothing to do with copy.
3. i don't think that i can do it.

ziemlichdunkel
26th February 2015, 18:36
Seems perfect Alternative to VidCoder, but please add auto Bitrate Calculation for 2pass (Input in MB)...

Thank you in advance...best regards.

mdalacu
22nd May 2015, 14:34
http://dmsimpleapps.blogspot.ro/2014/04/dmmediaconverter.html
Version 1.7.0 is up ;)

- Burn text based subtitles (not yet picture based).
- Now you can manually specify additional FFMpeg filters (More) for audio and video streams.
- On linux it removes automatically "'" from metadata. Workaround for MKVToolNix generated files.
- Added option for auto add subtitle file (only *.srt for now).
- Small UI fixes and bugfixing
- Updated FFMpeg binary with latest version

mdalacu
16th September 2015, 14:20
#dmMediaConverter
http://dmsimpleapps.blogspot.ro/2014/04/dmmediaconverter.html
Version 1.8.0 is up ;)

- Watermark. Double click on image to quickly position the logo.
- First Mac OSX native build. Soon available on Amazon for 5$.
- Estimate encoded stream size if the encoding type is CBR. @ziemlichdunkel
- Small UI fixes and refinements.
- Small bugs fixes.
- Updated FFMpeg binary with latest version.

mdalacu
17th September 2015, 12:50
Seems perfect Alternative to VidCoder, but please add auto Bitrate Calculation for 2pass (Input in MB)...

Thank you in advance...best regards.

I have implemented this, it shows an estimate of the encoded stream size if the encoding type is CBR.
Is it ok for you?

manolito
17th September 2015, 16:40
Thanks for the new version... :thanks:

One thing: The output status window does not scroll any more as it did with the previous version. It always goes back to the top and causes an annoying flicker.

//EDIT//
Please disregard the above. Completely overlooked the new "Follow" checkbox at the bottom right of the output window.


Cheers
manolito

mdalacu
18th September 2015, 09:22
Thanks for the new version... :thanks:

One thing: The output status window does not scroll any more as it did with the previous version. It always goes back to the top and causes an annoying flicker.

//EDIT//
Please disregard the above. Completely overlooked the new "Follow" checkbox at the bottom right of the output window.


Cheers
manolito

Yes, i have done this because on Windows XP i had some problems with large Output text and updating the last line.

manolito
26th May 2016, 18:37
Hi Marius,

any plans for an update?
I'm not too interested in new features (I like it very much as it is now...), but the software does not work with current versions of FFmpeg any more.

And FFmpeg did improve its built-in AAC encoder quite a bit during he last year. It's status is no longer "experimental", so this parameter is not needed any more. Maybe this is the reason why current versions crash with the older command line parameters.

Whatever, thanks again for this nice software, I use it all the time...


Cheers
manolito

manolito
14th June 2016, 23:44
Looks like development is on hold - it has not been updated in 9 months (not enough donations I guess...).

Anyways, this is still my favorite MPEG 4 GUI, about the only thing I was missing is better AAC audio support (only integrated AAC encoder is supported).

So here comes my little tool which enables the Fraunhofer libfdk_aac encoder. Here's the Readme:

Enabling the Fraunhofer libfdk_aac encoder under dmMediaConverter 1.80
_______________________________________________________________________

Copy the files from the appropriate folder into the "i386-win32" subfolder
under the dmMediaConverter folder (overwriting the existing files).

Note:
For AAC VBR mode only values from 1 to 5 are supported. 1 is the lowest
quality, 5 is the highest quality.

For more information about AAC encoding with ffmpeg see here:
https://trac.ffmpeg.org/wiki/Encode/AAC

The ffmpeg builds and the libfdk_aac.dll files come from Sherpya's
Mplayer website:
http://oss.netfarm.it/mplayer


Enjoy...
manolito


Download here:
http://www50.zippyshare.com/v/HIytQzXi/file.html


Cheers
manolito


//EDIT//
Added 64-bit versions. Causes a speed increase of more than 10% under a 64-bit Operating System. Please redownload...
Note: Does not work if the source is an AviSynth script using a 32-bit AviSynth version.

//EDIT2//
After some listening tests I added the "-cutoff 18000" parameter for CBR audio bitrates above 128k and for VBR mode 4.

mdalacu
16th June 2016, 13:15
Hi Marius,

any plans for an update?
I'm not too interested in new features (I like it very much as it is now...), but the software does not work with current versions of FFmpeg any more.

And FFmpeg did improve its built-in AAC encoder quite a bit during he last year. It's status is no longer "experimental", so this parameter is not needed any more. Maybe this is the reason why current versions crash with the older command line parameters.

Whatever, thanks again for this nice software, I use it all the time...


Cheers
manolito
Hi, you are right...have been 10 months since an update, little time for it, i have only corrected some bugs. Sorry.
But what do you mean that the app is not working with the latest ffmpeg? I use it with 3.0.2. Could you please explain?
Thanks.

P.S. Do you mean the "-strict experimental" option? I could remove it.

manolito
16th June 2016, 14:58
Hi Marius,

I have no idea if it is the "-strict experimental" option or if it is something else...

Could also be my ancient computer. It runs WinXP, the CPU is an old Intel Coppermine without SSE2 support.

It happens with ffmpeg point releases 2.86 and 3.00 (and higher). Of course the Win32 static versions from Zeranoe. The versions up to 3.00 still support WinXP, higher versions need to be patched. And these versions run perfectly on my machine under AVStoDVD, DVDStyler and some other applications.

When I try to convert a small FLV clip it works nicely using the ffmpeg version which ships with dmMediaConverter 1.80. The following command line is used:
"E:\Programme\dmMediaConverter\bin\i386-win32\ffmpeg.exe" -fflags +genpts -y -i "F:\Download\test.flv" -map 0:0 -c:v:0 libx264 -preset:v:0 medium -crf:v:0 23 -map 0:1 -c:a:0 aac -strict experimental -b:a:0 160k -metadata:s:a:0 "language=unknown" -shortest "i:\test.mkv"

When I replace ffmpeg.exe and ffprobe.exe with one of the newer versions, the job fails without any error message in the output window. The output window looks like this:
ffmpeg version 2.8.6 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Input #0, flv, from 'F:\Download\test2.flv':
Metadata:
audiosize : 2735460
canSeekToEnd : true
datasize : 18451327
videosize : 15366116
hasAudio : true
hasCuePoints : false
hasKeyframes : true
hasMetadata : true
hasVideo : true
lasttimestamp : 330
metadatacreator : flvtool++ (Facebook, Motion project, dweatherford)
totalframes : 8264
encoder : Lavf57.25.100
Duration: 00:05:30.58, start: 0.000000, bitrate: 446 kb/s
Stream #0:0: Video: h264 (Main), yuv420p, 588x392 [SAR 1:1 DAR 3:2], 25 fps, 25 tbr, 1k tbn, 50 tbc
Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 64 kb/s


I have not tested this using a different computer, mainly because I have switched to Sherpya's ffmpeg builds which allow me to use libfdk_aac.


Cheers
manolito

manolito
17th June 2016, 02:27
Did some more tests, this time using my Win7 64-bit notebook.

Could also be my ancient computer. It runs WinXP, the CPU is an old Intel Coppermine without SSE2 support.

Seems to be true, under Win7 64bit using the latest ffmpeg builds (32-bit static) works without any problems.

I also made an interesting discovery about 64-bit ffmpeg versions. dmMedia Converter (which is 32-bit only for Windows) has no problems using 64-bit versions of ffmpeg.exe and ffprobe.exe. The speed increase is not placebo, it is real. On my notebook I consistently got speed improvements of more than 10% using 64-bit ffmpeg versions.


Cheers
manolito

mdalacu
17th June 2016, 06:06
Did some more tests, this time using my Win7 64-bit notebook.



Seems to be true, under Win7 64bit using the latest ffmpeg builds (32-bit static) works without any problems.

I also made an interesting discovery about 64-bit ffmpeg versions. dmMedia Converter (which is 32-bit only for Windows) has no problems using 64-bit versions of ffmpeg.exe and ffprobe.exe. The speed increase is not placebo, it is real. On my notebook I consistently got speed improvements of more than 10% using 64-bit ffmpeg versions.


Cheers
manolito
Sorry but i have no ideea. I thought that was from that option regarding AAC, anyway since now native AAC it is final i have removed that flag.
In the next version i will drop support for Windws XP and Linux on 32 bit e... My application i think that will still run on XP but the supplied ffmpeg will not, so it will have to be replaced with an patched version.
You are right you can use 64 bit ffmpeg with my 32 bit win app without any problems.
I can give you an EXE wtih "-strict experimental" option removed and some other bugs removed to see if it does any good but i don't think so. If you want it just say..:-)

manolito
17th June 2016, 18:23
I can give you an EXE wtih "-strict experimental" option removed and some other bugs removed to see if it does any good but i don't think so. If you want it just say..:-)

Of course I do... :D

manolito
17th June 2016, 20:54
While I'm at it, may I ask for a new feature in the next version?

Can you implement storing the main window size and position upon shutdown, and restoring them on startup?

Right now the lower part of the main window is cut off on my low resolution 14" notebook. Changing the link properties and specify to start the program maximized does not help, the software does not obey.


Cheers
manolito

mdalacu
21st June 2016, 07:11
While I'm at it, may I ask for a new feature in the next version?

Can you implement storing the main window size and position upon shutdown, and restoring them on startup?

Right now the lower part of the main window is cut off on my low resolution 14" notebook. Changing the link properties and specify to start the program maximized does not help, the software does not obey.


Cheers
manolito
Hi, it could be done in a feature version, right now i have made that the window will be displayed at 0,0 screen coordinates, i hope that will help your problem a little bit.
I put a link to dmmediaconverter.exe, just overwrite the old one. Please do not distribute it it is a work in progress version.
Please share your thoughts about it and notify me when you have dowloaded tha file so i could delete it.
https://drive.google.com/open?id=0B1MiTYJef5a9NUwxVE9vWHhBU0k

manolito
21st June 2016, 11:20
Thanks very much... :thanks:

Download is finished, will start playing with it right away.


Cheers
manolito

manolito
21st June 2016, 14:52
Test results:
Everything looks cool. Except for the window position and the removed "-strict experimental" parameter I could not see any difference to the current stable version 1.80.

The behavior under WinXP also has not changed: It still does not work using current ffmpeg versions (Zeranoe 32-bit static builds). And of course the ffmpeg version which ships with dmMediaConverter 1.80 does not work with the test version due to the missing "-strict experimental" parameter.

I also had to modify my little libfdk_aac plugin from this post:
http://forum.doom9.org/showthread.php?p=1770411#post1770411
to make it universal (already uploaded).


Cheers
manolito

GMJCZP
21st June 2016, 15:57
Manolito:
I have noticed that, at least, to convert mp3 the ffmpeg zeranoe patched xp version is slightly faster than ffmpeg sherpya version. What is this about? It's for --disable-w32threads in zeranoe build?

manolito
21st June 2016, 19:13
Sorry I have no idea... :scared:

You did not say if you just used ffmpeg.exe and ffprobe.exe from Sherpya's build, or if you used the files from my libfdk_aac plugin. If you used my plugin, then you are using a different aac encoder, and the plugin also intercepts and changes the ffmpeg command line. This will add a little overhead at the start of the conversion. If you check the "ffmpeg.bat" file in the plugin "Source" folder you will notice that it uses a nested "For" loop which makes about 160 iterations before actually calling ffmpeg.exe.

The reason I switched to Sherpya's builds is that I can use libfdk_aac instead of the ffmpeg native aac encoder.

I mostly convert captured TV content (DVB-T), and until recently my target format was DVD. But now I have a small streaming box (Xstreamer) which handles AVC/AAC clips, so I decided to change my target format to AVC/AAC in an MKV container. I tried a couple of different conversion GUIs for X264, and I found that dmMediaConverter meets my needs almost perfecty. The exception was the built-in aac encoder (I really do not want to convert the audio separately and then pipe the result into ffmpeg). I know that libfdk_aac is not as good as Qaac, but it sure is good enough for me (after removing the default low-pass filter).


Cheers
manolito

GMJCZP
21st June 2016, 23:54
Only I use ffmepg.exe in CLI mode. The test I did was with mp3 and aac with lib fdk aac from sherpya, not yours.

PD: I prefer fhgaac and fdkaac over qaac in cbr and low bitrates (< 128 kb). :)

mdalacu
28th October 2016, 11:07
Sorry I have no idea... :scared:

You did not say if you just used ffmpeg.exe and ffprobe.exe from Sherpya's build, or if you used the files from my libfdk_aac plugin. If you used my plugin, then you are using a different aac encoder, and the plugin also intercepts and changes the ffmpeg command line. This will add a little overhead at the start of the conversion. If you check the "ffmpeg.bat" file in the plugin "Source" folder you will notice that it uses a nested "For" loop which makes about 160 iterations before actually calling ffmpeg.exe.

The reason I switched to Sherpya's builds is that I can use libfdk_aac instead of the ffmpeg native aac encoder.

I mostly convert captured TV content (DVB-T), and until recently my target format was DVD. But now I have a small streaming box (Xstreamer) which handles AVC/AAC clips, so I decided to change my target format to AVC/AAC in an MKV container. I tried a couple of different conversion GUIs for X264, and I found that dmMediaConverter meets my needs almost perfecty. The exception was the built-in aac encoder (I really do not want to convert the audio separately and then pipe the result into ffmpeg). I know that libfdk_aac is not as good as Qaac, but it sure is good enough for me (after removing the default low-pass filter).


Cheers
manolito

Hi Manolito...still using Windows XP? I will drop support for it.

manolito
29th October 2016, 09:38
Hi Manolito...still using Windows XP? I will drop support for it.

Hi Marius,

yes I do still use WinXP on my main desktop computer, but I have a Thinkpad notebook running Win7 64-bit also. For converting clips to AVC I can only use the notebook because the ancient Coppermine CPU on the desktop needs almost 24 hours to convert a 90 min video... :(

Still I'd like to know why you are dropping XP support? Is it only because FFmpeg does not work under XP any more?

You probably know that the only reason why Zeranoe dropped XP support is to be able to use the Intel QSV encoder. And just about anyone who cares for the quality of the encoded result will refuse to use the Intel QSV encoder.
Quote from Wikipedia:
Quick Sync, like other hardware accelerated video encoding technologies, gives lower quality results than with CPU only encoders. Speed is prioritized over quality.

There are also FFmpeg builds by rogerdpack available which do work under WinXP.
https://sourceforge.net/projects/ffmpegwindowsbi/files/?source=navbar


Cheers
manolito

mdalacu
31st October 2016, 07:15
Hi Marius,

yes I do still use WinXP on my main desktop computer, but I have a Thinkpad notebook running Win7 64-bit also. For converting clips to AVC I can only use the notebook because the ancient Coppermine CPU on the desktop needs almost 24 hours to convert a 90 min video... :(

Still I'd like to know why you are dropping XP support? Is it only because FFmpeg does not work under XP any more?

You probably know that the only reason why Zeranoe dropped XP support is to be able to use the Intel QSV encoder. And just about anyone who cares for the quality of the encoded result will refuse to use the Intel QSV encoder.
Quote from Wikipedia:


There are also FFmpeg builds by rogerdpack available which do work under WinXP.
https://sourceforge.net/projects/ffmpegwindowsbi/files/?source=navbar


Cheers
manolito
Hi, you are right, mainly this is the reason. The ffmpeg that i bundle with the app does not work on XP anymore. You can still use a different ffmpeg with the app.
https://drive.google.com/open?id=0B1MiTYJef5a9NUwxVE9vWHhBU0k
Do you want to test this now version until i publish it and share some thoughts...bugs,etc. I didn't have much time to invest into it so do not expect a lot of new things, just a little polish there and there.
P.S. A hidden option: the app creates an ini file located in your user profile c:\Users\XXXXXX\AppData\Local\dmMediaConverter\Config\dmMediaConverter.ini where you could modify this line
AACEncoder=aac and put something else like libfdk_aac... ;):rolleyes:

manolito
31st October 2016, 19:52
Just gave this new version a test run on my old WinXP computer, this is what I found:

I used an FFmpeg build by Sherpya to be able to use libfdk_aac. The hidden option in the INI file to use libfdk does work, but only for constant bitrate mode. For VBR mode the parameters for libfdk are different, see this page:
https://trac.ffmpeg.org/wiki/Encode/AAC

For using libfdk it would also be useful to let the user decide if he wants the low pass filter or not (specify the cutoff frequency).

The new "ETA" display does not work here, it always shows 0:00:00 on my machine.


Cheers
manolito


//EDIT//
On my Win7 64-bit notebook using the latest Sherpya FFmpeg build from July 2016 the "ETA" display works just fine. On the XP machine it must be either WinXP itself or the older FFmpeg build which causes the ETA display to fail...

mdalacu
1st November 2016, 15:24
Just gave this new version a test run on my old WinXP computer, this is what I found:

I used an FFmpeg build by Sherpya to be able to use libfdk_aac. The hidden option in the INI file to use libfdk does work, but only for constant bitrate mode. For VBR mode the parameters for libfdk are different, see this page:
https://trac.ffmpeg.org/wiki/Encode/AAC

For using libfdk it would also be useful to let the user decide if he wants the low pass filter or not (specify the cutoff frequency).

The new "ETA" display does not work here, it always shows 0:00:00 on my machine.


Cheers
manolito


//EDIT//
On my Win7 64-bit notebook using the latest Sherpya FFmpeg build from July 2016 the "ETA" display works just fine. On the XP machine it must be either WinXP itself or the older FFmpeg build which causes the ETA display to fail...
Hi, you are right....i have corrected the vbr thing for libfdk...it is a bug in ffmpeg it should work passing the q parameter but it translates it in a wrong vbr value.
The cutoff option is a big change for me ...so i skip it for now, the cutoff frequency is dinamically choosen by ffmpeg. You can manually enter it in More settings/ Other (-cutoff:a 18000), it works for Bulk mode too.
The ETA thing...you need a ffmpeg version that displays "speed" in encoding output..(>3.0)

I have uploaded a new version, same link. You don't need the ini modification for now, just choose AAC FDK...i will think of something else to hide it.
Please, can you test it?
Thanks.

manolito
1st November 2016, 21:12
Hi and thanks for the new version... :)

Selecting the FDK AAC encoder right from the GUI seems very logical to me, I see no reason to hide this setting. Of course the option should only be available if an FFmpeg version with libfdk support is installed.

The VBR parameters work correctly now.

For the low pass cutoff values I believe that the Fraunhofer defaults are overly cautious. In my little libfdk plugin I did it like this
After some listening tests I added the "-cutoff 18000" parameter for CBR audio bitrates above 128k and for VBR mode 4. and never heard any adverse effects.


One cosmetic thing in the audio encoding section:
The text box "Audio Filters" does not have enough room, the word "Filters" is partly cut off (how much depends on the screen resolution).

And thanks a lot for implementing the feature to remember the main window size and position. Makes my life easier on my notebook.


Cheers
manolito

mdalacu
2nd November 2016, 15:13
Hi and thanks for the new version... :)

Selecting the FDK AAC encoder right from the GUI seems very logical to me, I see no reason to hide this setting. Of course the option should only be available if an FFmpeg version with libfdk support is installed.

The VBR parameters work correctly now.

For the low pass cutoff values I believe that the Fraunhofer defaults are overly cautious. In my little libfdk plugin I did it like this
and never heard any adverse effects.


One cosmetic thing in the audio encoding section:
The text box "Audio Filters" does not have enough room, the word "Filters" is partly cut off (how much depends on the screen resolution).

And thanks a lot for implementing the feature to remember the main window size and position. Makes my life easier on my notebook.


Cheers
manolito

Thanks for testing it. I have corrected that visual glitch. Re download if you like.
To test if ffmpeg have certain encoders it to much for my time, i think that i will hide aac-fdk and enable it by ini file...
Thanks again.

manolito
2nd November 2016, 17:43
To test if ffmpeg have certain encoders it to much for my time

This is actually pretty easy... (I can even do it in a batch file)

On startup of the software just run "ffmpeg.exe -buildconf". Redirect the output to a temp file and search this file for the string "--enable-libfdk-aac".


Cheers
manolito

mdalacu
30th March 2017, 10:20
#dmMediaConverter
http://dmsimpleapps.blogspot.ro/2014/04/dmmediaconverter.html
Version 2.1.0 is up

- Now you can have special characters in file names on windows and single quote on linux systems.
- FFMpeg progress output is done on single line.
- Clear settings when done option (default on).
- Split: new Trim mode
- More... no you could manually specify input file format (in case FFMpeg auto detection fails)
- NVENC on Linux x64 and Windows.
- Intel QuickSync on Windows (you must have Intel Media SDK installed). If you manage to get the SDK installed on Linux it should be working also.
- Lots of bug fixing
- Updated FFMpeg binary with latest version
- WinXP - no longer supported. You could use this version with a ffmpeg binary without mfx.

Enjoy and please provide feedback!

manolito
30th March 2017, 14:39
Thanks Marius for the new version... :thanks:

Tested it under WinXP using an XP compatible FFmpeg version. The hidden libfdk option in the INI file also works nicely.

Since it is possible to use the Fraunhofer libfdk for AAC I find myself using the software more and more as a universal audio converter. Compared to other solutions like LameXP it is much faster, it can use containers as the source, and the quality is now first rate for most formats.

- FFMpeg progress output is done on single line.
I like this a lot since the old behavior caused very annoying screen flicker on my old and slow machine. Only the "Follow" checkbox does not seem to have an effect any longer.


Cheers
manolito

manolito
8th June 2017, 07:07
Update for WinXP users who want to use the Fraunhofer libfdk AAC audio encoder:

You can find a current FFmpeg build by CoRoNe here:
https://ffmpeg.zeranoe.com/forum/viewtopic.php?f=13&t=3572&p=12254#p12242

Works nicely with dmMediaConverter...


Cheers
manolito

Fishman0919
11th June 2017, 19:08
Anyone not wanting to build or just looking for a ffmpeg 3.3.2 build.... here ya go. LINK (http://www.techspot.com/downloads/6447-ffmpeg.html)

Below the "Download Now" button, click the OS you need.

Work fine for me on Win 10 pro with lastest ver

manolito
11th June 2017, 19:57
Hi Fishman,

long time no see... :D

Now that I caught you can I ask you for a small favor?
Your FFmpeg 2-pass VBR parameters went into my plugins for AVStoDVD and also for DVDStyler, and the DVDStyler plugin got so popular that the author decided to integrate it transparently into the Windows version of DVDStyler. It basically uses your original parameters, the only exception is that the Fox New matrix gets used instead of the MPEG Adapted matrix.

Now about a week ago GMJCZP posted his own HQ 2-pass parameters, and for comparing the results of the two different approaches I made a simple test bench script. You can download it here:
http://forum.doom9.org/showthread.php?p=1808832#post1808832

Could you please take the time and load a few of your critical sources into this script and report the results? For me the quality of the two different encodes looks pretty much the same, but the reason could just be that my vision is not 20/20 any longer... :rolleyes:


Cheers
manolito

GMJCZP
12th June 2017, 03:12
manolito, please check version 2.0 of the script.

Here (https://forum.doom9.org/showthread.php?p=1809269#post1809269)

manolito
12th June 2017, 10:05
manolito, please check version 2.0 of the script.

Already did, still I cannot see visual quality differences...
@REM Medium bitrate (b)
set E_BR=1600000

Are you sure? For DVD output this is ridiculously low, I never go lower than 3000k, in extreme cases maybe 2500k, but that's absolutely it...


BTW we don't want to hijack this thread, let's continue the discussion in the other thread...


Cheers
manolito

Fishman0919
12th June 2017, 19:44
Hi Fishman,

long time no see... :D

Now that I caught you can I ask you for a small favor?
Your FFmpeg 2-pass VBR parameters went into my plugins for AVStoDVD and also for DVDStyler, and the DVDStyler plugin got so popular that the author decided to integrate it transparently into the Windows version of DVDStyler. It basically uses your original parameters, the only exception is that the Fox New matrix gets used instead of the MPEG Adapted matrix.

Now about a week ago GMJCZP posted his own HQ 2-pass parameters, and for comparing the results of the two different approaches I made a simple test bench script. You can download it here:
http://forum.doom9.org/showthread.php?p=1808832#post1808832

Could you please take the time and load a few of your critical sources into this script and report the results? For me the quality of the two different encodes looks pretty much the same, but the reason could just be that my vision is not 20/20 any longer... :rolleyes:


Cheers
manolito

Hey manolito... yes long time...

I'm a bit busy with real life stuff but I'll try and take a look this weekend. :D

mdalacu
19th December 2017, 11:46
Hi. You will find a dmMediaConverter_v2.2.0_w32.zip on my site in Google drive download location. I did not have time to update the site.
Some bugs corrected, latest ffmpeg, image adjustments and a stereoscopic converter between different 3d formats.
Please test it and provide some feedback...good or bad :)

manolito
19th December 2017, 14:04
Thanks a lot for the new version - it makes a real nice Xmas present... :thanks:

Did some quick test conversions under WinXP (which means that I had to replace the FFmpeg version which comes with the download with an XP compatible build by CoRoNe or Sherpya).

I could not test the 3d format conversion because I do not have any 3d sources. Everything else works fine so far. I really like the new image adjustment feature.

Two cosmetic things:
1. The title bar of the software says that it is version 2.3.0 (not 2.2.0)
2. The "Follow" check box in the encoding window still has no function (at least on my computer).


Thanks again
manolito

mdalacu
20th December 2017, 09:48
Thanks a lot for the new version - it makes a real nice Xmas present... :thanks:

Did some quick test conversions under WinXP (which means that I had to replace the FFmpeg version which comes with the download with an XP compatible build by CoRoNe or Sherpya).

I could not test the 3d format conversion because I do not have any 3d sources. Everything else works fine so far. I really like the new image adjustment feature.

Two cosmetic things:
1. The title bar of the software says that it is version 2.3.0 (not 2.2.0)
2. The "Follow" check box in the encoding window still has no function (at least on my computer).



Thanks again
manolito

Thank you for testing Manolito.
1. You are right. I will correct this or i will rename the archive :))
2. That checkbox is still relevant in the moment you have a lot of warning errors and the page needs to scroll.

P.S. Regarding XP, you should really give Ubuntu a chance, i did it back in 2007 and i never looked back. I recommend using Ubuntu with XFCE desktop.

manolito
20th December 2017, 14:43
1. You are right. I will correct this or i will rename the archive :))

A hex editor took care of it for me... :devil:

P.S. Regarding XP, you should really give Ubuntu a chance, i did it back in 2007 and i never looked back. I recommend using Ubuntu with XFCE desktop.

Right now this is out of the question for me. The vast majority of software I use is Windows only, under Linux I would have to try Wine or install Windows in a virtual machine. This would not make much sense.

Of course there is replacement Linux software for most Windows software, but it would take a long time to learn all this new stuff. Plus all my little batch scripts I use to hack into Windows software would be useless, I would have to learn shell scripting instead. I feel a little bit too old for that.

I might change my mind once Microsoft starts making Win7 unusable much like they try it today with XP. But I hope that by this time alternatives like ReactOS will be ready... :p


Cheers
manolito

ondope
27th October 2018, 07:40
Thank you for testing Manolito.
1. You are right. I will correct this or i will rename the archive :))
2. That checkbox is still relevant in the moment you have a lot of warning errors and the page needs to scroll.

P.S. Regarding XP, you should really give Ubuntu a chance, i did it back in 2007 and i never looked back. I recommend using Ubuntu with XFCE desktop.

Any chance of an updated version for Linux? The latest I can find in your google drive is 2.1.0 (for Linux), which has some weird crashes once in a while :)

manolito
27th October 2018, 08:57
In this post over at Videohelp

https://forum.videohelp.com/threads/389592-lossless-4k-trim#post2525876

the author announced that version 2.4 would be ready soon. But you should take it with a grain of salt, the announcement is already a couple of months old...

ondope
1st November 2018, 09:37
@manolito Do you think it's possible to tag him or get in touch with him somehow?
It looks like he doesn't see the posts in here anymore.

manolito
1st November 2018, 14:17
You can try to send him a PM right here at Doom9 or at his Videohelp account...

mdalacu
3rd November 2018, 18:10
Hi, @ manolito i have tried to reply a couple days ago but my post was not published.
There is no 2.4 version, i have made an typo there.
I have uploaded version 2.3 linux x64. No more 32bit versions on linux.
When i will have time i will update the my product page and everything else.
Please @ondope see if this version is working better for you and provide feedback.
Thank you all.

https://drive.google.com/folderview?id=0B1MiTYJef5a9TG9kMC04WWE3YkU&usp=sharing#list
Look for: dmMediaConverter_v2.3.0_linux_x64.tar.gz

ondope
28th November 2018, 15:20
Thank you, I have now downloaded and will get back to you :)

jones1913
9th December 2018, 19:38
Hi mdalacu,
thanks for providing this cross platform application, works fine here on Manjaro Linux.
I have only 2 small issues regarding the gui:

- Can we somehow disable these 2 tooltip thingies which appear at every application start?

- HiDPI scaling does not work properly (see picture below). I would assume it has something to do with the gui toolkit (seems you use gtk2). Maybe switching to a more modern toolkit such as gtk3 or qt5 could fix this?

https://i.postimg.cc/mPzFy9CH/dmmedia.png (https://postimg.cc/mPzFy9CH)

manolito
9th December 2018, 22:52
- Can we somehow disable these 2 tooltip thingies which appear at every application start?

This must a Linux issue, under Windows these tooltips only appear on the first start of the program.

I do not know how dmMediaConverter stores its settings under Linux. Under Windows there is a file "dmMediaConverter.ini" in the user folder. Under [General] there is the line "FirstTime=1" which is automatically changed to "0" after the first run. Maybe you can find the INI file under Linux and make sure that this setting is set to "0".


Good luck
manolito

jones1913
10th December 2018, 18:37
there is a file "dmMediaConverter.ini" in the user folder. Under [General] there is the line "FirstTime=1"

That was a good hint.

I found the .ini file and after changing "FirstTime=1" to 0 the tooltips are gone. Thanks manolito.

mdalacu
14th December 2018, 11:57
Hi, on Linux the config file is stored in this file:
~/.config/dmMediaConverter/dmMediaConverter.ini
I have tested it and it does not behave like yours....could be an permission issue on that folder...The pouips should disappear after a successful first run...with an output file chosen.
The font scaling problem i can not reproduce it. For me it shows correctly on a 24 inch fullhd monitor and also on a 32'' 4k monitor using default font on Ubuntu.

jones1913
14th December 2018, 20:28
I have tested it and it does not behave like yours....could be an permission issue on that folder...The pouips should disappear after a successful first run...with an output file chosen.
Permissions should be fine, other settings like presets are saved in this file without problems. However thats not a big deal for me.

The font scaling problem i can not reproduce it. For me it shows correctly on a 24 inch fullhd monitor and also on a 32'' 4k monitor using default font on Ubuntu.
I have 4k @ 27" and desktop scaling set to 200% (Cinnamon Desktop handles this setting). Scaling works usually well except for a few gtk2 applications.
Which desktop environment do you use? I want to try it then with an Ubuntu live system.

mdalacu
15th December 2018, 18:57
Permissions should be fine, other settings like presets are saved in this file without problems. However thats not a big deal for me.


I have 4k @ 27" and desktop scaling set to 200% (Cinnamon Desktop handles this setting). Scaling works usually well except for a few gtk2 applications.
Which desktop environment do you use? I want to try it then with an Ubuntu live system.
Hi, i am using Ubuntu 18.10 plain (Gnome3) and also on another computer Ubuntu 18.04 with xfce on top.
I have tested and the scale setting coud be the problem. This screenhot is with scaling 200 % but is is manageble for me.... Not all the controls are scaled but it seems ok....
https://imgur.com/0wUSAWr
https://imgur.com/0wUSAWr

mdalacu
16th December 2018, 22:30
@jones1913 Hi. You should redownload the tar archive the file form my website and it should behave as in my screenshot.
Plese tell me if it is better. Thanks.

jones1913
17th December 2018, 20:44
@jones1913 Hi. You should redownload the tar archive the file form my website and it should behave as in my screenshot.
Plese tell me if it is better. Thanks.
Hi, there is no difference to my previous screenshot. I have tried with Ubuntu and it looks more like your screenshot, but still some elements like the listview are too small in relation to the buttons and tabs.

I think proper scaling is not possible with GTK2. (https://wiki.archlinux.org/index.php/HiDPI#GTK+_2) I thought that its maybe just a build option in lazarus ide, to build the gui with another toolkit like GTK3 or so.

But your app is still good useable for me like it is, so dont feel forced to spend much time into this small issue.

mdalacu
1st January 2019, 18:12
First, Happy New Year! ;)
#dmMediaConverter
http://dmsimpleapps.blogspot.ro/2014/04/dmmediaconverter.html

Version 2.3.1 is up
I have tried at least to make it usable at different scaling.

Enjoy and please provide feedback!

manolito
3rd January 2019, 14:40
Thanks for the new version, and a Happy New Year also... :)

On my 19" 1280 x 1024 Eizo monitor the scaling did not improve, it even got a little worse.

https://i.postimg.cc/k4PnrRx9/GUI.png

The graphic on top of the GUI is now almost completely invisible, increasing the height does not make it any better. In the previous version only the lower part of the graphic was cut off. No big deal, the GUI is absolutely useable.


And here comes the usual hint for users of Windows XP:

This version of dmMediaConverter does not work under WinXP right out of the box due to the included FFmpeg version. This can easily be fixed by replacing ffmpeg.exe and ffprobe.exe with WinXP compatible builds.

I highly recommend CoRoNe's latest build from here:
http://rwijnsma.home.xs4all.nl/files/ffmpeg/ffmpeg-N-92765-g2744d6b-win32-static_legacy.7z

An additional bonus is the ability to use the Fraunhofer fdk-aac encoder. Just extract the DLL into the same folder as FFmpeg:
http://rwijnsma.home.xs4all.nl/files/ffmpeg/libfdk-aac-x86-v2.0.0_legacy.7z

In dmMediaConverter just choose AAC-FDK in the audio encoder selection box.


Cheers
manolito

mdalacu
4th January 2019, 14:00
Thank you @manolito for replying.
The problem is that i only test on fullhd or higher. monitors at 96 dpi ...

manolito
4th January 2019, 15:26
The problem is that i only test on fullhd or higher. monitors at 96 dpi ...

Full HD means 1920 Ũ 1080, and this will exclude a lot of notebook displays... But as I already said, no big deal.


Cheers
manolito

mdalacu
4th January 2019, 18:25
Full HD means 1920 Ũ 1080, and this will exclude a lot of notebook displays... But as I already said, no big deal.


Cheers
manolito

You are right but i simply do not have a lower resolution display anymore.
Beside that, i think it is a more of a XP thing then display resolution for the application title missing. I can not reproduce it... In a virtual machine with win7 it displays correctly at 1366x768...

manolito
4th January 2019, 19:06
Beside that, i think it is a more of a XP thing then display resolution for the application title missing.

You are probably right about it being an XP thing. I just checked it on my Thinkpad T530. Its native resolution is 1600 x 900, but I reduced it to
1360 x 768. Much easier on my aging eyes. And even with this low resolution the dmMediaConverter GUI is displayed correctly.


Cheers
manolito

uVSthem
10th February 2019, 03:54
Does anyone have a link to the Windows version of dmMediaConverter - v2.3.1 ?

manolito
10th February 2019, 11:27
Yes, for some reason the Windows version has disappeared from the author's GDrive folder. No idea if this was intentional. Anyways, Softpedia still has it available for download, just google for it...

Cheers
manolito

mdalacu
28th February 2019, 06:26
I found recently that the win32 version was not on my site anymore. Google blocked the file from sharing in my GDrive under the suspicion that i don't have copyrights on it...wtf! :-)))
The problem is that they did not notify me in anyway...only a gray flag , if you navigate into that folder...
I have re-uploaded the file and now i think it is all fine.
Enjoy!

mrjayviper
5th June 2019, 11:23
Anyone been able to run to on recent Manjaro or any other distro? If not Manjaro, what we're you using? Thanks

edit: just tried on latest manjaro and I get this error "error while loading shared library: libva.so.1: cannot open shared object file: No such file or directory". I checked (using pacman) and I got extra/libva 2.4.1-1 installed. Any ideas on how to fix? Thanks

jones1913
12th June 2019, 14:48
First, Happy New Year! ;)
#dmMediaConverter
http://dmsimpleapps.blogspot.ro/2014/04/dmmediaconverter.html

Version 2.3.1 is up
I have tried at least to make it usable at different scaling.

Enjoy and please provide feedback!

Im much too late but anyway, the improved spacings helped a bit so that some controls are not so much overlapped anymore.
Some controls are still quite small (listview, radiobuttons), also the log output is almost impossible to read (without a magnifying glass :D). Thanks anyway for working on this application.

Anyone been able to run to on recent Manjaro or any other distro? If not Manjaro, what we're you using? Thanks

edit: just tried on latest manjaro and I get this error "error while loading shared library: libva.so.1: cannot open shared object file: No such file or directory". I checked (using pacman) and I got extra/libva 2.4.1-1 installed. Any ideas on how to fix? Thanks
Works here for me (Manjaro).

libva.so is no dependency of dmMediaConverter binary (checked with 'ldd dmMediaConverter') but rather of ffmpeg.
Are you using bundled ffmpeg binary or the system installed one?

Bigmango
8th August 2019, 18:00
Thanks for this great app !

Please add options for:


eac3 audio in the list of codecs
enable/disable audio and subtitle flags (forced, default...)
stream duplication (i.ex: right click to duplicate a stream) (i.ex my use case: to keep source TrueHD/DTSMA/DTS audio/subtitle and add a duplicate with another codec, so the mkv can also be played on devices that don't support the source codec)


Example command line of what I need to do very often:

ffmpeg -i source.mkv -map 0:0 -map 0:2 -map 0:2 -map 0:1 -map 0:1 -map 0:3 -map 0:4 -map 0:5 -c:v copy -c:a:0 copy -c:a:1 eac3 -c:a:2 copy -c:a:3 eac3 -b:a:1 1536k -b:a:3 768k -c:s copy output.mkv

(this reorders the audio (0:2 before 0:1) and duplicates 2 audio tracks (0:1 and 0:2) with a 2nd eac3 copy with different bitrates for each eac3 stream, and keeps all the subtitles).

Many thanks !

ReinerSchweinlin
12th August 2019, 12:42
Thanx for this app. Didnīt know it so far, just tested it, works great!!

Is there a chance you could add some things:

- distribute encodings over several CPU nodes (I have several Multi CPU Machines - when doing 4 encodes at once, it would be nice to have them eavenly spreaded over the cpus/cores to max out CPUs.)
- Include "grain" and 10bit switches for HEVC (10 Bit I found, was easy, not enough coffee...=
- Support AAC HE Audio Coding with good quality (I found a hidden switch in the ini file, but how do I activate AAC HE now? Checke, if my compile is able to do it, but I need help enabling it in DMmediacoder)

Thanx :)

Edit: Figured some stuff out myself, so I corrected this post-..

ReinerSchweinlin
20th August 2019, 11:35
Another thing I noticed: When converting Files via batch from FLAC Audio to AAC, mediainfo shows the old bitrates of the FLAC files in the AAC streams - they play fine though.
When dealing with multiple audio streams in a batch and different channel counts (stream 1: Stereo, Stream 2: 5.1, Stream 3: mono, Stream 4: 7.1 ...) - is it possible to set "bitrate per channel" ? Or maybe choose a CFR ? If I set a fixed bitrate, its too much for 2 channels, but not enough for 8 channels :)

mdalacu
27th September 2019, 08:37
Thanks for this great app !

Please add options for:


eac3 audio in the list of codecs
enable/disable audio and subtitle flags (forced, default...)
stream duplication (i.ex: right click to duplicate a stream) (i.ex my use case: to keep source TrueHD/DTSMA/DTS audio/subtitle and add a duplicate with another codec, so the mkv can also be played on devices that don't support the source codec)


Example command line of what I need to do very often:

ffmpeg -i source.mkv -map 0:0 -map 0:2 -map 0:2 -map 0:1 -map 0:1 -map 0:3 -map 0:4 -map 0:5 -c:v copy -c:a:0 copy -c:a:1 eac3 -c:a:2 copy -c:a:3 eac3 -b:a:1 1536k -b:a:3 768k -c:s copy output.mkv

(this reorders the audio (0:2 before 0:1) and duplicates 2 audio tracks (0:1 and 0:2) with a 2nd eac3 copy with different bitrates for each eac3 stream, and keeps all the subtitles).

Many thanks !

1. will see
2. i don't think ffmpeg supports this flags
3. as an workaround, just add the source file twice and disable all the other streams from the second source leaving only the desired audio which you will convert with a different settings.
i hope this helps.

mdalacu
27th September 2019, 08:52
Thanx for this app. Didnīt know it so far, just tested it, works great!!

Is there a chance you could add some things:

- distribute encodings over several CPU nodes (I have several Multi CPU Machines - when doing 4 encodes at once, it would be nice to have them eavenly spreaded over the cpus/cores to max out CPUs.)
- Include "grain" and 10bit switches for HEVC (10 Bit I found, was easy, not enough coffee...=
- Support AAC HE Audio Coding with good quality (I found a hidden switch in the ini file, but how do I activate AAC HE now? Checke, if my compile is able to do it, but I need help enabling it in DMmediacoder)

Thanx :)

Edit: Figured some stuff out myself, so I corrected this post-..
1. The encoding threads are dependend on ffmpeg/codec. If a condec can not scale up and you have multiple files to encode, just queue them and increase the parallel jobs number from the queue window.
2. Last time a ihave checked there was no grain profile for hevc in ffmpeg.
3. First you need to use ffmpeg compiled with libfdk. Then, use something like this for aac he if you really need this, it is only for low bit rate!
https://i.imgur.com/8APHuUf.png
I hope it helps! ;)

mdalacu
29th September 2019, 15:12
Another thing I noticed: When converting Files via batch from FLAC Audio to AAC, mediainfo shows the old bitrates of the FLAC files in the AAC streams - they play fine though.
When dealing with multiple audio streams in a batch and different channel counts (stream 1: Stereo, Stream 2: 5.1, Stream 3: mono, Stream 4: 7.1 ...) - is it possible to set "bitrate per channel" ? Or maybe choose a CFR ? If I set a fixed bitrate, its too much for 2 channels, but not enough for 8 channels :)

Sorry but no...
At first i wanted to do Container profiles witch was a collection of stream profiles but i never had the time to implement this...sorry.

Bigmango
29th September 2019, 16:27
1. will see

2. i don't think ffmpeg supports this flags

3. as an workaround, just add the source file twice and disable all the other streams from the second source leaving only the desired audio which you will convert with a different settings.

i hope this helps.Many thanks.

2.
You can set the default and forced flags for audio and subtitles like this:

-disposition:s:0 default

-disposition:s:0 forced


Note s in -disposition:s:0 in this case stands for subtitle and not stream. To select the second steam by index use -disposition:1

3.
If I remux 70gb files this would have to read 140gb + writing at the same time, which takes a long time.

It would really help if you could add it by selecting the streams, as per the command line example in my above post.

Thanks!

mdalacu
2nd October 2019, 16:00
Many thanks.

2.
You can set the default and forced flags for audio and subtitles like this:

-disposition:s:0 default

-disposition:s:0 forced


Note s in -disposition:s:0 in this case stands for subtitle and not stream. To select the second steam by index use -disposition:1

3.
If I remux 70gb files this would have to read 140gb + writing at the same time, which takes a long time.

It would really help if you could add it by selecting the streams, as per the command line example in my above post.

Thanks!

Hi. Regarding pct 2.
Do you know if multiple streams of the same type could have the same flag? Does it make any sense?
Thx.

Bigmango
3rd October 2019, 00:14
Hi. Regarding pct 2.

Do you know if multiple streams of the same type could have the same flag? Does it make any sense?

Thx.Yes, you can for example have several forced subtitles (for the different languages - for each language you have 1 full and 1 forced).

In this example , the Kodi media player will automatically select the correct forced subtitles matching the selected audio language.

(this is why the forced flag is important, it allows the media players that correctly support them to automatically select the subtitles matching the audio, just like DVD & blu-ray players).

mdalacu
3rd October 2019, 13:26
Hi, test this and please, provide feedback for stream disposition.
Just replace the exe in the application folder
https://drive.google.com/file/d/11sMR1V1-Y4iJXgNfaiF1nHIgmoc9VXGf/view?usp=sharing
Hint: Right click on stream ;)

mdalacu
4th October 2019, 15:33
Forget the above linke, it has a few bugs..
Try this.
https://drive.google.com/file/d/1MMqw1XrvEBjCoqHz85kbZiaCddPM11YD/view?usp=sharing
Just rename it as an exe file and overwrite dmmediaconverter.exe
Soo wha't new in this version:
stream disposition: default ,forced
duplicate stream ! ;)
Test and provide feedback.
Thanks.

mdalacu
4th October 2019, 15:34
.
See above post

manolito
8th October 2019, 05:00
Thanks for the test version...

Tested it on 2 different machines under WinXP and Win7-64, and both have the same issues:

While the "default" and "forced" stream tags work well, the video preview in the "Picture Settings" window is broken. Just an empty video area, no error message.

The other thing which makes little sense to me is the new "Screenshot" tab. All I can do with it is see the string, it is not even possible to copy the string to the clipboard by right-clicking it (CTRL-C works). It should offer the possibility to open the screenshot in a picture editor by either right-clicking or double-clicking this tab. And since the "Stream Settings" window does already show this same screenshot I do not really see its usefulness.


Cheers
manolito

mdalacu
8th October 2019, 05:16
Yes, you can for example have several forced subtitles (for the different languages - for each language you have 1 full and 1 forced).

In this example , the Kodi media player will automatically select the correct forced subtitles matching the selected audio language.

(this is why the forced flag is important, it allows the media players that correctly support them to automatically select the subtitles matching the audio, just like DVD & blu-ray players).

Thanks for the test version...

Tested it on 2 different machines under WinXP and Win7-64, and both have the same issues:

While the "default" and "forced" stream tags work well, the video preview in the "Picture Settings" window is broken. Just an empty video area, no error message.

The other thing which makes little sense to me is the new "Screenshot" tab. All I can do with it is see the string, it is not even possible to copy the string to the clipboard by right-clicking it (CTRL-C works). It should offer the possibility to open the screenshot in a picture editor by either right-clicking or double-clicking this tab. And since the "Stream Settings" window does already show this same screenshot I do not really see its usefulness.


Cheers
manolito
Hei! There was some problems with the builds from the first posts, did u use the file from the last post because you should not see "screenshot" filed, it is an internal stream variable. Also there sould be an "Duplicate" item in the popup menu...?
Thanks.
EDIT: Just to be shure that there are no mixups i have reuploaded the file. Use the last link. Thx.

manolito
8th October 2019, 08:09
Reuploaded and tested again..,

This is indeed a different version, I can tell because the new one does not say "TEST VERSION" in the title bar, and there no longer is a Screen Shot tab.

And yes, there is a "Duplicate" item when right-clickin a stream (was also present in the previous version). But still I do not get any video in the "Picture Settings" window. Just an empty screen area...

https://i.postimg.cc/R0XnMhpV/Picture-Settings.png (https://postimages.org/)

mdalacu
8th October 2019, 10:30
Reuploaded and tested again..,

This is indeed a different version, I can tell because the new one does not say "TEST VERSION" in the title bar, and there no longer is a Screen Shot tab.

And yes, there is a "Duplicate" item when right-clickin a stream (was also present in the previous version). But still I do not get any video in the "Picture Settings" window. Just an empty screen area...

https://i.postimg.cc/R0XnMhpV/Picture-Settings.png (https://postimages.org/)

Yes, you are right! I have missed an " :/ Sorry about that.
Please, redownload from the same link.
Thanks.

manolito
8th October 2019, 11:16
Great, this was it...

Everything works now, it looks stable to me.

Thanks very much,

Cheers
manolito

mdalacu
8th October 2019, 12:46
Great, this was it...

Everything works now, it looks stable to me.

Thanks very much,

Cheers
manolito

Thanks for testing! :-)

Bigmango
10th October 2019, 15:34
Forget the above linke, it has a few bugs..
Try this.
https://drive.google.com/file/d/1MMqw1XrvEBjCoqHz85kbZiaCddPM11YD/view?usp=sharing
Just rename it as an exe file and overwrite dmmediaconverter.exe
Soo wha't new in this version:
stream disposition: default ,forced
duplicate stream ! ;)
Test and provide feedback.
Thanks.


Ohhhh thanks a lot !

The windows version seems ok, but could you please:


add columns to show which streams are forced / default (i.ex by adding a check box like enabled/copy ?)
add eac3 audio encoding in the drop down list
add the linux version (i'm using it on linux only)


This would be perfect.

Many thanks !

mdalacu
11th October 2019, 06:22
Ohhhh thanks a lot !

The windows version seems ok, but could you please:


add columns to show which streams are forced / default (i.ex by adding a check box like enabled/copy ?)
add eac3 audio encoding in the drop down list
add the linux version (i'm using it on linux only)


This would be perfect.

Many thanks !
1. That was my first try but it was ugly like hell, so right click it is! Green=default bold=forced green&bold=defaut+forced ;)
2. Maybe in a feature verion..
3. I have uploaded the file. Just rename and overwrite the binary. Also linux is my main os.
https://drive.google.com/file/d/1sJyHGmeHLFnHDR0BXT0_Fwih_WI1otXq/view?usp=sharing

Bigmango
11th October 2019, 10:40
1. That was my first try but it was ugly like hell, so right click it is! Green=default bold=forced green&bold=defaut+forced ;)

2. Maybe in a feature verion..

3. I have uploaded the file. Just rename and overwrite the binary. Also linux is my main os.

https://drive.google.com/file/d/1sJyHGmeHLFnHDR0BXT0_Fwih_WI1otXq/view?usp=sharingThe command line for eac3 (including bitrates, etc...) is exactly the same as for ac3.

This should be an easy fix. (i.ex just replace "ac3" with "eac3" in the command line and add it to the drop down box).

Many thanks.

mdalacu
14th October 2019, 05:24
The command line for eac3 (including bitrates, etc...) is exactly the same as for ac3.

This should be an easy fix. (i.ex just replace "ac3" with "eac3" in the command line and add it to the drop down box).

Many thanks.

Ok, just redownload the file and please, provide feedback.

Thanks.

Bigmango
14th October 2019, 19:25
Ok, just redownload the file and please, provide feedback.

Thanks.

It works great, many thanks. This is the best linux ffmpeg gui :)

Just a small bug:

After deleting the track names (in the track list), the names are still merged into the mkv (but they were empty in the track list).

mdalacu
15th October 2019, 06:19
It works great, many thanks. This is the best linux ffmpeg gui :)

Just a small bug:

After deleting the track names (in the track list), the names are still merged into the mkv (but they were empty in the track list).

Hi, this is a know limitation of my metadata implementation. If title is empty then it skips adding the metadata key value pair altogether, preventing adding an empty field all the time. Otherwise all the output files will have "title=" as metadata... As an workaround try deleting and leave just a space where you want to delete the stream title.
Please tell me if it works for you.
Thanks.

manolito
15th October 2019, 07:50
Could you add the eac3 audio format to the Windows version also?

Thanks
manolito

mdalacu
15th October 2019, 10:28
Could you add the eac3 audio format to the Windows version also?

Thanks
manolito

Hi. I have uploaded the modified exe the moment i have uloaded the linux version, just download from the last link for windows.
Is it ok?
EDIT: here it is the link:
https://drive.google.com/file/d/1MMqw1XrvEBjCoqHz85kbZiaCddPM11YD/view?usp=sharing

Bigmango
15th October 2019, 12:05
Hi, this is a know limitation of my metadata implementation. If title is empty then it skips adding the metadata key value pair altogether, preventing adding an empty field all the time. Otherwise all the output files will have "title=" as metadata... As an workaround try deleting and leave just a space where you want to delete the stream title.
Please tell me if it works for you.
Thanks.Yes, I have added an mkv title (in the empty title box that was there - bottom left). So, just to clarify if I understand you correctly, does this mean if I didn't add a title name, it wouldn't write the track names (that were originally there)?

Also, would it be possible for you to add this workaround in the code? (i. ex with something like : if string track.name = null then string track.name =" ";)

Or, in the mkvmerge title editor, the name tag can be deleted (= the individual tag can be removed, meaning instead of being empty it be completely removed as a tag). I'm sure ffmpeg can also do this.

PS: OK, I'll also test the windows version and report back.

manolito
15th October 2019, 12:10
Hi. I have uploaded the modified exe the moment i have uloaded the linux version, just download from the last link for windows.
Is it ok?
EDIT: here it is the link:
https://drive.google.com/file/d/1MMqw1XrvEBjCoqHz85kbZiaCddPM11YD/view?usp=sharing

Thanks, works fine... :thanks:

mdalacu
15th October 2019, 12:13
Yes, I have added an mkv title (in the empty title box that was there - bottom left). So, just to clarify if I understand you correctly, does this mean if I didn't add a title name, it wouldn't write the track names (that were originally there)?

Also, would it be possible for you to add this workaround in the code? (i. ex with something like : if string track.name = null then string track.name =" ";)

Or, in the mkvmerge title editor, the name tag can be deleted (= the individual tag can be removed, meaning instead of being empty it be completely removed as a tag). I'm sure ffmpeg can also do this.

PS: OK, I'll also test the windows version and report back.

No, i was referring about stream tiltles ...the one in the streams section. Ex an audio track name in a movie.
Normally ffmpeg commies the metadata title from the first imput file so , if you write nothing in the title (bottom left) the application will put the filename without an extention. This is the code:
if Trim(F_Edt_Title.Text)<>'' then // Title metadata
ffmpeg_Command:=ffmpeg_Command + ' -metadata "title='+F_Edt_Title.Text+'"'
else
ffmpeg_Command:=ffmpeg_Command + ' -metadata "title='+ExtractFileNameOnly(F_Edt_FileName.Text)+'"';

Edit: ... i could try removing Trim...

Bigmango
15th October 2019, 12:33
No, i was referring about stream tiltles ...the one in the streams section. Ex an audio track name in a movie.
Normally ffmpeg commies the metadata title from the first imput file so , if you write nothing in the title (bottom left) the application will put the filename without an extention. This is the code:


Edit: ... i could try removing Trim...

Ahh I see, this is the problem.

Your code means:

If there is a text in the box then write that text.

Else, write the file name. (<- this is the problem).

Yes, I think if you remove this it should fix it.


Also, another small thing :

The output file name is empty by default. Could you make it behave like mkvmerge, so that we don't have to retype the whole thing if we want to keep part of the name? (= "filename (1).mkv").

Thanks.

mdalacu
15th October 2019, 13:21
Ahh I see, this is the problem.

Your code means:

If there is a text in the box then write that text.

Else, write the file name. (<- this is the problem).

Yes, I think if you remove this it should fix it.


Also, another small thing :

The output file name is empty by default. Could you make it behave like mkvmerge, so that we don't have to retype the whole thing if we want to keep part of the name? (= "filename (1).mkv").

Thanks.
1. I was refering to remove the trim function so if you enter a blank space will set title= ...basically nothing.
2. No, it is by design like this. You have multiple choices.
a.- not to reset settings after adding a job (from Options)
b. - hittinh the button Add job or Run now without entering anything in the filename field. It will opens the save dialog.
When you hit those buttons again for a new job the dialog will open with the last folder and files name...so you can modify it very easily.

Bigmango
15th October 2019, 14:14
1. I was refering to remove the trim function so if you enter a blank space will set title= ...basically nothing.



OK, I understand that you want to force all of the track names to be = to the filename if the fields are empty.

But can't you make it so that if the box is empty then the track title isn't written?

I.ex : if you want to keep your behavior of writing the filename, you could for example add an option in the settings (so that the user can chose the behavior he wants - I for example prefer it empty or removed. If you force writting the filename I will always have to reopen the files in mkvmergegui to delete the name tags).

(I think this would be better than the "dirty" workaround of requiring the user to add a blank space).

Many thanks.

mdalacu
15th October 2019, 15:41
OK, I understand that you want to force all of the track names to be = to the filename if the fields are empty.

But can't you make it so that if the box is empty then the track title isn't written?

I.ex : if you want to keep your behavior of writing the filename, you could for example add an option in the settings (so that the user can chose the behavior he wants - I for example prefer it empty or removed. If you force writting the filename I will always have to reopen the files in mkvmergegui to delete the name tags).

(I think this would be better than the "dirty" workaround of requiring the user to add a blank space).

Many thanks.
I will think about it...the problem is that if i don't do this and leave it empty then ffmpeg will put the title from the first input file regardless.
This was my workaround for this problem.

Bigmango
15th October 2019, 15:58
I will think about it...the problem is that if i don't do this and leave it empty then ffmpeg will put the title from the first input file regardless.

This was my workaround for this problem.OK, I see.

myffmpeg on windows does all of this properly, and you can also see/copy the resulting command line.

You could check it out (I'll also look into it if I get the time).

Thanks.

mdalacu
16th October 2019, 06:48
OK, I see.

myffmpeg on windows does all of this properly, and you can also see/copy the resulting command line.

You could check it out (I'll also look into it if I get the time).

Thanks.

I have rechecked my code. It actually was working correctly. :)
Anway, i have added an option in "More.." to drop metadata copied from first source at container level. It is persistent until you close the app. I will not make it persistent when you relaunch the app.
Please test it and tell me if it works for your particularly case.
Re download the linux version.
Thanks.

Bigmango
16th October 2019, 11:40
the problem is that if i don't do this and leave it empty then ffmpeg will put the title from the first input file regardless.

This was my workaround for this problem.

To make sure I understand you correctly :

Are you telling me that when you send the content of an empty track name input box (-metadata title=""), then ffmpeg will write the title from the first file regardless?

This looks like a bug in your code, because doing this with ffmpeg in the command line is working properly. (title="" and title= ; both work).

How is you code working? Are you sending the global "-map metadata" to send everything over, or using "-metadata" individually for each track/stream? (I'm sure this 2nd option should work properly).

Thanks.

mdalacu
16th October 2019, 12:29
To make sure I understand you correctly :

Are you telling me that when you send the content of an empty track name input box (-metadata title=""), then ffmpeg will write the title from the first file regardless?

This looks like a bug in your code, because doing this with ffmpeg in the command line is working properly. (title="" and title= ; both work).

How is you code working? Are you sending the global "-map metadata" to send everything over, or using "-metadata" individually for each track/stream? (I'm sure this 2nd option should work properly).

Thanks.

Did you test the file that i posted today? Is it working correctly for you?
EDIT: Also check the Drop Metadata option from More

Bigmango
20th October 2019, 15:15
Did you test the file that i posted today? Is it working correctly for you?
EDIT: Also check the Drop Metadata option from More

Yes it's perfect ! Many thanks.

1 more small detail:

In the stream list: please add a column with "output codec".

(this would make make it much more convenient to have a global view so that we don't miss anything, especially when there are many streams. Currently we have to click on each stream to see what is happening).

Thanks !

mdalacu
21st October 2019, 05:32
Yes it's perfect ! Many thanks.

1 more small detail:

In the stream list: please add a column with "output codec".

(this would make make it much more convenient to have a global view so that we don't miss anything, especially when there are many streams. Currently we have to click on each stream to see what is happening).

Thanks !
I am glad that it is working.
Regarding your request...i will think about it but it will not be on my short list, imho the list is already pretty crowded there. ;)

Bigmango
21st October 2019, 12:05
I am glad that it is working.

But IMHO, the best option would still be to drop the Metadata by default (as this seems to be needed for it to work with your tool) and write the text in the text boxes for each stream. (this is how mkvmergegui does it).



Regarding your request...i will think about it but it will not be on my short list, imho the list is already pretty crowded there. ;)

Or you could also keep only the current codec column and add the output codec there, i. ex like this if dts is converted to ac3 : "dts > ac3".

Thanks.

Bigmango
26th October 2019, 16:28
3 more things:

1. It isn't possible to see the output log properly in the queue. (you could perhaps display it on the lower part of the screen when an entry is selected).

2. When running a job, the output log can't be scrolled properly (it always refreshes the output back to the bottom).

3. Please also add the possibility to edit a queue entry (i.ex a button to send it back to the edit screen?)

This app is great!

Thanks!

mdalacu
1st November 2019, 09:46
But IMHO, the best option would still be to drop the Metadata by default (as this seems to be needed for it to work with your tool) and write the text in the text boxes for each stream. (this is how mkvmergegui does it).



Or you could also keep only the current codec column and add the output codec there, i. ex like this if dts is converted to ac3 : "dts > ac3".

Thanks.
1. Hi, now you have an option in Settings to chouse what you want by default.
2. I will not do it since it is already shown in stream settings.

mdalacu
1st November 2019, 09:50
3 more things:

1. It isn't possible to see the output log properly in the queue. (you could perhaps display it on the lower part of the screen when an entry is selected).

2. When running a job, the output log can't be scrolled properly (it always refreshes the output back to the bottom).

3. Please also add the possibility to edit a queue entry (i.ex a button to send it back to the edit screen?)

This app is great!

Thanks!
1. It way to complicated for me to change this part. When it finisthes you can select the Output field for the job and hit CTRL+C and paste into a text editor and you will have the complete visible output.
2. It is a bug on Linux, on Windows you have a checkbox "" Follow" which does inhibit the automatic scrooling. On Linux i can not control this behavior.
3. It is impossible by current queue implementation. Not for near feature.
Thanks.
PS. I have uploaded a new version with drop metadata default option.

ReinerSchweinlin
14th November 2019, 09:29
Thanx for the help with AAC-HE :)

Bitrate in Audio per Channel:
Sorry but no...
At first i wanted to do Container profiles witch was a collection of stream profiles but i never had the time to implement this...sorry.
Ok. Maybe I thought this to be too simple.. I had something like this in mind:

Stream 1: 8 Channels (7.1)
Stream 2: 2 Channels (Stereo, other language)
Stream 3: 1 Channel (Commentary)

Right now there seemes no way to convert these audiostreams in one batch to give everyone the bitrate that would be appropriate.

But if bitrate was set "per channel" in the GUI, it could be parsed to the encoder simply by multiplying with the amounts of channels (which are already known).

For example, set Bitrate per channel: 64 kbit/s

So Stream
1 gets 8 x 64 = 512 kbit/s
2 gets 2 x 64 = 128...
3 gets 1 x 64 ...

Sounds simple, but probably isnīt easy to implement.


About -grain:
I didn't try within ffmpeg, but presets, tune settings etc... can be set in ffmpeg for x265 and x264.. And since both have the -grain option, I thought this would be a no brainer. Why should the ffmpeg implementation of x265 leave this out?

Addition: Just noticed that ripbot is using ffmpeg as well - and here --grain can be used. Maybe this helps?

Bigmango
15th November 2019, 05:48
Thanks for the fixes.

There is another BUG: can't send jobs to the queue while a job is running.

Procedure:

1. Send a job to the queue and start it.

2. Load a new file and edit a new job. As soon as the first job ends, the new job is canceled (everything disappears from the editing window while I am still editing it).

Disabling the clear settings option doesn't change anything.

Could you please fix it so we can add jobs to the queue while jobs are running?

Thanks!

mdalacu
15th November 2019, 22:38
Thanks for the fixes.

There is another BUG: can't send jobs to the queue while a job is running.

Procedure:

1. Send a job to the queue and start it.

2. Load a new file and edit a new job. As soon as the first job ends, the new job is canceled (everything disappears from the editing window while I am still editing it).

Disabling the clear settings option doesn't change anything.

Could you please fix it so we can add jobs to the queue while jobs are running?

Thanks!
Thanks for reporting. I have corrected it. Thou i hope i didn't broke anything else since i removed something which made no sense to me now... I am sure that id did when i wrote it.. ;-)))
Just redownload.

mdalacu
15th November 2019, 22:43
Thanx for the help with AAC-HE :)

Bitrate in Audio per Channel:

Ok. Maybe I thought this to be too simple.. I had something like this in mind:

Stream 1: 8 Channels (7.1)
Stream 2: 2 Channels (Stereo, other language)
Stream 3: 1 Channel (Commentary)

Right now there seemes no way to convert these audiostreams in one batch to give everyone the bitrate that would be appropriate.

But if bitrate was set "per channel" in the GUI, it could be parsed to the encoder simply by multiplying with the amounts of channels (which are already known).

For example, set Bitrate per channel: 64 kbit/s

So Stream
1 gets 8 x 64 = 512 kbit/s
2 gets 2 x 64 = 128...
3 gets 1 x 64 ...

Sounds simple, but probably isnīt easy to implement.


About -grain:
I didn't try within ffmpeg, but presets, tune settings etc... can be set in ffmpeg for x265 and x264.. And since both have the -grain option, I thought this would be a no brainer. Why should the ffmpeg implementation of x265 leave this out?

Addition: Just noticed that ripbot is using ffmpeg as well - and here --grain can be used. Maybe this helps?
I have implemented audio bitrate per chanel. It is rough. You need to activated from editing the ini file. Look for and edit like this AudioBitratePerChanell=1. The file is located in ~\AppData\Local\dmMediaConverter\Config
For now it is only working in Convert and Bulk
Please report.
Thank you.

Bigmango
16th November 2019, 00:02
Thanks!

mdalacu
16th November 2019, 10:49
I have implemented audio bitrate per chanel. It is rough. You need to activated from editing the ini file. Look for and edit like this AudioBitratePerChanell=1. The file is located in ~\AppData\Local\dmMediaConverter\Config
For now it is only working in Convert and Bulk
Please report.
Thank you.
Audio bitrate per channel.
It is exposed in settings now.
Only for windows now, I will update when i get a chance to compile for linux.
EDIT: i have updated the linux version also.

manolito
17th November 2019, 03:02
Working great here...

Thanks very much :thanks:

mdalacu
17th November 2019, 21:58
Working great here...

Thanks very much :thanks:

Thank you manolito for testing! :)

ReinerSchweinlin
18th November 2019, 23:52
Bitrate per channel - works like a charm :) Thank you very much !!!!

mdalacu
2nd January 2020, 16:22
Thanx for the help with AAC-HE :)

Bitrate in Audio per Channel:

Ok. Maybe I thought this to be too simple.. I had something like this in mind:

Stream 1: 8 Channels (7.1)
Stream 2: 2 Channels (Stereo, other language)
Stream 3: 1 Channel (Commentary)

Right now there seemes no way to convert these audiostreams in one batch to give everyone the bitrate that would be appropriate.

But if bitrate was set "per channel" in the GUI, it could be parsed to the encoder simply by multiplying with the amounts of channels (which are already known).

For example, set Bitrate per channel: 64 kbit/s

So Stream
1 gets 8 x 64 = 512 kbit/s
2 gets 2 x 64 = 128...
3 gets 1 x 64 ...

Sounds simple, but probably isnīt easy to implement.


About -grain:
I didn't try within ffmpeg, but presets, tune settings etc... can be set in ffmpeg for x265 and x264.. And since both have the -grain option, I thought this would be a no brainer. Why should the ffmpeg implementation of x265 leave this out?

Addition: Just noticed that ripbot is using ffmpeg as well - and here --grain can be used. Maybe this helps?

Hi, i have rechecked and to my surprise now grain and animation profiles for x265 are present, so i have added them. ;)
I will not post a intermediate release, just wait for v2.4.1, it's around the corner..:-))

mdalacu
5th January 2020, 12:14
Here we go!
https://dmsimpleapps.blogspot.com/2014/04/dmmediaconverter.html
Windows and x64 linux versions are up!
I hope you enjoy it and like always, please provide feedback! ;)

2020.01.05 - v2.4.1 - Added eac3 audio codec
- Added set audio bitrate per channel. It is very useful in bulk operation where you can have multiple files with different number of channels. You activate this option in settings. I use it for every job type now and i recommend it turning it on.
- Added tunes grain and animation for x265 like x264 had.
- HW Video decoding. You can squeeze some more fps with this. You can find this in Options.
- You can now put some custom option in IN and OUT section of ffmpeg commands. In Options those are permanent, in More.. are only for that run. Use the hints for an example.
- Stream disposition. Now you can set like default or forced flag for a stream (audio, subtitle, etc.) Just right click on that stream and you will see the options. Green means default, bold means forced.
- Some bugs corrected. Ex. opening the app and had Enabled and Copy columns with width 0.
- Updated ffmpeg version. Using 4.2.1 now. For x64 Linux I also provide an separated ffmpeg archive compiled with libmfx support, Intel Quick Sync. You can use this only on Ubuntu version 19.04 and up. You need also to install the necessary librarys.
sudo apt-get install libmfx1 libmfx-tools
On Windows i bundle the up with ffmpeg complied for x64, a little more speed. If you need 32bit then download the provided archive and replace ffmpeg binarys.

manolito
6th January 2020, 01:16
:thanks:

Tested under WinXP using the current XP compatible FFmpeg version by Reino from here:
https://ffmpeg.zeranoe.com/forum/viewtopic.php?f=3&t=6930#p15446

No problems whatsoever, the Fraunhofer LibFDK-AAC audio encoder also works fine (after you enable it in the dmMediaConverter.ini file in the local user folder by setting "AudioEnablelibFDK=0" to 1).


Cheers
manolito

mdalacu
6th January 2020, 06:23
:thanks:

Tested under WinXP using the current XP compatible FFmpeg version by Reino from here:
https://ffmpeg.zeranoe.com/forum/viewtopic.php?f=3&t=6930#p15446

No problems whatsoever, the Fraunhofer LibFDK-AAC audio encoder also works fine (after you enable it in the dmMediaConverter.ini file in the local user folder by setting "AudioEnablelibFDK=0" to 1).


Cheers
manolito
Thank you Manolito! :-)

Bigmango
6th January 2020, 11:27
Thank you sooo much for this great app.

Question : is there any reason the frauenhofer aac isn't an option toggle in the gui ?

And as it is of higher quality than the default aac, a visual option that shows if it is in use (=supported by the active ffmpeg library) would be nice.

Thanks!

mdalacu
6th January 2020, 12:29
Thank you sooo much for this great app.

Question : is there any reason the frauenhofer aac isn't an option toggle in the gui ?

And as it is of higher quality than the default aac, a visual option that shows if it is in use (=supported by the active ffmpeg library) would be nice.

Thanks!

Some legal stuff...

manolito
7th January 2020, 00:34
From trac.ffmpeg:
The license of libfdk_aac is not compatible with GPL, so the GPL does not permit distribution of binaries containing incompatible code when GPL-licensed code is also included. Therefore this encoder have been designated as "non-free", and you cannot download a pre-built ffmpeg that supports it. This can be resolved by compiling ffmpeg yourself.

So there is no doubt that FFmpeg binaries with built-in libfdk_aac cannot be distributed without violating the GPL. For the devs who want lib_fdk support the solution is to compile FFmpeg with libfdk support enabled, but without actually including any libfdk code within the FFmpeg binary.

Legally this may be a grey area, I am no lawyer and have no substantiated opinion on this. To me it looks similar as when FFmpeg is used by some commercial software. Even if this commercial software does not work without the GPLed FFmpeg, the GPL is not violated as long as the FFmpeg code is not modified to accommodate the commercial software.

The 2 FFmpeg distributions I am aware of which do it this way are the one by Reino which I have linked to, and the other one is by Sherpya at
https://oss.netfarm.it/mplayer/


//EDIT//
To toggle the LibFDK option in the GUI automatically you could write a small batch file which checks if FFmpeg supports LibFDK (just run "ffmpeg.exe -buildconf", redirect the output to a temp file and search this file for the string "--enable-libfdk-aac") , then modifies dmMediaConverter.ini accordingly and finally calls dmMediaConverter.exe. Should be easy...

Bigmango
7th January 2020, 03:11
To toggle the LibFDK option in the GUI automatically you could write a small batch file which checks if FFmpeg supports LibFDK (just run "ffmpeg.exe -buildconf", redirect the output to a temp file and search this file for the string "--enable-libfdk-aac") , then modifies dmMediaConverter.ini accordingly and finally calls dmMediaConverter.exe. Should be easy...
+1

Yes, this would be nice, with a visual option somewhere in the GUI to show it is enabled.

Many thanks.

mdalacu
7th January 2020, 07:03
The problem is that i do distribute a ffmpeg with libfdk prebuild ...but i do not make it easily available in GUI...I hope this way will not get me into trouble. (wishful thinking...i know)

jones1913
7th January 2020, 20:18
@mdalacu

Thank you very much for adding a qt5 version. This is much better now on scaled displays.
One small problem though: The actual CRF value is invisible (see screenshot).
Apparently the slider is a bit too wide.

https://abload.de/thumb/screenshot_20200107-19ck9k.png (https://abload.de/image.php?img=screenshot_20200107-19ck9k.png)

for comparison:
https://abload.de/thumb/screenshot_20200107-1fmjld.png (https://abload.de/image.php?img=screenshot_20200107-1fmjld.png)

mdalacu
8th January 2020, 07:55
@mdalacu

Thank you very much for adding a qt5 version. This is much better now on scaled displays.
One small problem though: The actual CRF value is invisible (see screenshot).
Apparently the slider is a bit too wide.

https://abload.de/thumb/screenshot_20200107-19ck9k.png (https://abload.de/image.php?img=screenshot_20200107-19ck9k.png)

for comparison:
https://abload.de/thumb/screenshot_20200107-1fmjld.png (https://abload.de/image.php?img=screenshot_20200107-1fmjld.png)
Hei. Thank you for testing. Unfortunately i will be out for a few days...Monday i will look into it.

stax76
8th January 2020, 08:29
@mdalacu

On Win 10 with 288 DPI the scaling is completely broken.

mdalacu
9th January 2020, 09:04
@mdalacu

On Win 10 with 288 DPI the scaling is completely broken.Yes. I know. It has it's limits.

Sent from my EVR-L29 using Tapatalk

mdalacu
13th January 2020, 14:49
@mdalacu

Thank you very much for adding a qt5 version. This is much better now on scaled displays.
One small problem though: The actual CRF value is invisible (see screenshot).
Apparently the slider is a bit too wide.

https://abload.de/thumb/screenshot_20200107-19ck9k.png (https://abload.de/image.php?img=screenshot_20200107-19ck9k.png)

for comparison:
https://abload.de/thumb/screenshot_20200107-1fmjld.png (https://abload.de/image.php?img=screenshot_20200107-1fmjld.png)

Ok, i have reuploaded the file.
Is it ok now?
Thx.

Bigmango
13th January 2020, 16:47
BUG with the Linux QT version:

After closing/exiting the app, the window closes but the process remains active in the process list. (it also slows down system shutdown/reboot as it waits 20 or 30 seconds to close it, but it survives after the system restart).

It remains there even after rebooting the PC. If I open/close it 12 times, there will be 12 processes remaining open in the process list. And they survive between system reboots.

(I'm on arch, latest KDE, QT 5.14).

The gtk version doesn't have this problem.

jones1913
13th January 2020, 18:16
Ok, i have reuploaded the file.
Is it ok now?
Thx.
Yeah, it's perfect now. :thanks::thanks::thanks:

BUG with the Linux QT version:

After closing/exiting the app, the window closes but the process remains active in the process list. (it also slows down system shutdown/reboot as it waits 20 or 30 seconds to close it, but it survives after the system restart).

It remains there even after rebooting the PC. If I open/close it 12 times, there will be 12 processes remaining open in the process list. And they survive between system reboots.

(I'm on arch, latest KDE, QT 5.14).

The gtk version doesn't have this problem.
I have not noticed such behavior on Manjaro Linux (Arch based). It is hard to imagine that a process can survive a clean reboot.
Is it possible that KDE saved your session on shutdown and restored it at the next login? (Pure speculation, I don't use KDE myself)

Bigmango
13th January 2020, 19:31
I have not noticed such behavior on Manjaro Linux (Arch based). It is hard to imagine that a process can survive a clean reboot.

Is it possible that KDE saved your session on shutdown and restored it at the next login? (Pure speculation, I don't use KDE myself)
Same problem on MANJARO KDE.

1. Exit the APP (QT version) : the app window closes.

2. Look in the tasks manager : the process is still running.

3. After system restart, when I log into the desktop the dmmediaconver app windows open (= it launches the same number of app instances as the number that where running before the reboot).

(the GTK version doesn't have this problem).

And regarding the KDE sessions : I don't know,... I never had this with any other app...? . (But anyway, if right this is another thing that doesn't have anything to do with the Bug).

Thanks for the feedback.

mdalacu
14th January 2020, 06:32
Same problem on MANJARO KDE.

1. Exit the APP (QT version) : the app window closes.

2. Look in the tasks manager : the process is still running.

3. After system restart, when I log into the desktop the dmmediaconver app windows open (= it launches the same number of app instances as the number that where running before the reboot).

(the GTK version doesn't have this problem).

And regarding the KDE sessions : I don't know,... I never had this with any other app...? . (But anyway, if right this is another thing that doesn't have anything to do with the Bug).

Thanks for the feedback.
Sorry but i can not reproduce your problem. So i can not help you. The app exited without an problem, cleanly, on 2 diffrent sistems Ubuntu with xfce and Kubuntu with kde.
An application can not survive an reboot. As jones1913 says, your desktop manager saves all the application in a list and reopens all that list after reboot. You have to find the setting and disable it.

Use this: System Settings->Startup and Shutdown->Desktop Session->On Login->Start with an empty session.

Bigmango
15th January 2020, 09:21
Sorry but i can not reproduce your problem. So i can not help you. The app exited without an problem, cleanly, on 2 diffrent sistems Ubuntu with xfce and Kubuntu with kde.
An application can not survive an reboot. As jones1913 says, your desktop manager saves all the application in a list and reopens all that list after reboot. You have to find the setting and disable it.

Use this: System Settings->Startup and Shutdown->Desktop Session->On Login->Start with an empty session.OK, so the reboot persistance issue is only further proof of the BUG in the QT version : the app only closes the window but doesn't exit).

Because:

a) The GTK version exists cleanly.

b) ALL of the other apps on my system, including KDE and QT apps exit cleanly (for example mkvtoolnix-gui is using QT, and others as well).

c) dmMediaConverter QT version is the ONLY app that remains running in the task manager process list AFTER exiting the app (the window closes properly).

(I have tried with versions kdeframework 5.65 and 5.66, qt 5.13 and 5.14)


Are you sure you can't see the app in the running process list, after the window has closed?

Perhaps this could be a bug with the Pascal QT bindings the QT version is using.

Thanks for the feedback.

Bigmango
15th January 2020, 10:23
The debugging output actually shows that the QT version is crashing on exit (window closes but process remains in process list, as explained).

Here is the strace output as soon as I select File>Exit (starting with --- SIGSEGV):


munmap(0x7f01ec0a1000, 32768) = 0
msync(0x7f01e67f0000, 10547304, MS_ASYNC|MS_INVALIDATE) = 0
munmap(0x7f01e67f0000, 10547304) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SI_KERNEL, si_addr=NULL} ---
rt_sigprocmask(SIG_UNBLOCK, [SEGV], NULL, 8) = 0
mmap(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f01f51ba000
mmap(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f01f51b2000
write(2, "An unhandled exception occurred "..., 54An unhandled exception occurred at $00007F01F392425C:
) = 54
write(2, "EAccessViolation: \n", 19EAccessViolation:
) = 19
write(2, " $00007F01F392425C\n", 20 $00007F01F392425C
) = 20
write(2, "\n", 1
) = 1
write(7, "\1\0\0\0\0\0\0\0", 8) = 8
futex(0x2826ea8, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x2848270, FUTEX_WAIT_PRIVATE, 0, NULL


And if needed, here is what gets added to the last line (after NULL) after I terminate the process in the task manager:


futex(0x2848270, FUTEX_WAIT_PRIVATE, 0, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGTERM {si_signo=SIGTERM, si_code=SI_USER, si_pid=2609, si_uid=1000} ---
+++ killed by SIGTERM +++

Bigmango
15th January 2020, 17:05
Please add "-compression_level" for FLAC (0 to 12) (default is 5).

If I add '-compression_level 12' in the "More" field under FLAC I get this error:


AVFilterGraph @ 0x563a30080dc0] No such filter: '-compression_level 12'
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:1


Thanks.

mdalacu
16th January 2020, 07:12
Please add "-compression_level" for FLAC (0 to 12) (default is 5).

If I add '-compression_level 12' in the "More" field under FLAC I get this error:


AVFilterGraph @ 0x563a30080dc0] No such filter: '-compression_level 12'
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:1


Thanks.
Hi. Regarding previous questions, yes i am sure, no zombi processes after exiting the app.
The MORE fileld in audiio stream is ment to enter additional audio filters.
I have uploaded a test version with flac compression level. Just use the slider but as fas as i could test the size benefits are small above the default value of 5...only time in increasing dramatically. The file that you are after is : dmMediaConverter_v2.4.2_TEST.zip
Please test it and provide feedback.
Thx.

Bigmango
16th January 2020, 10:59
I have uploaded a test version with flac compression level. Just use the slider but as fas as i could test the size benefits are small above the default value of 5...only time in increasing dramatically. The file that you are after is : dmMediaConverter_v2.4.2_TEST.zip
Please test it and provide feedback.
Thx.

Great! It's working correctly.

But the text "Audio constant quality level" is wrong. It should be changed to "Audio codec compression level".

FLAC is a lossless codec = the quality never changes.

Many thanks !

Bigmango
16th January 2020, 11:42
Hi. Regarding previous questions, yes i am sure, no zombi processes after exiting the app.


As I have now tested this in several systems, I'm sure it is there, but you don't see it.

There is no zombie process. (on exit the QT app crashes with an access violation (as per the above posted strace log) and continues to run normally in ram after the window closes).

With the normal "top" you most of the time don't see it, because it is way below.

To see it, you need a task manager that you can sort alphabetically, and look for the app file name (the process runs as the app file name).

Or, you can also:

1. open the QT app
2. note down the proccess PID
3. run "top -p PID" : you will see the process alone
4. close the QT app window
5. you will see the process still running

You can also :

1. run "strace dmmediaconverter-qt"
2. close the app window
3. you should see an access violation in the log

This was tested with the qt-pascal binding lazarus IDE library version qtpas 2.6.r61322, qt 5.13.2 and 5.14 and kdeframework 5.65 and 5.66.

mdalacu
16th January 2020, 14:32
Great! It's working correctly.



But the text "Audio constant quality level" is wrong. It should be changed to "Audio codec compression level".



FLAC is a lossless codec = the quality never changes.



Many thanks !I know it is a lossless codec and i know the text it is wrong but for a quick feature add implies to many changes.
I have searched for the process with "ps -ef | grep dmmed" ...nothing. :) The only difference is that i have reneamed the binary as it's gtk version...without the .qt part. I am not at a computer now to test this....

Sent from my EVR-L29 using Tapatalk

Bigmango
17th January 2020, 08:35
I have searched for the process with "ps -ef | grep dmmed" ...nothing. :) The only difference is that i have reneamed the binary as it's gtk version...without the .qt part. I am not at a computer now to test this....

Some more thoughts on this :

1. If after testing this, if you really don't have the issues, including with the strace output, then I guess it could be a bug with this qtpas library version or support of the new qt versions.

(this would require to report a bug to Lazarus with the log info I posted above).

2. A quick search on the Lazarus forum shows someone had a similar issue. The fix was that one line had to be modified in the code. (but as your code is closed source only you can look into this).

(anyway, I'm happy all is good with the gtk version).

Thanks!

mdalacu
20th January 2020, 06:27
Some more thoughts on this :

1. If after testing this, if you really don't have the issues, including with the strace output, then I guess it could be a bug with this qtpas library version or support of the new qt versions.

(this would require to report a bug to Lazarus with the log info I posted above).

2. A quick search on the Lazarus forum shows someone had a similar issue. The fix was that one line had to be modified in the code. (but as your code is closed source only you can look into this).

(anyway, I'm happy all is good with the gtk version).

Thanks!
Hei. I have tested it using strace, no problem.
On the virtual machine that i have made the qt5 binary i had to use the latest version of qt5pas, i have compiled from source. But on the machine that i have ran strace, ubuntu 19.10, i have the default one, from the repository.
close(14) = 0
stat("/home/mdalacu/.config/dmMediaConverter", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
open("/home/mdalacu/.config/dmMediaConverter/dmMediaConverter.ini", O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 14
flock(14, LOCK_EX|LOCK_NB) = 0
write(14, "[GENERAL]\nTakeScreenshot=1\nUseff"..., 6133) = 6133
close(14) = 0
stat("/home/mdalacu/.config/dmMediaConverter", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
open("/home/mdalacu/.config/dmMediaConverter/dmMediaConverter.ini", O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 14
flock(14, LOCK_EX|LOCK_NB) = 0
write(14, "[GENERAL]\nTakeScreenshot=1\nUseff"..., 6133) = 6133
close(14) = 0
stat("/home/mdalacu/.config/dmMediaConverter", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
open("/home/mdalacu/.config/dmMediaConverter/dmMediaConverter.ini", O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 14
flock(14, LOCK_EX|LOCK_NB) = 0
write(14, "[GENERAL]\nTakeScreenshot=1\nUseff"..., 6133) = 6133
close(14) = 0
stat("/home/mdalacu/.config/dmMediaConverter", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
open("/home/mdalacu/.config/dmMediaConverter/dmMediaConverter.ini", O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 14
flock(14, LOCK_EX|LOCK_NB) = 0
write(14, "[GENERAL]\nTakeScreenshot=1\nUseff"..., 6133) = 6133
close(14) = 0
stat("/home/mdalacu/.config/dmMediaConverter", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
open("/home/mdalacu/.config/dmMediaConverter/dmMediaConverter.ini", O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 14
flock(14, LOCK_EX|LOCK_NB) = 0
write(14, "[GENERAL]\nTakeScreenshot=1\nUseff"..., 6133) = 6133
close(14) = 0
stat("/home/mdalacu/.config/dmMediaConverter", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
open("/home/mdalacu/.config/dmMediaConverter/dmMediaConverter.ini", O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 14
flock(14, LOCK_EX|LOCK_NB) = 0
write(14, "[GENERAL]\nTakeScreenshot=1\nUseff"..., 6133) = 6133
close(14) = 0
stat("/home/mdalacu/.config/dmMediaConverter", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
open("/home/mdalacu/.config/dmMediaConverter/dmMediaConverter.ini", O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 14
flock(14, LOCK_EX|LOCK_NB) = 0
write(14, "[GENERAL]\nTakeScreenshot=1\nUseff"..., 6133) = 6133
close(14) = 0
stat("/home/mdalacu/.config/dmMediaConverter", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
open("/home/mdalacu/.config/dmMediaConverter/dmMediaConverter.ini", O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 14
flock(14, LOCK_EX|LOCK_NB) = 0
write(14, "[GENERAL]\nTakeScreenshot=1\nUseff"..., 6133) = 6133
close(14) = 0
stat("/home/mdalacu/.config/dmMediaConverter", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
open("/home/mdalacu/.config/dmMediaConverter/dmMediaConverter.ini", O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 14
flock(14, LOCK_EX|LOCK_NB) = 0
write(14, "[GENERAL]\nTakeScreenshot=1\nUseff"..., 6133) = 6133
close(14) = 0
stat("/home/mdalacu/.config/dmMediaConverter", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
open("/home/mdalacu/.config/dmMediaConverter/dmMediaConverter.ini", O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 14
flock(14, LOCK_EX|LOCK_NB) = 0
write(14, "[GENERAL]\nTakeScreenshot=1\nUseff"..., 6133) = 6133
close(14) = 0
stat("/home/mdalacu/.config/dmMediaConverter", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
open("/home/mdalacu/.config/dmMediaConverter/dmMediaConverter.ini", O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 14
flock(14, LOCK_EX|LOCK_NB) = 0
write(14, "[GENERAL]\nTakeScreenshot=1\nUseff"..., 6133) = 6133
close(14) = 0
stat("/home/mdalacu/.config/dmMediaConverter", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
open("/home/mdalacu/.config/dmMediaConverter/dmMediaConverter.ini", O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 14
flock(14, LOCK_EX|LOCK_NB) = 0
write(14, "[GENERAL]\nTakeScreenshot=1\nUseff"..., 6133) = 6133
close(14) = 0
stat("/tmp/dmMediaConverter_20200120_072120032/", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
open("/tmp/dmMediaConverter_20200120_072120032/", O_RDONLY|O_LARGEFILE) = 14
getdents64(14, /* 2 entries */, 4096) = 48
lstat("/tmp/dmMediaConverter_20200120_072120032/.", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
lstat("/tmp/dmMediaConverter_20200120_072120032/..", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=32768, ...}) = 0
getdents64(14, /* 0 entries */, 4096) = 0
close(14) = 0
rmdir("/tmp/dmMediaConverter_20200120_072120032/") = 0
munmap(0x7f17d2acf000, 32768) = 0
munmap(0x7f17d2ad7000, 32768) = 0
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
munmap(0x7f17d1826000, 16842752) = 0
munmap(0x7f17d2b46000, 4980736) = 0
munmap(0x7f17d3006000, 2686976) = 0
munmap(0x7f17d3296000, 32768) = 0
munmap(0x7f17d32ae000, 1048576) = 0
munmap(0x7f17d33f6000, 32768) = 0
munmap(0x7f17d329e000, 32768) = 0
munmap(0x7f17d350e000, 1048576) = 0
munmap(0x7f17d3656000, 32768) = 0
munmap(0x7f17d3776000, 32768) = 0
munmap(0x7f17d2849000, 32768) = 0
munmap(0x7f17d28ac000, 32768) = 0
munmap(0x7f17d378e000, 32768) = 0
munmap(0x7f17d4369000, 32768) = 0
munmap(0x7f17d40e1000, 32768) = 0
munmap(0x7f17d32a6000, 32768) = 0
munmap(0x7f17d2aaf000, 32768) = 0
munmap(0x7f17d2abf000, 32768) = 0
munmap(0x7f17d3666000, 1114112) = 0
munmap(0x7f17d364e000, 32768) = 0
munmap(0x7f17d2ac7000, 32768) = 0
munmap(0x7f17d292d000, 1052672) = 0
munmap(0x7f17d381e000, 32768) = 0
munmap(0x7f17d383e000, 32768) = 0
munmap(0x7f17d2b3e000, 32768) = 0
munmap(0x7f17d01c8000, 32768) = 0
access(NULL, F_OK) = -1 EFAULT (Bad address)
munmap(0x7f17d3826000, 32768) = 0
munmap(0x7f17d2ab7000, 32768) = 0
munmap(0x7f17d4361000, 32768) = 0
munmap(0x7f17d33fe000, 1114112) = 0
munmap(0x7f17d33ae000, 262144) = 0
munmap(0x7f17d37de000, 262144) = 0
munmap(0x7f17d3836000, 32768) = 0
munmap(0x7f17d379e000, 262144) = 0
munmap(0x7f17d377e000, 32768) = 0
munmap(0x7f17d3786000, 32768) = 0
munmap(0x7f17d365e000, 32768) = 0
munmap(0x7f17d360e000, 262144) = 0
munmap(0x7f17d4371000, 32768) = 0
munmap(0x7f17d6514000, 32768) = 0
munmap(0x7f17d4937000, 262144) = 0
munmap(0x7f17d652e000, 32768) = 0
munmap(0x7f17d6526000, 32768) = 0
munmap(0x7f17d651e000, 32768) = 0
munmap(0x7f17d01c0000, 32768) = 0
munmap(0x7f17d33ee000, 32768) = 0
munmap(0x7f17d3796000, 32768) = 0
munmap(0x7f17d382e000, 32768) = 0
exit_group(0) = ?
+++ exited with 0 +++

ReinerSchweinlin
26th March 2021, 20:10
Hi, i have rechecked and to my surprise now grain and animation profiles for x265 are present, so i have added them. ;)
I will not post a intermediate release, just wait for v2.4.1, it's around the corner..:-))

I just noticed I never thanked you for this.. so:
Thank you :)
(Email notification is broken)

Fishman0919
17th August 2021, 15:35
Could you add Burn-in Subs as an option Please. I like to burn in forced subs.

If this helps... It's a ffmpeg scrip I used for Avatar Ext.... I used MakeMKV to rip the video and audio with the "eng" and forced subs

without cropping...
"D:\ffmpeg\ffmpeg.exe" -i "G:\Avatar.2009.EXTENDED.1080p.BluRay.REMUX.mkv" -metadata title="Avatar" -filter_complex "[0:0][0:3]overlay[v]" -map "[v]" -c:v libx265...

with cropping...
"D:\ffmpeg\ffmpeg.exe" -i "G:\Avatar.2009.EXTENDED.1080p.BluRay.REMUX.mkv" -metadata title="Avatar" -filter_complex "[0:0][0:3]overlay[subbed];[subbed]crop=1916:1078:2:2[v]" -map "[v]" -c:v libx265...

ReinerSchweinlin
21st September 2021, 19:18
I have a small request:

When batch transcoding, would it be possible to set "autogain" so every audio is normalized?

Thanx for considering !

JeffStronger
10th October 2021, 19:40
Hello, where can I choose 10bit color rendition, with nvenc encoding?

Fishman0919
12th March 2022, 01:18
18062

Hello, where can I choose 10bit color rendition, with nvenc encoding?

-pix_fmt yuv420p10le

Put the above code in the "Params:" line and set profile to main10

mdalacu
8th November 2022, 09:19
18062



-pix_fmt yuv420p10le

Put the above code in the "Params:" line and set profile to main10
And you can save it as a profile for a later more convenient use. ;)

mdalacu
8th November 2022, 09:35
Hi! Version v2.4.6 is up. Some bugs fixed and a new metadata import options, useful for bulk convert when you need to preserve creation_time of files for example. It will import metadata from fist added file.
For windows look for dmMediaConverter_v2.4.6_w32_ff64.zip in drive folder.
For linux just overwrite de executable with the one in GDrive without extention.
http://dmsimpleapps.blogspot.com/2014/04/dmmediaconverter.html
Please provide feedback.
Thanks.
P.S. I highly recommend to use ffmpeg binarys form JellyFin media library.
https://repo.jellyfin.org/releases/server/windows/stable/ffmpeg/jellyfin-ffmpeg_5.1.2-4-windows_win64.zip
https://repo.jellyfin.org/releases/server/ubuntu/versions/jellyfin-ffmpeg/5.1.2-4/
For linux install the deb and create simlinks so the ffmpeg and ffprobe appear in the folder indicated in "Options/Latest".

mdalacu
9th November 2022, 07:39
I have a small request:

When batch transcoding, would it be possible to set "autogain" so every audio is normalized?

Thanx for considering !

It will be present in v2.5.0. ;)

https://i.ibb.co/MCqxLRP/image.png

ReinerSchweinlin
18th November 2022, 22:02
fantastic :) You are back :)

dmmediaconverter still is one of my favourites when it comes to fast & easy batch conversions.. Since I recently got an ARC770, I am looking into QSVENC now. Last time I cheched, QSVENC from rigaya was supperior in quality than the ffmpeg implementation - but if its en par now.... then I am looking forward to blazingly fast batch encoding with dmmeediaconverter ...

jones1913
21st November 2022, 19:01
I have a small request:

When batch transcoding, would it be possible to set "autogain" so every audio is normalized?

Thanx for considering !
It will be present in v2.5.0. ;)

Hi, another great addition would be a more fine control over bulk audio encoding.
For example:
Track 1 -> copy
Track 2 -> AC3
Track 3 -> AAC

It is currently not possible if im not mistaken.

Fishman0919
24th November 2022, 15:02
It would be nice to be able to use fdk-aac if the FFmpeg used contains it.

manolito
25th November 2022, 08:58
Hi Fishman,

long time no see, good to hear from you after a long time...

After a stroke last year I am no longer the smart person I used to be, but I try to find my way back step by step. And your request for the Fraunhofer AAC encoder for dmMediaConverter sounds pamiliar to me. This AAC codec is way better than the standard AAC encoder, it just cannot be included in standard distributions due to the incompatible Fraunhofer license.

The latest version with complete documentation is here:
https://files.videohelp.com/u/172211/dmMediaConverter.zip
And Reinoīs FFmpeg versions are here:
https://rwijnsma.home.xs4all.nl/files/ffmpeg/?C=M;O=D


Good luck and cheers
Manolito

mdalacu
25th November 2022, 10:47
Hi, another great addition would be a more fine control over bulk audio encoding.
For example:
Track 1 -> copy
Track 2 -> AC3
Track 3 -> AAC

It is currently not possible if im not mistaken.

Sorry, but this is not on my TODO list.
Way to much work to implement it.
Thanks

mdalacu
25th November 2022, 10:50
It would be nice to be able to use fdk-aac if the FFmpeg used contains it.

Search for dmMediaConverter.ini and in [GENERAL] section add this line or modify it to look like this:
AudioEnablelibFDK=1
Usually the configuration file is here:
c:\Users\xxx\AppData\Local\dmMediaConverter\Config\
I hope it helps.

Fishman0919
26th November 2022, 02:03
Search for dmMediaConverter.ini and in [GENERAL] section add this line or modify it to look like this:
AudioEnablelibFDK=1
Usually the configuration file is here:
c:\Users\xxx\AppData\Local\dmMediaConverter\Config\
I hope it helps.

Thank You... should have been the first place I looked :thanks:

Fishman0919
26th November 2022, 02:14
Hi Fishman,

long time no see, good to hear from you after a long time...

After a stroke last year I am no longer the smart person I used to be, but I try to find my way back step by step. And your request for the Fraunhofer AAC encoder for dmMediaConverter sounds pamiliar to me. This AAC codec is way better than the standard AAC encoder, it just cannot be included in standard distributions due to the incompatible Fraunhofer license.

I uploaded a quite recent version from Jan. 2022 here:
https://files.videohelp.com/u/172211/Fishman.zip
Some more info:
https://forum.doom9.org/showthread.php?p=1894872#post1894872

The slightly older version with complete documentation is here:
https://files.videohelp.com/u/172211/dmMediaConverter.zip
And Reinoīs FFmpeg versions are here:
https://rwijnsma.home.xs4all.nl/files/ffmpeg/?C=M;O=D


Good luck and cheers
Manolito

Nice hearing from you also... and Thank You for the links.

Sorry to hear about your stroke and glad you are doing better my friend.

The reason I ask is because I have been building my own FFmpeg with fdk-aac for awhile now and sometimes I just don't feel like writing a script for encoding a movie. I've been using dmMediaConverter for awhile and the only reason I stopped was the lack of fdk-aac support. I should have asked sooner or maybe just looked a little.

manolito
26th November 2022, 08:00
Thanks Fishman for the kind words... ;)

Maybe a short note about how I modified the original script to remove the default low cutoff frequeny of 14 kHz because I believe that the Fraunhofer codec handles HF up to 18 kHz just fine:


@ECHO off
REM Must be compiled in Console Mode

SET FF_DRIVE=%~d0
SET FF_PATH=%~p0
%FF_DRIVE%
CD "%FF_PATH%"


SET ORIGINAL=%*
ECHO.%ORIGINAL% | %SYSTEMROOT%\system32\FIND /C "libfdk_aac" /I
IF ERRORLEVEL 1 goto quit
SET ORIGINAL=%ORIGINAL:!=_$$§§$$_%
SETLOCAL EnableDelayedExpansion
FOR /L %%a IN (0,1,9) DO SET ORIGINAL=!ORIGINAL: -vbr:a:%%a 4 = -vbr:a:%%a 4 -cutoff 18000 !
FOR /L %%a IN (0,1,9) DO (
FOR %%b IN (128 160 192 224 256 320 384 448 512 576 640 768 960 1152 1344 1536) DO (
SET ORIGINAL=!ORIGINAL: -b:a:%%a %%bk = -b:a:%%a %%bk -cutoff 18000 !
)
)
Setlocal DisableDelayedExpansion
SET ORIGINAL=%ORIGINAL:_$$§§$$_=!%
:quit
_ffmpeg.exe %ORIGINAL% 2>&1


From the FFmpeg Wiki: https://trac.ffmpeg.org/wiki/Encode/AAC
Note: libfdk_aac defaults to a low-pass filter of around 14kHz (http://wiki.hydrogenaud.io/index.php?title=Fraunhofer_FDK_AAC#Bandwidth). If you want to preserve higher frequencies, use -cutoff 18000. Adjust the number to the upper frequency limit only if you need to; keeping in mind that a higher limit may audibly reduce the overall quality.

I use this setting for some time now without ever experiencing any problms.


Cheers
manolito

Fishman0919
26th November 2022, 17:55
Thanks Fishman for the kind words... ;)

Maybe a short note about how I modified the original script to remove the default low cutoff frequeny of 14 kHz because I believe that the Fraunhofer codec handles HF up to 18 kHz just fine:

@ECHO off
REM Muss im Console Modus kompiliert werden

SET FF_DRIVE=%~d0
SET FF_PATH=%~p0
%FF_DRIVE%
CD "%FF_PATH%"


SET ORIGINAL=%*
ECHO.%ORIGINAL% | %SYSTEMROOT%\system32\FIND /C "libfdk_aac" /I
IF ERRORLEVEL 1 goto quit
SET ORIGINAL=%ORIGINAL:!=_$$§§$$_%
SETLOCAL EnableDelayedExpansion
FOR /L %%a IN (0,1,9) DO SET ORIGINAL=!ORIGINAL: -vbr:a:%%a 4 = -vbr:a:%%a 4 -cutoff 18000 !
FOR /L %%a IN (0,1,9) DO (
FOR %%b IN (128 160 192 224 256 320 384 448 512 576 640 768 960 1152 1344 1536) DO (
SET ORIGINAL=!ORIGINAL: -b:a:%%a %%bk = -b:a:%%a %%bk -cutoff 18000 !
)
)
Setlocal DisableDelayedExpansion
SET ORIGINAL=%ORIGINAL:_$$§§$$_=!%
:quit
_ffmpeg.exe %ORIGINAL% 2>&1


From the FFmpeg Wiki: https://trac.ffmpeg.org/wiki/Encode/AAC
Note: libfdk_aac defaults to a low-pass filter of around 14kHz (?details). If you want to preserve higher frequencies, use -cutoff 18000. Adjust the number to the upper frequency limit only if you need to; keeping in mind that a higher limit may audibly reduce the overall quality.

I use this setting for some time now without ever experiencing any problms.


Cheers
manolito

Thank You kind sir.... :thanks:

manolito
10th January 2023, 08:40
It will be present in v2.5.0. ;)

https://i.ibb.co/MCqxLRP/image.png


This post is over 2 months old, any ETA for v2.5.0?


One thing I could not figure out. Is there an easy way to add chapters (only simple chapters after a fixed time) within dmMediaConverter? I cannot find any option to do that, so I always use a different software (MkvToolNix) to achieve this in another conversion step.


Thanks again for this very useful software, I use it almost every day...

Cheers
manolito

mdalacu
11th January 2023, 08:25
This post is over 2 months old, any ETA for v2.5.0?


One thing I could not figure out. Is there an easy way to add chapters (only simple chapters after a fixed time) within dmMediaConverter? I cannot find any option to do that, so I always use a different software (MkvToolNix) to achieve this in another conversion step.


Thanks again for this very useful software, I use it almost every day...

Cheers
manolito

Hi. Sorry but no chapter editor yet...i have never used chapters ...:o
Please test autogain and provide feedback.
Just overwrite the exe file with "dmmediaconverter.exe" from here:
https://drive.google.com/drive/folders/0B1MiTYJef5a9TG9kMC04WWE3YkU?resourcekey=0-FSrK63MmseEb3RZBIYGg9A&usp=sharing
Thx

manolito
11th January 2023, 17:48
Hi. Sorry but no chapter editor yet...i have never used chapters ...:o

I do need chapters to make up for some stupid players which provide no way to navigate within longer clips.


Please test autogain and provide feedback.

Not sure what exactly you want me to test...
I tested three different clips. First I let the software determine the peak levels and determine the correction value. Then I started the encode and grabbed the ffmpeg command line. The results were identical for all three source files between the latest test version and the older version 2.4.1 . Hope this helps...


Cheers
manolito

mdalacu
11th January 2023, 18:06
I do need chapters to make up for some stupid players which provide no way to navigate within longer clips.



Not sure what exactly you want me to test...
I tested three different clips. First I let the software determine the peak levels and determine the correction value. Then I started the encode and grabbed the ffmpeg command line. The results were identical for all three source files between the latest test version and the older version 2.4.1 . Hope this helps...


Cheers
manolito
Hi!
Just to be clear, we are talking about Bulk mode, right?
Thanks!

manolito
12th January 2023, 07:59
Hi!
Just to be clear, we are talking about Bulk mode, right?
Thanks!

Sorry, no we donīt. I have never used Bulk Mode, I simply have no use for it...


Cheers
manolito

mdalacu
12th January 2023, 09:27
Sorry, no we donīt. I have never used Bulk Mode, I simply have no use for it...


Cheers
manolito

A..ok. Auto gain in bulk mode was requested some posts up. It basically normalize all the audio files and you can put an offset to it if you want.

Regarding chapters i will think of something...
Until then you can edit an text file and add the metadata to the output file.

The file should be formated like the one from attachment.
Addit to source files and then put in "More" at "Other Out", "map_chapters 1" Where 1 is the index of the source file, the metadata txt file that you add it.
It is convoluted, i know.

mdalacu
12th January 2023, 16:09
I have a small request:

When batch transcoding, would it be possible to set "autogain" so every audio is normalized?

Thanx for considering !

Hi. Could you test the requested functionality and provide some feedback please?
Use the file from a couple of posts up.
Thanks.

manolito
13th January 2023, 12:23
Regarding chapters i will think of something...
Until then you can edit an text file and add the metadata to the output file.

The file should be formated like the one from attachment.
Addit to source files and then put in "More" at "Other Out", "map_chapters 1" Where 1 is the index of the source file, the metadata txt file that you add it.
It is convoluted, i know.

Thanks, but your attachment has not been approved so far. Please correct me if I am wrong, but AFAIK FFmpeg uses a very different method to name chapter points than most othere methods I am aware of.

The FFmpeg chapter points are based on frame numbers while all other methods I am aware of are based on absolute time codes. This makes the FFmpeg method hard to use, the chapter point values will change whenever source and target fps are not identical, and for variable frame rate clips this is a total nightmare.

The other methods I am aware of use absolute time stamps for the chapters which are independent from the frame rate. Much easier to handle.

MkvToolNix can use either fixed chapters at a defined time distance, or it can use chapter files in either the OGM or the XML format. For my needs the simple OGM format is all I need.

So I think that you should not waste any time on implementing chapters in dmMediaConverter, use the existing implementations instead...

Cheers
manolito

mdalacu
13th January 2023, 14:15
Thanks, but your attachment has not been approved so far. Please correct me if I am wrong, but AFAIK FFmpeg uses a very different method to name chapter points than most othere methods I am aware of.

The FFmpeg chapter points are based on frame numbers while all other methods I am aware of are based on absolute time codes. This makes the FFmpeg method hard to use, the chapter point values will change whenever source and target fps are not identical, and for variable frame rate clips this is a total nightmare.

The other methods I am aware of use absolute time stamps for the chapters which are independent from the frame rate. Much easier to handle.

MkvToolNix can use either fixed chapters at a defined time distance, or it can use chapter files in either the OGM or the XML format. For my needs the simple OGM format is all I need.

So I think that you should not waste any time on implementing chapters in dmMediaConverter, use the existing implementations instead...

Cheers
manolito

Hi!
This was in atachment:

;FFMETADATA1
[CHAPTER]
TIMEBASE=1/1000000000
START=0
END=1200000000
title=TitleXXX
[CHAPTER]
TIMEBASE=1/1000000000
START=1200000000
END=25500000000
title=title2
[CHAPTER]
TIMEBASE=1/1000000000
START=25500000000
END=60200000000
title=title3

So, it is time based in ffmpeg, no worry here.
As far as i can see ffmpeg does not support sub chapters...Chapters in chapters. Is something that is used in real world?
Another thing that does not make sense for me is end time of a chapter.
Can chapter be interlaced and not sequential?
Thx

mdalacu
17th January 2023, 14:59
I do need chapters to make up for some stupid players which provide no way to navigate within longer clips.

Cheers
manolito

Hi manolito.
I have implemented a basic chapter editor.
Please test it an tell me how it fits your workflow. Is it any good?
You can
1. Drop chapter information
2. Copy chapters from another file or the same file
3. Manual add chapters or import them from a source file and than edit them.
FFMPEG does not support sub-chapters.

Just redownload dmMediaConverter.exe from here:
https://drive.google.com/file/d/1g93HGhtJWNc4pr4w_fIQ6LA-DeYLf6jh/view?usp=sharing

Thank you.

manolito
18th January 2023, 13:00
Hi Marius,

spent some time this morning with your latest test version, a little rough at the edges, but much potential... :D

I did not test the first option "Drop Chapters Information". Which format does this option expect for the chacters?

The second option did not do much for my needs, too.

The last option "Manual Add Chapters" is probably the one I need. Scrolling through source video and select chapter points visually is very useful and works well. The feature I miss is a very simple option "Create Chapter every XX minutes". Should be easy to add such an option.


Otherwise there are some stability issues, it was easy to crash the software by clicking an option which was not supported in this mode. But the worst what happened was that the software shut itself down, no corrupted HDD or worse.

Also a few times after the conversion had finished, the software shut itself down. But the conversion result was fine, so I am not sure if this new behavior is intentional...

One cosmetic thing I noticed was an incomplete chapter result in MediaInfo. The chapter times were displayed, but the fields for the chapter numbers were empty. No big deal.


I believe this chapters feature will be very useful, thanks again.

Cheers
manolito

mdalacu
18th January 2023, 15:47
Hi Marius,

spent some time this morning with your latest test version, a little rough at the edges, but much potential... :D

I did not test the first option "Drop Chapters Information". Which format does this option expect for the chacters?

The second option did not do much for my needs, too.

The last option "Manual Add Chapters" is probably the one I need. Scrolling through source video and select chapter points visually is very useful and works well. The feature I miss is a very simple option "Create Chapter every XX minutes". Should be easy to add such an option.


Otherwise there are some stability issues, it was easy to crash the software by clicking an option which was not supported in this mode. But the worst what happened was that the software shut itself down, no corrupted HDD or worse.

Also a few times after the conversion had finished, the software shut itself down. But the conversion result was fine, so I am not sure if this new behavior is intentional...

One cosmetic thing I noticed was an incomplete chapter result in MediaInfo. The chapter times were displayed, but the fields for the chapter numbers were empty. No big deal.


I believe this chapters feature will be very useful, thanks again.

Cheers
manolito

Hi! Thank you for testing this!
Drop means that ffmpeg will not do the default behavior and copy chapter information from the first source file, but discard all chapters, basically output file will have no chapters information.
Please redownload from the same source and test it again, if this stability of the software is ok now.
I will think of something in the following weeks about adding this option to add chapters every X seconds.
There is no field in ffmpeg regarding chapter number, it is done automatically by ffmoeg.
Thanks and waiting four your feedback. ;)

manolito
19th January 2023, 14:32
Hi! Thank you for testing this!
Drop means that ffmpeg will not do the default behavior and copy chapter information from the first source file, but discard all chapters, basically output file will have no chapters information.


Thanks for the clarification, I completely misinterpreted the meaning of this option. When I saw the word "Drop" I saw it as "Drag and Drop" and looked for information how to take chapter information from a separate file and drop it on the "Drop" field. Sorry for my misinterpretation.

Otherwise the previous instability has been fixed, thanks. I believe that the last "Manual Add Chapters" could be simplified a little bit. IMO chapter end points should be omitted, a chapter always ends when the next chapter begins or EOF is reached. And the "Chapter Name" field could be populated automatically with something like "Chapter 01" where the chapter number is generated automatically.


Cheers
manolito

ReinerSchweinlin
23rd January 2023, 13:17
Hi. Could you test the requested functionality and provide some feedback please?
Use the file from a couple of posts up.
Thanks.

Hi,

sorry, mail notification does not work, so I did see the post just now...
I will check and get back :)

Thanx!
Regards

mdalacu
23rd January 2023, 17:03
Thanks for the clarification, I completely misinterpreted the meaning of this option. When I saw the word "Drop" I saw it as "Drag and Drop" and looked for information how to take chapter information from a separate file and drop it on the "Drop" field. Sorry for my misinterpretation.

Otherwise the previous instability has been fixed, thanks. I believe that the last "Manual Add Chapters" could be simplified a little bit. IMO chapter end points should be omitted, a chapter always ends when the next chapter begins or EOF is reached. And the "Chapter Name" field could be populated automatically with something like "Chapter 01" where the chapter number is generated automatically.


Cheers
manolito
Hi Manolito! :-)
I will not remove END times column but it is not required to be completed. The app will do it automatically.
I have added the option to auto add chapter names.
If you insert new chapters, since the list is sorted, chapter names could become mangled. So right click on the list and choose "Remove chapter names" and then choose "Auto complete chapter names" and all will be in proper order.
Also, there you will find two new functions. ;)
The beauty of it is that all of this can be use in Bulk mode!
Please, test it and provide me some much appreciated feedback.
Thank you!
Just redownload the exe file.

mdalacu
23rd January 2023, 17:09
Hi,

sorry, mail notification does not work, so I did see the post just now...
I will check and get back :)

Thanx!
Regards

Hey! No problem! :-)
Waiting for your feedback ;)
Thank you!

manolito
23rd January 2023, 23:39
Hi Marius,

so far I only had time for a couple of test conversions using my preferred mode of one chapter every 300 or 360 seconds (every 5 or 6 minutes), and this worked perfectly for a couple of source files. Output was either MKV or MP4, no problems with either of these formats.

I believe that this version is a winner, IMO ready for prime time. Maybe others will find some issues, but for me it is time to remove MkvToolNix from my standard conversion chain.


Thank you so much from a happy customer.

Cheers
manolito

ReinerSchweinlin
25th January 2023, 08:28
Hey! No problem! :-)
Waiting for your feedback ;)
Thank you!
I took a DVD out of the shelf with a few audiotracks on them, commentary being very low on volume and AC3 Formats. Good candidate for a test. So tossed it into batch mode window.

All went well. Scanning the Audio Tracks takes a little, after that the job is added to the qeue and is good to go and finishes as expected:
https://forum.doom9.org/attachment.php?attachmentid=18299&stc=1&d=1674631436

I was wondering about the speed, it was roughly 9x realtime on a 1950 Threaripper with a SATA SSD - with the video simply copied and three AC3 Audio Streams being converted to AAC. This could be faster I guess, but if any, thats an ffmpeg issue and at the end it doesnīt matter a lot. Its working :)

Thanx for this great addition !! It makes batch encoding even more useful on your nice tool :)

I just got a new GEN30 Nvidia Card and was toying with the NVENC Encoders. I am used to NVENCC user interfaces and options - not sure about the ffmpeg options, which I beleive are different syntax and settings. Could you take a look at the dropdown options for nvenc encoding ? AFAIK the options listed are outdated.

Thanx!

ReinerSchweinlin
25th January 2023, 10:26
I did prepare a preset for batch encoding with x264 set to Q=23. While encoding, the status line shows "Q=28". Some mixup with my ffmpeg versions?
https://forum.doom9.org/attachment.php?attachmentid=18300&stc=1&d=1674638634

Addition: Checked the resulting file with mediainfo - it reports Q crf=23 .....

Name=V. Dimension20
V_CB_Encoder_index=0
V_CB_Framerate_index=0
V_RG_Enc_Type_index=0
V_TB_RF_position=23
V_ChkB_2pass_checked=0
V_ChkB_Turbo1P_checked=0
V_h264_Preset_index=8
V_h264_Tune_index=0
V_h264_Profile_index=0
V_h264_Level_index=0
V_h264_Params_text=
V_SE_Bitrate_Value=800
V_Filter=scale=-2:720
PS_ChkB_Deinterlace_Checked=0
PS_ChkB_Deshake_Checked=0
PS_ChkB_Grayscale_Checked=0
PS_ChkB_Crop_Checked=0
PS_SE_Crop_UP_Value=0
PS_SE_Crop_DOWN_Value=0
PS_SE_Crop_LEFT_Value=0
PS_SE_Crop_RIGHT_Value=0
PS_ChkB_Scale_Checked=1
PS_SE_Scale_Height_Value=720
PS_SE_Scale_Width_Value=-2
PS_CB_Rotate_ItemIndex=0
PS_TB_Screenshot_Position=33
PS_Edt_MoreFilters_Text=
PS_Sub_ChkB_Burn_Checked=0
PS_Sub_SG_Row=0
PS_Sub_CB_Charenc_ItemIndex=0
PS_Sub_Edt_original_size_Text=
PS_Sub_Edt_force_style_Text=
PS_WM_ChkB_Burn_Checked=0
PS_WM_SG_Row=0
PS_WM_Edt_seek_Text=
PS_WM_Edt_loop_Text=
PS_WM_SE_overlayTop_Value=0
PS_WM_SE_overlayLeft_Value=0
PS_WM_SE_scaleWidth_Value=-1
PS_WM_SE_scaleHeight_Value=-1
PS_EQ_ChkB_EQ_Checked=0
PS_EQ_TB_Contrast_Position=100
PS_EQ_TB_Brightness_Position=0
PS_EQ_TB_Saturation_Position=100
PS_EQ_TB_Gamma_Position=100
PS_EQ_TB_GammaR_Position=100
PS_EQ_TB_GammaG_Position=100
PS_EQ_TB_GammaB_Position=100
PS_EQ_TB_GammaWeight_Position=100

mdalacu
25th January 2023, 15:26
Hi Marius,

so far I only had time for a couple of test conversions using my preferred mode of one chapter every 300 or 360 seconds (every 5 or 6 minutes), and this worked perfectly for a couple of source files. Output was either MKV or MP4, no problems with either of these formats.

I believe that this version is a winner, IMO ready for prime time. Maybe others will find some issues, but for me it is time to remove MkvToolNix from my standard conversion chain.


Thank you so much from a happy customer.

Cheers
manolito
Thank you again Manolito! :-)

mdalacu
25th January 2023, 15:27
I took a DVD out of the shelf with a few audiotracks on them, commentary being very low on volume and AC3 Formats. Good candidate for a test. So tossed it into batch mode window.

All went well. Scanning the Audio Tracks takes a little, after that the job is added to the qeue and is good to go and finishes as expected:
https://forum.doom9.org/attachment.php?attachmentid=18299&stc=1&d=1674631436

I was wondering about the speed, it was roughly 9x realtime on a 1950 Threaripper with a SATA SSD - with the video simply copied and three AC3 Audio Streams being converted to AAC. This could be faster I guess, but if any, thats an ffmpeg issue and at the end it doesnīt matter a lot. Its working :)

Thanx for this great addition !! It makes batch encoding even more useful on your nice tool :)

I just got a new GEN30 Nvidia Card and was toying with the NVENC Encoders. I am used to NVENCC user interfaces and options - not sure about the ffmpeg options, which I beleive are different syntax and settings. Could you take a look at the dropdown options for nvenc encoding ? AFAIK the options listed are outdated.

Thanx!
Hi. I can not see the picture...attachment pending approval ... since this morning.

mdalacu
25th January 2023, 15:27
I did prepare a preset for batch encoding with x264 set to Q=23. While encoding, the status line shows "Q=28". Some mixup with my ffmpeg versions?
https://forum.doom9.org/attachment.php?attachmentid=18300&stc=1&d=1674638634

Addition: Checked the resulting file with mediainfo - it reports Q crf=23 .....

I think it is the difference between quantization and CRF

ReinerSchweinlin
27th January 2023, 09:39
Hi. I can not see the picture...attachment pending approval ... since this morning.
Its only a screenshot of two audiotracks, one being louder than the other :)
bottom Line: Auto gain of multiple channels in batch mode works :)

mdalacu
27th January 2023, 14:23
Its only a screenshot of two audiotracks, one being louder than the other :)
bottom Line: Auto gain of multiple channels in batch mode works :)

Great!

manolito
31st January 2023, 11:45
Hi Marius,

after testing this latest version I believe that I found a nasty little bug. Took me a while to get a grip on it... :rolleyes:

It happens whenever I encode more than 1 source file in one job, video is copied, audio is reencoded. And I create simple chapters spaced at a 6 minute distance. It does not matter which audio encoder I use. It also makes no difference if I work in normal mode or in bulk mode.

The problem always occurs when the next source file in the queue is shorter than the previous file (so it will end up with less chapter points than the previous file). In such cases the number of created chapters will be the same for the first (longer) file as the number of chapters for the next (shorter) file.

What fixes this is to change the order of the files in the queue so that the shortest files will be processed before the longer files.

I hope that my explanation is clear enough. A short screenshot video would be easier to understand, but my computer skills are no longer up to this.


Cheers
manolito

mdalacu
31st January 2023, 12:55
Hi Marius,

after testing this latest version I believe that I found a nasty little bug. Took me a while to get a grip on it... :rolleyes:

It happens whenever I encode more than 1 source file in one job, video is copied, audio is reencoded. And I create simple chapters spaced at a 6 minute distance. It does not matter which audio encoder I use. It also makes no difference if I work in normal mode or in bulk mode.

The problem always occurs when the next source file in the queue is shorter than the previous file (so it will end up with less chapter points than the previous file). In such cases the number of created chapters will be the same for the first (longer) file as the number of chapters for the next (shorter) file.

What fixes this is to change the order of the files in the queue so that the shortest files will be processed before the longer files.

I hope that my explanation is clear enough. A short screenshot video would be easier to understand, but my computer skills are no longer up to this.


Cheers
manolito
You are right and it just hit me why it behaves like this..
I will try to find an workaround since it is indeed nasty ..to solve!
Thanks for this!

mdalacu
31st January 2023, 13:21
@Manolito,
Please redownload and test the same scenario.
Does the problem persist?
Thanks!

manolito
31st January 2023, 21:42
Thanks for the new version, that was fast...

Did a few tests, clever idea to change the internal file sort order temporarily. Could not break it so far, very clever.

In normal Convert mode it can get a little confusing when after the settings for the first file are done and I load the next source file, all of a sudden the file order in the "Load File" dialog has changed. But I can live with this.

I tried to confuse the software in the standard "Convert" mode by manually changing the chapter distance for the last (longer) source file to a much higher distance between chapters so creating much less chapters. But this did not break the chapter creating for the other source files at the beginning of the queue.


Thanks very much for the quick fix... :D

Cheers
manolito

manolito
1st February 2023, 18:00
...all of a sudden the file order in the "Load File" dialog has changed.

Sorry for the alarm, it turned out that this is a one-time thing... :o

It only happens after the first start. In the "Load File" dialog you can change back the sort order to your preferred setting, the change will stick (even survive a reboot), and entering a different sort order or changing it back to the previous setting will not reintroduce the old error of skipped chapter points.

So sorry for the false alarm, everything is cool... :D

Cheers
manolito

mdalacu
1st February 2023, 18:54
Thanks for the new version, that was fast...

Did a few tests, clever idea to change the internal file sort order temporarily. Could not break it so far, very clever.

In normal Convert mode it can get a little confusing when after the settings for the first file are done and I load the next source file, all of a sudden the file order in the "Load File" dialog has changed. But I can live with this.

I tried to confuse the software in the standard "Convert" mode by manually changing the chapter distance for the last (longer) source file to a much higher distance between chapters so creating much less chapters. But this did not break the chapter creating for the other source files at the beginning of the queue.


Thanks very much for the quick fix... :D

Cheers
manolito
I am glad that fix worked!
Thank you!

ReinerSchweinlin
10th February 2023, 11:53
Great!

Audio encoding: I just noticed one thing: When encoding from a 6.1 FLAC file to AAC, the bitrate in the stream still has the original value in the resulting file. After remuxing it with mkvtoolnix, the bitrate is written correctly in the header. Its just a minor thing, maybe easy to fix.

mdalacu
10th February 2023, 19:48
Audio encoding: I just noticed one thing: When encoding from a 6.1 FLAC file to AAC, the bitrate in the stream still has the original value in the resulting file. After remuxing it with mkvtoolnix, the bitrate is written correctly in the header. Its just a minor thing, maybe easy to fix.

Can you provide an small sample file to test?
What version of ffmpeg are you using?
Thanks.

mdalacu
14th February 2023, 09:47
New version is up and published! V2.5.5
Also there is a new site:
https://sites.google.com/site/dmsimpleapps/dmMediaConverter

Changelog:
- New Chapter Editor!
You can drop or copy chapter information form another source. Also you can manaully add chapters.
Chaptes autonaming.
End times are not needed.
Autocreate chapters by divide in X parts or evenly spaced (X seconds) using an offset.
It also works in Bulk mode!
- Split - create split points from embedded chapters
- Auto gain for audio stream in Bulk mode! An offset can be applied.
- A new Output window. Some colors added for better view of errors.
- AV1 STV encoder initial support.
- New About window.
- Added Donate button. I encourage you to use it! ;) Thank you! :-)
- Some bugs fixed.


I hope you will enjoy it and please, provide feedback!
Thank you!:D

manolito
15th February 2023, 08:57
Hi Marius,

thank you so much for the latest stable version. Took the time to test it with my usual tasks, no problem whatsoever (looks pretty much identical to the previous beta version)... :cool:

I took the occasion to update my personal edition of your software to the latest version, take a look here:
https://forum.doom9.org/showthread.php?p=1979037#post1979037

This is for older hardware, 32bit only, includes the libfdk encoder by Fraunhofer (plus a few tweaks). Scroll down a few posts from this one for more details...


Thanks again and cheers
Manolito

mdalacu
15th February 2023, 19:35
Thank you Manolito![emoji846]

Sent from my EVR-L29 using Tapatalk

ReinerSchweinlin
13th April 2023, 22:12
I need some help...

I wanted to batch encode some files with multiple different audio stream, different channel counts, etc... The implemented "bitrate per channel" and autogain for all channels comes in handy.

So far, so good.

Now I wanted to use AAC HE V2 with FDK... Enabled it in the .ini file - with AAC LC its running fine...

But I canīt get it to use HE V2... Where do I put which argument in what format? I tried all format styles, it always fails..

Edit: I recall you bundled ffmpeg with FDK included.... Maybe I am mistaken and I have to get a seperate compile? If so, any hints? Since I got an AVX512 CPU - I wouldnīt mind an AVX512 compile (but this is really only a very much nice to have thingy.... wouldnīt help with Audio encoding anyway...)

manolito
14th April 2023, 04:39
Hi Reiner,

to make LibFDK work under dmMediaConverter you need to edit its INI File first. Have a look at this post by mdalacu and waybe the following posts by myself:

https://forum.doom9.org/showthread.php?p=1979042#post1979042

Good luck
Manolito

mdalacu
14th April 2023, 15:18
I need some help...

I wanted to batch encode some files with multiple different audio stream, different channel counts, etc... The implemented "bitrate per channel" and autogain for all channels comes in handy.

So far, so good.

Now I wanted to use AAC HE V2 with FDK... Enabled it in the .ini file - with AAC LC its running fine...

But I canīt get it to use HE V2... Where do I put which argument in what format? I tried all format styles, it always fails..

Edit: I recall you bundled ffmpeg with FDK included.... Maybe I am mistaken and I have to get a seperate compile? If so, any hints? Since I got an AVX512 CPU - I wouldnīt mind an AVX512 compile (but this is really only a very much nice to have thingy.... wouldnīt help with Audio encoding anyway...)

Hi! I am sorry but i don't have any ideea.
Trying to make their example just fails.
https://trac.ffmpeg.org/wiki/Encode/AAC
I have trying using one of the latest ffmpeg which has libfdk_aac without dmMediaConverter...it fails.
In dmmediaconverter you need to put this option "-profile:a aac_he_v2" in "More"..."Other Out". But it is not working.


D:\Filme\t>"D:\Programare\Lazarus\dmMediaConverter\bin\i386-win32\ffmpeg.exe" -i VID_20220713_222416.mp4 -vn -c:a libfdk_aac -profile:a aac_he_v2 -b:a 32k output.m4a
ffmpeg version 5.1.2-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 10-win32 (GCC) 20220324
configuration: --prefix=/opt/ffmpeg --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --pkg-config=pkg-config --pkg-config-flags=--static --extra-libs='-lfftw3f -lstdc++' --extra-cflags=-DCHROMAPRINT_NODLL --extra-version=Jellyfin --disable-ffplay --disable-debug --disable-doc --disable-sdl2 --disable-ptx-compression --disable-w32threads --enable-pthreads --enable-shared --enable-lto --enable-gpl --enable-version3 --enable-schannel --enable-iconv --enable-libxml2 --enable-zlib --enable-lzma --enable-gmp --enable-chromaprint --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libwebp --enable-libvpx --enable-libzimg --enable-libx264 --enable-libx265 --enable-libsvtav1 --enable-libdav1d --enable-libfdk-aac --enable-opencl --enable-dxva2 --enable-d3d11va --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
libavutil 57. 28.100 / 57. 28.100
libavcodec 59. 37.100 / 59. 37.100
libavformat 59. 27.100 / 59. 27.100
libavdevice 59. 7.100 / 59. 7.100
libavfilter 8. 44.100 / 8. 44.100
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
libpostproc 56. 6.100 / 56. 6.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'VID_20220713_222416.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2022-07-13T19:24:16.000000Z
com.android.version: 10
Duration: 00:00:48.24, start: 0.000000, bitrate: 15879 kb/s
Stream #0:0[0x1](eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080, 15552 kb/s, SAR 1:1 DAR 16:9, 29.68 fps, 29.75 tbr, 90k tbn (default)
Metadata:
creation_time : 2022-07-13T19:24:16.000000Z
handler_name : VideoHandle
vendor_id : [0][0][0][0]
Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 192 kb/s (default)
Metadata:
creation_time : 2022-07-13T19:24:16.000000Z
handler_name : SoundHandle
vendor_id : [0][0][0][0]
File 'output.m4a' already exists. Overwrite? [y/N] y
Stream mapping:
Stream #0:1 -> #0:0 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[libfdk_aac @ 000001c6ed87d6c0] Unable to set the AOT 29: Invalid config
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!

manolito
15th April 2023, 04:52
To me this looks like a prime example of Newer not always being better... :D

If you do not care for 32-bit builds which work under WinXP I recommend the 64-bit builds by Shertya. The latest builds are from December 2022, get them here:

https://forum.doom9.org/showthread.php?p=1928433#post1928433

Scroll down to the lower third of the page to find the links. Download both the 64-bit versions of ffmpeg and libfdk.

On my Win7 computer this combination works perfectly.


Cheers
manolito

tebasuna51
15th April 2023, 11:24
... But it is not working.

...ffmpeg -i VID_20220713_222416.mp4 -vn -c:a libfdk_aac -profile:a aac_he_v2 -b:a 32k output.m4a
...
Stream #0:1[0x2](eng): Audio: aac (LC), 48000 Hz, stereo, fltp, 192 kb/s
...
[libfdk_aac @ 000001c6ed87d6c0] Unable to set the AOT 29: Invalid config
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

Try with greater bitrate or -vbr 1

ReinerSchweinlin
16th April 2023, 16:44
Hi Manolito


to make LibFDK work under dmMediaConverter you need to edit its INI File first. ----

This I did of course, see my post. Without any parameters, libfdk runs fine with lc profile - turning on the HE and HE2 Profiles gives me trouble.

I of course also did try some different ffmpeg compiles, some of the ones you mentioned, old ones I found on my HD...


Hi! I am sorry but i don't have any ideea.
Trying to make their example just fails.
https://trac.ffmpeg.org/wiki/Encode/AAC
I have trying using one of the latest ffmpeg which has libfdk_aac without dmMediaConverter...it fails.
In dmmediaconverter you need to put this option "-profile:a aac_he_v2" in "More"..."Other Out". But it is not working.

Thanx for confirming - Just like you I put the argument in exactly that syntax in both places you mentioned - no luck.
The error I get is:

Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (flac (native) -> aac (libfdk_aac))
Stream #0:2 -> #0:2 (copy)
Press [q] to stop, [?] for help
[AVFilterGraph @ 0795b300] No such filter: '-profile:a aac_he_v2'
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:1
Conversion failed!

no matter the input format - the error message always includes "no such filter".... So it looks like the argument was interpreted as a filter - thats why I thought I probably messed up some syntax first...

behaviour is the same, no matter the ffmpeg compile I use, whether I use batch or single...

thanx for your help !

ReinerSchweinlin
17th April 2023, 12:49
To me this looks like a prime example of Newer not always being better... :D

If you do not care for 32-bit builds which work under WinXP I recommend the 64-bit builds by Shertya. The latest builds are from December 2022, get them here:

https://forum.doom9.org/showthread.php?p=1928433#post1928433

Scroll down to the lower third of the page to find the links. Download both the 64-bit versions of ffmpeg and libfdk.

On my Win7 computer this combination works perfectly.


Thanx for the suggestions. I too remember that in previous versions this used to work (old installation not existing anymore, so I canīt look up how I did it in the past...).

Unfortunately, trying your linked compiles did not resolve the issue on my side.

I tried:

- enabling FDKAAC in the ini file.
- adding "-profile:a aac_he_v2" in the encode tab - or the settings "out" tab - or both....
- using the bundled ffmpeg that came with the latest windows version of dmmencoder (downloaded a few days ago).
- swapping it for several different compiles from your list, browsed the net for alterantives...

resulting in:

- FDK is being used - and as long as I donīt set any further arguments - its being used. AAC-LC working fine in al variants..
- as soon as "-profile:a aac_he_v2" is given - the jobs instantly crash with the same error message (filter not found).

Either I am missing something completely obvious - or something seems broken here.

manolito
18th April 2023, 07:48
So far I never used AAC-HE, but after you made me curious, I did try my luck. And despite my slightly crippled brain I got it workin on my first try... :p

I used Reinoīs latest 32 bit version, but I think it should work on other 64-bit versions.
(EDIT: Tested with the latest Shertya 64-bit version, works fine)
Here is what you need to do:

You already did enable FDKAAC in the INI file.

"-profile:a aac_he_v2" needs to be added under the "More" button at the lower right of the dmMediaEncodee main window.
Under the "Other OUT" tab the command "-profile:a aac_he_v2" needs to be added (without the quotes).

Do not enter the identical command into the "More" field under "Stream Settings" in the main window.

This worked for me without any issues for several files. I used "Bitrate" as well as "Constant Quality" modes, no problems whatsoever.


Good luck
manolito

ReinerSchweinlin
19th April 2023, 18:42
Thanx...

Thats exactly what I did before...

I get the same error messages like the ones in this post:
https://forum.doom9.org/showthread.php?p=1985831#post1985831

as soon as I do NOT set AAC-HE-V2 - its all fine..... FDK AAC LC is working ...

What version of DMM are u using? The latest one or yn older one or your modified "XP Build" ?

manolito
20th April 2023, 10:10
Tested again with different sources, still no problems...

I uploaded the results with all relevant information here:
Link expired...

If your audio is in any other format than stereo, see this note in the WIKI:
Note: HE-AAC version 2 only handles stereo. If you have mono, or want to down-mix to mono, use HE-AAC version 1.
In such cases you need to use the example from the file "Main Page 2.jpg".

My version of DMM is the latest official one. I just cleaned up the folder which has FFmpeg in it, I did not want to have any leftovers of the included FFmpeg version (which is the shared version). Look at the screenshot...

I think I already mentioned that I am under Win7, and this will not change any time soon.


Good luck
manolito

ReinerSchweinlin
16th May 2023, 08:25
Sorry for the late reply - I donīt get mail notifications, so I have to check manually for new responses and I am very busy at work at the moment - so I didnīt have time to investigate the issue further so far.
I appreciate your help, many thanx for aiding me! I will take a look at the issue once my schedule clears up and will get back then.

manolito
16th January 2024, 05:22
Looks like the current version 2.5.5 is no longer available for free, at least not for Windows...:mad: No idea if this is an oversight or if it was changed on purpose.

Whatever, for anyone who needs it, I still have it on my VideoHelp folder. Here is the link:

https://files.videohelp.com/u/172211/dmMediaConverter.zip


Cheers
manolito

mdalacu
19th January 2024, 06:29
Looks like the current version 2.5.5 is no longer available for free, at least not for Windows...:mad: No idea if this is an oversight or if it was changed on purpose.

Whatever, for anyone who needs it, I still have it on my VideoHelp folder. Here is the link:

https://files.videohelp.com/u/172211/dmMediaConverter.zip


Cheers
manolito

Hello manolito and a Happy New Year!
Why are you saying this, can you explain it? I haven't changed a thing on my site!
Of course it is still free.


EDIT: I have checked and indeed, the file was only visible to me since Google flag it as suspicious. It is shared from Google Drive.
I have asked for a human review of the file, this is the answer:

Google will review your file.
Someone from Google’s Trust & Safety team will review your file as soon as possible.

Meanwhile, i have posted a test version for Windows, so you can use it, v2.6.0.
Just overwrite your old exe file with it and rename it.
Look in About/Changelog for what's new. Small changes but i find them useful at least in my work flow.
As always, please, provide feedback! :-)

manolito
20th January 2024, 10:59
Thanks Marius for the prompt reply, and a Happy New Year to you, too...

I am still puzzeld about how badly Google treats their paying customers, their behavior is realy shabby. And their old motto used to be "Do no Evil". Long time ago...

Whatever, thanks for the new test version. It works well for my old conversion routines, but so far I did not test any of the new functions (simply because I never needed any of them, and I do not see the need in the future). Maybe you can tell me exactly which new funktions you want me to test...


Cheers
manolito

mdalacu
21st January 2024, 10:14
Thanks Marius for the prompt reply, and a Happy New Year to you, too...

I am still puzzeld about how badly Google treats their paying customers, their behavior is realy shabby. And their old motto used to be "Do no Evil". Long time ago...

Whatever, thanks for the new test version. It works well for my old conversion routines, but so far I did not test any of the new functions (simply because I never needed any of them, and I do not see the need in the future). Maybe you can tell me exactly which new funktions you want me to test...


Cheers
manolito

Hi!
Yes, Google is not the same as it was some years ago, unfortunately.
This new features are useful when converting media files from web ripping. Ex. episodes from Netflix which contains a lot of subtitle
and audio streams in languages that you don't need and you need to bulk converting them.
I am using like this "Keep only this subtitle streams "
default,forced,unknown,eng,rum
Or you have videos that have an external subtitle file (SRT) which does not have language id and it will automatically map unknown subtitle to your desired language.
Also if you have an AMD GPU now it can use it's AMF engine for HW encoding.
Cheers!

supersnakeyez
5th December 2024, 09:13
how can I convert an mkv file into an mp4 file? I'm trying to convert some movie files from mkv format to mp4 format

ReinerSchweinlin
5th December 2024, 11:39
MP4 in this context is a container format, such as MKV... As long as you only want to put your audio-and video streams into another container (=keep the quality, codecs, etc... the same), you can simply remux them...

set everything to copy (should be default anyway), select your new container and go for it... very fast...

some containers canīt handle every type of stream others can - MKV can do anything, is very robust, etc... MP4 cannot handle everything, but a lot... Something to keep in mind, depending on what kind of files you have.. Might work as MKV, but not as MP4. Without knowing what exactly you want to achieve and why and which files you have - this is speculation.

supersnakeyez
6th December 2024, 07:11
MP4 in this context is a container format, such as MKV... As long as you only want to put your audio-and video streams into another container (=keep the quality, codecs, etc... the same), you can simply remux them...

set everything to copy (should be default anyway), select your new container and go for it... very fast...

some containers canīt handle every type of stream others can - MKV can do anything, is very robust, etc... MP4 cannot handle everything, but a lot... Something to keep in mind, depending on what kind of files you have.. Might work as MKV, but not as MP4. Without knowing what exactly you want to achieve and why and which files you have - this is speculation.

I can't select mp4 as the new container as it only let's me select mkv

What I do is add mkv file to ADD FILES button and leave ENABLED and COPY as is. After that I click convert and it just makes another MKV file with no way to change container to MP4

manolito
6th December 2024, 13:42
This works fine here...:rolleyes:

leave ENABLED and COPY as is
Both options have to be enabled (no idea what your default status is).

Then to the lower right you need to enter a full target file name with the desired extension (MP4 in your case), then click "Run Now" under "Actions" to the far right of the program window. Works each and every time here...


Good luck
manolito

supersnakeyez
7th December 2024, 01:06
This works fine here...:rolleyes:


Both options have to be enabled (no idea what your default status is).

Then to the lower right you need to enter a full target file name with the desired extension (MP4 in your case), then click "Run Now" under "Actions" to the far right of the program window. Works each and every time here...


Good luck
manolito

Every time I do what you state to do I get a job failed each and every time. Aside from dmMediaConverter being used is there something else I need to have installed to make this program run correctly? Another thing I do is uncheck copy that way I can change bitrate then I click on copy again then I give file a name such as Cadillac Records.mp4 then click run and then I instantly get job failed.

I think I got it figured out. Thanks for the help bud.

manolito
7th December 2024, 12:20
Would you share with us which trick finally did it?

supersnakeyez
8th December 2024, 00:36
Would you share with us which trick finally did it?

basically how you had said but bad part is I set output file size to end at 2 gb but file ended up coming out to 2.56 gb instead