View Full Version : clever FFmpeg-GUI, small FFmpeg UI, fully portable, no installation.
ProWo
30th March 2020, 08:38
Hi all
Clever FFmpeg GUI is a small, but smart GUI for FFmpeg.
It processes Audio and Video streams separately. These can be muxed after processing.
It's for Windows Systems, portable, x86, x64, ARM. Requires .NET Framework.
No installation required. Extract and use it.
(Read the ReadMe.txt)
Automatic stream detection, Video, Audio and Subtitle stream conversion, Video, Audio and Subtitle stream extraction, Audio volume detection,
Audio length and pitch modification, automatic Video crop detection, Audio and Video Fade In and Fade Out,
Change aspect ratio (at Stream level too, for avc, hevc amnd mpeg2), Change Audio and Subtitles stream language,
Change profile level without recoding (for x264 and hevc).
Cut on Keyframes.
HDR10 recoding while keeping HDR10 metadata (with H.265 codec) and HDR10 to SDR with tonemap and desaturation for all avaiable codecs.
3D Look-Up Tables (LUTs) support in Video encoding.
Batch processing.
DVD movie rip implemented (unprotected DVD's only).
Point at VOB 1 of a Title Set (g.e. VTS_01_1.VOB for Titleset 1), answer Yes to the questions and the entire movie will be ripped and imported.
Video Stream Encoding to: mpeg1, mpeg2, Theora, x264 (avc), x265 (hevc), Divx, ffv1, Xvid, VP8, VP9, DNxHD, DNxHR, AV1, wmv1, wmv2, prores.
Audio Stream Encoding to: aac, ac3, eac3, dts, flac, mp2, mp3, opus, vorbis, pcm, trueHD.
Multiplex to: 3gp, asf, avi, flv, m2ts, mov, mpg, mp4, mkv, ogg, ts, vob, mfx, webm, wmv.
Hardcoding Subtitles: ass, ssa, srt, vobsub, pgs (pgs only if present in the source video, not from external files).
Chapters: support for 3gp, mkv, mp4, mov, webm.
Enjoy :)
ProWo
----------------------------------------------------------------------------------
August 08, 2026 release version 3.5.7.
----------------------------------------------------------------------------------
Added:
Libplacebo tonemapping for HDR to SDR
Filename check and automatic rename for escaped filenames containing , and ;
Tootips on encoder settings
Fixed:
Bug with higher DPI in messagebox
Bug with video transpose filter, not working anymore
Bug with keep HDR/HLG with missing colorspace info
Bug with downmix options button vanished with changing pcm codec
Bug with video preview with transpose + change fps (keep duration disabled)
Bugs with video preview if raw stream is loaded
Changed:
Settings: you can switch between page 1 an 2 now
Improved:
Incompatible streams in container message.
Change colorspace (detecting and changing)
Tonemapping filterchain for HDR to SDR
Update process
Dolby Vision detection
----------------------------------------------------------------------------------
Download release v3.5.7:
https://files.videohelp.com/u/292773/clever_ffmpeg_gui_357.zip
MD5 (of clever FFmpeg GUI.exe): 0DA3ABB20CE97D7ACDECF0411BA0C1EC
Latest nightly: (Small errors are continuously corrected. Will be uploaded frequently)
Please note: The nightly download only contains the latest program version. Important files are missing.
https://files.videohelp.com/u/292773/clever_ffmpeg_gui_newest_beta.zip
It does NOT contain any virus. All reports from virustotal are false positives. Please remember that many antivirus software are way way too sensitive.
Report bugs and problems here in this thread.
If you like the program, please rate it (click on this link) (https://www.videohelp.com/softwareaddcomment?id=1799)
If there are problems starting, delete the portable.config file in the application folder.
---------------------------------------------------------------------
How to's
---------------------------------------------------------------------
Convert interlaced 23.976fps to progressive 25fps (https://files.videohelp.com/u/292773/Convert%20interlaced%2023.976fps%20to%20progressive%2025fps_%20Video_%20Audio_%20Muxing.gif)
Convert interlaced 25fps to progressive 23.976fps (https://files.videohelp.com/u/292773/Convert%20interlaced%2025fps%20to%20progressive%2023.976fps_%20Video_%20Audio_%20Muxing.gif)
Convert progressive 23.976fps to progressive 25fps (https://files.videohelp.com/u/292773/Convert%20progressive%2023.976%20fps%20to%20progressive%2025fps_%20Video_%20Audio_%20Muxing.gif)
Convert progressive 25fps to progressive 23.976fps (https://files.videohelp.com/u/292773/Convert%20progressive%2025fps%20to%20progressive%2023.976_%20Video_%20Audio_%20Muxing.gif)
Burn in embedded subtitle and mux to mp4 (https://files.videohelp.com/u/292773/Burn%20in%20embedded%20subtitle%20and%20mux%20to%20mp4.gif)
Convert PAL audio to NTSC audio (https://files.videohelp.com/u/292773/Convert%20PAL%20audio%20to%20NTSC%20audio.gif)
HDR to SDR with h264 and LUT (https://files.videohelp.com/u/292773/HDR%20to%20SDR%20with%20h264%20and%20LUT.gif)
HDR10 resizing to SDR 8bit as batch task and final mux (https://files.videohelp.com/u/292773/HDR10%20resizing%20to%20SDR%208bit%20as%20batch%20task%20and%20final%20mux.gif)
Rip Titleset 2 from DVD and mux to mp4 (https://files.videohelp.com/u/292773/Rip%20Titleset%202%20from%20DVD%20and%20mux%20to%20mp4.gif)
---------------------------------------------------------------------
https://forum.videohelp.com/attachments/89478-1761838391/01.jpg
https://forum.videohelp.com/attachments/89479-1761838391/02.jpg
https://forum.videohelp.com/attachments/89480-1761838391/03.jpg
https://forum.videohelp.com/attachments/89481-1761838391/04.jpg
https://forum.videohelp.com/attachments/89482-1761838391/05.jpg
https://forum.videohelp.com/attachments/89483-1761838391/06.jpg
https://forum.videohelp.com/attachments/89484-1761838391/07.jpg
https://forum.videohelp.com/attachments/89485-1761838391/08.jpg
https://forum.videohelp.com/attachments/89486-1761838391/09.jpg
https://forum.videohelp.com/attachments/89487-1761838391/10.jpg
https://forum.videohelp.com/attachments/89488-1761838391/11.jpg
Special features:
With TV Rips with AC3 6ch audio it happens that the first frames have only 2 ch. In the encode audiostream section there is a button for this. If it is selected, the target file will be patched to full 6 ch. This button is only available if the source file is or contains an AC3 6ch file.
Another great thing is that you can convert the soundtrack of a 25 FPS PAL movie to an e.g. 23.976 FPS NTSC soundtrack or vice versa and, if desired, also adjust the audio pitch.
ProWo
7th April 2020, 16:53
07 Apr 2020 update to version 2.1.0.
Major improvements in the Multiplex section (automatic track detection of video, audio and subtitles, program wide).
Also improved is the AC3 3/2 (5.1) patch (in case first audio frames with 2 channels, stereo).
ProWo
11th April 2020, 12:41
11 Apr 2020 update to version 2.2.0.
Many small improvements.
Some bugs fixed.
ProWo
14th April 2020, 13:45
14 Apr 2020 update to version 2.2.1.
(Corrected a little bug in track language change)
ProWo
18th April 2020, 10:46
18 Apr 2020 update to version 2.3.0.
Video stream detection improved. Therefore ffprobe.exe (from static build) is now also necessary. Please copy it into the folder with clever FFmpeg-GUI.
Several small improvements and bug fixes.
ProWo
20th April 2020, 08:29
20 Apr 2020 update to version 2.3.5.
Several small improvements and bug fixes.
Emulgator
21st April 2020, 14:30
Many thanks !
Just letting it run for a quick transcode test...
ProWo
24th April 2020, 13:10
24 Apr 2020 update to version 2.3.6.
Many small improvements and bug fixes.
ProWo
27th April 2020, 16:42
27 Apr 2020 update to version 2.3.7.
Corrected a bug in FPS detection.
02 May 2020 update to version 2.3.8.
Can now handle video files without duration info.
Added Aspect Ratio (DAR) change in the multiplex section.
06 May 2020 update to version 2.3.9.
The crash without file selection is corrected.
The command line can be displayed.
Forms have changed from Font to DPI
ProWo
18th May 2020, 15:20
18 May 2020 update to version 2.4.0.
Many small improvements.
ProWo
25th May 2020, 14:21
25 May 2020 update to version 2.4.2.
Fixed some bugs.
Many small improvements.
ProWo
8th June 2020, 17:21
08 June 2020 update to version 2.4.5.
Added: mp3 output in audio conversion.
Fixed some bugs.
stax76
8th June 2020, 18:51
Maybe have a look at 144 DPI (I'm at 288), it looks poor because High DPI support is not enabled. It can be enabled via API or manifest but the only proper fix is getting rid of WinForms, there are too many issues, it's hopeless and I regret having wasted so much time and effort with it.
ProWo
11th June 2020, 08:56
Hi stax76
I don't have a High DPI Monitor and therefore i cannot test, if my app is compatible with High DPI.
I made some changes. Can you test for me if the display is correct now?
https://www.upload.ee/files/11859636/clever_ffmpeg_gui_246.7z.html
stax76
11th June 2020, 09:22
The first screen is High DPI enabled, opening a source file throws an exception shown by .NET Framework exception dialog and that dialog is unusable at 288 DPI, so I cannot post the stack trace.
ProWo
16th June 2020, 16:12
June 16 2020 update to version 2.4.7.
Added: You can use the already installed ffmpeg static files.
At the first use you have to specify the location of ffmpeg, ffprobe and ffplay.
Added: High DPI aware.
Many fine tunings.
ProWo
30th June 2020, 14:40
June 30 2020 update to version 2.4.8.
Added: Audio conversion section: You can set 2 channels output.
Added: Multiplex section: Checkbox to remove language code from Videostream.
Many cosmetic and code fine tunings.
ProWo
3rd July 2020, 21:09
If someone has troubles with the program, he can try the latest beta version:
https://files.videohelp.com/u/292773/clever_ffmpeg_gui_newest_beta.7z
NB. Is regularly updated
ProWo
6th July 2020, 15:06
July 06 2020 update to version 2.5.0.
Added: Video scan type detection (interlaced or progressive)
Modified: FFmpeg folder path.
Bugs corrected.
At the first start you have to specify ffmpeg.exe location path.
ProWo
14th July 2020, 09:18
July 14 2020 update to version 2.5.2.
Added: DVD movie rip implemented (unprotected DVD's only). Point to the desired VTS and the entire movie will be ripped and imported.
Many small improvements.
Read the HowTo.txt
ProWo
16th July 2020, 22:04
July 16 2020 update to version 2.5.3.
Fixed: A major bug when loading videos without duration information.
Read the HowTo.txt
ProWo
27th July 2020, 10:16
July 27 2020 update to version 2.5.4.
Added: Audio Stream Language Info on Audio conversion.
Added: Audio DTS Output.
Improved: Video Stream Interlacing Detection.
Fixed: minor bugs.
ProWo
31st July 2020, 08:49
July 31 2020 update to version 2.5.5.
Improved: Many fine tunings.
Fixed: minor bugs.
ProWo
6th August 2020, 12:24
August 06 2020 update to version 2.5.6.
Improved: Detection of ffmpeg.exe, ffprobe.exe, ffplay.exe.
Improved. Error handling.
Fixed: minor bugs.
De-M-oN
10th August 2020, 17:15
The audio section should offer
FLAC
Opus
OGG
There is no sense to put WAV in an encoding, with existence of FLAC.
So I recommend to add these 3 further major codecs.
Offer also more video encoders, especially NVEnc encoding.
stax76
10th August 2020, 20:28
Hello ProWo,
if you are looking for a website for your project I would like to suggest github, if open source would be an option.
It could make sense to bundle all dependencies, it's easier for people to get started and ensures that the ffmpeg built has all features you are using enabled.
ProWo
11th August 2020, 08:51
The audio section should offer
FLAC
Opus
OGG
There is no sense to put WAV in an encoding, with existence of FLAC.
My project is meant to be a simple GUI, not a competition to Handbrake or others, so that even inexperienced users can get along with it and have the most necessary tools available. Wav as output has the purpose to allow various manipulations with all audio editors.
ProWo
11th August 2020, 08:54
Hello ProWo,
if you are looking for a website for your project I would like to suggest github, if open source would be an option.
It could make sense to bundle all dependencies, it's easier for people to get started and ensures that the ffmpeg built has all features you are using enabled.
Hi stax76,
thanks for your input, I'll think about it.
mbcd
12th August 2020, 18:36
Crashes directly on specifying sourcefile: "No given filename" on Process()
************** Ausnahmetext **************
System.InvalidOperationException: Der Prozess kann nicht gestartet werden, da ein Dateiname nicht angegeben wurde.
bei System.Diagnostics.Process.Start()
Seems maybe ffmpeg.exe is not located.
ProWo
13th August 2020, 14:42
Crashes directly on specifying sourcefile: "No given filename" on Process()
************** Ausnahmetext **************
System.InvalidOperationException: Der Prozess kann nicht gestartet werden, da ein Dateiname nicht angegeben wurde.
bei System.Diagnostics.Process.Start()
Seems maybe ffmpeg.exe is not located.
What version?
Try the latest beta.
mbcd
13th August 2020, 16:10
On both, beta and stable ... x86 and x64
Very courious behaving:
It starts only if I use it from inside the "download" folder, but not from any another drive (with full permissions).
But after a message that the stream must be copied because of a missing framerate (mkv) the UI is freezing ... and copying of these video is never completed ...
ProWo
13th August 2020, 16:20
On both, beta and stable ... x86 and x64
Very courious behaving:
It starts only if I use it from inside the "download" folder, but not from any another drive (with full permissions).
But after a message that the stream must be copied because of a missing framerate (mkv) the UI is freezing ... and copying of these video is never completed ...
Try to delete this folder: C:\Users\user\AppData\Local\clever_FFmpeg_GUI.
user=your user name on windows
Then restart clever FFmpeg-GUI.
If you use the 64 bit version you must also use 64 bit ffmpeg.
mbcd
13th August 2020, 18:59
Thank you for answering.
I respected verions of x86 and x64, that should not be a problem here. :thanks:
Deleted folders in AppData.
Worked for one time, until this coying ... btw: ffmpeg has no problems with this file started manually by cmd.
Now clever_FFmpeg_GUI wont work again.
So I deleted again folder in AppData.
But on restarting clever_FFmpeg_GUI it even does not ask again for some location of ffmpeg.exe, and again this exception on loading a sourcefile appears. Folder with executable of clever_FFmpeg_GUI does not contain any ffmpeg.exe.
Lets see if others have same problems ...
ProWo
13th August 2020, 20:13
But on restarting clever_FFmpeg_GUI it even does not ask again for some location of ffmpeg.exe, and again this exception on loading a sourcefile appears. Folder with executable of clever_FFmpeg_GUI does not contain any ffmpeg.exe.
Lets see if others have same problems ...
Download the latest static build for your architecture (x64 or x86) from this page.
https://ffmpeg.zeranoe.com/builds/
Extract the file wherever you want. It will create a folder with a name like ffmpeg-20200812-bb59bdb-win64-static, with a bin subfolder; in this bin subfolder are the three files clever FFmpeg-GUI needs.
Delete the folder C:\Users\xxx\AppData\Local\clever_FFmpeg-GUI (where xxx=your user name on windows) again. The first time you start clever FFmpeg-GUI, navigate to the above bin folder in the folder browser. That's it. Now everything should work fine.
mbcd
14th August 2020, 10:09
All this I did before ...
- Dowmloaded static build from Zeroane
- Extracted them to e:\ffmpeg-20200812-4ed6bca-win64-static
- Removed "clever_FFmpeg_GUI" from "C:\Users\XXXXX\AppData\Local"
- Extracted actual clever_FFmpeg_GUI-beta to "e:\clever_ffmpeg_gui_newest_beta"
Started "E:\clever_ffmpeg_gui_newest_beta\x64\clever FFmpeg GUI.exe"
And again ... no question for a location to the bin-folder of ffmpeg.
Opening a sourcefile results in exception again -> "No filename specified".
This is the only file in appData: "user.config":
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="clever_FFmpeg_GUI.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<userSettings>
<clever_FFmpeg_GUI.My.MySettings>
<setting name="spos_x" serializeAs="String">
<value>175</value>
</setting>
<setting name="spos_y" serializeAs="String">
<value>209</value>
</setting>
</clever_FFmpeg_GUI.My.MySettings>
</userSettings>
</configuration>
As I said before, there must be some bad bug.
Where is path to ffmpeg saved? I dont see it in that user.config. And its not asked again ... so it must be saved somewhere ...
Should the be an file for Application Settings too? I dont see anyone.
ProWo
14th August 2020, 11:01
This is the only file in appData: "user.config":
Delete this file and restart clever FFmpeg-GUI.
(This file should have been in the C:\Users\XXXXX\AppData\Local\clever_FFmpeg_GUI folder).
ProWo
18th August 2020, 14:32
August 18 2020 update to version 2.5.7.
Improved: Deinterlacing (Yadif: frame/frame, field/frame, interlaced marked frames only).
Improved. Error handling.
Added: Encode interlaced video as interlaced.
Fixed: minor bugs.
mbcd
20th August 2020, 10:24
Delete this file and restart clever FFmpeg-GUI.
(This file should have been in the C:\Users\XXXXX\AppData\Local\clever_FFmpeg_GUI folder).
Sorry, still not working for me :o even with latest update.
As I said before:
- Removed "clever_FFmpeg_GUI" from "C:\Users\XXXXX\AppData\Local"
There is no folder of clever_FFmpeg_GUI anymore in my appdata, but it still does not ask for a new path on restart.
You should take a look at my posted user.config.
You dont see "ffmpegPath" in there, you dont get questions about that?
Ive had a quick look into your sourcecode (as good as decompiling works), its definied to be in there, so there seems something going wrong. Some entries are missing in my user.config, every time its created.
Thats why I asked where you store path to ffmpeg ...
ProWo
20th August 2020, 14:50
Sorry, still not working for me :o even with latest update.
Have you deleted the user.config?
You have a configuration file (user.config) from an old version. Until you delete it, a new one cannot be created and the program will not work.
In windows 10 the user.config is stored in the folder C:\Users\xxx\AppData\Local\clever_FFmpeg-GUI (where xxx=your user name on windows).
The path to ffmpeg.exe is also saved in this NEW user.config.
Your computer configuration does not seem to be the default.
Search for all user.config files containing clever_FFmpeg_GUI.My.MySettings and delete them. Then restart the program.
mbcd
21st August 2020, 10:34
Have you deleted the user.config?
Yes, "C:\Users\XXXXX\AppData\Local" does not contain any folder of "clever_FFmpeg-GUI", so there cant be any subfolder with a file of "user.config".
You have a configuration file (user.config) from an old version. Until you delete it, a new one cannot be created and the program will not work.
Sorry, no ... these files are recreated after closing clever_FFmpeg-GUI, so they cant be wrong, what program else should create them, except of yours?
This is user.config created from latest version, after closing app (has been executed as administrator), there was no folder or file before, so it must have been created with the latest wversion, I only hit "F5" and refreshed the explorer, so there cant be any error by looking into wrong directories:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="clever_FFmpeg_GUI.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<userSettings>
<clever_FFmpeg_GUI.My.MySettings>
<setting name="spos_x" serializeAs="String">
<value>0</value>
</setting>
<setting name="spos_y" serializeAs="String">
<value>0</value>
</setting>
</clever_FFmpeg_GUI.My.MySettings>
</userSettings>
</configuration>
App still didnt ask for a ffmpeg-Path anymore ... selecting a sourcefile gave an exception again ... its always the same ....
Your computer configuration does not seem to be the default.
Where do you get this from? It runs lots of programs and has no single problem with anyone of them.
I think we cant solve it unless you improve some kind of debug or errorhandling.
Bad that I need to do support: :sly:
Your code is not that good ...
You process with unset variables, dont check if they have been set ever, no wonder this mess appears: :scared::sly:
string path1 = MySettingsProperty.Settings.ffmpeg_path + "\\ffmpeg.exe";
string path2 = MySettingsProperty.Settings.ffmpeg_path + "\\ffprobe.exe";
string path3 = MySettingsProperty.Settings.ffmpeg_path + "\\ffplay.exe";
int num1;
if (File.Exists(path1))
{
int num2;
num1 = checked (num2 + 1);
}
if (File.Exists(path2))
checked { ++num1; }
if (File.Exists(path3))
checked { ++num1; }
int num3 = num1;
if (num3 < 3)
{
int num2 = (int) MessageBox.Show("Static builds of FFmpeg, FFprobe and FFplay missing!\r\nThey have to be into the same folder.\r\n\r\nDownload them at https://ffmpeg.zeranoe.com/builds/ ,\r\nextract them to a folder you like and browse for this folder.");
this.FFmpeg_locate();
}
else
{
if (num3 != 3)
return;
Module1.F_Info();
Module1.FP_Info();
}
You are using default strings for the app-settings at first time, so it searches on root of actual drive for some ffmpeg-files. In my case they have been there, "accidently". So it finds them somewehere but not at the specified place.
But even then, this path is not saved as you see in my posted user.config. After closing the app the path is still not definied in user.config, I think because its still its defaultvalue.
Now I could select a sourcefile and it told me again it must be copied into a new container. I click "ok" and the app freezes and even some minutes later nothing happens (sourcefile is only about 900 mb) ... its still frozen ... forever (ffmpeg.exe is static 64 bit)
You should redo some code ... :sly: the idea of your program is very very nice, its the right way, but your code and UI is ... not very error-proofed, yet.
But carry on! :thanks:
ProWo
21st August 2020, 16:13
In which folder is your user.config created?
In which folder do you start clever FFmpeg-GUI?
Are there other files in the same folder?
Clever FFmpeg-GUI is a portable standalone program. Except the "clever FFmpeg-GUI.exe" no other file is needed.
I think your windows explorer does not show you all files. Use another file manager (Free Commander, Q-Dir, Double Commander) to find and delete the remains of a previous version.
ProWo
21st August 2020, 17:07
Download Agent Ransack
https://download.mythicsoft.com/flp/2947/agentransack_2947.exe
Then search for user.config that contains "clever" (see picture).
Delete all files you find.
Picture here: https://ibb.co/LPtkQ8S
mbcd
21st August 2020, 20:59
Ok, last try I give, may be my english is too bad to explain correctly, could be my fault, in that case: sorry.
In which folder is your user.config created?
In those folder you told me : "C:\Users\XXXXX\AppData\Local\clever_FFmpeg_GUI\clever_FFmpeg_GUI.exe_Url_n0u1ua2xw5myed20vseh3040nkwhmmfz\1.0.0.0"
This folder contains "user.config", every time I delete folder "clever_FFmpeg_GUI" in "C:\Users\XXXXX\AppData\Local" (with all its subfolders) it is created again after next start of your app. This works like expected, there is nothing wrong with that.
In which folder do you start clever FFmpeg-GUI?
Location of your program is "E:\clever_ffmpeg_gui_257\X64\...".
Are there other files in the same folder?
No, only the executable of your program.
Clever FFmpeg-GUI is a portable standalone program. Except the "clever FFmpeg-GUI.exe" no other file is needed.
Ahh ..... ok ... but at least ffmpeg-binaries are needed ... ;)
I think your windows explorer does not show you all files. Use another file manager (Free Commander, Q-Dir, Double Commander) to find and delete the remains of a previous version.
I dont think so, still used "Total Commander" and in my Explorer I activated all features for showing invisible or system-files. Both filemanangers show exactly the same. And I told many time I deleted files and folders, so if they would not show up, what could I have deleted in that case ... it does not make sense what you tell, until there is another folder somewhere you didnt mention before.
Are you the real developer of that tool?
I posted some of your sourcecode, why dont you try it out by yourself, or at least, assume whats happening in your code ...
On start of your app it executes this, this is where it searches for ffmpeg.exe (and both other files):
string path1 = MySettingsProperty.Settings.ffmpeg_path + "\\ffmpeg.exe";
But at that point of execution "MySettingsProperty.Settings.ffmpeg_path" is not set, its empty (defaultvalue), because there is even no settings-file existing at first start.
So this string is empty and this results in a searchpath of "\\ffmpeg.exe" and this is the root of the drive your app is located, so in my case its "e:\\ffmpeg.exe".
If you have all those dependent ffmpeg-binaries at that root (which happened in my case), it will succeed its check, but dont write paths into settings-file, because you NEVER set them to a path, because first check works without a path to ffmpeg ...
if (File.Exists(path1))
So because it works with empty strings, your location-method is NEVER raised
this.FFmpeg_locate()
So "ffmpeg_path" in app-settings is never set and never written.
I'am a C#-Developer by the way ... :sly:
Its not my computer, your code is not proof, you also never catch exceptions anywhere as far a I have seen in that few minutes I spend in your code ...
So stay at your mind that my computer is not working properly, or use a debugger and watch your variables while running step-by-step, or at least try it with binaries at root of the drive by yourself.
What else do you need to get convinced? Did you ever failchecked something?
Why it freezes or needs to create a new container of my sourcefile is next problem, but I wont spend time on that.
My friendly suggestion: Redo your code if you wanna improove your skills.
ProWo
22nd August 2020, 07:22
You are using default strings for the app-settings at first time, so it searches on root of actual drive for some ffmpeg-files.
the program does not search for ffmpeg.exe itself. you must actively select the folder where ffmpeg.exe is located.
But after a message that the stream must be copied because of a missing framerate (mkv) the UI is freezing ... and copying of these video is never completed ...
This is by design and happens if no information on duration is found in the video analysis.
I think there might be a problem here. The destination folder is automatically adjusted to the source folder. If you read a file from a folder in which you do not have write permission, the copy cannot be performed. This behaviour has changed with the last beta; here you will be asked to specify a destination folder at the first start.
The following is a working configuration file (user.config). Correct your user.config manually with a text editor and add the path to ffmpeg.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="clever_FFmpeg_GUI.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<userSettings>
<clever_FFmpeg_GUI.My.MySettings>
<setting name="t_folder" serializeAs="String">
<value>D:\</value>
</setting>
<setting name="ffmpeg_path" serializeAs="String">
<value>D:\Utilities\ffmpeg\bin</value>
</setting>
<setting name="s_fps" serializeAs="String">
<value>25</value>
</setting>
<setting name="spos_y" serializeAs="String">
<value>246</value>
</setting>
<setting name="spos_x" serializeAs="String">
<value>504</value>
</setting>
</clever_FFmpeg_GUI.My.MySettings>
</userSettings>
</configuration>
By the way: You don't have to start the program with elevated rights.
Have you searched for other user.config files containing "clever"?
mbcd
23rd August 2020, 10:00
You are joking, arent you? :confused:
the program does not search for ffmpeg.exe itself. you must actively select the folder where ffmpeg.exe is located.
You are lying ... this is not true.
You dont know your own sourcecode?
string path1 = MySettingsProperty.Settings.ffmpeg_path + "\\ffmpeg.exe";
string path2 = MySettingsProperty.Settings.ffmpeg_path + "\\ffprobe.exe";
string path3 = MySettingsProperty.Settings.ffmpeg_path + "\\ffplay.exe";
int num1;
if (File.Exists(path1))
{
int num2;
num1 = checked (num2 + 1);
}
if (File.Exists(path2))
checked { ++num1; }
if (File.Exists(path3))
checked { ++num1; }
int num3 = num1;
This is where it runs though, every time starting the app. This is YOUR code (decompiled, so it looks different, but works like your original sourcecode)
If only 1 of those 3 ffmpeg-files are missing this is invoked, and ONLY then:
if (num3 < 3)
{
int num2 = (int) MessageBox.Show("Static builds of FFmpeg, FFprobe and FFplay missing!\r\nThey have to be into the same folder.\r\n\r\nDownload them at https://ffmpeg.zeranoe.com/builds/ ,\r\nextract them to a folder you like and browse for this folder.");
this.FFmpeg_locate();
}
So if all 3 files are on root of the drive (where your app is located), "this.FFmpeg_locate()" is NEVER raised ...
Did you tried that as I told you? I guess NO ... :thanks: :mad:
Ok, thats for me, I`ll quit, you are some kind of human that never recognize his own mistakes, even if someone points your nose onto it. :scared:
I wont spend anymore time for someone like you, you not deserve.
Best of luck for you and your "crappy" code.:D I hope youll never do that professionally somewhere.
Have you searched for other user.config files containing "clever"?
No, instead I will delete "clever_FFmpeg_GUI", its a waste of time talking to you, and both are far away from being anykind of ""clever"" ... :o.
ProWo
23rd August 2020, 13:37
There's no need to be insulting.
string path1 = MySettingsProperty.Settings.ffmpeg_path + "\\ffmpeg.exe";
string path2 = MySettingsProperty.Settings.ffmpeg_path + "\\ffprobe.exe";
string path3 = MySettingsProperty.Settings.ffmpeg_path + "\\ffplay.exe";
int num1;
if (File.Exists(path1))
{
int num2;
num1 = checked (num2 + 1);
}
if (File.Exists(path2))
checked { ++num1; }
if (File.Exists(path3))
checked { ++num1; }
int num3 = num1;
Your analysis of this code is incorrect. This routine is called only if the path to ffmpeg.exe is NOT empty. If the path is entered, this routine checks if the three necessary files are in the folder. The path MUST be saved before.
instead I will delete "clever_FFmpeg_GUI"
Feel free...
Best of luck for you and your "crappy" code.
For you too.
mbcd
23rd August 2020, 15:30
Your analysis of this code is incorrect. This routine is called only if the path to ffmpeg.exe is NOT empty. If the path is entered, this routine checks if the three necessary files are in the folder. The path MUST be saved before.
NO
Thats what I try to tell you all the time, you are wrong with your own code, this can happen.
Thats why it behaves like I said, even on my second computer, where your app NEVER has been launched before.
You dont know your own code, dont you?
It automatically searches for binaries on root of the drive where you start your app from without need of any path in app-setting.
Why dont you try it by yourself? Too lazys to do this? Its easier to tell others they are wrong, while they don`t, so I understand.
Last try:
- Copy all 3 ffmpeg binaries to the root of drive x:
- Copy your app to a subfolder on the same drive
- Start your app like first time (may be delete all specific folders in Appdata you told before)
And what happens?
It does NOT ask for some path to ffmpeg-binaries, why? Path to binaries is still empty ... .
So this is not true:
This routine is called only if the path to ffmpeg.exe is NOT empty. It cant be true. This routine is called on every startup and that is the reason it is finding ffmpeg-binaries on root of drive and doesnt write any appsettings.
On first start of your app on a fresh computer, path to ffmpeg must be empty, so why is this routine still called at that point? Oh, I forgot, all my computer are working wrong, it cant be your poor code ... :sly:
If I delete one of those 3 binaries on root it starts to ask for the location of binaries, so why did it found them even on first start on root of this drive? No path was set, there are no other files in the appfolder (exe), so ... why does it find a missing file on some never defined path? Path to ffmpeg is still empty ...
So hard to understand, or at least to spend 2 minutes to try by yourself? I`m out ... and I am right (prooved two times now)
Proof me that I am wrong and everything is fine ...
Suggestions for a better together: Work a bit on your pigheaded fellow.
StainlessS
23rd August 2020, 15:39
No need to be nasty mbcd, if you can do better then do it.
gonca
23rd August 2020, 16:59
@ProWo
I am not a software developer or a ffmpeg user!
For giggles I downloaded your GUI and the ffmpeg version you linked to.
Upon initial launch of your GUI it asked for the location of the three ffmpeg files.
Analyzed a video successfully and was ready to go.
Good job, well done!
mbcd
23rd August 2020, 17:26
@gonca:
Could you please move all three ffmpeg files to the root of that same drive (move, not copy), and remove app-folder from Appdata ("C:\Users\XXXXX\AppData\Local\clever_FFmpeg_GUI\) and try again? It should ask again in that case, but I guess it wont do that :thanks:
I like to figure out if I am wrong or not ... no one is perfect.
gonca
23rd August 2020, 17:35
Kept clever_ffmpeg_GUI on Desktop
Put ffmpeg folder in C:\
Works fine
mbcd
23rd August 2020, 17:39
@gonca:
Thanks for checking this!
But you must additionaly remove folder in appdata to get my bug, please see post 52, thats the point I try to tell here, you still got a valid path in there, because you had one before, in that case it still works.
ffmpeg-binary file in no folder, plain and directly on root of app-drive, so their paths are in your case "c:\ffmpeg.exe" "c:\ffplay.exe" and "ffprobe.exe".
gonca
23rd August 2020, 22:03
I removed that folder everytime
locotus
24th August 2020, 03:07
I've made my first convertion using this program and noticed that the resulting file is variable frame rate.
Would be nice if you can set a switch so the user may choose between constant or variable frame rate.
Thanks.
ProWo
24th August 2020, 10:15
@lucotus
By default and by design the program encodes the video stream as progressive and with constant frame rate, unless you encode interlaced video as interlaced, in which case the frame rate is constant as well. Post here a medianfo report of the source video and the encoded video.
locotus
24th August 2020, 15:31
@lucotus
By default and by design the program encodes the video stream as progressive and with constant frame rate, unless you encode interlaced video as interlaced, in which case the frame rate is constant as well. Post here a medianfo report of the source video and the encoded video.
Sorry, I already delete the file.
ProWo
24th August 2020, 15:58
August 24 2020 update to version 2.6.0.
Changed: Deinterlacing.
Improved: Error handling.
Added: QTGMC deinterlacer (simple mode, but editable; You need an working Avisynth installation with the necessary plugins to use it).
Fixed: Minor bugs.
videoh
24th August 2020, 16:29
Not sure what language you use or what checked() does but superficially it looks to an old C/C++ guy as if num2 is not initialized. Please ignore if I'm missing something.
if (File.Exists(path1))
{
int num2;
num1 = checked (num2 + 1);
}
ProWo
24th August 2020, 17:07
Not sure what language you use or what checked() does but superficially it looks to an old C/C++ guy as if num2 is not initialized. Please ignore if I'm missing something.
if (File.Exists(path1))
{
int num2;
num1 = checked (num2 + 1);
}
This is'nt my code, is a "debug" from mbcd. Thanks anyway :)
StainlessS
24th August 2020, 17:38
Not sure what language you use or what checked() does but superficially it looks to an old C/C++ guy as if num2 is not initialized. Please ignore if I'm missing something.
if (File.Exists(path1))
{
int num2;
num1 = checked (num2 + 1);
}
Seems that mbcd decompiled it to get source.
Sorry, still not working for me :o even with latest update.
As I said before:
- Removed "clever_FFmpeg_GUI" from "C:\Users\XXXXX\AppData\Local"
There is no folder of clever_FFmpeg_GUI anymore in my appdata, but it still does not ask for a new path on restart.
You should take a look at my posted user.config.
You dont see "ffmpegPath" in there, you dont get questions about that?
Ive had a quick look into your sourcecode (as good as decompiling works), its definied to be in there, so there seems something going wrong. Some entries are missing in my user.config, every time its created.
Thats why I asked where you store path to ffmpeg ...
Certainly looks like an error there, num2 not initialized, even if it is not the original ProWo source [which does not seem to be available, I looked].
Also, startup could indeed be improved, cant even cancel search for something or other, just keeps putting up the fileselector until you give in
and point it at something, or kill the app. Needs more work
[EDIT: I only spent 60 secs on it, but bumped into no cancel fileselector prob immediately and so gave up right away].
ProWo
24th August 2020, 18:33
I only spent 60 secs on it, but bumped into no cancel fileselector prob immediately and so gave up right away].
Corrected in the beta. Thanks for the hint. :)
StainlessS
24th August 2020, 18:45
Is the soure available ?
mbcd would certainly seem willing to assist in debug if source is available, perhaps others too.
EDIT: Oh, and I was on the beta version.
ProWo
24th August 2020, 21:37
Is the soure available?
No, sorry.
EDIT: Oh, and I was on the beta version.
Retry the new one.
ProWo
25th August 2020, 09:30
August 25 2020 update to version 2.6.1.
Improved: Error handling.
ProWo
31st August 2020, 15:22
August 31 2020 update to version 2.6.2.
Added: New welcome frame at first start.
Improved: Video analysis, Audio volume detection.
Fixed: Some bugs.
ProWo
15th September 2020, 12:28
September 15 2020 update to version 2.6.3.
Added: Audio output: flac, mp2, opus, vorbis
Added: Video encoder mpeg2
Added: Multiplex container: avi, mpg, ts, vob
Improved: Video crop detection.
Fixed: Some bugs.
ProWo
25th September 2020, 20:49
September 25 2020 update to version 2.6.4.
Improved: Many small improvements.
Fixed: Some bugs.
ProWo
12th October 2020, 08:26
October 12 2020 update to version 2.6.5.
Improved: Many small improvements.
Fixed: Duration detection and conversion bug.
Added: Multiplex to m2ts container.
ProWo
22nd October 2020, 08:53
October 22, 2020 update to version 2.6.6.
Improved: Many small improvements.
Fixed: Length typo, Stream detection issue.
Added: Encode to Vp9, Divx, Xvid.
ProWo
27th October 2020, 13:54
October 27, 2020 update to version 2.6.7.
Improved: Automatic recognition of processed streams (Multiplexing), Icon rappresentation on taskbar.
Fixed: Small bugs, Stream detection issue, unknown file types recognition.
Added: New program icon.
ProWo
16th November 2020, 18:29
November 16, 2020 update to version 2.6.8.
Improved: Crop detection, AC3 6ch patch.
Fixed: Many small bugs, Target file/folder issue.
Added: HDR10 encoding (x265 only) with previous analysis. Prerequisite is a HDR10 source video.
Mister XY
20th November 2020, 06:55
Hello, i'm missing in clever ffmpeg-gui the option for a temp directory and in window "video conversion" the tune for hevc. With avc i can set tune setting, but in hevc, there are no tune settings.
Another thing, something must go wrong with the BluRay subtitles. They are displayed incorrectly by the time.
ProWo
21st November 2020, 10:21
Hello, i'm missing in clever ffmpeg-gui the option for a temp directory and in window "video conversion" the tune for hevc. With avc i can set tune setting, but in hevc, there are no tune settings.
Another thing, something must go wrong with the BluRay subtitles. They are displayed incorrectly by the time.
Temp directory isn't needed.
x265 tune: By default, this is disabled, and it is generally not required to set a tune option.
https://trac.ffmpeg.org/wiki/Encode/H.265
Subtitles: only srt subtitles are admitted.
Mister XY
21st November 2020, 16:22
Fine-tuning is not bad. because you can set animation for old cartoons.
And i can only mux srt subtitles and that is show correctly? How can i use the pgs subtitles files?
ProWo
24th November 2020, 08:59
Fine-tuning is not bad. because you can set animation for old cartoons.
And i can only mux srt subtitles and that is show correctly? How can i use the pgs subtitles files?
Added Tune for x265 (in the newest beta).
For the moment clever FFMpeg-GUI only accepts srt subtitles when muxing.
ProWo
4th December 2020, 11:22
December 4, 2020 update to version 2.6.9.
Fixed: Many small bugs.
Added: Audio encode to trueHD, tune on x265 encoder.
Improved: Better information about the source file, when multiplexing, automatic takeover of previously edited video and audio streams, automatic stream control (only a video file can be used as a video source, only an audio file as an audio source and only a subtitle file as a subtitle source).
ProWo
17th December 2020, 13:24
If you have problems loading video files like here:
https://forum.videohelp.com/attachments/56255-1608026588/eb_cleverff-1.pnghttp://
then try the newest beta.You find the link in the first post.
ProWo
18th December 2020, 22:56
Added Inverse Telecine (IVTC) for 29.97, 30, 59.94, 60 FPS Sources in the newest beta.
-QfG-
26th December 2020, 22:43
AWESOME!!! A long time im searching for a tool like this, with them i can speed up and slow down via FFMPEG and this in a GUI. I have few Ideas, if this is OK for you:
-Turn On/Off Dynamic Range Compression for AC3 Files (Example: ffmpeg.exe -drc_scale 0 -y -i)
-Extract all channels as single wavs (Example for 7.1 file: (%down16% is still empty for 16-Bit wavs, using "-c:a pcm_s24le" for 24-Bit Wavs) -filter_complex "[0:a]channelsplit=channel_layout=7.1[FL][FR][FC][LFE][BL][BR][SL][SR]" -map "[FL]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.L.wav" -map "[FR]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.R.wav" -map "[FC]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.C.wav" -map "[LFE]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.LFE.wav" -map "[BL]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.Lsr.wav" -map "[BR]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.Rsr.wav" -map "[SL]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.Ls.wav" -map "[SR]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.Rs.wav")
-After extracting a video / audio source don't leave the menu, still stand in the menu for faster extracting of other streams.
-A Simple Checkbox for Output Dir = Input Dir
-Video Codecs DNxHR HQ and HQX (for BD/UHD DI Files, in mxf or mov Container for using in DaVinci Resolve)
"dnxhd -profile:v dnxhr_hq"
"dnxhd -profile:v dnxhr_hqx"
"dnxhd -profile:v dnxhr_444"
ProWo
30th December 2020, 17:03
@ -QfG-
Thank you for your suggestions. I will see what can be done.
ProWo
31st December 2020, 19:06
December 30, 2020 update to version 2.7.0.
Fixed: Small bugs.
Added: Audio delay info, Inverse Telecine (IVTC) for 29.97, 30, 59.94, 60 FPS Sources.
Improved: Many fine tunings.
ProWo
4th January 2021, 22:15
@ -QfG-
Added dnxhr support in the newest beta. Try it and report issues here.
-QfG-
7th January 2021, 01:30
DnxHR Encoding works perfectly. Good choice is the mxf container. I have a *bat script for my Audio to single channel wav encoding, perhaps it helps you to implate.
@echo off & setlocal
mode con cols=120 lines=50
TITLE Audio Stream Channel Extractor [Team QfG] v0.13 beta
rem --- Hardcoded settings. Can be changed manually ---
set "sfkpath=%~dp0tools\sfk.exe" rem Path to sfk.exe
set "eac3topath=%~dp0tools\eac3to.exe" rem Path to eac3to.exe
set "FFMPEGpath=%~dp0tools\ffmpeg.exe" rem Path to FFMPEG.exe
set "ENCODER=FFMPEG" rem FFMPEG/eac3to - Standard Encoder
set "DOWNS=Yes" rem Yes/No - Activate/Deactivate 16 Bit downsampling
set "SURROUND=71" rem 10/20/21/51/61/71/71S - Channel Layout for FFMPEG
set "TRACK=2" rem 1/2/3/... - Standard Track Nunmber
rem --- Hardcoded settings. Cannot be changed ---
set WAIT="%sfkpath%" sleep
set GREEN="%sfkpath%" color green
set RED="%sfkpath%" color red
set YELLOW="%sfkpath%" color yellow
set WHITE="%sfkpath%" color white
set CYAN="%sfkpath%" color cyan
set MAGENTA="%sfkpath%" color magenta
set GREY="%sfkpath%" color grey
%green%
echo Copyright (c) 2020 TeamQfG
echo.
%white%
echo ====================================
%green%
echo Audio Stream Channel Extractor
%white%
echo ====================================
echo.
%white%
IF "%~1"=="" (
%yellow%
echo.
echo No Input File. Drag and Drop a file over this script.
echo.
"%~dp0eac3to.exe" "%~1"
echo.
%white%
echo Press [ENTER] to Exit.
pause>nul
exit
)
IF /i "%~x1"==".mkv" set "CONTTRUE=TRUE"
IF /i "%~x1"==".mka" set "CONTTRUE=TRUE"
IF /i "%~x1"==".evo" set "CONTTRUE=TRUE"
IF /i "%~x1"==".vob" set "CONTTRUE=TRUE"
IF /i "%~x1"==".m2ts" set "CONTTRUE=TRUE"
IF /i "%~x1"==".ts" set "CONTTRUE=TRUE"
:START
cls
%green%
echo Copyright (c) 2020 TeamQfG
echo.
%white%
echo ====================================
%green%
echo Audio Stream Channel Extractor
%white%
echo ====================================
echo.
%white%
echo Source Informations:
%yellow%
echo.
"%eac3topath%" "%~1"
echo.
%white%
echo Encoder Settings:
%green%
echo.
if "%ENCODER%"=="FFMPEG" (
if "%SURROUND%"=="10" set "Surrounddisp=Mono"
if "%SURROUND%"=="20" set "Surrounddisp=Stereo"
if "%SURROUND%"=="21" set "Surrounddisp=Surround 2.1"
if "%SURROUND%"=="51" set "Surrounddisp=Surround 5.1"
if "%SURROUND%"=="61" set "Surrounddisp=Surround 6.1"
if "%SURROUND%"=="71" set "Surrounddisp=Surround 7.1"
if "%SURROUND%"=="71S" set "Surrounddisp=Surround 7.1 [STRANGE]"
)
if "%ENCODER%"=="eac3to" (
echo 1. Encoder : %ENCODER%
echo 2. 16-Bit downsampling : %DOWNS%
if "%CONTTRUE%"=="TRUE" echo 3. Select Audio Track : %TRACK%
echo.
echo.
%white%
echo Change Settings and press [S] to start^!
if "%CONTTRUE%"=="TRUE" CHOICE /C 123S /N /M "Select a Letter 1,2,3,S"
if not "%CONTTRUE%"=="TRUE" CHOICE /C 12S /N /M "Select a Letter 1,2,S"
if "%CONTTRUE%"=="TRUE" (
IF errorlevel 4 goto EXTRACT
IF errorlevel 3 (
echo.
%white%
echo Type in the Audio Track Number, which will be extracted.
echo Importend^! Only Audio Tracks are supported yet.
echo For Example: For Audio Track 3 type 3 and press Enter^!
echo.
set /p "Track=Insert ONLY ONE Track Number here and press [ENTER]: "
goto START
)
)
if not "%CONTTRUE%"=="TRUE" (
IF errorlevel 3 goto EXTRACT
)
IF errorlevel 2 (
if "%DOWNS%"=="Yes" set "downs=No"
if "%DOWNS%"=="No" set "downs=Yes"
goto START
)
IF errorlevel 1 (
set "Encoder=FFMPEG
goto START
)
)
if "%ENCODER%"=="FFMPEG" (
echo 1. Encoder : %ENCODER%
echo 2. Channel Settings : %Surrounddisp%
echo 3. 16-Bit downsampling : %DOWNS%
if "%CONTTRUE%"=="TRUE" echo 4. Select Audio Track : %TRACK%
echo.
echo.
%white%
echo Change Settings and press [S] to start^!
if "%CONTTRUE%"=="TRUE" CHOICE /C 1234S /N /M "Select a Letter 1,2,3,4,[S]tart"
if not "%CONTTRUE%"=="TRUE" CHOICE /C 123S /N /M "Select a Letter 1,2,3,[S]tart"
if "%CONTTRUE%"=="TRUE" (
IF errorlevel 5 goto EXTRACT
IF errorlevel 4 (
%white%
echo.
echo Type in the Audio Track Number, which will be extracted.
echo Importend^! Only Audio Tracks are supported yet.
echo For Example: For Audio Track 3 type 3 and press Enter^!
echo.
set /p "Track=Insert ONLY ONE Track Number here and press [ENTER]: "
goto START
)
)
if not "%CONTTRUE%"=="TRUE" (
IF errorlevel 4 goto EXTRACT
)
IF errorlevel 3 (
if "%DOWNS%"=="Yes" set "downs=No"
if "%DOWNS%"=="No" set "downs=Yes"
goto START
)
IF errorlevel 2 (
if "%SURROUND%"=="10" set "Surround=20"
if "%SURROUND%"=="20" set "Surround=21"
if "%SURROUND%"=="21" set "Surround=51"
if "%SURROUND%"=="51" set "Surround=61"
if "%SURROUND%"=="61" set "Surround=71"
if "%SURROUND%"=="71" set "Surround=71S"
if "%SURROUND%"=="71S" set "Surround=10"
goto START
)
IF errorlevel 1 (
set "Encoder=eac3to
goto START
)
)
:EXTRACT
%WHITE%
if "%CONTTRUE%"=="TRUE" set "EXTRACTCONT=TRUE"
if "%ENCODER%"=="eac3to" if "%CONTTRUE%"=="TRUE" goto EXTRACTEAC3TOCONT
if "%ENCODER%"=="eac3to" if not "%CONTTRUE%"=="TRUE" goto EXTRACTEAC3TO
if "%ENCODER%"=="FFMPEG" if "%CONTTRUE%"=="TRUE" goto EXTRACTFFMPEGCONT
if "%ENCODER%"=="FFMPEG" if not "%CONTTRUE%"=="TRUE" goto EXTRACTFFMPEG
:EXTRACTEAC3TO
cls
if not "%DOWNS%"=="Yes" set "downs16="
if "%DOWNS%"=="Yes" set "downs16=-down16"
echo.
echo Encoding with [eac3to] using the following settings:
echo.
echo 16-Bit downsampling : %DOWNS%
echo.
"%eac3topath%" "%~1" "%~dp1[eac3to] %~n1\%~n1.wavs" %downs16%
echo.
echo Press [ENTER] to continue ...
pause>nul
goto START
:EXTRACTEAC3TOCONT
cls
if not "%DOWNS%"=="Yes" set "downs="
if "%DOWNS%"=="Yes" set "downs=-down16"
echo.
echo Encoding with [eac3to] using the following settings:
echo.
echo 16-Bit downsampling : %DOWNS%
echo.
"%eac3topath%" "%~1" %TRACK%: "%~dp1[eac3to] %~n1_[Stream#%TRACK%]\%~n1.wavs" %downs16%
echo.
echo Press [ENTER] to continue ...
pause>nul
goto START
:EXTRACTFFMPEG
cls
if not "%DOWNS%"=="Yes" set "downs16=-c:a pcm_s24le"
if "%DOWNS%"=="Yes" set "downs16="
if not exist "%~dp1[FFMPEG] %~n1" md "%~dp1[FFMPEG] %~n1"
echo.
echo Encoding with [FFMPEG] using the following settings:
echo.
echo Channel Settings : %Surrounddisp%
echo 16-Bit downsampling : %DOWNS%
echo.
if "%SURROUND%"=="71S" "%FFMPEGpath%" -drc_scale 0 -y -i "%~1" -loglevel error -stats -filter_complex "[0:a]channelsplit=channel_layout=7.1[FL][FR][FC][LFE][BL][BR][SL][SR]" -map "[FL]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.L.wav" -map "[FR]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.R.wav" -map "[FC]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.C.wav" -map "[LFE]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.LFE.wav" -map "[BL]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.Lsr.wav" -map "[BR]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.Rsr.wav" -map "[SL]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.Ls.wav" -map "[SR]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.Rs.wav"
if "%SURROUND%"=="71" "%FFMPEGpath%" -drc_scale 0 -y -i "%~1" -loglevel error -stats -filter_complex "[0:a]channelsplit=channel_layout=7.1[FL][FR][FC][LFE][BL][BR][SL][SR]" -map "[FL]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.L.wav" -map "[FR]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.R.wav" -map "[FC]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.C.wav" -map "[LFE]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.LFE.wav" -map "[BL]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.Lsr.wav" -map "[BR]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.Rsr.wav" -map "[SL]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.Lss.wav" -map "[SR]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.Rss.wav"
if "%SURROUND%"=="61" "%FFMPEGpath%" -drc_scale 0 -y -i "%~1" -loglevel error -stats -filter_complex "[0:a]channelsplit=channel_layout=6.1[FL][FR][FC][LFE][BC][SL][SR]" -map "[FL]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.L.wav" -map "[FR]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.R.wav" -map "[FC]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.C.wav" -map "[LFE]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.LFE.wav" -map "[BC]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.Cs.wav" -map "[SL]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.Ls.wav" -map "[SR]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.Rs.wav"
if "%SURROUND%"=="51" "%FFMPEGpath%" -drc_scale 0 -y -i "%~1" -loglevel error -stats -filter_complex "[0:a]channelsplit=channel_layout=5.1[FL][FR][FC][LFE][SL][SR]" -map "[FL]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.L.wav" -map "[FR]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.R.wav" -map "[FC]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.C.wav" -map "[LFE]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.LFE.wav" -map "[SL]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.Ls.wav" -map "[SR]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.Rs.wav"
if "%SURROUND%"=="21" "%FFMPEGpath%" -drc_scale 0 -y -i "%~1" -loglevel error -stats -filter_complex "[0:a]channelsplit=channel_layout=2.1[FL][FR][LFE]" -map "[FL]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.L.wav" -map "[FR]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.R.wav" -map "[LFE]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.LFE.wav"
if "%SURROUND%"=="20" "%FFMPEGpath%" -drc_scale 0 -y -i "%~1" -loglevel error -stats -filter_complex "[0:a]channelsplit=channel_layout=stereo[LEFT][RIGHT]" -map "[LEFT]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.L.wav" -map "[RIGHT]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.R.wav"
if "%SURROUND%"=="10" "%FFMPEGpath%" -drc_scale 0 -y -i "%~1" -loglevel error -stats -filter_complex "[0:a]channelsplit=channel_layout=mono[FC]" -map "[FC]" %downs16% "%~dp1[FFMPEG] %~n1\%~n1.C.wav"
echo.
echo Press [ENTER] to continue ...
pause>nul
goto START
:EXTRACTFFMPEGCONT
cls
set /A FFMPEGSTREAM=%TRACK%-1
if not "%DOWNS%"=="Yes" set "downs16=-c:a pcm_s24le"
if "%DOWNS%"=="Yes" set "downs16="
if not exist "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]" md "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]"
echo.
echo Encoding with [FFMPEG] using the following settings:
echo.
echo Channel Settings : %Surrounddisp%
echo 16-Bit downsampling : %DOWNS%
echo.
if "%SURROUND%"=="71S" "%FFMPEGpath%" -drc_scale 0 -y -i "%~1" -loglevel error -stats -filter_complex "[0:%FFMPEGSTREAM%]channelsplit=channel_layout=7.1[FL][FR][FC][LFE][BL][BR][SL][SR]" -map "[FL]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.L.wav" -map "[FR]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.R.wav" -map "[FC]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.C.wav" -map "[LFE]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.LFE.wav" -map "[BL]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.Lsr.wav" -map "[BR]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.Rsr.wav" -map "[SL]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.Ls.wav" -map "[SR]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.Rs.wav"
if "%SURROUND%"=="71" "%FFMPEGpath%" -drc_scale 0 -y -i "%~1" -loglevel error -stats -filter_complex "[0:%FFMPEGSTREAM%]channelsplit=channel_layout=7.1[FL][FR][FC][LFE][BL][BR][SL][SR]" -map "[FL]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.L.wav" -map "[FR]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.R.wav" -map "[FC]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.C.wav" -map "[LFE]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.LFE.wav" -map "[BL]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.Lsr.wav" -map "[BR]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.Rsr.wav" -map "[SL]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.Lss.wav" -map "[SR]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.Rss.wav"
if "%SURROUND%"=="61" "%FFMPEGpath%" -drc_scale 0 -y -i "%~1" -loglevel error -stats -filter_complex "[0:%FFMPEGSTREAM%]channelsplit=channel_layout=6.1[FL][FR][FC][LFE][BC][SL][SR]" -map "[FL]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.L.wav" -map "[FR]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.R.wav" -map "[FC]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.C.wav" -map "[LFE]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.LFE.wav" -map "[BC]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.Cs.wav" -map "[SL]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.Ls.wav" -map "[SR]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.Rs.wav"
if "%SURROUND%"=="51" "%FFMPEGpath%" -drc_scale 0 -y -i "%~1" -loglevel error -stats -filter_complex "[0:%FFMPEGSTREAM%]channelsplit=channel_layout=5.1[FL][FR][FC][LFE][SL][SR]" -map "[FL]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.L.wav" -map "[FR]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.R.wav" -map "[FC]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.C.wav" -map "[LFE]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.LFE.wav" -map "[SL]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.Ls.wav" -map "[SR]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.Rs.wav"
if "%SURROUND%"=="21" "%FFMPEGpath%" -drc_scale 0 -y -i "%~1" -loglevel error -stats -filter_complex "[0:%FFMPEGSTREAM%]channelsplit=channel_layout=2.1[FL][FR][LFE]" -map "[FL]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.L.wav" -map "[FR]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.R.wav" -map "[LFE]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.LFE.wav"
if "%SURROUND%"=="20" "%FFMPEGpath%" -drc_scale 0 -y -i "%~1" -loglevel error -stats -filter_complex "[0:%FFMPEGSTREAM%]channelsplit=channel_layout=stereo[LEFT][RIGHT]" -map "[LEFT]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.L.wav" -map "[RIGHT]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.R.wav"
if "%SURROUND%"=="10" "%FFMPEGpath%" -drc_scale 0 -y -i "%~1" -loglevel error -stats -filter_complex "[0:%FFMPEGSTREAM%]channelsplit=channel_layout=mono[FC]" -map "[FC]" %downs16% "%~dp1[FFMPEG] %~n1_[Stream#%TRACK%]\%~n1.C.wav"
echo.
echo Press [ENTER] to continue ...
pause>nul
goto START
:EXIT
exit
-QfG-
8th January 2021, 22:28
Found an error in the newest beta. if i put a DTS File without container in the tool, i become an error message, that i must mux this file into a container. If i click OK by this message, the message comes again. I can't stop this process and must exit the tool with CTRL+ALT+DEL.
ProWo
9th January 2021, 17:05
Found an error in the newest beta. if i put a DTS File without container in the tool, i become an error message, that i must mux this file into a container. If i click OK by this message, the message comes again. I can't stop this process and must exit the tool with CTRL+ALT+DEL.
This error can happen if the file does not contain duration information. Try to mux the DTS file into a mp4 container:
ffmpeg -i input.dts -c copy output.mp4
This will refresh the timestamps and the new mp4 should load without problems in clever FFmpeg GUI.
This procedure should make the program itself fully automatic. Why this creates a loop, I have to investigate first.
ProWo
11th January 2021, 09:02
Found an error in the newest beta. if i put a DTS File without container in the tool, i become an error message, that i must mux this file into a container. If i click OK by this message, the message comes again. I can't stop this process and must exit the tool with CTRL+ALT+DEL.
I just tested it with a DTS file on version 2.7.1_02_Beta. Works flawless.
-QfG-
11th January 2021, 18:10
Confirmend! DTS Raw Streams works fine now.
Is there any chance to implate single mono wavs export? With this Option i can delete all my other tools :).
ProWo
19th January 2021, 11:24
January 19, 2021 update to version 2.7.1.
Fixed: Many small bugs.
Added: DnxHR encoding, multiplex to mfx.
Improved: Many fine tunings, new Windows 10 design, new logo, new icon.
ProWo
3rd February 2021, 11:01
February 02, 2021
Added Avisynth support (only for the video track) into the newest beta (2.7.2_05_Beta).
On request, the loaded video will be imported into an Avisynth script. This script can then be customized and modified as desired. The script can then be tested with virtualdub. If it works as desired, it is encoded in clever FFmpeg-GUI with the desired codec.
ProWo
8th February 2021, 14:56
February 08, 2021 update to version 2.7.2.
Fixed: Small bugs.
Added: VP8 encoding, multiplex to webm.
Added: Video merge (concat demuxer).
Added: Support for Avisynth. A basic Avisynth script is created that you can customize, modify, test and then encode with the desired encoder.
Removed: Inverse Telecine (IVTC), QTGMC deinterlacing. You can use your own scripts now.
Improved: Many fine tunings.
tormento
9th February 2021, 13:12
Does it allow to remux a mkv to mp4 with the same structure, i.e. video/audio/subs/chapter copying?
ProWo
9th February 2021, 20:01
Does it allow to remux a mkv to mp4 with the same structure, i.e. video/audio/subs/chapter copying?
Video, Audio, Subtitle. No chapters.
tormento
9th February 2021, 20:05
Video, Audio, Subtitle. No chapters.
Is it possible to add chapters as a new feature?
ProWo
11th February 2021, 08:47
Is it possible to add chapters as a new feature?
Try
Ffmpeg -i your.mkv -map 0 -c copy output.mp4
tormento
11th February 2021, 13:28
Try Ffmpeg -i your.mkv -map 0 -c copy output.mp4
[mp4 @ 00000288a4288dc0] track 1: codec frame size is not set
[mp4 @ 00000288a4288dc0] Could not find tag for codec ass in stream #2, codec not currently supported in container
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:12 --
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)
Stream #0:3 -> #0:3 (copy)
Stream #0:4 -> #0:4 (copy)
Stream #0:5 -> #0:5 (copy)
Stream #0:6 -> #0:6 (copy)
Stream #0:7 -> #0:7 (copy)
Stream #0:8 -> #0:8 (copy)
Stream #0:9 -> #0:9 (copy)
Stream #0:10 -> #0:10 (copy)
Stream #0:11 -> #0:11 (copy)
Stream #0:12 -> #0:12 (copy)
Last message repeated 1 times
It outputs 0 bytes file.
ProWo
11th February 2021, 16:46
[mp4 @ 00000288a4288dc0] Could not find tag for codec ass in stream #2, codec not currently supported in container
It outputs 0 bytes file.
Ffmpeg -i your.mkv -map 0 -c copy -c:s mov_text output.mp4
tormento
11th February 2021, 18:31
Ffmpeg -i your.mkv -map 0 -c copy -c:s mov_text output.mp4
Multiple -c, -codec, -acodec, -vcodec, -scodec or -dcodec options specified for stream 2, only the last option '-c:s mov_text' will be used.
[mp4 @ 0000021919779e00] track 1: codec frame size is not set
[mp4 @ 0000021919779e00] Could not find tag for codec ttf in stream #3, codec not currently supported in container
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:12 --
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (ass (ssa) -> mov_text (native))
Stream #0:3 -> #0:3 (copy)
Stream #0:4 -> #0:4 (copy)
Stream #0:5 -> #0:5 (copy)
Stream #0:6 -> #0:6 (copy)
Stream #0:7 -> #0:7 (copy)
Stream #0:8 -> #0:8 (copy)
Stream #0:9 -> #0:9 (copy)
Stream #0:10 -> #0:10 (copy)
Stream #0:11 -> #0:11 (copy)
Stream #0:12 -> #0:12 (copy)
Last message repeated 1 times
ProWo
11th February 2021, 19:15
Post an mediainfo report of your video here.
guest
17th February 2021, 02:52
Hi, not sure if this has been asked before, I'm new here, and just started using this app.
Can TrueHD 7.1 be converted to E-AC3 5.1 ??
If so, how, or would this need to be added to the app ??
Cheers
ProWo
17th February 2021, 17:54
Hi, not sure if this has been asked before, I'm new here, and just started using this app.
Can TrueHD 7.1 be converted to E-AC3 5.1 ??
If so, how, or would this need to be added to the app ??
Cheers
Will examine this.
ProWo
18th February 2021, 15:48
Is there any chance to implate single mono wavs export?
5.1 (6 ch) and 7.1(8ch) to single wav's (pcm) conversion implemented in latest beta version (v2.7.3_05_Beta).
Try it and report here.
ProWo
18th February 2021, 15:51
Can TrueHD 7.1 be converted to E-AC3 5.1 ??
TrueHD 7.1 to eac3 (5.1) conversion implemented in latest beta version (v2.7.3_05_Beta).
Try it and report here.
guest
19th February 2021, 01:32
TrueHD 7.1 to eac3 (5.1) conversion implemented in latest beta version (v2.7.3_05_Beta).
Try it and report here.
Hi ProWo,
I have done a conversion test of a TrueHD track, to E-AC3, and even though I chose "channels" option as "as source", it still changed it from 7.1 to 5.1, HOWEVER, that is not a fault of the app, it's FFMPEG itself :(
The "brains" behind FFMPEG, need to figure out a way so that it does support 7.1 / 8 channels.
But it IS nice that there is now E-AC3 support :)
I noticed a 7.1 pcm option, I will see what that does.
edit:- I just tried the 5.1 & 7.1 single pcm option, and when chosen, all other options disappear, and nothing can continue :(
Cheers, keep up the excellent work :)
ProWo
19th February 2021, 08:28
I just tried the 5.1 & 7.1 single pcm option, and when chosen, all other options disappear, and nothing can continue :(
Thanks for the hint. Is now fixed.
tebasuna51
19th February 2021, 19:19
The "brains" behind FFMPEG, need to figure out a way so that it does support 7.1 / 8 channels.
For what? To have 2D audio is more than enough 5.1 channels, 7.1 is unnecesary.
Maybe is better than use the "brains" for 3D audio and support Atmos.
guest
20th February 2021, 02:20
For what? To have 2D audio is more than enough 5.1 channels, 7.1 is unnecessary.
Maybe is better than use the "brains" for 3D audio and support Atmos.
A bit aggressive....
I'd really want to say thanks for this (that I found a couple of days ago) :)
https://forum.doom9.org/showthread.php?p=1929204#post1929204
I'm just sayin', some ppl would like 7.1, and have the hardware to use it, I, on the other hand, can ONLY use 5.1.
Maybe in the future, the "brains" might come up with ATMOS support, but that would still be useless for me.
I'm just happy that I have found a quicker way of converting TrueHD / Atmos to E-AC3, instead of DTSMA-HD (or what ever it is).
ProWo
1st March 2021, 13:25
March 01, 2021 update to version 2.7.3.
Fixed: Small bugs.
Added: Multiplex to mov.
Added: Profile selection (x264 and x265).
Improved: Duration detection, Multiplex logic, many fine tunings.
ProWo
4th March 2021, 17:16
Reintegrated the prior simple IVTC function. In many cases it works flawlessly, in others is needed an improved Avisynth script. Both are now possible. Download the latest beta version (v2.7.4_03_Beta) and try it out.
ProWo
15th March 2021, 18:39
March 15, 2021 update to version 2.7.4.
Fixed: Small bugs.
Rewritten: entire DVD Rip module (unprotected DVD's only).
Improved: Duration detection, Multiplex logic, Audio codec and channel logic, many fine tunings.
ProWo
18th March 2021, 11:42
In my case, I hired a web development team and they solve this problem for me.
And what does that tell us?
ProWo
19th March 2021, 11:18
March 19, 2021 updated latest beta (v2.7.5_03_Beta)
Added: Hardcoding SRT and ASS Subtitles.
https://forum.videohelp.com/attachment.php?attachmentid=57859
ProWo
2nd April 2021, 10:29
April 02, 2021 update to version 2.7.5.
Fixed: Small bugs.
Added: Hardcoding SRT/SSA/ASS Subs to videostream.
Improved: Cut section, multiplex section, many fine tunings.
ProWo
15th April 2021, 13:40
April 15, 2021 update to version 2.7.6.
Fixed: Small bugs, change audio speed & pitch issue.
Added: Mux to ASF container.
Improved: Multiplex section, Join section.
ProWo
19th April 2021, 12:45
Added: Change Profile Level without recoding for h264 and hevc videos in the newest Beta (v2.7.7_02_Beta).
https://forum.videohelp.com/attachments/58493-1618831017/1.jpg
ProWo
23rd April 2021, 12:22
April 23, 2021 update to version 2.7.7.
Fixed: Small bugs, stream selection issue (with multiple A+S streams).
Added: Change profile level without recoding (for h264 and hevc videos).
Improved: Multiplex section, Join section, Cut section.
May 06, 2021 update to version 2.7.8.
Fixed: Some annoying bugs.
Changed: Some cosmetics.
ProWo
7th June 2021, 17:52
May 31, 2021 update to version 2.7.9.
Fixed: Some small errors.
Fixed: A problem that the tags of the previously edited streams are not taken over correctly.
Improved: Audiostream Info.
guest
11th June 2021, 11:31
Hi ProWo,
I haven't used this little gem for a little while now, so I have a question...I notice that in "Video Conversion" there is a "Colorspace" option...does this allow a HDR to SDR conversion ??
I have since downloaded the latest beta build, and I am wondering if you could add an nVidia Decoder & Encoder options for those of us that have suitable nVidia GPU's.
http://rationalqm.us/mine.html
https://www.videohelp.com/software/NVEnc
ProWo
12th June 2021, 16:14
Hi ProWo,
I haven't used this little gem for a little while now, so I have a question...I notice that in "Video Conversion" there is a "Colorspace" option...does this allow a HDR to SDR conversion ??
I have since downloaded the latest beta build, and I am wondering if you could add an nVidia Decoder & Encoder options for those of us that have suitable nVidia GPU's.
http://rationalqm.us/mine.html
https://www.videohelp.com/software/NVEnc
Belong the colorspace option: No, it isnt for HDR to SDR conversion, but for conversions between HD (g.e. 1280x720) and SD (g.e. 720x480) resolutions.
HDR to SDR conversion is be done by conversion of HDR stream without the check of HDR encoding.
What about Nvenc i'll see what can be done.
guest
13th June 2021, 02:11
Belong the colorspace option: No, it isnt for HDR to SDR conversion, but for convetsions between HD (g.e. 1280x720) and SD (g.e. 720x480) resolutions.
HDR to SDR conversion is be done by conversion of HDR stream without the check of HDR encoding.
What about Nvenc i'll see what can be done.
Hi ProWo,
Not sure why there are 2 identical posts (might as well delete one).
OK, so thanks for replying, and I did a little test yesterday with HDR to SDR, or your BT 709 option...
I loaded a HDR HEVC movie (Batman), and basically only chose the BT 709 option, and let it go....other than being extremely slow (even with my 12 core CPU), I only let it run for about 10 minutes, and played what it had processed, and it looked pretty good, I checked it with Mediainfo, and it definitely wasn't HDR anymore :)
If that conversion could be done using nVidia GPU's, that might speed up the process.
Anyway, that's my feedback.
Regards
ProWo
14th June 2021, 22:32
I have since downloaded the latest beta build, and I am wondering if you could add an nVidia Decoder & Encoder options for those of us that have suitable nVidia GPU's.
Hi, Pauly Dunne
Sorry, but for further there will be no support for hardware acceleration.
Too many limitations, many options and filters can't be used, output quality can suffer.
My motto: Better slow, but good quality.
Read also: https://forum.videohelp.com/threads/402014-Why-does-the-size-and-clarity-change-when-using-hardware-acceleration
guest
15th June 2021, 05:33
Hi, Pauly Dunne
Sorry, but for further there will be no support for hardware acceleration.
Too many limitations, many options and filters can't be used, output quality can suffer.
My motto: Better slow, but good quality.
Read also: https://forum.videohelp.com/threads/402014-Why-does-the-size-and-clarity-change-when-using-hardware-acceleration
Hi ProWo,
Well, that's sad, but if you don't think it's the way to go, then that's it.
Thankyou for at least looking into for me.
But having said that, since posted my request, I went looking, and found another FFMPEG based app called Axiom....it seems to do a lot.
Have been testing it, seems OK, but like every new thing one tries, requires a steep learning curve.
Cheers
ProWo
21st June 2021, 14:23
June 21, 2021 update to version 2.8.0.
Fixed: Some minor bugs.
Improved: Minor improvements in code and program-flow.
ProWo
16th July 2021, 12:26
July 16, 2021 update to version 2.8.1.
Fixed: Some minor bugs.
Improved: Pre-processed streams handling (up to 10 streams now), unified color palette.
ProWo
22nd July 2021, 09:16
July 22, 2021 update to version 2.8.2.
Fixed: A major bug in stream selection for extraction.
ProWo
27th July 2021, 21:43
July 27, 2021 update to version 2.8.3.
Fixed: A major bug in change fps execution.
ProWo
5th August 2021, 18:00
August 05, 2021 update to version 2.8.4.
Fixed: A major bug in IVTC execution.
Improved: Recognition of a eventual video offset, Automatic stream sorting before muxing (In the multiplex section).
Added: Automatic adjustment of the audio delay in the presence of a video offset.
ProWo
9th August 2021, 15:36
August 09, 2021 update to version 2.8.5.
Improved: Initialization routine (only at the first program start).
ProWo
26th August 2021, 13:40
August 26, 2021 update to version 2.8.6.
Fixed: Many little bugs.
Improved: A/V synchronization (multiplex section) has been completely recoded.
ProWo
7th September 2021, 16:06
September 07, 2021 update to version 2.8.7.
Changed: Layout: new background color.
Added: 5.1 (side) audio encoding.
Improved: Audio: multichannel encoding (for faulty multichannel audio streams, to avoid channels mapping errors);
Multiplex: stream analysis, program logic, A/V synchronization, automatic output file;
Entire video analysis completely renewed.
guest
13th September 2021, 04:35
Does this REALLY convert audio to E-AC3 7.1 ??
I tried a couple of times, and just got an error, and that was it.
I extracted the .dts and then re loaded that as the source file, and tried the conversion, but I couldn't understand how to then process it :(
ProWo
13th September 2021, 06:19
Conversion to eac3 7.1 cant be done atm.
This is a limitation by ffmpeg itself.
aigo
20th September 2021, 00:57
Just discovered this app, thanks much, ProWo!
Would it be possible to introduce a file integrity check/verification of some sort?
I see FFMPEG has a "error" and "debug" flag, so perhaps it wouldn't be too difficult to implement?
I don't know if there's a newer/easier FFMPEG feature, but I found these postings from 2015 describing usage of some of the flag options:
https://superuser.com/questions/573644/what-are-the-correct-options-to-use-to-verify-video-files-using-ffmpeg-exe-in-wi
https://superuser.com/questions/100288/how-can-i-check-the-integrity-of-a-video-file-avi-mpeg-mp4
Thanks!
ProWo
20th September 2021, 17:30
@ aigo
The error messages from FFmpeg don't really help.
At most, they serve as information; if a video stream is really defective, then in the vast majority of cases it cannot be used anyway.
Small correction algorithms that FFmpeg provides are already built into clever FFmpeg-GUI, in audio and video conversion, cutting, joining or multiplexing.
ProWo
28th September 2021, 07:30
September 28, 2021 update to version 2.8.8.
Fixed: A major bug in multiplex mapping,
pcm codec selection not executed,
bug in audio length & pitch change.
Solved: Missing pkt_pts_time in newer ffprobe releases.
Improved: Multiplex section.
ProWo
26th October 2021, 09:56
October 26, 2021 update to version 2.8.9.
Fixed: 0file bug, delete language tag bug, add files bug in multiplex section, aborted check bug
Added: Ability to extract raw h264/h265 videostreams, mux dvb_subtitle into m2ts
Removed: Mux hdmv_pgs_subtitle into m2ts, mkv, ts (not working)
Changed: Output filenames, keyframe check from I to IDR
ProWo
26th November 2021, 11:29
November 26, 2021 update to version 2.9.0.
Fixed: minor bug (29.97fps recognition), bug in default+forced tags in subtitles, bug in subtitle track test
Added: Multiplex to 3gp, Ability to show source info (clicking on source file)
Improved: Change language tag
Changed: .net 4.6 to 4.8
ProWo
21st December 2021, 10:13
December 21, 2021 update to version 2.9.1.
Fixed: ac3 decoder drc on/off, minor bugs on info labels, bug in cut section for source without videostream.
Added: ac3 mux in mpg, missing video codec and video language info,
set default audiostream tag, selected streams counter and sum in multiplex section, homepage link.
ProWo
21st January 2022, 15:25
January 21, 2022 update to version 2.9.2.
Fixed: Bug in pcm encoding, bug in audio and subtitle dispositions
Added: Insert/change/delete Stream Title in Multiplex section, pcm encoding to 16/24/32bit, hdmv_pgs_subtitle in m2ts, encode to av1.
Improved: Change Stream Language and Title (dedicated button), processed file check, processed streams control.
Changed: Default flag selected by default on 1st audiostream
ProWo
22nd February 2022, 11:17
February 22, 2022 update to version 2.9.3.
Fixed: Profile level change (h264 and hevc), bug in x264 interlaced encoding, offset bug, processed streams control bug
Added: mpeg2 interlaced encoding, pgs subtitles in mkv container, eac3 in ts, hevc in m2ts
Improved: Multiplex stream sorting, shorter commandline, subtitle extraction and conversion, defective streams file handling, stream title in various containers, ac3 5.1 patch
ProWo
8th March 2022, 09:59
March 08, 2022 update to version 2.9.4.
Fixed: Bug in multiplex streams sorting.
Added: Check for multiple video streams in multiplex section.
Improved: Little improvement on IVTC.
ProWo
21st March 2022, 16:20
March 21, 2022 update to version 2.9.5.
Fixed: Muxing hevc into avi, no offset on avs encoding.
Added: Endian choice on pcm encoding.
Improved: Audio delay analisys, muxing grid.
Changed: Compiled for any CPU. Works on x86, x84, ARM.
ProWo
5th April 2022, 09:35
April 05, 2022 update to version 2.9.6.
Added: Info Label for processed streams, new duration info on video or audio length change.
Improved: Crop detection.
Changed: Automatic change to Bt709, framerate commandline from -r to -vf fps, av1 encoder descriptions, new logo and color changes.
ProWo
7th April 2022, 15:19
v2.9.6.02 (newest beta) fixed: dnxhr encoding, dnxhr muxing to mov and mxf, svt-av1 and rav1e encoding prevented with 32bit os.
May 02, 2022 update to version 2.9.7.
Fixed: dnxhr encoding, dnxhr muxing to mov and mxf, svt-av1 and rav1e encoding prevented with 32bit os, interlaced mpeg2 and avc encoding, av1 encoder selection on 32 bit OS.
Changed: Button positions in crop UI.
Improved: AC3 5.2 patch (fully recoded).
May 04, 2022
Added: Simple EIA-608/708 captions extraction in the newest beta (v2.9.7.02).
May 06, 2022
Added: Color range setting in video encoding section (in the newest beta, v2.9.7.07).
Try it and report issues here.
May 09 2022 Added: Video wmv encoding, mux to flv and wmv, extract atrac3 audio stream (in the newest beta, v2.9.7.08).
Try it and report issues here.
ProWo
17th May 2022, 10:55
May 17, 2022 update to version 2.9.8.
Fixed: Bug in colorspace and Bit Depth selection, interlaced avc encoding.
Added: Captions EIA-608/708 extraction to srt, dvvideo muxing to asf,avi,mov,mxf, change/delete container title, color range selection, show source colorspace,colorrange,bitdepth, muxing to flv,wmv, video encoding to wmv (wmv1+wmv2), atrac3 audio extraction, profile level on target file name, if changed.
Changed: Audio codec selection wav (pcm) to pcm, little cosmetics.
ProWo
9th June 2022, 12:40
June 09, 2022 update to version 2.9.9.
Fixed: Trigger reset for pcm selection, single channels pcm trigger, bug in mux map sorting, interlaced encoding with resizing, Avisynth support.
Added: More video & audio codecs admitted for flv muxing, allowed sampling rates for each audio codec, Source samplig rate info, Bwdif Deinterlacing Filter.
Changed: Frequency selection, pcm bit depth selection
Improved: Single channels pcm encoding, Audio Channel Info, cropping, Yadif deinterlacing, scan type analisys.
ProWo
4th July 2022, 15:30
July 04, 2022 update to version 3.0.0.
Fixed: Wrong Tooltips, small bugs.
Added: Change Video scan type, video encode to mpeg1, audio volume filter can be used with other audio filter.
Changed: Ac3 decoder DRC preset.
Improved: Cropping.
ProWo
15th July 2022, 10:09
DNxHD and DNxHR endocing completely recoded in the latest beta (v3.0.0.08). Try it.
ProWo
19th July 2022, 17:28
Added support for LUTs (3D Look-Up Tables) in Video encoding, and many other small improvements in the newest Beta (v3.0.0.10).
Esikhoob
20th July 2022, 10:00
Hi
Thank you for your great effort on this clever application.
You had said:
06 May 2020 update to version 2.3.9.
The crash without file selection is corrected.
The command line can be displayed.
Forms have changed from Font to DPI
Where is the command line? I cannot see it.
ProWo
20th July 2022, 12:04
Where is the command line? I cannot see it.
The command line display is turned off in the normal versions, but I'll send you the latest beta (with activated checkbox) tomorrow with which you can display the command line, via PM.
ProWo
22nd July 2022, 14:54
July 22 2022, newest Beta v3.0.0.13
Added Theora encoding and muxing to ogg.
Convert your Video with Therora encoder (in a mkv container, because ffmpeg does not work correctly when writing to ogv or ogg).
Convert your Audio to opus or vorbis and mux the new created streams to ogg container.
ProWo
26th July 2022, 20:49
July 26, 2022 update to version 3.0.1.
Fixed: Audio pan remapping issue, single channels splitting filter issue, Title typo, Audiofilter issue, muxing with subtitles issue, encoding type info issue.
Added: DnxHD encoding, DnxHD condition check, Aspect Ratio Info, Theora encoding, muxing to ogg, source path handling.
Changed: moved global Title to Multiplexing Grid, automatic DAR set, DivX and XviD single stream in mkv container, no file delete with muxing aborted.
Improved: Tooltips, Audio Filter, Deinterlacing chain, Duration detection, no duration handling.
ProWo
10th August 2022, 14:22
Added Chapters support in latest beta for 3gp, mkv, mp4, mov, webm.
chronis
14th August 2022, 05:29
Hi,
1. Would you consider adding support for qaac codec?
2. Is there an option to change video frame rate (e.g. from 25 to 24) without encoding? I couldn't find one.
3. A drag-and-drop option for file specification would be very helpful.
Thanks
ProWo
19th August 2022, 10:42
1. Would you consider adding support for qaac codec?
qaac codec is not included in ffmpeg, and because clever FFmpeg GUI is built on top of ffmpeg only, the use of qaac is not provided.
2. Is there an option to change video frame rate (e.g. from 25 to 24) without encoding? I couldn't find one.
No.
3. A drag-and-drop option for file specification would be very helpful.
What exactly do you mean by file specification?
ProWo
26th August 2022, 12:13
August 26, 2022 update to version 3.0.2.
Fixed: Exception handling, webm as container selection (multiplex).
Added: Chapters support (creating, editing, use extern chapters file), Source file check for warnings or errors, writing app info in outputs, select/deselect all streams in multiplexing, selection to move headers from mp4 and mov to the beginning for better streaming.
Changed: Scan type handling, LUT filter chain, Nero chapters entrys deleted for mp4+mov.
Improved: Hardcode subtitles handling, interlaced encoding from interlaced source, Video cutting.
ProWo
20th September 2022, 20:38
September 20, 2022 update to version 3.0.3.
Fixed: Video filter chain issue, extended range for IVTC detection issue.
Added: hdmv_pgs_sultitle mux to ts.
Changed: Missing scantype handling (progressive is assumed, but can be changed).
Improved: Chapters handling, Video cut, defective video handling, errors scan.
ProWo
25th October 2022, 09:13
October 25, 2022 update to version 3.0.4.
Changed: Video Fade Out, Audio delay handling.
Improved: Avisynth support, avs handling, interlaced encoding.
guest
5th November 2022, 05:04
October 25, 2022 update to version 3.0.4.
Changed: Video Fade Out, Audio delay handling.
Improved: Avisynth support, avs handling, interlaced encoding.
Hi ProWo,
I had a little job to do with this today,
I wanted to convert a 7.1 TrueHD track to AAC 7.1, which this did, took a while, but that's ok.
However, the channel mapping changed considerably from original.
If you would like to know how it changed, please go here :-
https://forum.doom9.org/showthread.php?p=1977775#post1977775
Cheers
tebasuna51
5th November 2022, 14:29
I use MediaInfo channel names (https://mediaarea.net/AudioChannelLayout).
Here (https://developer.apple.com/documentation/coreaudiotypes/audiochannellayout/1572101-audio_channel_layout_tags) show 3 options for AAC Defined Layouts 7.1:
AAC_7_1: C L R Ls Rs Lw Rw LFE
AAC_7_1_B: C L R Ls Rs Lb Rb LFE
AAC_7_1_C: C L R Ls Rs Tfl Tfr LFE
The default one is the first and some aac encoders (Nero, ffmpeg, fhgaacenc) output always that channel layout using this WAV to AAC channel equivalence:
FL/FR -> Lw/Rw
FC/LFE = C/LFE
BL/BR -> Ls/Lr
SL/BR -> L/R
Using ffmpeg like decoder recover the correct layout sending a message:
[aac @ 00000215e4c73d80] Assuming an incorrectly encoded 7.1 channel layout instead of a spec-compliant 7.1(wide) layout, use -strict 1 to decode according to the specification instead.
If you want the standard 7.1 must use qaac or fdkaac than output the correct AAC_7_1_B: C L R Ls Rs Lb Rb LFE
ProWo
6th November 2022, 16:47
Hi ProWo,
I had a little job to do with this today,
I wanted to convert a 7.1 TrueHD track to AAC 7.1, which this did, took a while, but that's ok.
However, the channel mapping changed considerably from original.
If you would like to know how it changed, please go here :-
https://forum.doom9.org/showthread.php?p=1977775#post1977775
Cheers
Hi TDS,
I checked this and just now encoded a TrueHD 7.1 audio stream to AAC 7.1 using clever FFmpeg-GUI.
Mediainfo shows the differences in channel layout you showed, but when I compare the files in Audacity, the channels are arranged exactly the same.
Maybe a problem of Mediainfo?
Compare yourself (see attached picture).
On the left the original TrueHD 7.1 file, on the right the converted AAC 7.1 file.
https://files.videohelp.com/u/292773/3.jpg
tebasuna51
6th November 2022, 21:31
...but when I compare the files in Audacity, the channels are arranged exactly the same.
Maybe a problem of Mediainfo?
Audacity can't decode itself AAC, it uses ffmpeg and maybe silent do:
"Assuming an incorrectly encoded 7.1 channel layout instead of a spec-compliant 7.1(wide)"
But MediaInfo now is correct, ffmpeg encode the standard 7.1 to a non-standard 7.1 channel layout.
Use qaac or fdkaac if you want the correct channel layout 7.1, without problems with 5.1.
guest
7th November 2022, 06:39
Audacity can't decode itself AAC, it uses ffmpeg and maybe silent do:
"Assuming an incorrectly encoded 7.1 channel layout instead of a spec-compliant 7.1(wide)"
But MediaInfo now is correct, ffmpeg encode the standard 7.1 to a non-standard 7.1 channel layout.
Use qaac or fdkaac if you want the correct channel layout 7.1, without problems with 5.1.
So what does this really mean, does someone need to look into this a bit deeper ??
Fortunately for me, tho, I don't use 7.1 anyway, it was just a test, as a question was asked on another forum.
tebasuna51
7th November 2022, 10:21
So what does this really mean, does someone need to look into this a bit deeper ??
The problem is how decode your player an AAC 7.1, strictly it must decode ffmpeg aac 7.1 like the second image in my post and can output a wrong channel map.
To avoid problems encode 7.1 with qaac (the recommended and free AAC encoder) or fdkaac, when the source is the image 1 the decoded output is the same.
Fortunately for me, tho, I don't use 7.1 anyway, it was just a test, as a question was asked on another forum.
The same for me, my AVR is configured like 5.1.2, and only use aac 5.1,
ProWo
7th November 2022, 11:10
Use qaac or fdkaac if you want the correct channel layout 7.1, without problems with 5.1.
I wanted to try that, but qaac does not recognize the truehd 7.1 file.
D:\Freeware\Audio\qaac\x64>qaac64.exe O:\rip\mainmovie\Audio_dolby-spheres-TrueHD_7.1_1_A_extracted.mka
qaac 2.76, CoreAudioToolbox 7.10.9.0
ERROR: Not available input file format
Can you show me the exact command line?
tebasuna51
7th November 2022, 14:58
You need ffmpeg like decoder:
"C:\Portable\0\ffmpeg.exe" -i "input.thd" -acodec pcm_s24le -f wav - | "C:\Portable\0\qaac.exe" -V 91 --ignorelength --adts --no-delay -o "output.aac" -
ProWo
7th November 2022, 15:22
You need ffmpeg like decoder:
"C:\Portable\0\ffmpeg.exe" -i "input.thd" -acodec pcm_s24le -f wav - | "C:\Portable\0\qaac.exe" -V 91 --ignorelength --adts --no-delay -o "output.aac" -
Thanks, this worked, but the new created file cannot be opened by foobar or audacity.
tebasuna51
8th November 2022, 00:49
You are rigth, seems problems of these soft's with ADTS AAC format, without problems in MP4 container:
"C:\Portable\0\ffmpeg.exe" -i "input.thd" -acodec pcm_s24le -f wav - | "C:\Portable\0\qaac.exe" -V 91 --ignorelength --no-delay -o "output.m4a" -
ProWo
8th November 2022, 08:47
You are rigth, seems problems of these soft's with ADTS AAC format, without problems in MP4 container
It's not the container, the adts switch is problematic.
Thanks anyway.
What software can display the effective AAC channel layout without the decoder changing it (like ffmpeg)?
tebasuna51
8th November 2022, 15:07
It's not the container, the adts switch is problematic.
Yes, because the adts header have a field for NumChannels not for a MaskChannel. The qaac and fdkaac put '0' in that header field and MediaInfo and many decoders read that like AAC_7_1_B: C L R Ls Rs Lb Rb LFE
If NumChannels is '8' is read like AAC_7_1: C L R Ls Rs Lw Rw LFE
I don't know where is documented that workaround.
What software can display the effective AAC channel layout without the decoder changing it (like ffmpeg)?
To display audio we need always decode it, to wav or equivalent uncompressed formats. Then your question is what decoders output wav files with waveformatextensible header and correct channelmask.
After decode you need a wav editor than read the channelmask correctly
The correct channelmask for a AAC_7_1: C L R Ls Rs Lw Rw LFE must be:
255 (FL FR FC LF BL BR FLC FRC)
I recommend qaac to Decode .aac or .m4a:
"qaac.exe" -D -b 24 -o "aac_.wav" "input"
Now you can display "aac_.wav" with Audacity, Wavosaur, GoldWave or Audition
ProWo
8th November 2022, 15:37
Thanks a lot for all this Information, tebasuna51.
ProWo
8th November 2022, 17:00
November 8, 2022
Added: Drag & Drop in the newest beta (v3.0.4.02).
ProWo
11th November 2022, 14:46
November11, 2022 beta version 3.0.4.03.
Improved: Drag & Drop in Select Source section, in Multiplex section and in Join section (You can drag & drop on the full frame).
Added: ffv1 encoding (level 1 and 3), ffv1 muxing.
ProWo
21st November 2022, 15:18
November21, 2022 beta version 3.0.4.04.
Added: for the 5.1 to 2 channel downmix you can now choose between four different formulas.
https://forum.videohelp.com/attachment.php?attachmentid=67709
ProWo
25th November 2022, 09:29
November 25, 2022 release version 3.0.5.
Added: Drag & Drop (on full frames), ffv1 encoding & muxing, subtitle conversion to vtt, extract chapters, audio downmix 5.1 to 2 ch choice between 4 formulas. Improved: chapters support, audio delay handling,.
Changed: First Start form completely rewritten, multiple forms cosmetics.
Fixed: mux issue with wrong audio offset of processed audio, pcm_bluray audio extraction to m2ts.
ProWo
25th November 2022, 15:53
November 25, 2022
Newest beta of clever FFmpeg-GUI (v3.0.5.01).
Added: Change DAR at stream level and/or container level, for avc, hevc, mpeg2.
https://files.videohelp.com/u/292773/clever_ffmpeg_gui_newest_beta.zip
https://files.videohelp.com/u/292773/1.jpg
ProWo
1st December 2022, 10:20
December 1, 2022
Added in the newest beta (3.0.5.03):Selection of deinterlacers (bwdif and yadif) with all options, delete chapters option in multiplex grid.
Improved: Scan type recognition.
ProWo
15th December 2022, 10:36
December 15, 2022 release version 3.0.6.
Added: Video DAR change at stream level (for avc,hecv,mpeg2), delete source chapters on muxing option, export source chapters, webvtt subtitle muxing.
Improved: scan type recognition, deinterlacer selection, duration analysis, interlaced check, chapters support.
Changed: mux info from selected videostream instead of source stream, video filter chain.
ProWo
19th January 2023, 13:25
January 19, 2023 release version 3.0.7.
Fixed: IVTC missing 1st fps info, unacceptable files bug on new source, audio delay bug in multipex section.
Improved: Cosmetics on all forms.
Changed: Video filter chain, set DAR, IVTC Test (in Video encoding section).
guest
20th January 2023, 07:09
January 19, 2023 release version 3.0.7.
Fixed: IVTC missing 1st fps info, unacceptable files bug on new source, audio delay bug in multipex section.
Improved: Cosmetics on all forms.
Changed: Video filter chain, set DAR, IVTC Test (in Video encoding section).
Hi ProWo,
I grabbed this earlier, and I just used it to convert an audio track, and when I clicked "Encode", the % scroll bar went straight to 100%, but was still processing, as it's showing the size, time, bitrate & speed info.
Also, the "Encode" button seems to cover the "LoudNorm" option.
EDIT:- I'll take back the comment on the % scale, it must have been the file I imported, but the other comment is still relevant.
ProWo
20th January 2023, 08:24
Hi ProWo,
also, the "Encode" button seems to cover the "LoudNorm" option.
This happens when you use a screen scaling of >100%
guest
20th January 2023, 08:56
This happens when you use a screen scaling of >100%
Well, I am using a 4K monitor.
I'll see how it behaves on a "normal" monitor.
Cheers & thanks.
ProWo
20th January 2023, 22:53
@TDS
Rewrote some code.
Try the latest beta v3.0.7.01 and report back here.
guest
21st January 2023, 02:20
@TDS
Rewrote some code.
Try the latest beta v3.0.7.01 and report back here.
Done :)
https://i.imgur.com/f6sJJxa.jpg
And that was with scaling @ 150% on my 4K monitor.
Thankyou.
ProWo
23rd January 2023, 11:29
Newest beta v3.0.7.02:
Added prores encoding and prores muxing to mov, mfx and mkv.
ProWo
24th January 2023, 10:51
January 24, 2023 release version 3.0.8.
Fixed: Display scaling (> 100%) for High DPI Monitors.
Added: prores encoding (proxy, lt, standard, hq, 4444, 444xq), prores muxing to mkv, mov, mxf.
ProWo
31st January 2023, 15:57
Newest beta (v3.0.8.02)
Added: If you want to use the padding, you can now move the padding position as you like. This can be helpful if you want to burn in subtitles in the lower black area of widescreen movies.
https://forum.videohelp.com/attachment.php?attachmentid=68973
Also added: When burning in text-bound subtitles (srt, ass, ssa, vtt, mov_text) you can now set the bottom margin and the font size.
https://forum.videohelp.com/attachment.php?attachmentid=68974
Both together now make it possible to burn in the text-bound subtitles in the lower black area.
https://forum.videohelp.com/attachment.php?attachmentid=68975
ProWo
3rd February 2023, 15:32
Newest beta (v3.0.8.03)
Added: Audio channels remapping
More info here: https://forum.videohelp.com/newreply.php?do=postreply&t=396490#post2680132
ProWo
7th February 2023, 13:15
Newest beta (v3.0.8.04)
improved: Audio channels remapping
In this example, the audio source is re-encoded from stereo to 5.1, with FL and BL replaced with Left, FR and BR replaced with Right, and FC and LFE muted.
https://forum.videohelp.com/attachment.php?attachmentid=69128&d=1675771889
Added: Flac settings (Bit depth and compression level)
https://forum.videohelp.com/attachment.php?attachmentid=69129&d=1675771942
ProWo
13th February 2023, 10:25
Newest beta (v3.0.8.05), online now.
The interlace detection scan is now optional and is only offered if the scan type cannot be determined.
This way, videos with large resolutions are read in faster.
The burn in subtitles handling has also been improved.
For text subtitles, the subtitle background can now be selected between no background, black background and semi-transparent black background.
ProWo
21st February 2023, 15:49
Newest beta (v3.0.8.06), online now.
Fixed an issue with your huge files with no information about duration and scan type.
The determination of the duration is now rewritten and very fast.
The determination of the scan type is now optional and also faster.
I have rewritten the whole cutting procedure.
Added frame accurate cutting with smart rendering, for h264 and hevc videos.
ProWo
23rd February 2023, 17:54
Newest beta (v3.0.8.07), online now.
Fixed: minor bugs.
Improved: cutting section (fixed problem with video delay).
ProWo
24th February 2023, 22:14
February 24, 2023 release version 3.0.9.
Fixed: Long time loading with huge files with missing duration and scan type info, cutting section issues.
Added: Video pad movable, margin, fontsize and background selection for hardcoded text subtitles (srt,vtt,mov_text), drag & drop for extern hardcoded subtitles, audio channels mapping, frame accurate cutting (for h264 and hevc), picture type on cutting player, Info on Startscreen.
Improved: Interlace detection is now optional.
ProWo
2nd March 2023, 17:22
Newest beta (v3.0.9.01), online now.
Fixed: minor bugs.
Improved: cutting code.
Added: LoudNorm filter 2 pass.
guest
3rd March 2023, 04:39
Hi ProWo,
This is a great little app, I mostly use it for converting audio, however, I have just recently needed to change the colour space on some videos, and I find this is the easiest way to do it.
But having to go thru all the settings for each new job, is a bit of a pain,
is there some way that you can save the settings you use regularly, as a template or preset ??
Regards
ProWo
3rd March 2023, 09:34
Hi ProWo,
This is a great little app, I mostly use it for converting audio, however, I have just recently needed to change the colour space on some videos, and I find this is the easiest way to do it.
But having to go thru all the settings for each new job, is a bit of a pain,
is there some way that you can save the settings you use regularly, as a template or preset ??
Regards
Hi TDS
Thank you for liking my program.
As for your wish, I think that in most cases the tasks are different and that such templates are simply underused.
Besides, it would be a considerable coding effort.
guest
3rd March 2023, 10:38
Hi TDS
Thank you for liking my program.
As for your wish, I think that in most cases the tasks are different and that such templates are simply underused.
Besides, it would be a considerable coding effort.
Thanks for the prompt reply.
OK, that's fair enough, but it would be nice if there was something like an .ini file that you could edit to suit some settings that you would use EVERYTIME.
Cheers
guest
6th March 2023, 06:09
Hi TDS
Thank you for liking my program.
As for your wish, I think that in most cases the tasks are different and that such templates are simply underused.
Besides, it would be a considerable coding effort.
Hi ProWo,
I have to "sing the praise's" on this little app you've created, yet again.
Today I learned something about it, that is awesome, the "cut" function.
I have a TV series that has the annoying "previously" review that goes for more than a minute, and I tried another idea I had, but it only cut the video.
So after a bit of trial and error to see what the settings did, I was able to get all 8 episodes cut to my liking :)
And another good thing, because it doesn't take very long to process, if you've miscalculated the start point, you just go back and run it again.
This is going to be SO, SO handy for the "Game Of Throne's", for example, cutting off that "boring" intro, and so many other series & TV episode's.
AWESOME :thanks::thanks::thanks:
ProWo
6th March 2023, 11:33
Hi ProWo,
I have to "sing the praise's" on this little app you've created, yet again.
Today I learned something about it, that is awesome, the "cut" function.
I have a TV series that has the annoying "previously" review that goes for more than a minute, and I tried another idea I had, but it only cut the video.
So after a bit of trial and error to see what the settings did, I was able to get all 8 episodes cut to my liking :)
And another good thing, because it doesn't take very long to process, if you've miscalculated the start point, you just go back and run it again.
This is going to be SO, SO handy for the "Game Of Throne's", for example, cutting off that "boring" intro, and so many other series & TV episode's.
AWESOME :thanks::thanks::thanks:
Thank you for your praise.:)
Try the latest beta (v3.0.9.02, online now).
Fixed some small bugs in the cutting section.
guest
8th March 2023, 06:44
Thank you for your praise.:)
Try the latest beta (v3.0.9.02, online now).
Fixed some small bugs in the cutting section.
Hi ProWo,
My observations of the latest beta..
Using the "Cut" feature, once a clip is loaded, and you've entered the required "Start Time", you have to just quickly click on the "End Time" (which hasn't been changed) button to get the "Check Time" button to re-appear, to proceed.
Also, is seems that you have to "Quit" the app, if you want to edit another clip, not a big problem, tho.
Other than that, it's been working well :)
EDIT:-
A bit more info, regarding HDR10 & HDR10+..
This is the original MediaInfo:-
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5@Main
HDR format : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2094 App 4, Version 1, HDR10+ Profile B compatible
Codec ID : V_MPEGH/ISO/HEVC
Duration : 1 h 7 min
Bit rate : 3 070 kb/s
Width : 3 840 pixels
Height : 1 600 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 24.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.021
Stream size : 1.44 GiB (94%)
Language : English
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 197 cd/m2
Maximum Frame-Average Light Level : 137 cd/m2
and this is after a "Cut" :-
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5@Main
HDR format : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, HDR10 compatible
Codec ID : V_MPEGH/ISO/HEVC
Duration : 1 h 5 min
Bit rate : 3 070 kb/s
Width : 3 840 pixels
Height : 1 600 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Variable
Frame rate : 24.518 FPS
Original frame rate : 24.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 0)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.020
Stream size : 1.44 GiB (96%)
Writing library : x265 3.5+86-6da609e41:[Windows][GCC 12.2.0][64 bit] 10bit
Encoding settings : cpuid=1111039
Language : English
Default : No
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
I could send you a sample if you'd like ??
EDIT #2:-
I changed the "P-level" to 6.2, and now it seems to be OK...so it's just a learning curve.
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L6.2@Main
HDR format : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2094 App 4, Version 1, HDR10+ Profile B compatible
Codec ID : V_MPEGH/ISO/HEVC
Duration : 1 h 7 min
Bit rate : 3 070 kb/s
Width : 3 840 pixels
Height : 1 600 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 24.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.021
Stream size : 1.44 GiB (94%)
Language : English
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 197 cd/m2
Maximum Frame-Average Light Level : 137 cd/m2
Like I mentioned before, it would be nice to have a way of changing and saving particular "user" settings...;)
EDIT #3:-
No, there is still something with running it thru "Cut" that changes it, again.
Is there a way to have multiple settings at the same time, as it appears that every option, is a seperate process. eg:- can't do a cut, AND a P-level change at the same time.
If I do a P-level change to get the HDR10 & HDR10+ displayed in MediaInfo, doing a "Cut" on the converted clip, removes the HDR10+.
ProWo
8th March 2023, 14:20
Using the "Cut" feature, once a clip is loaded, and you've entered the required "Start Time", you have to just quickly click on the "End Time" (which hasn't been changed) button to get the "Check Time" button to re-appear, to proceed.
You can also use the TAB button
Also, is seems that you have to "Quit" the app, if you want to edit another clip, not a big problem, tho.
No, use the source button and drag & drop the new file.
As for HDR10 / HDR10+:
Did you use the Keyframe Cut variant?
If so, the original file is only cut and remuxed.
It may be that the FFmeg mkv muxer changes/forgets/not copies some tags.
But the video track should remain unchanged and keep all characteristics of the original video track.
I think the changed tags are just cosmetic.
guest
8th March 2023, 14:29
You can also use the TAB button
No, use the source button and drag & drop the new file.
As for HDR10 / HDR10+:
Did you use the Keyframe Cut variant?
If so, the original file is only cut and remuxed.
It may be that the FFmeg mkv muxer changes/forgets/not copies some tags.
But the video track should remain unchanged and keep all characteristics of the original video track.
I think the changed tags are just cosmetic.
Ok, thanks for the tip.
Like I said, I'm on a learning curve with this, but I'm sure Ill get there.
I'll "take note" of the settings I've been using, and report back.
EDIT:- new day, more testing (or familiarization), I wasn't using "Frame Cut", so I have just ran one thru using "Frame Cut", and indeed, it retains (display's) HDR10/HDR10+ in MediaInfo. :),
However, the problem with using "Frame Cut", it's not cutting it exactly where it needs to be, so I might have to do "Frame Accurate Cut", and then run it thru to change the "P-frame" :(
OK, just did the "P-frame" test, and that didn't bring back the HDR10+, but the HDR10 is there, so like you said, it might just be cosmetic.
And not that it should matter, but I running FFMPEG 6.0
EDIT #2:- OK, everything seems to be going OK, I am editing "The Game of Thrones", and Season 1 is 6.2 HDR, and after the "Cut", it still is,
however, Season 2 (and up to Season 7) are "only" 5.1 HDR, and after a "Cut", they are 5.0, but no HDR "flag" in MediaInfo, and I can't change that outcome.
I've just noticed that some are being changed from 5.1 to 5, and that might be why the HDR flag is missing, as the one that are still 5.1 are still showing as HDR.
I think that there might need to be some way to change the P-level from the "Cut" page, not a separate operation.
But even tho it's not "flagged" as HDR, when I play the edited clips in PotPlayer, they are indicated to be HDR....
And another strange thing, every so often, when you "Check Times", it throws up an error about the "search range being too small".
I've noticed you don't get much feedback, so I hope you don't mind me bothering you....
guest
10th March 2023, 02:37
Hi,
Noticed you posted this on page 1, so I have just tried that, not sure what the differences are, as you didn't post anything about it (like you usually do).
Still randomly changing the P-levels, I think I'm going to have to re-encode them first to 6.2 HDR10/HDR10+, and then run them thru "Cut".
Cheers
ProWo
10th March 2023, 10:26
Hi,
Noticed you posted this on page 1, so I have just tried that, not sure what the differences are, as you didn't post anything about it (like you usually do).
Still randomly changing the P-levels, I think I'm going to have to re-encode them first to 6.2 HDR10/HDR10+, and then run them thru "Cut".
Cheers
Am currently working on v3.0.9.04, with very many improvements and changes in the cut section.
If you want you can try it, online now.
guest
10th March 2023, 12:58
Am currently working on v3.0.9.04, with very many improvements and changes in the cut section.
If you want you can try it.
I attach it here
Hi ProWo,
OK, looking forward to what you've done, however, attaching the app like you have, is not a good way to do anything on this Forum, due to the "Attachments Pending Approval", can take a LONG time...might be best to either wait 'til you've made in available for everyone, or upload it to MediaFire or similar, then provide a link.
Regards.
ProWo
10th March 2023, 15:03
Newest beta (v3.0.9.04), online now.
Changed: cutting section (many improvements, bugs fixed).
Added: LoudNorm filter pass label.
guest
11th March 2023, 01:42
Newest beta (v3.0.9.04), online now.
Changed: cutting section (many improvements, bugs fixed).
Added: LoudNorm filter pass label.
Hi, I have just tested this build, and I can see a couple of problems.
I'm using it on the same PC, same files.
I can't see any differences :(
And the player doesn't display, you can hear it, but you can't see it, then it stops, and has a mini lockup, then you have to press ESC.
Ran one file thru "Cut", and it's still downgrading from Level 5.1 to 5, and no HDR10 info is displayed in MediaInfo.
But PotPlayer detects it as being HDR....
Strange...I will try it again after I have re-encoded to Level 6.2.
Cheers
ProWo
11th March 2023, 18:39
@TDS
What version is your ffmpeg?
Do you have tryed with v6.0?
guest
11th March 2023, 19:31
@TDS
What version is your ffmpeg?
Do you have tryed with v6.0?
I am using v6.0...
EDIT:-
I updated to a newer v6.0 build, the player is working for me, but the P-levels are still a problem.
ProWo
14th March 2023, 09:21
Newest beta (v3.0.9.05), online now.
Changed: cutting code again.
Added: ffmpeg version info on start screen.
ProWo
14th March 2023, 09:23
@TDS
Try the latest beta to see if the HDR tags are ok now.
guest
14th March 2023, 10:10
@TDS
Try the latest beta to see if the HDR tags are ok now.
Hi, I certainly will, but tomorrow (my time).
Will report back, of course, thanks :)
EDIT:-
Well, I really don't know what's going on with this, but I think I've stumbled on what's is making this change the P-level & HDR10 status...
IF I don't do any cutting, the P-level & HDR10 status don't change, HOWEVER, when I do do a cut, that when things get messed up.
So here is a link to a 5 minute sample of the video that I am working on (and some before & after MediaInfo)...
test sample (https://www.mediafire.com/file/v3z1xnm1jsat8r3/clever.7z/file)
ProWo
15th March 2023, 10:43
Hi, I certainly will, but tomorrow (my time).
Will report back, of course, thanks :)
EDIT:-
Well, I really don't know what's going on with this, but I think I've stumbled on what's is making this change the P-level & HDR10 status...
IF I don't do any cutting, the P-level & HDR10 status don't change, HOWEVER, when I do do a cut, that when things get messed up.
So here is a link to a 5 minute sample of the video that I am working on (and some before & after MediaInfo)...
test sample (https://www.mediafire.com/file/v3z1xnm1jsat8r3/clever.7z/file)
Tested, with your sample.
No problems here. Same P-Level as source.
https://files.videohelp.com/u/292773/1_2.jpg
guest
15th March 2023, 12:35
Tested, with your sample.
No problems here. Same P-Level as source.
Well, I'm glad I sent you that sample then, so I wonder what the problem is, my end...
I will try it on another PC, that has a very recent fresh W11 install.
So I'm sorry that I have put you thru this, when it's turned out to be a problem of mine, but it's all progress for this app of yours.
I will get back to you, when I test it again.
Regards.
EDIT:-
OK, have just tested it on another W11 PC, and I'm getting the same results, unfortunately.
Obviously, your PC(s) are set up differently to mine, what OS are you running ??
And what is your workflow to do a Cut ?? Keyframe or Frame Accurate cut, with what CRF setting.
Also, and I doubt that this has anything to do with it, but my cut start is 1m 56.500 sec.
So I will try again after I have encoded the videos to P-level 6.2, and a couple of filters, and hopefully it will work for me then, otherwise I will have to try something else :(
EDIT #2:-
Well, this really odd, I have re-encoded one of these videos to level 6.2 Main 10@L6.2@High, and after doing a cut, (using the above settings) its now Main 10@L5@Main.
Regards
ProWo
16th March 2023, 11:25
@TDS
Did some tests.
Result: With Keyframe cut all HDR tags are preserved, including the profile level.
With Frame accurate Cut this does not work, because a part is re-encoded, without the complete HDR command line with all parameters, which would have to be parsed first.
This is clearly too much work for me.
Therefore the conclusion: For HDR10 and HDR10Plus videos only Keyframe Cut works.
guest
16th March 2023, 13:10
@TDS
Did some tests.
Result: With Keyframe cut all HDR tags are preserved, including the profile level.
With Frame accurate Cut this does not work, because a part is re-encoded, without the complete HDR command line with all parameters, which would have to be parsed first.
This is clearly too much work for me.
Therefore the conclusion: For HDR10 and HDR10Plus videos only Keyframe Cut works.
Thanks for continuing to test things, and now "we" know what's going on :)
However, that's a shame that the Frame cut is what is killing the levels & HDR10, so what I guess I'll need to experiment with, is to get the keyframe as close as I can, to the frame I want to cut to, so thankfully you've got a player to check that :)
Just a side note, one of the re-encoded videos I ran thru cut, with framecut, even tho MediaInfo did not show any HDR10, on my 4K TV, it is still HDR :)
Regards.
ProWo
16th March 2023, 16:25
Just a side note, one of the re-encoded videos I ran thru cut, with framecut, even tho MediaInfo did not show any HDR10, on my 4K TV, it is still HDR :)
This happens because the first frames (from start cutpoint to the next I-Frame) are re-encoded, but without the HDR Info.
The rest of the movie (maybe >99%) is cutted only (therefore not changed), but the ffmpeg muxer in the final remux get the wrong info for the whole file from the first re-encoded frames.
guest
17th March 2023, 01:54
This happens because the first frames (from start cutpoint to the next I-Frame) are re-encoded, but without the HDR Info.
The rest of the movie (maybe >99%) is cutted only (therefore not changed), but the ffmpeg muxer in the final remux get the wrong info for the whole file from the first re-encoded frames.
Have done some more tests, using Keyframe cut, and it indeed retains the P-level & HDR10 :).
But as the Keyframes are set in the video, you can't get it exactly where you would like it, by less than a second.
There probably isn't an app that you can edit keyframe positions, but I'll have a look, anyway.
I want to sincerely thankyou for your patience with me during all this "fiddle", it's greatly appreciated, and I think I will use "clever" a LOT, for both video & audio editing :)
Cheers.
ProWo
22nd March 2023, 09:52
Newest beta (v3.0.9.07), online now.
Changed: ffmpeg to FFmpeg, typos corrected, offset approach in cut section.
Fixed: Bugs in cut section.
Improved: Keyframe search in cut section.
Added: Keyframe info in cut section.
Recommended: Delete the following folder before the first start:
C:\Users\xxx\AppData\Local\clever_FFmpeg_GUI (where xxx=your user name on windows).
ProWo
23rd March 2023, 14:10
Newest beta (v3.0.9.08), online now.
Fixed: a bug with process termination.
guest
26th March 2023, 05:41
Newest beta (v3.0.9.08), online now.
Fixed: a bug with process termination.
I had another "play" with this today, and actually had more success with retaining the HDR10 info, but only about 6 cuts out of 10.
ProWo
27th March 2023, 15:22
March 27, 2023 release version 3.1.0.
Added: Tooltips on many controls, keyframe info in cut section (with no video delay), LoudNorm Filter pass label, actual FFmpeg version info on start screen.
Changed: cutting section, cosmetics in many forms, HDR profile to level, video offset approach in cut section.
Fixed: typos, incorrect process termination, bug in DVD Rip, bugs in cut section.
Improved: command sequence for a faster start, keyframe search in cut section, First Start screen with detailed info now.
guest
28th March 2023, 06:10
March 27, 2023 release version 3.1.0.
Added: Tooltips on many controls, keyframe info in cut section (with no video delay), LoudNorm Filter pass label, actual FFmpeg version info on start screen.
Changed: cutting section, cosmetics in many forms, HDR profile to level, video offset approach in cut section.
Fixed: typos, incorrect process termination, bug in DVD Rip, bugs in cut section.
Improved: command sequence for a faster start, keyframe search in cut section, First Start screen with detailed info now.
Hi,
I have a suggestion; would it be possible to change what happens after you click on OK on the DONE pop up, when the edit is completed ??
I think it would be nice if it did not clear what you had just edited, but stayed on that page, keeping the settings you've made, just in case you need to tweak it, and run that same job again.
If it's ok, THEN go back to the "Start"...by selecting Source file, or something.
oniiz86
28th March 2023, 09:13
I had another "play" with this today, and actually had more success with retaining the HDR10 info, but only about 6 cuts out of 10.
@TDS So has the latest 3.1.0 version fixed this issue with retaining the HDR10 info when cutting or has the behaviour remained unchanged, why do you think it is proving difficult to fix?
guest
28th March 2023, 11:17
@TDS So has the latest 3.1.0 version fixed this issue with retaining the HDR10 info when cutting or has the behaviour remained unchanged, why do you think it is proving difficult to fix?
Hi,
Well, as ProWo explained, it depends on how & where the cut is, to whether it retains the HDR10 info (or whatever they call it), however, even tho MediaInfo doesn't show the HDR10 flag after the cut, if I play the video in Pot Player, it DOES still show & play with HDR.
But it is a little odd that it will retain on some, but not all.
But I love the way that it cuts the audio & subtitle tracks :)
I'll have to leave that question up to ProWo...
ProWo
28th March 2023, 14:39
Hi,
I have a suggestion; would it be possible to change what happens after you click on OK on the DONE pop up, when the edit is completed ??
I think it would be nice if it did not clear what you had just edited, but stayed on that page, keeping the settings you've made, just in case you need to tweak it, and run that same job again.
If it's ok, THEN go back to the "Start"...by selecting Source file, or something.
Interesting idea.
I will add a checkbox in the next beta.
If this is checked, the current screen will stay open after encoding/abort, if not, everything will stay as before.
Initially only for audio or video encoding.
https://files.videohelp.com/u/292773/1_3.jpg
ProWo
28th March 2023, 14:43
Hi,
Well, as ProWo explained, it depends on how & where the cut is, to whether it retains the HDR10 info (or whatever they call it), however, even tho MediaInfo doesn't show the HDR10 flag after the cut, if I play the video in Pot Player, it DOES still show & play with HDR.
But it is a little odd that it will retain on some, but not all.
But I love the way that it cuts the audio & subtitle tracks :)
I'll have to leave that question up to ProWo...
I did further experiments with the HDR tags, and found out that the preservation of these tags does not depend on the way the cut is made, but on the way the source file is muxed.
So just remux first (best as mkv) and only then cut.
guest
28th March 2023, 14:52
I did further experiments with the HDR tags, and found out that the preservation of these tags does not depend on the way the cut is made, but on the way the source file is muxed.
So just remux first (best as mkv) and only then cut.
So, running it thru MKVToolNix first ???
guest
28th March 2023, 14:58
Interesting idea.
I will add a checkbox in the next beta.
If this is checked, the current screen will stay open after encoding/abort, if not, everything will stay as before.
Initially only for audio or video encoding.
https://files.videohelp.com/u/292773/1_3.jpg
What about Keep or Retain....
ProWo
28th March 2023, 16:44
What about Keep or Retain....
Alall settings you have made will remain.
ProWo
28th March 2023, 16:45
So, running it thru MKVToolNix first ???
You can also remux it with clever FFmpeg-GUI.
guest
28th March 2023, 18:03
Alall settings you have made will remain.
Sorry, what I meant was instead of labelling it as "Stay"..
Keep or Retain.
ProWo
28th March 2023, 19:55
Sorry, what I meant was instead of labelling it as "Stay"..
Keep or Retain.
You are right, keep is better ...
guest
29th March 2023, 00:29
You can also remux it with clever FFmpeg-GUI.
I haven't gotten around to using that, yet.
I think you call it Multiplex ?
Anyway, I tried your suggestion, and after the remux, it retained it's HDR10 flag, and it's P-level of 5.1.
However, after a cut, the HDR10 flag was gone, and it was down to P-level 5. I think this happens due to the default setting being level 5.
Here's another suggestion, could you make the P-level adjustment available when doing ANY video editing/cutting, instead of having it as a separate option ?
Or, as I have suggested before, if there was a simple .ini type file that the user could edit, to suit their regular usage settings.
Baby steps..
ProWo
29th March 2023, 10:28
Newest beta (v3.1.0.01), online now.
Added: Keep section open checkbox (for audio and video encoding section).
guest
30th March 2023, 06:39
Newest beta (v3.1.0.01), online now.
Added: Keep section open checkbox (for audio and video encoding section).
OK, I've just had a play with this, and I'm a little disappointed :(
But like you said, that "Keep" option is only for main video & audio encoding but not for the "Cut" function.
And I have to say, I don't think the frame accurate option is that accurate, it seems to use the keyframe position's :(
ProWo
30th March 2023, 10:37
But like you said, that "Keep" option is only for main video & audio encoding but not for the "Cut" function.
In the next beta it's avaiable for the cut section too.
And I have to say, I don't think the frame accurate option is that accurate, it seems to use the keyframe position's :(
This is not a contradiction.
It uses the keyframe AFTER the start cut point. Up to this point the video is re-encoded from the start point.
guest
30th March 2023, 11:38
In the next beta it's available for the cut section too.
That will be nice :)
This is not a contradiction.
It uses the keyframe AFTER the start cut point. Up to this point the video is re-encoded from the start point.
So, it's not truly "frame" accurate !!!
Correct me if I'm wrong, but were the earlier builds more "accurate." ?
Can this be changed to be cut on the frame you want ?, generally keyframes can be a long way apart, and not that suitable for certain cuts.
ProWo
30th March 2023, 13:56
That will be nice :)
So, it's not truly "frame" accurate !!!
Correct me if I'm wrong, but were the earlier builds more "accurate." ?
Can this be changed to be cut on the frame you want ?, generally keyframes can be a long way apart, and not that suitable for certain cuts.
It is frame accurate.
In order not to re-encode the complete video and thus enable smart rendering, several steps are performed here. First it is determined which part can be cut with keyframe cut, then the missing part (in the start area) is completely newly coded, (it is coded exactly from the start frame), then all audio tracks and subtitle tracks are cut frame accurate, then the two video parts are combined and finally everything is muxed together.
This is a really complicated process.
ProWo
30th March 2023, 13:58
Newest beta (v3.1.0.02), online now.
Added: Keep section open checkbox (for cut section), switch background color (with color button on start screen).
guest
30th March 2023, 14:22
It is frame accurate.
In order not to re-encode the complete video and thus enable smart rendering, several steps are performed here. First it is determined which part can be cut with keyframe cut, then the missing part (in the start area) is completely newly coded, (it is coded exactly from the start frame), then all audio tracks and subtitle tracks are cut frame accurate, then the two video parts are combined and finally everything is muxed together.
This is a really complicated process.
Fair enough, but I can't get it to cut where I want it to, it just seems to choose the closest Keyframe, which is rarely at the correct time, it's either before or after the desired cut point :(, when using frame accurate.
guest
1st April 2023, 01:10
Newest beta (v3.1.0.02), online now.
Added: Keep section open checkbox (for cut section), switch background color (with color button on start screen).
Just tried the latest beta, and it's just not doing what I need it to, like I said above, even in Frame Accurate, it's using the Keyframes, and they are not in the right place for the cuts I want to do :(
If there was some way of removing, or moving the Keyframes, that would be nice...
Like the colour button :)
ProWo
3rd April 2023, 19:08
Just tried the latest beta, and it's just not doing what I need it to, like I said above, even in Frame Accurate, it's using the Keyframes, and they are not in the right place for the cuts I want to do :(
If there was some way of removing, or moving the Keyframes, that would be nice...
The keyframes cannot be moved, they are set by the encoder during encoding.
I just did a test with a h264 video.
I loaded the video in Virtualdub2 and chose a B-Frame as startpoint.
As endpoint I looked for an I-frame.
I noted start time and end time and entered them into clever FFmpeg GUI,
selected Frame accurate cut above, pressed check times and then pressed cut.
Then checked the cut video in Virtualdub2.
The start frame fits exactly, the last frame is as desired the last P-frame before the entered I-frame (this guarantees a closed GOP).
So everything as desired, frame accurate and smart rendered.
guest
4th April 2023, 01:16
The keyframes cannot be moved, they are set by the encoder during encoding.
I just did a test with a h264 video.
I loaded the video in Virtualdub2 and chose a B-Frame as startpoint.
As endpoint I looked for an I-frame.
I noted start time and end time and entered them into clever FFmpeg GUI,
selected Frame accurate cut above, pressed check times and then pressed cut.
Then checked the cut video in Virtualdub2.
The start frame fits exactly, the last frame is as desired the last P-frame before the entered I-frame (this guarantees a closed GOP).
So everything as desired, frame accurate and smart rendered.
Well, it seems to be the "luck of the draw", EVERY video is different, the one you tested obviously had the keyframes in the correct position for the cut, I mean, some of the episodes I've done have been perfect, and others don't come close to the desired cut point.
It's not your fault, it's just the way it is, unfortunately, it just doesn't work for me, on the videos I want to cut :(
I was hoping that I might have been able to do it with an avisynth script in the encoding app I use, but I can't get it to cut the audio, so that's even worse.
I have tried a couple of other app's, one I'd never heard of, "Lossless Cut", but it's got it's own problems.
So it's unfortunate, for me, that I can't use "clever" for my project, as far as video cutting is concerned, but it's still very good for audio processing :)
guest
9th April 2023, 14:33
Hi ProWo,
Just wondering if there is a possibility to add a frame rate converter to "clever" ?
I understand that it can be done with FFmpeg, so hopefully just type in the new fps you want, and let it do it's magic?
Regards
ProWo
9th April 2023, 14:56
Hi ProWo,
Just wondering if there is a possibility to add a frame rate converter to "clever" ?
I understand that it can be done with FFmpeg, so hopefully just type in the new fps you want, and let it do it's magic?
Regards
Do you mean change frame rate without reencode?
If so, this will not be added, because the result is a video poorly supported by many players.
guest
9th April 2023, 15:39
Do you mean change frame rate without reencode?
If so, this will not be added, because the result is a video poorly supported by many players.
Not necessarily, if it has to be re-encoded, so be it.
ProWo
9th April 2023, 15:56
Not necessarily, if it has to be re-encoded, so be it..
With reencode the frame rate change is already implemented.
Set the fps value like you want (in the video encode section) and reencode.
guest
9th April 2023, 19:28
.
With reencode the frame rate change is already implemented.
Set the fps value like you want (in the video encode section) and reencode.
Oh, OK....I did look thru before I asked...maybe I didn't look in the right place.
Sorry & thanks.
Update:- couldn't get it to change fps :(
tebasuna51
10th April 2023, 08:24
The fps of a video stream can be changed without recode with eac3to for .h264 streams, or can be changed at container level with mkvtoolnix for mkv files.
I can't help you how make that with ffmpeg.
ProWo
10th April 2023, 15:40
Update:- couldn't get it to change fps :(
Here in the example a 23.976 fps video is transcoded into a 25 fps video. The change length checkbox is used to adjust the duration of the video to the new frame rate, so all frames remains unchanged.
If it is not checked, the duration remains unchanged, but frames are dropped or added.
https://files.videohelp.com/u/292773/1_4.jpg
locotus
10th April 2023, 19:04
Do that solution work for telecined content?
guest
11th April 2023, 01:56
Here in the example a 23.976 fps video is transcoded into a 25 fps video. The change length checkbox is used to adjust the duration of the video to the new frame rate, so all frames remains unchanged.
If it is not checked, the duration remains unchanged, but frames are dropped or added.
Well, it's nice to get the instructions from the creator, HOWEVER, this is NOT doing what I was expecting it to...
This actually increases the video playback speed, and reduces the length of the clip
I need it to increase the frame rate from 23.9xx to 60 fps without ANY increase in "speed".
This clip was about an hour long, but it's now less than half, and after doing all those settings & clicking "Encode", it was done in an instant, and produced a 0kb file :(
ProWo
11th April 2023, 08:10
Well, it's nice to get the instructions from the creator, HOWEVER, this is NOT doing what I was expecting it to...
This actually increases the video playback speed, and reduces the length of the clip
Did you read what I wrote above?
I need it to increase the frame rate from 23.9xx to 60 fps without ANY increase in "speed".
Did you read what I wrote above?
Uncheck the Change length box.
This clip was about an hour long, but it's now less than half, and after doing all those settings & clicking "Encode", it was done in an instant, and produced a 0kb file :(
Works flawlessly here.
Which ffmpeg version are you using?
ProWo
11th April 2023, 08:19
Do that solution work for telecined content?
Yes it does, but with telecined video that is not the way to go.
If your video is a 29.97 fps video coming from a 23.976 fps source, the IVTC filter is the right choice.
This will return the 29.97 fps video to its original 23.976 fps state and remove the frames added during the telecine process.
If you just change the frame rate (while keeping the duration the same), it will only add or remove more frames and pretty much ruin the video.
guest
11th April 2023, 10:24
Did you read what I wrote above?
Uncheck the Change length box.
Interestingly enough, before I sent the previous post, I had tried with all the same settings but NOT the "Change Length", and basically got the same result, and instant "encode" and 0Kb's...
And if memory serves, I did a run with 50 in the "fps" box, and that did process, but it was still the original 23.9xx.
I am still using those Game of Thrones episodes that didn't like the Cut function, so maybe they are the problem....
Works flawlessly here.
Which ffmpeg version are you using?
Did you do your test on a 4K video, setting it at 60 ??
I get my builds from here:-
https://github.com/BtbN/FFmpeg-Builds/releases/tag/latest
ProWo
11th April 2023, 12:18
Interestingly enough, before I sent the previous post, I had tried with all the same settings but NOT the "Change Length", and basically got the same result, and instant "encode" and 0Kb's...
And if memory serves, I did a run with 50 in the "fps" box, and that did process, but it was still the original 23.9xx.
I am still using those Game of Thrones episodes that didn't like the Cut function, so maybe they are the problem....
Did you do your test on a 4K video, setting it at 60 ??
I get my builds from here:-
https://github.com/BtbN/FFmpeg-Builds/releases/tag/latest
Retested with this build from your source
https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-win64-gpl-shared.zip and a 4k video, no problem, works fine.
guest
11th April 2023, 12:24
Retested with this build from your source
and a 4k video, no problem, works fine.
Well, the mystery continues.....
It's not that I only use it on 1 PC, so it's not that.
It's always the way, isn't it, you try and explain a problem, and the creator has no issue's.
ProWo
11th April 2023, 14:20
Well, the mystery continues.....
It's not that I only use it on 1 PC, so it's not that.
It's always the way, isn't it, you try and explain a problem, and the creator has no issue's.
It would be nice if you stayed fair.
You write about problems that I cannot reproduce here. There can be many reasons for this, different operating systems, different video sources, different software versions, etc.
You could try a different video for example.
guest
11th April 2023, 15:43
Retested with this build from your source
and a 4k video, no problem, works fine.
It would be nice if you stayed fair.
You write about problems that I cannot reproduce here. There can be many reasons for this, different operating systems, different video sources, different software versions, etc.
You could try a different video for example.
Sorry, I think you've taken this the wrong way.
I was trying to say that its not just a particular pc that I'm having an issue on.
Its like taking your car to a mechanic, explaining the problem, they can't find the problem, so they can't do anything about it...they take it for test drive, no problems, but when you drive back home, the problem is still there.
I'm running Windows 11 22H2..
I will try another video.
ProWo
13th April 2023, 13:20
Newest beta (v3.1.0.03), online now.
Fixed: missing variable reset bug.
Changed: seeking approach in cut section, cosmetics on many forms.
Added: Virtualdub2 as viewer in cut section.
guest
14th April 2023, 06:53
Newest beta (v3.1.0.03), online now.
Fixed: missing variable reset bug.
Changed: seeking approach in cut section, cosmetics on many forms.
Added: Virtualdub2 as viewer in cut section.
I think I may have found what the problem is...
Using this latest build, I imported a short 4K clip, and changed the FPS to 60 (from 23.97x), changed it to x265, CRF to 16, preset to medium, but when the profile is changed, was when the encode was done in an instant, with a 0kb file.
If left @ auto, it was fine with all the other settings.
Virtualdub2 is a nice addition.
ProWo
14th April 2023, 12:56
I think I may have found what the problem is...
Using this latest build, I imported a short 4K clip, and changed the FPS to 60 (from 23.97x), changed it to x265, CRF to 16, preset to medium, but when the profile is changed, was when the encode was done in an instant, with a 0kb file.
If left @ auto, it was fine with all the other settings.
Thanks for the hint.
Indeed, when encoding with x265 encoder, the profiles of x264 encoder were used and that could not work.
This bug is now fixed in the latest beta (v3.0.1.04).
ProWo
14th April 2023, 12:57
Newest beta (v3.1.0.04), online now.
Fixed: bug with x265 profile settings.
guest
14th April 2023, 14:20
Newest beta (v3.1.0.04), online now.
Fixed: bug with x265 profile settings.
I just tried this on my little laptop, loaded an x264 clip...
Went thru the settings, but there seems to be a different possible issue with "Profile", with both x264, or x265, it's "stuck" @ Auto...:(, no other options.
Tried it several times with different clips, and FFmpeg's.
All the other options worked OK...
ProWo
14th April 2023, 17:07
I just tried this on my little laptop, loaded an x264 clip...
Went thru the settings, but there seems to be a different possible issue with "Profile", with both x264, or x265, it's "stuck" @ Auto...:(, no other options.
Tried it several times with different clips, and FFmpeg's.
All the other options worked OK...
This is not an issue, it happens because your video has no bit depth info and therefore the app can't do the correct profile selection.
Change Bit Depth to 8 or 10 bits and the possible profiles can be selected.
The best choice is auto anyway, because then the encoder chooses the best profile by itself.
Actually the profile selection is only built in for compatibility reasons, that is if you need a certain profile for some reason.
guest
15th April 2023, 03:18
This is not an issue, it happens because your video has no bit depth info and therefore the app can't do the correct profile selection.
Change Bit Depth to 8 or 10 bits and the possible profiles can be selected.
The best choice is auto anyway, because then the encoder chooses the best profile by itself.
Actually the profile selection is only built in for compatibility reasons, that is if you need a certain profile for some reason.
OK, well that worked :)
But I have to say that I am still not having any success with changing the frame rate...I have tried 2 different clips, one with 23.97x & another with 119.88, and setting them @ 60, there are not changing.
Wait just a minute....it seems that the framerate HAS been changed, however, that change in not reflected when checking with MediaInfo !!!
But if I reload the clips I have just "converted" with clever, then clever displays the new framerate, as do other encoding apps.
So something is being "lost in translation" regarding the new fps, and MediaInfo...
And sadly, the 4K HDR10 clip still loses the HDR10 tag, and is also changed from level 6.1 to 5.1 :(, in MediaInfo.
Is there something wrong with MediaInfo ??
Is there another similar tool I can try to test ??
ProWo
15th April 2023, 08:13
And sadly, the 4K HDR10 clip still loses the HDR10 tag, and is also changed from level 6.1 to 5.1
Use the HDR10 Button in the x256 settings.
guest
15th April 2023, 15:14
Use the HDR10 Button in the x256 settings.
I guess it will take me a little while to figure out all the in's & out's...
I just did a conversion, and changed several settings, and it's all displayed in MediaInfo :)
Thanks for your patience & instruction :)
Would it be possible to add a kb/s setting in the Encoder section, and of course retain the CRF setting ? Just to have the 2 different options.
And maybe also have the P-level option for x264 & non HDR x265 in the Encoder section as well ?
I only mention that, due to that option being available when it IS HDR x265, so might as well have it for all.
ProWo
27th April 2023, 16:12
Newest beta (v3.1.0.05), online now.
Changed: Cut section again.
guest
28th April 2023, 05:42
Newest beta (v3.1.0.05), online now.
Changed: Cut section again.
Hi ProWo,
Me again...So I have just given your latest beta a test run, and it seems to do the cuts where I want them (well, on the clips I tested), it does more "testing" on the file, then choose "Cut",
it does all it steps (10 in all), and ALL the temp files are shown in the folder I set for the output, then when it's all done the little "DONE" window pops up,
click on that, it proceeds to "clean up" all the temp files, and then the folder becomes empty :scared:
I did search for it, but was no where to be found, so I tried it on another PC, different file, same result...
So something nasty seems to happen after you click on "DONE".
So due to this, I can't check the "cutted" file, to check the edit, the P-level, and if it's retained the HDR10 tag :(
I was going to attach some screenshots, but I think I've described it well enough.
ProWo
28th April 2023, 06:56
The output file should have the same name as the input file, with _cutted added.
guest
28th April 2023, 09:41
The output file should have the same name as the input file, with _cutted added.
Correct, and its always done that for me, until this latest build.
If I have the output folder open, before I click on "DONE", all the temp files are there....as soon as I click on "DONE" they ALL disappear before my eyes, and then the folder is empty...NO cutted file !!!!!
ProWo
28th April 2023, 10:43
I don't know what to say.
Just tested it, the temp files are deleted as intended and the cut file is in the output folder.
guest
28th April 2023, 11:01
I don't know what to say.
Just tested it, the temp files are deleted as intended and the cut file is in the output folder.
It's just another mystery, and these things always happen to me :(
That's why I tested it on 2 different PC's, with different input files.
I think I've used "clever" enough recently to know how to set it up, I mean all it needs is to "know" where ffmpeg is, and the output folder...simple.
But when you see the files disappear and leave the folder empty is rather frustrating, to say the least.
I guess I'll have to try it on yet another PC...
Regards
MORE:- I just tried it on my little laptop with an mp4, watched it create the temp files, click "DONE", ALL gone... so 3 different machines now...
ProWo
28th April 2023, 11:11
If you don't click on the OK button in the small Done window, can you see the output file then?
guest
28th April 2023, 11:31
If you don't click on the OK button in the small Done window, can you see the output file then?
No, just the temp files...
I just did something else, those first couple of tests were using Frame Accurate, but using KeyFrame it just creates the cutted file, with no temp files...but for whatever reason the cutted file would not play in PotPlayer :(
Newest beta (v3.1.0.06), online now.
Fixed: Keep HDR metadata on recoding HDR Video with H.265
Added: HDR to SDR with tonemap and desaturation settings, with any avaiable video codec.
Please post a mediainfo report (text mode) from the tested video here.
Newest beta (v3.1.0.07), online now.
Fixed: Bugs in HDR10 commandline.
Newest beta (v3.1.0.07), online now.
Fixed: Bugs in HDR10 commandline.
I forgot to mention, that in the "Cut" section, I could only choose Keyframe...not the frame accurate :(
I forgot to mention, that in the "Cut" section, I could only choose Keyframe...not the frame accurate :(
This is intentional, as HDR10 encoding is very costly for the part that needs to be re-encoded.
For this reason, I have disabled it for now.
I thought I had already shown enough MediaInfo info of the conversion (on the right of the previous post)
You have posted the mediainfo from the encoded video, not from the source one.
guest
10th May 2023, 03:40
This is intentional, as HDR10 encoding is very costly for the part that needs to be re-encoded.
For this reason, I have disabled it for now.
Tried the latest build, it obviously detects the HDR10, and there are no other options shown, and the cutted encode retains all the originals specs :)
guest
10th May 2023, 03:41
You have posted the mediainfo from the encoded video, not from the source one.
This is the MediaInfo of the source clip:-
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L6.1@High
HDR format : SMPTE ST 2086, HDR10 compatible
Codec ID : V_MPEGH/ISO/HEVC
Duration : 2 min 0 s
Bit rate : 14.9 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.075
Stream size : 214 MiB (72%)
Title : GalenMao@HDSky
Default : No
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : BT.2020
Mastering display luminance : min: 0.0020 cd/m2, max: 1000 cd/m2
ProWo
12th May 2023, 09:30
May 12, 2023 release version 3.1.1.
Fixed: missing variable reset bug, x265 profile settings bug, Bugs in HDR10 commandline.
Added: Keep section open checkbox (for audio encoding ,video encoding, cut section), switch background color button, Keep HDR metadata on recoding HDR Video with H.265, HDR to SDR with tonemap and desaturation settings for any avaiable video codec.
Changed: seeking approach in cut section, cosmetics on many forms.
guest
13th May 2023, 04:04
May 12, 2023 release version 3.1.1.
Fixed: missing variable reset bug, x265 profile settings bug, Bugs in HDR10 commandline.
Added: Keep section open checkbox (for audio encoding ,video encoding, cut section), switch background color button, Keep HDR metadata on recoding HDR Video with H.265, HDR to SDR with tonemap and desaturation settings for any available video codec.
Changed: seeking approach in cut section, cosmetics on many forms.
Hi, just tried the newest build, seems to do most things, and keeps the P-level & HDR10, as per original.
But it still doesn't cut exactly where the user might like the cut. :( (Damn those Keyframes)
Sorry.
As you can see by my signature, I use RipBot, it just had a Trim function added to it by the author, it trims the video, audio & soft subtitles, but I'm pretty sure it's Avisynth based.
Works VERY well, it was a LONG time coming to that app.
ProWo
16th May 2023, 15:31
Newest beta (v3.1.1.01), online now.
Improved: DVD Rip imports all streams now.
Added:Info link for tonemap and desat (HDR10 to SDR).
ProWo
20th June 2023, 07:25
Newest beta (v3.1.1.02), online now.
Fixed: created chapters with short title missing, bitmap subtitle burn in issue with wrong sizes.
Added: (subtitles burn in): automatic scale and allignment for bitmap subtitles.
ProWo
3rd July 2023, 10:04
July 03, 2023 release version 3.1.2.
Fixed: Created chapters with short title missing, bitmap subtitle burn in issue with wrong sizes.
Added: Info link for tonemap and desat (HDR10 to SDR), (subtitles burn in): automatic scale and allignment for bitmap subtitles.
Improved: DVD Rip imports all streams now.
Changed: Audio channels remap for all reasonable combinations.
ProWo
4th July 2023, 20:33
Newest beta (v3.1.2.01), online now.
Improved: raw h264/hevc videostream handling.
Added: dat videofile(vcd/svcd) handling.
ProWo
6th July 2023, 20:04
Newest beta (v3.1.2.02), online now.
Fixed: bug in raw h264/hevc videostream handling.
ProWo
11th July 2023, 17:15
Newest beta (v3.1.2.03), online now.
Improved: raw h264/hevc handling.
Changed: various options/settings handling in main section and video encoding section, selected streams handling in multiplex section..
Added: rotate without reencoding (metadata only, main section), rotate and flip (video encode section).
ProWo
18th July 2023, 13:47
Newest beta (v3.1.2.04), online now.
Changed: raw h264/hevc video stream handling again.
Improved: start screen.
Added: automatic scale change with rotate 90° cw/ccw in encoding section.
ProWo
25th July 2023, 17:13
Newest beta (v3.1.2.05), online now.
Fixed: bug in audio 5.1 to 2 ch conversion, bug in HDR10+ cll value detection.
Changed: ffmpeg version detection.
Improved: main menu button handling, start screen handling, audiostream handling with multiple audiostreams.
Added: Fix Timstamps with given FPS reading.
ProWo
27th July 2023, 17:17
July 27, 2023 release version 3.1.3.
Fixed: bug in audio 5.1 to 2 ch conversion, bug in HDR10+ cll value detection, bug in audio volume handling.
Improved: raw h264/hevc videostream handling, start screen handling, main menu button handling, audiostream handling with multiple audiostreams, smoother form changing, audio channels handling.
Changed: various options/settings handling in main section and video encoding section, selected streams handling in multiplex section, ffmpeg version detection.
Added: dat videofile(vcd/svcd) handling, rotate video without reencoding (metadata only, main section), rotate and flip, automatic scale change with rotate 90° cw/ccw (video encode section), fix timestamps by reading with given framerate.
ProWo
3rd August 2023, 15:31
Newest beta (v3.1.3.01), online now.
Changed: start screen again, loading hevc video without scan type info presuming progressive, audiostream selection with multiple audiostreams, filterchain in videoencoding, HDR to SDR encoding with all avaiable videocodecs (not only hevc), moved HDR settings to various.
Fixed: encode button visible after encoding start in audioencoding, automatic 8 Bit bitdepth selection for videostreams without bitdepth info.
Added: automatic DAR selection with DVD resolutions.
ProWo
4th August 2023, 09:59
Newest beta (v3.1.3.02), online now.
Fixed: HDR to SDR with h265 bug.
Added: dvd_subtitle (vobsub) mux to mp4.
ProWo
11th August 2023, 13:09
Newest beta (v3.1.3.03), online now.
Added: Set bitdepth with HDR10 to SDR, set encoding matrix with mpeg2, mjpeg muxing to asf/avi/mkv/mp4.
Improved: mpeg1 and mpeg2 encoding quality, HDR recognition.
Fixed: Bug in color_transfer recognition.
ProWo
24th August 2023, 17:04
Newest beta (v3.1.3.04), online now.
Added: change video properties (contrast, brightness,saturation, croma), preview video with selected filters.
Improved: after volume detection goes directly to the encoder, video filter chain handling.
Changed: cut section.
ProWo
31st August 2023, 18:02
Newest beta (v3.1.3.05), online now.
Added: eia_608, eia_708,hdmv_pgs_subtitle extraction, eia_608, eia_708 conversion, eia_608, eia_708, hdmv_pgs_subtitle burn in, preview for HDR10 to SDR and LUT's.
Fixed: bug in subtitle selection for burn in, bug in HDR/SDR selection with HDR10 source, tooltip in HDR10 settings.
ProWo
1st September 2023, 11:02
September 1, 2023 release version 3.1.4.
Fixed: encode button visible after encoding start in audioencoding, automatic 8 Bit bitdepth selection for videostreams without bitdepth info, HDR to SDR with h265 bug, Bug in color_transfer recognition, bug in subtitle selection for burn in, bug in HDR/SDR selection with HDR10 source, tooltip in HDR10 settings.
Changed: start screen again, loading hevc video without scan type info presuming progressive, audiostream selection with multiple audiostreams, filterchain in videoencoding, HDR to SDR encoding with all avaiable videocodecs (not only hevc), moved HDR settings to various, cut section.
Improved: mpeg1 and mpeg2 encoding quality, HDR recognition, after volume detection goes directly to the encoder, video filter chain handling.
Added: automatic DAR selection with DVD resolutions, dvd_subtitle (vobsub) mux to mp4, Set bitdepth with HDR10 to SDR, set encoding matrix with mpeg2, mjpeg muxing to asf/avi/mkv/mp4, change video properties (contrast, brightness,saturation, croma), preview video with selected filters, eia_608, eia_708,hdmv_pgs_subtitle extraction, eia_608, eia_708 conversion, eia_608, eia_708, hdmv_pgs_subtitle burn in, preview for HDR10 to SDR and LUT's.
ProWo
5th September 2023, 17:38
Newest beta (v3.1.4.01), online now.
Added: coupling switch for DynAudNorm (on request by JOAOP).
ProWo
22nd September 2023, 08:37
Newest beta (v3.1.4.02), online now.
Improved: dynaudnorm settings, Inverse telecine.
Added: indexing videostream for keyframe cutting, v210 codec can be muxed now in admitted containers.
Fixed: missing variable reset.
Changed: whole cut code.
ProWo
29th September 2023, 15:31
Newest beta (v3.1.4.03), online now.
Changed: audio filter handling, video cut code again.
Added: speechnorm filter, compand filter, choice to handle missing audio channels (omit, downmix) if audio channels reduction occours, video indexing for video cut.
ProWo
2nd October 2023, 08:55
Newest beta (v3.1.4.04), online now.
Fixed: Bug in 2nd pass on loudnorm filter, removed 7.1 channels option for eac3 encoder, typos.
ProWo
22nd October 2023, 10:10
October 22, 2023 release version 3.1.5.
Fixed: bug in fix timestamps, bug in video encoding with LUTs, bug in HDR10 handling with smpte2084 files without HDR10 metadada, typos.
Added: automatic return to UI after audio filter selection, automatic selection of colorspace and colorrange if this info is missing from the source.
Improved: video filter handling, cutting code.
ProWo
23rd October 2023, 10:09
Newest beta (v3.1.5.01), online now.
Fixed: little bug in output folder selection.
Added: output folder info and quit button on start screen.
Changed: button symbol (after encode audiostream), automatic return to select source screen after multiplex, cut and join.
ProWo
27th October 2023, 08:54
Newest beta (v3.1.5.02), online now.
Added: You can now select the streams to extract.
ProWo
28th October 2023, 08:31
Newest beta (v3.1.5.03), online now.
Fixed: little bugs.
Added: can now handle multiple videostremas in one file, sample video encoding.
ProWo
1st November 2023, 15:02
----------------------------------------------------------------------------------
November 1, 2023 release version 3.1.6.
----------------------------------------------------------------------------------
New:
Possibility to extract single or all streams.
Possibility to reorder the streams in the muxing grid.
Unsharp filter in video encoding.
The confirmation after successful task execution has been removed.
Automatic return to start screen after multiplexing.
Sample video encoding.
Can now handle multiple video streams in one file.
Output folder info on start screen.
Quit button on start screen.
Fixed:
Bug in output folder selection.
Other little bugs.
Improved:
The complete streams analysis recoded.
Changed:
Welcome screen.
Eia 607/708 captions extraction.
Background colors.
----------------------------------------------------------------------------------
Grimsdyke
1st November 2023, 19:07
Thanks for the new version !!
Can you maybe add a function that chapters can automatically be created after merging/joining based on the induvidial file titles and lengths ?
ProWo
2nd November 2023, 17:22
Thanks for the new version !!
Can you maybe add a function that chapters can automatically be created after merging/joining based on the induvidial file titles and lengths ?
Thanks for the hint.
I'm working on it. Will be added in the next beta.
ProWo
2nd November 2023, 18:06
Newest beta (v3.1.6.01), online now.
Added:
Can handle files without duration info (automatic fix).
Mux pcm_alaw in 3gp, avi, mkv container.
Select and order files in join grid.
Automatic generation and insertion of chapters at merging points (join grid).
Fixed:
Bug in muxing code.
Bug in video analysis.
ProWo
3rd November 2023, 09:19
----------------------------------------------------------------------------------
November 3, 2023 release version 3.1.7.
----------------------------------------------------------------------------------
New:
Can handle files without duration info (automatic fix).
Mux pcm_alaw in 3gp, avi, mkv container.
Select and order files in join grid.
Automatic generation and insertion of chapters at merging points (join grid).
Fixed:
Bug in muxing code.
Bug in video analysis.
----------------------------------------------------------------------------------
Grimsdyke
3rd November 2023, 17:42
Wow, thank you very much for the quick implementation of my suggestion regarding the chapter marker !
It works great but I would like to ask for two further improvements:
- also automatically adding names to the chapters based on the names of the original files
- possibilty to add more than just one file in one work step because for a large number of files it could be quite time consuming.
Thank you and have a nice weekend
ProWo
4th November 2023, 08:49
It works great but I would like to ask for two further improvements:
- also automatically adding names to the chapters based on the names of the original files
This is problematic because the filenames are often too long. But I will add a routine so that you can edit the chapters and enter the titles of your choice.
- possibilty to add more than just one file in one work step because for a large number of files it could be quite time consuming.
This has already been implemented. Simply select several files in Windows Explorer and drag & drop them into the Join grid.
ProWo
9th November 2023, 11:05
Newest beta (v3.1.7.01), online now.
Added:
Framerate change without recode (video stream only).
Mux grid separate default and forced checkbox.
Muxgrid default checked for all streams.
Edit chapters in join grid.
Fixed:
Bug in mux grid sorting.
Bug in audio delay analysis (mux grid).
Bug in chapters handling (join grid).
Improved:
raw h264 and hevc stream handling.
Grimsdyke
9th November 2023, 20:54
Thank you for the chapter editing function !! Works great, but I had a little issue with a few files because when I had them joined the chapter markers were off by a few seconds.
So I checked what is reported when the first file was put into the join grid. Turned out that in the audio stream there was somehow an offset added.
Don't know when that happened - but could this offset maybe just ignored (or set to zero) in a future build ?
Also I would like to know how I can prevent that the sequence of the files I'll add to the join grid through drag'n'drop is changed. Thanks !!
ProWo
11th November 2023, 09:27
Thank you for the chapter editing function !! Works great, but I had a little issue with a few files because when I had them joined the chapter markers were off by a few seconds.
The chapter markers are determined by the duration of the video stream. But if the corresponding audio stream is longer, the marker is too early. I could change the marker to the longest duration of a stream, but correctly an audio stream should not be longer than a video stream. That's why it stays as it is.
As a solution, you should adjust the streams for the relevant section beforehand, or you can change the start time of the chapter (when editing). Keep in mind that the times here are in milliseconds and that the end time of the previous chapter must be 1 ms less than the new start time.
So I checked what is reported when the first file was put into the join grid. Turned out that in the audio stream there was somehow an offset added.
Don't know when that happened - but could this offset maybe just ignored (or set to zero) in a future build ?
clever FFmpeg GUI does not add or remove any offsets. such offsets are already present in the video and should be removed beforehand.
Also I would like to know how I can prevent that the sequence of the files I'll add to the join grid through drag'n'drop is changed.
I have just tested this; the files are transferred to the join grid in exactly the same order as they appear highlighted in windows explorer.
ProWo
14th November 2023, 10:33
Newest beta (v3.1.7.02), online now.
Added:
Video stream raw export for h264 and hevc.
Audio encoding coced bitrate range info.
Extracted files are available in the muxgrid.
Fixed:
Bug in muxstreams handling.
Improved:
Stream info handling.
Many code improvements.
ProWo
17th November 2023, 16:46
----------------------------------------------------------------------------------
November 17, 2023 release version 3.1.8.
----------------------------------------------------------------------------------
New:
Batch processing.
Fixed:
DTS encoding bitrate range.
Improved:
Mux grid streams handling.
Many important code improvements.
----------------------------------------------------------------------------------
ProWo
20th November 2023, 10:08
Newest beta (v3.1.8.01), online now.
New:
Automatic definition of the output file in the mux grid if the muxed streams do not belong to the source file.
Fixed:
Aborted trigger bug
Mux container now corresponds to the source file.
Improved:
Preprocessed and batch streams handling in mux grid.
ProWo
23rd November 2023, 11:51
Newest beta (v3.1.8.02), online now.
New:
Batch processed tasks preserved on application exit or shutdown.
Fixed:
Bug in video indexing.
Bug in batch processing avs tasks.
Bug in get source codec with DTS audio.
Bug in progressbar on batch processing.
Changed:
Output files naming (audio and video encoding).
Improved:
Preprocessed and batch streams handling.
Stream duration analysis.
ProWo
1st December 2023, 11:56
----------------------------------------------------------------------------------
December 01, 2023 release version 3.1.9.
----------------------------------------------------------------------------------
New:
Open tasks resumed after application close.
Fixed:
Bug with webvtt subtitles.
Bug with hardcoding pgs subtitle.
Some other small bugs.
Improved:
Batch processing chain.
Output file naming.
----------------------------------------------------------------------------------
ProWo
4th December 2023, 11:28
Newest beta (v3.1.9.01), online now.
New:
Possibility to cancel single batch tasks instead all.
Fixed:
Bug in open tasks file create.
Bug in HDR/HLG recognition.
Bug in stream extraction with ts files.
Bug in video DAR calculation.
ProWo
11th December 2023, 16:11
Newest beta (v3.1.9.02), online now.
Fixed:
Bug in video indexing, if ffmpeg path contains spaces.
Bug in open batch tasks handling.
Changed:
Video keyframes indexing.
ProWo
14th December 2023, 20:33
Newest beta (v3.1.9.03), online now.
New:
Option to select destination folder for extracted streams (target folder or source folder).
Output filename handling with audio encode.
Extracted audio and subtitle streams filenames with language tag (if any).
Fixed:
Stream handling with uncommon muxed videos.
Aac encoding not supported channel layout issue.
ProWo
16th December 2023, 11:01
----------------------------------------------------------------------------------
December 16, 2023 release version 3.2.0.
----------------------------------------------------------------------------------
New:
Possibility to cancel single batch tasks instead of all tasks.
Option to select destination folder for extracted streams (target folder or source folder).
Output filename handling with audio encode.
Extracted audio and subtitle streams filenames with language tag (if any).
Fixed:
Bug in open tasks file create.
Bug in HDR/HLG recognition.
Bug in stream extraction with ts files.
Bug in video DAR calculation.
Bug in video indexing, if ffmpeg path contains spaces.
Bug in open batch tasks handling.
Stream handling with uncommon muxed videos.
Aac encoding not supported channel layout issue.
Changed:
Video keyframes indexing.
Improved:
Streams handling.
----------------------------------------------------------------------------------
ProWo
26th December 2023, 13:31
Newest beta (v3.2.0.01), online now.
New:
Resume unused processed files after program closing.
b switch option for dynaudnorm (request by mannequin80).
Improved:
Cut info.
ProWo
2nd January 2024, 13:31
Newest beta (v3.2.0.02), online now.
New:
LoudNorm filter I, LRA, TP settings (request by mannequin80).
Fixed:
Little bugs.
Improved:
Batch elements handling.
ProWo
15th January 2024, 15:22
Newest beta (v3.2.0.03), online now.
New:
Unused processed tasks exported to file for next time use.
All closed EIA 608/708 captions can be exported now, not only the first (request by [ss]vegeta).
Fixed:
Little bugs
Improved:
Audio bitrate handling
Open tasks handling.
Preprocessed files handling.
Already processed batch tasks handling.
ProWo
17th January 2024, 16:33
Newest beta (v3.2.0.04), online now.
New:
Batch tasks, possibility to replicate commandline from 1st task to many files (request by ingsoc), non documented.
ProWo
19th January 2024, 11:53
Newest beta (v3.2.0.05), online now.
Fixed:
Batch tasks: file extensions, progress bar.
Improved:
Many code corrections.
ProWo
23rd January 2024, 16:24
----------------------------------------------------------------------------------
January 23, 2024 release version 3.2.1.
----------------------------------------------------------------------------------
New:
Resume unused processed files after program closing.
b switch option for dynaudnorm (request by mannequin80).
LoudNorm filter settings (request by manneqin80).
Unused processed tasks exported to file for next time use.
All closed EIA 608/708 captions can be exported now, not only the first (request by ss vegata).
Batch task possibility to replicate commandline to many files (request by ingsoc, non documented).
Extract from and mux in picture to video
Tooltips on colorspace selection items (video encoding)
Filename check with automatic filename change for filenames with illegal characters in join grid.
Fixed:
Batch tasks file extensions bug.
Batch tasks progress bar bug.
Video cut bug.
Some small bugs.
Improved:
Cut info.
Batch elements handling.
Audio bitrate handling.
Many code corrections and little cosmetics.
----------------------------------------------------------------------------------
ProWo
25th January 2024, 11:33
Newest beta (v3.2.1.01), online now.
Changed:
Replaced all system colors with real RGB colors, so setting dark windows themes or designs can't change them anymore and the functionality should be preserved.
ProWo
26th January 2024, 16:47
----------------------------------------------------------------------------------
January 26 2024 release version 3.2.2.
----------------------------------------------------------------------------------
New: New RGB colors instead of system colors.
Fixed:
Bug in loudnorm 2pass parsing
Bug in automatic file naming.
----------------------------------------------------------------------------------
ProWo
28th January 2024, 09:39
----------------------------------------------------------------------------------
January 28 2024 release version 3.2.3.
----------------------------------------------------------------------------------
Fixed:
Important bug in color range parsing.
----------------------------------------------------------------------------------
ProWo
28th January 2024, 15:04
Newest beta (v3.2.3.01), online now.
Fixed:
Missing source chapters muxing.
Lathe
29th January 2024, 00:40
Newest beta (v3.2.3.01), online now.
Fixed:
Missing source chapters muxing.
WOW! What a great program, thanks for all the hard work Bro :D
So, I've been converting UHD HDR video files to SDR (I have an older OPPO and telly that is not 4k) I've just been using Handbrake because it is so easy :) and using the basic color filter BT709 like others have suggested. Is using your lovely program basically doing the same thing? Sorry, but I am not conversant in the deeper stuff like this.
I have downloaded but not tried your program yet. I noticed in the color space area there seem to be a nice variety of choices that I am not familiar with. Would I just set it for basic BT709 encoding, or are there any other, finer 'Tweaks' with these settings that might help the color turn out better for these conversions? Would it allow me to do anything else or 'better' than I get with Handbrake?
I really appreciate any input or suggestions, and please remember I am not super duper technical in understanding the really deep things about this, but I really do want to understand it better.
Thanks kindly!
ProWo
30th January 2024, 09:52
@Lathe
For a correct tonemapping the BT709 filter isn't enough.
Here you have an example of how to convert a 4k HDR 10 bit video into a HD SDR 8 bit video readable for your OPPO with mobius tone mapping. The batch mode is used because the tone mapping is slow and in batch mode the standby is deactivated and therefore the entire video is encoded without interruption.
However, you can also encode just one sample instead of batch mode as a test.
To do this, activate the sample checkbox, enter the desired duration in seconds and click on encode instead of to batch.
https://forum.videohelp.com/attachment.php?attachmentid=76610
ProWo
31st January 2024, 17:08
Newest beta (v3.2.3.02), online now.
Fixed:
Bug in subtitle selection for burn in subtitles.
Bug in audio volume detection.
Changed:
Scan for errors (now errors only, not messages).
Help screen loaded automatically with chapters screen.
Other system colors to RGB
guest
6th February 2024, 01:24
Hi ProWo,
I haven't posted here for a long time, as I haven't been doing much of this sort of stuff, recently.
But the other day I thought I'd refresh my memory with some of these DV app's, and get back into to it again.
Despite the obvious of what the main objective is with these app's, I found one that would convert THD 7.1 to Eac3 7.1, and it's obviously using FFMPEG, so I thought I'd grab your latest build as see what happens, seeing you are constantly improving it :)
I was quite surprised, when after loading the same .thd file I had just converted, to only be presented with a "Not Supported" message.
Not sure how this other app/tool does it, but it does.
And another function it seems to do quite well, is converting SDR to HDR, it takes a while, but again, it does it.
Just fyi.
Cheers
ProWo
6th February 2024, 08:27
@TDS
With the newest nightly build:
[eac3 @ 000001e0ac35f5c0] Specified channel layout '7.1' is not supported by the eac3 encoder
And as far as SDR to HDR is concerned:
where is the program supposed to get all the missing data from?
guest
6th February 2024, 10:10
@TDS
With the newest nightly build:
[eac3 @ 000001e0ac35f5c0] Specified channel layout '7.1' is not supported by the eac3 encoder
And as far as SDR to HDR is concerned:
where is the program supposed to get all the missing data from?
Like I said in my previous post, I have no idea how this app does its "magic", so maybe you should take a look for yourself...
But it definitely converts thd 7.1 to eac3 7.1 (8 channel), as for the SDR to HDR conversion's, it does do that too, although there are issues with the tonemapping / colourspace, it's a little washed out.
https://github.com/R3S3t9999/DoVi_Scripts?tab=readme-ov-file
tebasuna51
6th February 2024, 11:28
Like I said in my previous post, I have no idea how this app does its "magic", so maybe you should take a look for yourself...
That app say clearly use EasyAudioEncoder.exe to create eac3 7.1, you need download yourself (legality?) to be used in a Plex install, with python, Dolby tools (need a account), etc...
It is not the ffmpeg encoder.
guest
6th February 2024, 11:49
That app say clearly use EasyAudioEncoder.exe to create eac3 7.1, you need download yourself (legality?) to be used in a Plex install, with python, Dolby tools (need a account), etc...
It is not the ffmpeg encoder.
Thanks for the info, "teb", I just downloaded and installed EVERYTHING that "RESET_9999" recommended.
The only issue I have found is with the SDR to HDR conversion, it has some tonemapping issues.
EDIT:- I got a msg from "RESET" stating that the SDR to HDR conversion is just the first step in the process, and needs to be colorgraded with DaVinci Resolve :(
oniiz86
11th February 2024, 08:09
@Lathe
For a correct tonemapping the BT709 filter isn't enough.
Here you have an example of how to convert a 4k HDR 10 bit video into a HD SDR 8 bit video readable for your OPPO with mobius tone mapping. The batch mode is used because the tone mapping is slow and in batch mode the standby is deactivated and therefore the entire video is encoded without interruption.
However, you can also encode just one sample instead of batch mode as a test.
To do this, activate the sample checkbox, enter the desired duration in seconds and click on encode instead of to batch.
https://forum.videohelp.com/attachment.php?attachmentid=76610
@ProWo I seem to be having an issue with converting 4K HDR 10 bit HEVC stream to an 1080 SDR 8 Bit AVC stream when played back on my OPPO BDP-105D, one file that I converted simply hangs at 100% on my OPPO & will not start whilst the other file will play but the OPPO's Elapsed Time Counter is stuck on 00:00:00 unless I forward to the next chapter which then the Elapsed Time will initiate, I didn't mux these files with clever FFmpeg-GUI nor did I use the "Batch Mode" option, I simply started the encode process & then I used MKVToolNix
for muxing.
Here is the MediaInfo file info of the file that hangs at 100% on my OPPO that will not start to play,
Format : Matroska
Format version : Version 4
File size : 11.1 GiB
Duration : 2 h 11 min
Overall bit rate mode : Variable
Overall bit rate : 12.1 Mb/s
Frame rate : 24.000 FPS
Movie name : Hannibal 2001
Encoded date : 2023-04-28 21:43:22 UTC
Writing application : mkvmerge v70.0.0 ('Caught A Lite Sneeze') 64-bit
Writing library : libebml v1.4.2 + libmatroska v1.6.4
Cover : Yes
Attachments : cover.jpg
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@Main
HDR format : SMPTE ST 2086, HDR10 compatible
Codec ID : V_MPEGH/ISO/HEVC
Duration : 2 h 11 min
Bit rate : 8 021 kb/s
Width : 3 840 pixels
Height : 2 076 pixels
Display aspect ratio : 1.85:1
Frame rate mode : Constant
Frame rate : 24.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.042
Stream size : 7.36 GiB (67%)
Writing library : x265 3.5+rarbg-HDR-38-20255e6:[Linux][clang 16.0.0][64 bit] 10bit
Encoding settings : cpuid=1111039 / frame-threads=6 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x2076 / interlace=0 / total-frames=0 / level-idc=51 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / repeat-headers / annexb / aud / no-eob / no-eos / no-hrd / info / hash=0 / no-temporal-layers / no-open-gop / min-keyint=1 / keyint=24 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=25 / lookahead-slices=4 / scenecut=40 / no-hist-scenecut / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=3 / limit-refs=3 / no-limit-modes / me=3 / subme=3 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / no-sao / no-sao-non-deblock / rd=4 / selective-sao=0 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=1.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=abr / bitrate=8000 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=2 / cplxblur=20.0 / qblur=0.5 / ipratio=1.40 / pbratio=1.30 / aq-mode=1 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=9 / transfer=16 / colormatrix=9 / chromaloc=0 / display-window=0 / master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1) / cll=1000,710 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / hist-threshold=0.03 / no-opt-cu-delta-qp / no-aq-motion / hdr10 / hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / scenecut-aware-qp=0conformance-window-offsets / right=0 / bottom=0 / decoder-max-rate=0 / no-vbv-live-multi-pass
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color pri : Display P3
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 1000 cd/m2
Maximum Frame-Average Light : 710 cd/m2
Audio #1
ID : 2
Format : DTS XLL
Format/Info : Digital Theater Systems
Commercial name : DTS-HD Master Audio
Codec ID : A_DTS
Duration : 2 h 11 min
Bit rate mode : Variable
Bit rate : 3 652 kb/s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 24 bits
Compression mode : Lossless
Stream size : 3.35 GiB (30%)
Title : English DTS-HD MA 5.1
Language : English
Default : Yes
Forced : No
MediaInfo file info of the file that has the Elapsed Time Counter stuck at 00:00:00 but corrects itself if I go to the next Chapter,
Format : Matroska
Format version : Version 4
File size : 17.8 GiB
Duration : 2 h 2 min
Overall bit rate mode : Variable
Overall bit rate : 20.8 Mb/s
Frame rate : 23.976 FPS
Movie name : 3:10 to Yuma 2007
Encoded date : 2017-12-21 23:02:56 UTC
Writing application : mkvmerge v19.0.0 ('Brave Captain') 64-bit
Writing library : libebml v1.3.5 + libmatroska v1.4.8
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : SMPTE ST 2086, HDR10 compatible
Codec ID : V_MPEGH/ISO/HEVC
Duration : 2 h 2 min
Bit rate : 14.2 Mb/s
Width : 3 840 pixels
Height : 1 600 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.096
Stream size : 12.1 GiB (68%)
Writing library : x265 2.5+58-06979c042350:[Windows][GCC 6.2.1][64 bit] 10bit
Encoding settings : cpuid=1173503 / frame-threads=4 / numa-pools=20 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x1600 / interlace=0 / total-frames=176115 / level-idc=51 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / repeat-headers / annexb / aud / hrd / info / hash=0 / no-temporal-layers / no-open-gop / min-keyint=1 / keyint=24 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=25 / lookahead-slices=4 / scenecut=40 / no-intra-refresh / ctu=64 / min-cu-size=8 / rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / no-strong-intra-smoothing / max-merge=3 / limit-refs=3 / limit-modes / me=3 / subme=3 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=-3:-3 / no-sao / no-sao-non-deblock / rd=4 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=1.00 / no-rd-refine / analysis-reuse-mode=0 / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=17.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=160000 / vbv-bufsize=160000 / vbv-init=0.9 / crf-max=0.0 / crf-min=0.0 / ipratio=1.40 / pbratio=1.30 / aq-mode=1 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=9 / transfer=16 / colormatrix=9 / chromaloc=1 / chromaloc-top=2 / chromaloc-bottom=2 / display-window=0 / master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,0) / max-cll=1000,720 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / hdr / hdr-opt / no-dhdr10-opt / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-mv-type=0 / copy-pic=1
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color pri : Display P3
Mastering display luminance : min: 0.0000 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 1000 cd/m2
Maximum Frame-Average Light : 720 cd/m2
Audio #1
ID : 2
Format : DTS XLL X
Format/Info : Digital Theater Systems
Commercial name : DTS-HD MA + DTS:X
Codec ID : A_DTS
Duration : 2 h 2 min
Bit rate mode : Variable
Bit rate : 6 290 kb/s
Channel(s) : 8 channels
Channel layout : C L R LFE Lb Rb Lss Rss Objects
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 24 bits
Compression mode : Lossless
Stream size : 5.38 GiB (30%)
Language : English
Default : Yes
Forced : No
ProWo
11th February 2024, 11:54
@oniiz86
Both files are:
Width : 3 840 pixels
Height : 1 600 pixels
Bit depth : 10 bits
so you have not set the settings for the conversion correctly.
I advise you to repeat the conversion and use the batch mode, because this blocks the windows standbay and the conversion is guaranteed to run to the end.
Encode a sample first, so you can test it.
Use the newest beta (v3.2.3.03), online now.
ProWo
11th February 2024, 11:55
Newest beta (v3.2.3.03), online now.
Added:
Deletion of eia 608/708 captions from h264, hevc, mpeg2 videostreams.
Audio spectrogram (request by ingsoc).
av1 muxing to asf, avi, mov, mp4, wmv.
Fixed:
eac3 audiostream extraction as eac3 (request by Ennio).
Bug in HDR10/HLG metadata parsing.
Bug in source stream audio delay parsing.
Improved:
HDR10/HLG videos handling.
Invalid filenames handling.
Batch tasks handling.
FFmpeg errors handling.
oniiz86
11th February 2024, 14:18
@ProWo Thanks for that, will do, I did end up using v3.2.3.02 with the batch mode with the "Hannibal 2001" file that hangs at 100% on my OPPO using a CRF setting of 25 & it significantly made the stream size much smaller at around 1GB from its 7.36GB size, after it finished processing the newly created AVC stream, I then went to mux it using clever FFmpeg-GUI de-selecting the HEVC stream from the original source file & it muxed a 0kb file, very strange behaviour, I must say this particular "Hannibal 2001" file has a HDR/HLG metadata missing warning, not sure why, anyway I'll try the latest beta v3.2.3.03.
https://i.imgur.com/IpTYPoa.png
ProWo
11th February 2024, 14:41
@ProWo Thanks for that, will do, I did end up using v3.2.3.02 with the batch mode with the "Hannibal 2001" file that hangs at 100% on my OPPO using a CRF setting of 25 & it significantly made the stream size much smaller at around 1GB from its 7.36GB size, after it finished processing the newly created AVC stream, I then went to mux it using clever FFmpeg-GUI de-selecting the HEVC stream from the original source file & it muxed a 0kb file, very strange behaviour, I must say this particular "Hannibal 2001" file has a HDR/HLG metadata missing warning, not sure why, anyway I'll try the latest beta v3.2.3.03.
Retry with v3.2.3.03.
Then it depends on whether the source file is recognized as HDR10 or HLG.
With HLG, HLG to SDR is currently not possible because ffmpeg copies the mastering display data from the source without being asked and this cannot be deactivated.
However, if HDR10 is detected, select the x264 encoder, CRF 23, resize to 1920x1040, various, HDR/HLG checkbox, HDR10 to SDR, mobius, Bit depth 8, then to batch.
oniiz86
12th February 2024, 06:45
Retry with v3.2.3.03.
Then it depends on whether the source file is recognized as HDR10 or HLG.
With HLG, HLG to SDR is currently not possible because ffmpeg copies the mastering display data from the source without being asked and this cannot be deactivated.
However, if HDR10 is detected, select the x264 encoder, CRF 23, resize to 1920x1040, various, HDR/HLG checkbox, HDR10 to SDR, mobius, Bit depth 8, then to batch.
No such luck with v3.2.3.03 unfortunately, I had the same HDR/HLG Metadata missing but I don't think that really matters as much during the conversion to 1080p SDR 8 bit, I used CRF 23 & this time it created a slightly larger AVC stream size of 2GB, what is strange is that the size of the stream is always greatly reduced when using a CRF setting of 23 or 25 but if I choose CRF setting of 18, the newly created stream size is more or less the same 7.36GB size (which I prefer) as the original HEVC stream & then when trying to mux with clever FFmpeg-GUI it created a 0kb file :(
Is the issue that the Audio/Subtitle streams should first be demuxed than added separately to the newly created AVC stream, perhaps it is getting confused that the HEVC stream is present despite it being de-selected?
ProWo
12th February 2024, 10:24
No such luck with v3.2.3.03 unfortunately, I had the same HDR/HLG Metadata missing
Cut a 30 second piece of this video with avidemux, upload it somewhere and post the link here, then i can have a look at it.
oniiz86
12th February 2024, 11:01
@ProWo Will do, I tried it again with the latest beta v3.2.3.03 using a CRF setting of 18 which retained the stream size of 7.36GB for the AVC stream but instead of creating a 0kb file, the process was aborted with these messages,
https://i.imgur.com/RL3exyO.png
Then a process is aborted message,
https://i.imgur.com/pZYWgF2.png
Here is a short 1 min sample, https://www.sendspace.com/file/6c1tvj
ProWo
12th February 2024, 14:52
@ProWo Will do, I tried it again with the latest beta v3.2.3.03 using a CRF setting of 18 which retained the stream size of 7.36GB for the AVC stream but instead of creating a 0kb file, the process was aborted with these messages,
Then a process is aborted message
Will take a look.
Meantime you could try to remux without the picture.
ProWo
12th February 2024, 15:26
Tested with your sample,but everything works as expected here.
Your video has no HDR10 metadata (it was probably re-encoded improperly).
So you have two options:
1) re-encoding with x264 crf 25 resized 1920x1040 with BT709 and 8bit, without the HDR options, answer yes to the warning message
2) Re-encoding with x264, crf 25 resized 1920x1040, hdr option hdr10 to sdr, mobius, bit depth 8bit.
Then multiplex, select the new video stream (green or orange), deselect the old video stream, select all other desired streams (including the photo) and mux with multiplex.
Works perfectly here.
Close clever FFmpeg-GUI and delete this folder (it will be created again automatically):
C:\Users\xxx\AppData\Local\clever_FFmpeg_GUI (where xxx=your user name on windows),
then restart clever FFmpeg-GUI and try again.
http://https://www.sendspace.com/filegroup/QYQSK5rIBOpbAo%2FJy5dywQ
oniiz86
12th February 2024, 16:22
@ProWo Thanks so much for the testing, I noticed with your HDR10 to SDR 8bit sample, the file has a "Variable" frame rate mode & it looks to be converted from 24fps to 23.976 (23976/1000) fps & sorry for the silly question but I noticed in the image you uploaded, you didn't close the "Various" submenu screen, does that have any ill effect during the encoding process? I normally close the Various submenu & it simply mentions "1 extra filter selected".
https://i.imgur.com/kUH7D4h.jpeg
Format : Matroska
Format version : Version 4
File size : 30.0 MiB
Duration : 1 min 0 s
Overall bit rate mode : Variable
Overall bit rate : 4 187 kb/s
Frame rate : 23.976 FPS
Writing application : clever FFmpeg-GUI
Writing library : Lavf60.20.100
ErrorDetectionType : Per level 1
Video #1
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1 min 0 s
Bit rate : 1 465 kb/s
Width : 1 920 pixels
Height : 1 040 pixels
Display aspect ratio : 1.85:1
Frame rate mode : Variable
Frame rate : 23.976 (23976/1000) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.031
Stream size : 10.5 MiB (35%)
Writing library : x264 core 164 r3173 4815cca
Encoding settings : cabac=1 / ref=1 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=hex / subme=2 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=12 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=250 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=crf / mbtree=1 / crf=25.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
ProWo
12th February 2024, 16:54
Im out now, will come back to you tomorrow.
ProWo
13th February 2024, 09:26
@ProWo Thanks so much for the testing, I noticed with your HDR10 to SDR 8bit sample, the file has a "Variable" frame rate mode & it looks to be converted from 24fps to 23.976 (23976/1000) fps & sorry for the silly question but I noticed in the image you uploaded, you didn't close the "Various" submenu screen, does that have any ill affect during the encoding process? I normally close the Various submenu & it simply mentions "1 extra filter selected".
I have analyzed this.
The video stream is correctly encoded at 24 fps, but when muxing, the additional image is re-encoded and this variable frame rate is created. A new muxing without the picture brings you back to the 24 fps constant. I will correct this bug in the next beta.
The conversion from HLG to SDR will also be possible again, because I have found a way to remove the HDR sidedata that ffmpeg incorrectly copied.
As for the open Various submenu, that has no effect, I just left it open so you can see the settings in the image.
ProWo
14th February 2024, 10:01
Newest beta (v3.2.3.04), online now.
Added: Re-admitted HLG handling (keep HLG, HLG to SDR, HLG to HDR10).
ISO 639 language codes info in multiplex and audio encode grid (request by ingsoc).
Fixed:
Bug in profile handling with HDR10/HLG.
Improved: Change/set DAR (depending on codec and container).
Changed:
mkv as standard container in mux grid.
Removed av1 mux in mov, admitted mux mpeg1, mpeg2 in mxf .
oniiz86
14th February 2024, 14:54
@ProWo I've tried the latest v3.2.3.04 beta & it didn't have any errors this time, hopefully it'll play on my OPPO this time without hanging at 100%, one thing though I noticed the "picture (mjpeg)" stream for some reason is muxed after the video with a strange frame rate "90 000.898 FPS" when ideally it should be the last stream like it is in the multiplex grid, is there any chance you could correct that, it'd be greatly appreciated :)
Format : Matroska
Format version : Version 4
File size : 10.4 GiB
Duration : 2 h 11 min
Overall bit rate mode : Variable
Overall bit rate : 11.3 Mb/s
Frame rate : 24.000 FPS
Movie name : Hannibal 2001
Writing application : clever FFmpeg-GUI
Writing library : Lavf60.16.100
ErrorDetectionType : Per level 1
Video #1
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 2 h 11 min
Bit rate : 8 021 kb/s
Width : 1 920 pixels
Height : 1 040 pixels
Display aspect ratio : 1.85:1
Frame rate mode : Constant
Frame rate : 24.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.167
Stream size : 7.36 GiB (71%)
Writing library : x264 core 164 r3172 c1c9931
Encoding settings : cabac=1 / ref=1 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=hex / subme=2 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=12 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=250 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Video #2
ID : 6
Format : V_MJPEG
Codec ID : V_MJPEG
Width : 550 pixels
Height : 825 pixels
Display aspect ratio : 1.85:1
Frame rate mode : Constant
Frame rate : 90 000.898 FPS
Color space : YUV
Writing library : Lavc60.31.102 mjpeg
Default : No
Forced : No
Color range : Full
Matrix coefficients : BT.470 System B/G
FILENAME : cover.jpg
MIMETYPE : image/jpeg
Audio #1
ID : 2
Format : DTS XLL
Format/Info : Digital Theater Systems
Commercial name : DTS-HD Master Audio
Codec ID : A_DTS
Duration : 2 h 11 min
Bit rate mode : Variable
Bit rate : 3 652 kb/s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 24 bits
Compression mode : Lossless
Stream size : 3.35 GiB (32%)
Title : English DTS-HD MA 5.1
Language : English
Default : Yes
Forced : No
ProWo
16th February 2024, 11:06
@ProWo one thing though I noticed the "picture (mjpeg)" stream for some reason is muxed after the video with a strange frame rate "90 000.898 FPS" when ideally it should be the last stream like it is in the multiplex grid, is there any chance you could correct that, it'd be greatly appreciated :)
This picture fps has no meaning, but I have noticed that this picture is not displayed.
I will revise the insertion of a picture as coverart.
But more importantly, does your OPPO play the re-encoded video?
oniiz86
16th February 2024, 12:35
This picture fps has no meaning, but I have noticed that this picture is not displayed.
I will revise the insertion of a picture as coverart.
But more importantly, does your OPPO play the re-encoded video?
Ok, thanks for that, sorry for not getting back to you with my results, I'm happy to report that the latest v3.2.3.04 beta has been great, I can successfully play the file on my OPPO BDP-105D, no more hanging at a 100%, I must say that I did try the problematic re-encode on my OPPO UDP-205 & had no such issues, I guess whatever you revised in your code has made the earlier OPPO's MediaTek MT8580 SoC chipset happier now, thanks so very much for sorting it out so swiftly :)
Edit: I was wondering why in the latest v3.2.3.04 beta you removed the ability to mux the AV1 codec in the MOV container, did it prove to be problematic?
Changed:
mkv as standard container in mux grid.
Removed av1 mux in mov, admitted mux mpeg1, mpeg2 in mxf .
ProWo
16th February 2024, 16:13
I was wondering why in the latest v3.2.3.04 beta you removed the ability to mux the AV1 codec in the MOV container, did it prove to be problematic?
Message from ffmpeg:
[mov @ 000001e4afe1cac0] av1 only supported in MP4 and AVIF.
ProWo
19th February 2024, 10:16
Newest beta (v3.2.3.05), online now.
Added:
x256 loop filter (request by avinewbie).
Chunk analysis for compatibility in join section.
Fixed:
Cover art (image) handling in video.
Improved:
Stream analysis.
x265-params handling.
Join function (can now merge videos with different resolutions and frame rates (but with the same codecs).
ProWo
21st February 2024, 13:54
Newest beta (v3.2.3.06), online now.
Fixed:
Bug in multiple batch cuts from same source.
ProWo
22nd February 2024, 16:45
----------------------------------------------------------------------------------
February 22 2024 release version 3.2.4.
----------------------------------------------------------------------------------
Added:
Deletion of eia 608/708 captions from h264, hevc, mpeg2 videostreams.
Audio spectrogram (request by ingsoc).
av1 muxing to asf, avi, mov, mp4, wmv.
Re-admitted HLG handling (keep HLG, HLG to SDR, HLG to HDR10).
ISO 639 language codes info in multiplex and audio encode grid (request by ingsoc).
x256 loop filter (request by avinewbie).
Chunk analysis for compatibility in join section.
Automatic transfer of cutted chunks from direct cur or batch cut (if more then one) to join grid.
Cut marks list for multiple cuts from the source file, so all cuts can be made in one go.
Fixed:
Missing source chapters muxing.
Bug in subtitle selection for burn in subtitles.
Bug in audio volume detection.
eac3 audiostream extraction as eac3 (request by Ennio).
Bug in HDR10/HLG metadata parsing.
Bug in source stream audio delay parsing.
Bug in profile handling with HDR10/HLG.
Cover art (image) handling in video.
Bug in multiple batch cuts from same source.
Improved:
HDR10/HLG videos handling.
Invalid filenames handling.
Batch tasks handling.
FFmpeg errors handling.
Change/set DAR (depending on codec and container).
Stream analysis.
x265-params handling.
Join function (can now merge videos with different resolutions and frame rates (but with the same codecs).
Changed:
Scan for errors (now errors only, not messages).
Help screen loaded automatically with chapters screen.
Other system colors to RGB.
mkv as standard container in mux grid.
Removed av1 mux in mov, admitted mux mpeg1, mpeg2 in mxf.
----------------------------------------------------------------------------------
ProWo
27th February 2024, 10:46
Newest beta (v3.2.4.01), online now.
Added:
Audio 8 channels enhanced downmix to stereo.
Security settings for Windows.
Improved:
Audio filter handling.
Audio channels reduction handling.
Audio channels remap chandling.
Changed:
Picture as coverart in video handling.
ProWo
28th February 2024, 10:28
Newest beta (v3.2.4.02), online now.
Fixed:
Bug in 8 channels to 6 channels downmix to DTS (thanks to fan for the hint).
oniiz86
5th March 2024, 08:18
@ProWo I was wondering why when re-encoding a video stream from one codec to another, in this example I'm using mpeg4 to avc the stream size becomes really small when using a CRF between 23-25 but when using a CRF of 18 it is closer to the original video stream size, is there meant to be a drastic size difference in stream sizes with a CRF18 vs a CRF23? Does it have to do with the encoder preset? I leave it set to "veryfast". I understand mkv is a more efficient container with much less overhead than avi but the discrepancy in video stream size is still a concern.
Here is the original 1.35GB video stream size (excluded audio stream that is why the file size mentions 1.47GB),
Format : AVI
Format/Info : Audio Video Interleave
Format settings : BitmapInfoHeader / WaveFormatEx
File size : 1.47 GiB
Duration : 1 h 24 min
Overall bit rate : 2 478 kb/s
Frame rate : 25.000 FPS
Writing application : VirtualDubMod 1.5.4.1 (build 2178/release)
Writing library : VirtualDubMod build 2178/release
Video
ID : 0
Format : MPEG-4 Visual
Format profile : Advanced Simple@L5
Format settings : Custom Matrix
Format settings, BVOP : No
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Custom
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 1 h 24 min
Bit rate : 2 279 kb/s
Width : 720 pixels
Height : 544 pixels
Display aspect ratio : 4:3
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.233
Stream size : 1.35 GiB (92%)
Writing library : XviD 1.2.1 (2008-12-04)
CRF18 encode with 1.01GB video stream size,
Format : Matroska
Format version : Version 4
File size : 1.01 GiB
Duration : 1 h 24 min
Overall bit rate : 1 704 kb/s
Frame rate : 25.000 FPS
Writing application : clever FFmpeg-GUI
Writing library : Lavf60.16.100
ErrorDetectionType : Per level 1
IAS1 : English
SOFTWARE : VirtualDubMod 1.5.4.1 (build 2178/release)
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1 h 24 min
Bit rate : 1 671 kb/s
Width : 720 pixels
Height : 544 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.171
Stream size : 1 012 MiB (98%)
Writing library : x264 core 164 r3172 c1c9931
Encoding settings : cabac=1 / ref=1 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=hex / subme=2 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=12 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default : No
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
CRF23 encode with 421MB video stream size
Format : Matroska
Format version : Version 4
File size : 538 MiB
Duration : 1 h 24 min
Overall bit rate : 889 kb/s
Frame rate : 25.000 FPS
Encoded date : 2024-03-04 11:20:17 UTC
Writing application : mkvmerge v82.0.39 ('The final countdown - Non official') 64-bit
Writing library : libebml v1.4.5 + libmatroska v1.7.1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1 h 24 min
Bit rate : 695 kb/s
Width : 720 pixels
Height : 544 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.071
Stream size : 421 MiB (78%)
Writing library : x264 core 164 r3172 c1c9931
Encoding settings : cabac=1 / ref=1 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=hex / subme=2 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=12 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default : No
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
guest
5th March 2024, 09:27
@ProWo I was wondering why when re-encoding a vidoe stream from one codec to another, in this example I'm using mpeg4 to avc the stream size becomes really small when using a CRF between 23-25 but when using a CRF of 18 it is closer to the original video stream size, is there meant to be a drastic size difference in stream sizes with a CRF18 vs a CRF23? Does it have to do with the encoder preset? I leave it set to "veryfast". I understand mkv is a more efficient container with much less overhead than avi but the discrepancy in video stream size is still a concern.
Here is the original 1.35GB video stream size (excluded audio stream that is why the file size mentions 1.47GB),
CRF18 encode with 1.01GB video stream size,
CRF23 encode with 421MB video stream size
https://slhck.info/video/2017/02/24/crf-guide.html
tebasuna51
5th March 2024, 10:36
... is there meant to be a drastic size difference in stream sizes with a CRF18 vs a CRF23?
Of course, it is the user choice preserve more or less quality.
I can't recommend more quality than CRF18, I use it only for high source quality. But most the time I use CRF20, for me it is enough for many movies.
Does it have to do with the encoder preset? I leave it set to "veryfast"
Of course, for what you need save encode time?
I recommend use the default ("medium") with the recommended parameters values of the developpers, unless you know what are doing.
For instance use ref=1 / subme=2 / trellis=0 ... is fast of course, but defaults ref=3 / subme=7 / trellis=1 ... obtain a better quality/size with only a few more encode time.
I see you use "tune film" also (psy_rd=1.00:0.15) it is ok for high quality (CRF18) but not for low quality (CRF23)
oniiz86
5th March 2024, 11:20
Of course, it is the user choice preserve more or less quality.
I can't recommend more quality than CRF18, I use it only for high source quality. But most the time I use CRF20, for me it is enough for many movies.
Of course, for what you need save encode time?
I recommend use the default ("medium") with the recommended parameters values of the developpers, unless you know what are doing.
For instance use ref=1 / subme=2 / trellis=0 ... is fast of course, but defaults ref=3 / subme=7 / trellis=1 ... obtain a better quality/size with only a few more encode time.
I see you use "tune film" also (psy_rd=1.00:0.15) it is ok for high quality (CRF18) but not for low quality (CRF23)
I have been using the recommended default of Clever FFmpeg-GUI, the default happens to be "veryfast" not "medium" at least for me with the latest beta v3.2.4.02, so is it very much ill-advised to be using "veryfast" as the encoder preset?
Is the "tune" setting of "film" which is the default, no good if a higher CRF greater than 18 is utilised?
https://i.imgur.com/dh3drT7.png
tebasuna51
5th March 2024, 14:32
The preset default for x264 developpers is "medium", and tune "film" make more dificult (need more bitrate) encode the image that is not recommended with high CRF.
But all is user selection, I put my opinion and justify the different encode size.
If you are satisfied with the quality and encode time of the 421 MB video file all is ok.
ProWo
9th March 2024, 11:25
Newest beta (v3.2.4.03), online now.
Added:
Encoded subtitles added to processed elements.
Encode text subtitles (srt, ass, ssa, mov_text, webvtt) to ttml.
Dvvideo muxing to asf, mkv, mov, wmv.
Fixed:
Extract mov_text as srt (thanks to wiseant for the hint).
Avoid encoded ttml subtitles to be added to the mux grid (because they can't be muxed).
Missing buttons in cut grid.
ProWo
10th March 2024, 17:45
Newest beta (v3.2.4.04), online now.
Added:
The additional audio volume is displayed (after volume detection or after manual input/change).
Fixed:
No video stream recognition with mjpeg codec (thx to Lexi).
ProWo
10th March 2024, 22:42
Newest beta (v3.2.4.05), online now.
Added:
Function to remember last used audio- and videocodec and mux container.
Fixed:
Cutting function does not work with certain video codecs (thx to Lexi).
ProWo
11th March 2024, 18:34
Newest beta (v3.2.4.06), online now.
Added:
Remember last settings for x264 and hevc and audio encoding.
Fixed:
Massive bug in HDR10 handling (thx to Ndidi).
Lathe
19th March 2024, 05:43
WOW! I just used this program for the first time to convert from UHD/HDR to Blu-ray SDR. I've been using Handbrake just with the colorspace set at BT709. So, for the hell of it I just did an encode with both to see what the difference is. I used the setting suggested in doing this conversion:
However, if HDR10 is detected, select the x264 encoder, CRF 23, resize to 1920x1040, various, HDR/HLG checkbox, HDR10 to SDR, mobius, Bit depth 8, then to batch.
I did about a 1 Gig snippet using both. And WOW again! The Handbrake was so much darker and the one encoded using this program was WAY brighter and more vibrant. I'm so glad I stumbled onto this program because at least at this first glance, it sure seems a HELL of a lot better looking than what Handbrake generates. I don't know what you are doing with the picture and the colours, but does it ever look better. Thanks MUCHO!
I just have to figure out how to get it to include the audio. I know this is my first time in using it, but is SEEMED like once I had the video parameters set as mentioned above and then I went to the main screen it appeared like all the video settings reverted to what they were before. So, I need to figure out how to have the program also mux in the audio. But, for now, as long as the frame rate and duration are the same, I can mux in the audio from the original file.
kalehrl
19th March 2024, 09:30
Where does this tool store its settings?
I changed the location of the Vdub2 and now the tool reports an error.
I don't see where I can change the Vdub2 location in the settings.
ProWo
19th March 2024, 15:36
Where does this tool store its settings?
I changed the location of the Vdub2 and now the tool reports an error.
I don't see where I can change the Vdub2 location in the settings.
C:\Users\xxx\AppData\Local\clever_FFmpeg_GUI (where xxx=your user name on windows).
Delete the whole folder (it will be recreated automatically) and restart the app.
ProWo
19th March 2024, 15:40
I just have to figure out how to get it to include the audio.
After video encoding has finished, click multiplex and there are all the streams you need. Select what you want, set the container and click multiplex.
Done.
ProWo
19th March 2024, 15:42
----------------------------------------------------------------------------------
March 19 2024 release version 3.2.5.
----------------------------------------------------------------------------------
Added:
Audio 8 channels enhanced downmix to stereo.
Security settings for Windows.
Encoded subtitles added to processed elements.
Encode text subtitles (srt, ass, ssa, mov_text, webvtt) to ttml.
Dvvideo muxing to asf, mkv, mov, wmv.
The additional audio volume is displayed (after volume detection or after manual input/change).
Function to remember last used audio- and videocodec and mux container.
Remember last settings for x264 and hevc and audio encoding.
Custom settings for any channel in audio channel remapping.
Stereo to 5.1 audio upmix.
Video encoding: you can now use any avaiable pixel format for the selected codec.
ffvhuff and huffyuv video encoding.
New audio and video codecs in mux grid.
Check for unusual video offset in cut section.
Fixed:
Bug in 8 channels to 6 channels downmix to DTS (thanks to fan for the hint).
Extract mov_text as srt (thanks to wiseant for the hint).
Avoid encoded ttml subtitles to be added to the mux grid (because they can't be muxed).
Missing buttons in cut grid.
No video stream recognition with mjpeg codec (thx to Lexi).
Cutting function does not work with certain video codecs (thx to Lexi).
Massive bug in HDR10 handling (thx to Ndidi).
Bug in pcm encoding.
Bug in video filterchain.
Improved:
Audio filter handling.
Audio channels reduction handling.
Audio channels remap handling.
HDR10/HLG handling, also with LUT's.
Audio filter handling.
Audio split to single channels pcm files.
Changed:
Picture as coverart in video handling.
----------------------------------------------------------------------------------
Lathe
19th March 2024, 23:01
After video encoding has finished, click multiplex and there are all the streams you need. Select what you want, set the container and click multiplex.
Done.
Heh, actually I did finally see that, thanks! Awesome picture quality!
ProWo
9th April 2024, 14:01
Newest beta (v3.2.5.01), online now.
Added: (Hidden batch function): multiple audio files can be added now (thx to ingsoc for the hint).
Fixed: Buttons bug with pcm in m4a (thx to ingsoc for the hint).
Improved: Cut help.
Changed: Small changes on cut screen, cut code.
Hellboy.
12th April 2024, 21:37
Can you add .w64 to "Encoder" selection in Audio Encoding?
When i use pcm to convert DTS-HD to pcm and change the container to none the audio is cut to 01:20:00 from 01:51:00.
Maybe the file is to big for .waw and need .w64.
tebasuna51
13th April 2024, 08:50
Or with rf64 wav header. With ffmpeg you can use:
... -acodec pcm_s24le -rf64 auto X.wav
And output standard wav file if < 4GB or with rf64 header if >4GB
EDIT: And rf64 is supported also for qaac, fdkaac and flac (w64 only for flac)
ProWo
13th April 2024, 15:39
@tebasuna51
thx for this info.
@Hellboy.
I'll customize the command line according to tebasuna51's info.
Hellboy.
13th April 2024, 21:48
Thanks ProWo. But if you can add .w64 too. More options is always better.
Edit: I saw that it has truehd option and I tried to convert dts-hd to truehd and I get an error. I don't need the trueHD, just to see if it works.
ProWo
14th April 2024, 17:34
Newest beta (v3.2.5.02), online now.
Added: Warning with pcm_bluray encoding with 8ch (not working).
Fixed: Bug in pcm encoding to wav (file >4GB), bug in trueHD encoding (thx to Hellboy. for both hints, thx to tebasuna51 for the pcm switch).
Hellboy.
15th April 2024, 02:30
Tried the beta and worked. Thanks.
Hellboy.
15th April 2024, 15:11
I use .w64 because it works with tsMuxeR and .wav don't.
SeeMoreDigital
15th April 2024, 15:54
I use .w64 because it works with tsMuxeR and .wav don't.Yes it does!
What size/type of .wav contained files are you using?
Hellboy.
15th April 2024, 17:14
Using the new beta i convert the dts-hd to pcm using the same settings i show in this picture
https://forum.doom9.org/showpost.php?p=2000351&postcount=394
and tsMuxer don't accept the file.
wav = 5.35 GB
ProWo
15th April 2024, 20:38
Using the new beta i convert the dts-hd to pcm using the same settings i show in this picture
https://forum.doom9.org/showpost.php?p=2000351&postcount=394
and tsMuxer don't accept the file.
wav = 5.35 GB
I have made some tests for pcm encodings >4 Gb:
pcm as wav: is cut off at 4Gb, content not complete.
pcm with -rf64 auto as wav: complete content is preserved, is played by most players, but not recognized by tsmuxer.
pcm as w64: recognized by tsmuxer, but not played by most players.
pcm in mka container: complete content is preserved, is played by all players, is recognized by tsmuxer.
I will therefore return to the previous command line for pcm encoding. For pcm encodings >4Gb the mka container should therefore be used.
ProWo
15th April 2024, 21:02
Newest beta (v3.2.5.03), online now.
Added: Sample muxing (request by kssxs).
Fixed: Bug in audiofilter with flac encoding.
Removed: -rf64 auto filter with pcm encoding, not working as aspected.
Hellboy.
15th April 2024, 23:05
Under "Audio Encoding>Change length & pitch", which do you recommend: Length only or Length & pitch.
Thanks.
Edit:
If i understand correctly
Length only = Preserving Pitch
Length & pitch = Correcting Pitch
Emulgator
15th April 2024, 23:23
Depends on what you want to achieve.
In terms of damage there is one operation less damaging:
Having length multiplied by the same factor as pitch is divided (length *1,2 AND pitch/1,2).
Resampling for a length change only OR for pitch change only will generate more damage.
ProWo
19th April 2024, 14:00
Newest beta (v3.2.5.04), online now.
Fixed: Bug with using raw vc1 streams, bug with framerate recognition of vc1 in m2ts (thx to Amiga for the hint).
Improved: Video indexing for cut, keyframe cut precision.
ProWo
30th April 2024, 10:46
----------------------------------------------------------------------------------
April 30 2024 release version 3.2.6.
----------------------------------------------------------------------------------
Fixed: major bug (missing variable reset after sample video encoding/muxing).
Changed: Audio spectrogram picture type (png to jpg).
New logo and new icon.
Cut code.
Improved: Video without duration info handling.
Sample handling (video encoding, muxing).
----------------------------------------------------------------------------------
Lathe
30th April 2024, 22:52
----------------------------------------------------------------------------------
April 30 2024 release version 3.2.6.
----------------------------------------------------------------------------------
Fixed: major bug (missing variable reset after sample video encoding/muxing).
Changed: Audio spectrogram picture type (png to jpg).
New logo and new icon.
Cut code.
Improved: Video without duration info handling.
Sample handling (video encoding, muxing).
----------------------------------------------------------------------------------
Thanks so much mate for all the hard work AND the great program! I am still somewhat new at this, I just wanted to ask you if you have a moment, when converting from HDR-SDR, what is the tone mapping being done exactly? I mean, what do the 'Mobius' and the desaturation settings do (I do know what saturation is, but I don't understand why it is set to desaturate at -2?)
I know you are likely very busy, but if you don't mind the bother if you could please kindly help me to understand what exactly the program is doing this way that would be great, thanks!
when converting from HDR-SDR, what is the tone mapping being done exactly? I mean, what do the 'Mobius' and the desaturation settings do (I do know what saturation is, but I don't understand why it is set to desaturate at -2?)
Read the full info about ffmpeg tonemap filter:
https://ffmpeg.org/ffmpeg-filters.html#tonemap-1
Read the full info about ffmpeg tonemap filter:
https://ffmpeg.org/ffmpeg-filters.html#tonemap-1
Thanks, will do!
ProWo
16th May 2024, 10:17
Newest beta (v3.2.6.01), online now.
Added: Keyframe check on cutting.
More info of subtitle type on subtitle burn in.
Automatic pixel format settings with HDR10/HLG sources.
wmv3 muxing.
Fixed: Bug in subtitle burn in with picture based subtitles.
Changed: Filter removed on file search (request by Ennio).
Removed first keyframe delay field (cut section).
Default settings for dynaudnorm filter.
Extraction of DVD and DVB subtitles to mkv.
ProWo
31st May 2024, 16:55
Newest beta (v3.2.6.02), online now.
Fixed: Disappearing bug.
Video encoding filterchain bug.
Bug in multiplex grid with preprocessed and batch streams.
Bug in ffmpeg path (thx Ndidi for the hint).
Changed: HDR info in file analysis and app.
Improved: automatic settings on HDR conversions.
ProWo
19th June 2024, 16:55
Newest beta (v3.2.6.03), online now.
Added:
UTF-8 support for filenames.
Fixed:
Bug in video stream extraction, with videostream index >0.
Changed:
Removed webvtt muxing to 3gp,flv,mov,mp4, not working.
Removed filename check and replace for non ascii characters, problematic with many foreign language filenames.
ProWo
2nd July 2024, 13:17
----------------------------------------------------------------------------------
July 02 2024 release version 3.2.7.
----------------------------------------------------------------------------------
Added:
Keyframe check on cutting.
More info of subtitle type on subtitle burn in.
Automatic pixel format settings with HDR10/HLG sources.
wmv3 muxing.
UTF-8 support for filenames.
Extract mpeg1, mpeg2 video as mpg
wmv1 muxing to asf, avi, mkv, mp4, webm, wmv.
Fixed:
Bug in subtitle burn in with picture based subtitles.
Disappearing bug.
Video encoding filterchain bug.
Bug in multiplex grid with preprocessed and batch streams.
Bug in ffmpeg path (thx Ndidi for the hint).
Bug in video stream extraction, with videostream index >0.
Improved:
Automatic settings on HDR conversions.
Subtitles burn in.
Changed:
Filter removed on file search (request by Ennio).
Removed first keyframe delay field (cut section).
Default settings for dynaudnorm filter.
Extraction of DVD and DVB subtitles to mkv.
HDR info in file analysis and app.
Removed webvtt muxing to 3gp,flv,mov,mp4, not working.
Removed filename check and replace for non ascii characters, problematic with many foreign language filenames.
Removed wma2 muxing to webm (not working).
----------------------------------------------------------------------------------
Lathe
17th July 2024, 06:43
I've used your excellent program before to convert from HDR to SDR and from UHD to HD. But, this time when the conversion was finished with the exact same settings (level 4.1, etc) the resulting Blu-ray that I burned from it would NOT play on my OPPO player, it just froze. It does that when something in the Blu-ray is not right.
Why did encodes I did before work just fine when I burned the resulting Blu-rays, but this time it did not...? If this doesn't work for me anymore, than I can't use your program to create playable Blu-rays anymore and that would be a drag...
Thanks for any help!
***EDIT
I actually had to run your encode through BDRB in order to get the resulting burned Blu-ray to play properly, which it played just fine. Bummer I had to reencode it twice :(
gonca
17th July 2024, 12:51
Next time run it through tsMuxer and see if that plays back.
Lathe
18th July 2024, 01:03
Next time run it through tsMuxer and see if that plays back.
For a Canadian guy you sure get around... :)
Thanks man. Yeah, it was such a bummer, doing the whole encode from HDR-SDR with the exact same settings and then the Blu-ray mysteriously choking on my OPPO (older BDP-83, but serviced recently)
And yeah, I had to add the audio tracks afterward, so I did use TSMuxer to do that, but the resulting Blu-ray did not play. I checked the encoding specs closely and I didn't see anything wrong with them. Don't remember if the Blu-ray compatible buffers were set though, but I never needed to worry about that before. Would be nice if there were a way to add x264 commands to CleverFFMpeg, but I don't think you can. Maybe I should try Hybrid...
Sure will be a shame if CleverFFMpeg doesn't actually work for me anymore to do these HDR-SDR conversions because the resulting picture looks really great! Even having to reencode it through BDRB with just barely enough compression so that it is forced to reencode, still the picture looks really good!
gonca
18th July 2024, 01:34
Try "simple x264 launcher"
also try using
--bluray-compat in your command line
Lathe
18th July 2024, 01:55
Try "simple x264 launcher"
also try using
--bluray-compat in your command line
Yeah, I WOULD, but I can't see where you can add x264 commands to CleverFFMpeg. And... I wonder why I didn't have to do that before...?
ProWo
18th July 2024, 07:05
I've used your excellent program before to convert from HDR to SDR and from UHD to HD. But, this time when the conversion was finished with the exact same settings (level 4.1, etc) the resulting Blu-ray that I burned from it would NOT play on my OPPO player, it just froze. It does that when something in the Blu-ray is not right.
Why did encodes I did before work just fine when I burned the resulting Blu-rays, but this time it did not...? If this doesn't work for me anymore, than I can't use your program to create playable Blu-rays anymore and that would be a drag...
Thanks for any help!
***EDIT
I actually had to run your encode through BDRB in order to get the resulting burned Blu-ray to play properly, which it played just fine. Bummer I had to reencode it twice :(
Hi Lathe,
would investigate on this.
Please repeat the failed operation with exact the same settings, but instead of clicking encode, click To batch this time.
Then quit the program.
In your destination folder you'll find a BE_open.txt file.
Post this file.
Lathe
18th July 2024, 07:11
Hi Lathe,
would investigate on this.
Please repeat the failed operation with exact the same settings, but instead of clicking encode, click To batch this time.
Then quit the program.
In your destination folder you'll find a BE_open.txt file.
Post this file.
Will do mate, thanks for the reply!
ProWo
19th July 2024, 16:52
Newest beta (v3.2.8.01), online now.
Added:
Batch tasks: if you want replicate the first batch commandline to other files, you can now add them. There is an info message then. The filename addon from the first batch is copied to all other files.
Fixed:
Bug in batch tasks counter reset.
Improved:
Subtitle handling for burn in.
High DPI support, many code adaptions (thx to Iomero). Copy the enclosed config file with the exe into the same folder.
Removed:
8 channels support for trueHD encoding, not working (thx to Darkhorse).
Lathe
19th July 2024, 23:23
Hi Lathe,
would investigate on this.
Please repeat the failed operation with exact the same settings, but instead of clicking encode, click To batch this time.
Then quit the program.
In your destination folder you'll find a BE_open.txt file.
Post this file.
I am running the same encode again like you asked.
I guess I will have to run the entire encode to get the file you asked about. I sent it to 'Batch' and then under the Batch tasks menu I hit 'Execute', so I guess it is running the exact same encode, so I'll hafta wait until it is done before I can get that file you want.
***EDIT
Oh, I'm sorry... I see now that I don't hit 'Abort' because that just deletes the files. I have to do like you said and 'Quit/Exit' the program, THEN the file is created :) I'll post is below, thanks!
Video ---> x264 (avc) - Stream ID 0 from ?G:\___TL\The Case of the Bloody Iris 1972 2160p Remux HDR10 HEVC FLAC 1.0-NoGrp.mkv?5697651?-y -fflags +genpts -i "G:\___TL\The Case of the Bloody Iris 1972 2160p Remux HDR10 HEVC FLAC 1.0-NoGrp.mkv" -vf fps=24000/1001,scale=1920:1080,zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=709,tonemap=mobius:desat=2,zscale=t=709:m=709:r=tv,format=yuv420p,sidedata=delete -map 0:0 -c:v libx264 -profile:v high -preset medium -tune film -crf 18 -aspect 1.78 -color_primaries bt709 -color_trc bt709 -colorspace bt709 -an -sn -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?D:\The Case of the Bloody Iris 1972 2160p Remux HDR10 HEVC FLAC 1.0-NoGrp_0_0_x264 (avc).mkv?1
***EDIT 2
BTW, FWIW, it would be kind of nice to have a place where we can modify the x264 settings and add code, like in the area shown above.
ProWo
20th July 2024, 08:47
@Lathe
I have analyzed the file.
The only change to the command line since v3.2.6 is the addition of
sidedata=delete
You can delete the following in your BE_open.txt:
,sidedata=delete
(don't forget the comma) and then save it.
Then start clever FFmpeg GUI, load any video file, click main, click batch tasks, click execute.
Your video will then be encoded without sidedata=delete.
But I don't think that's the problem.
You should also recheck all other steps up to the Blu-Ray.
You wrote
... But, this time when the conversion was finished with the exact same settings (level 4.1, etc) the resulting Blu-ray that I burned from it would NOT play on my OPPO player, it just froze. It does that when something in the Blu-ray is not right.
In this HDR to SDR encoding with x264 high profile you cannot set the profile level...
BTW, FWIW, it would be kind of nice to have a place where we can modify the x264 settings and add code, like in the area shown above.
I deliberately do not have an open editable command line in the program, as I do not want the user to make incorrect entries due to a lack of knowledge.
The only way to change/add to the command line is to edit the BE_open.txt file.
The purpose of this file is to save the tasks entered if the program is terminated before they have been processed.
When clever FFmpeg GUI is started, it searches for this file. If it is found, the tasks are read in and the file is deleted.
The prerequisite is, of course, that the files specified in the BE_open.txt file also exist.
Lathe
20th July 2024, 09:17
@Lathe
I have analyzed the file.
The only change to the command line since v3.2.6 is the addition of
sidedata=delete
You can delete the following in your BE_open.txt:
,sidedata=delete
(don't forget the comma) and then save it.
Then start clever FFmpeg GUI, load any video file, click main, click batch tasks, click execute.
Your video will then be encoded without sidedata=delete.
But I don't think that's the problem.
You should also recheck all other steps up to the Blu-Ray.
You wrote
In this HDR to SDR encoding with x264 high profile you cannot set the profile level...
I deliberately do not have an open editable command line in the program, as I do not want the user to make incorrect entries due to a lack of knowledge.
The only way to change/add to the command line is to edit the BE_open.txt file.
The purpose of this file is to save the tasks entered if the program is terminated before they have been processed.
When clever FFmpeg GUI is started, it searches for this file. If it is found, the tasks are read in and the file is deleted.
The prerequisite is, of course, that the files specified in the BE_open.txt file also exist.
Thank you for your reply and help!
So, the BE_open.txt file can exist BEFORE the encode...? How is that possible since it is only created AFTER a program has been terminated. If you can somehow modify the txt file as you have said where would one put it for your program to read it and execute those instructions BEFORE doing another encode?
Yes, I can understand why you wouldn't want newbies (like me :)) who may add incorrect x264 CMD line instructions. But, I am quite mystified by what you mean by altering the BE_open.txt file and have it read and executed somehow BEFORE an encode takes place. You say your program 'searches' for it, but where...? Does it need to be in the same folder as the file you are selecting to encode? I don't understand, even after perhaps altering the text in the BE_open.txt file, where do you put it so that the program will 'See' it and execute it?
FWIW, there are NO other processes before simply selecting the HEVC UHD file by your program and then encoding it. All I did afterward because I had to add a sub file and audio tracks, is what I always do with TSMuxer to mux the final BDMV/CERT folders to burn. ALL encoding is done by your program, and the few files I mux with the resulting video encode by your program are all simple, compliant AC3 or SRT files, so no conflict there. Besides I tried burning just the resulting video encode from your program and it would not play on my OPPO.
Thanks again!
ProWo
20th July 2024, 12:14
So, the BE_open.txt file can exist BEFORE the encode...? How is that possible since it is only created AFTER a program has been terminated. If you can somehow modify the txt file as you have said where would one put it for your program to read it and execute those instructions BEFORE doing another encode?
When a batch task is created, no conversion takes place yet.
This is only carried out when you click on execute.
The BE_open.txt file is created and should be into the destination folder.
FWIW, there are NO other processes before simply selecting the HEVC UHD file by your program and then encoding it. All I did afterward because I had to add a sub file and audio tracks, is what I always do with TSMuxer to mux the final BDMV/CERT folders to burn. ALL encoding is done by your program, and the few files I mux with the resulting video encode by your program are all simple, compliant AC3 or SRT files, so no conflict there. Besides I tried burning just the resulting video encode from your program and it would not play on my OPPO.
The best thing will be to take version 3.2.6 and do the coding again. If the result plays correctly in Oppo, then sidedata=delete is the problem, which will then be corrected.
Try it out and report back here.
https://www.videohelp.com/download/clever_ffmpeg_gui_326.zip
gonca
20th July 2024, 15:53
SRT files
Are SRT files compliant with TRANSPORT STREAMS (ts, m2ts, etc)
ProWo
20th July 2024, 16:26
Are SRT files compliant with TRANSPORT STREAMS (ts, m2ts, etc)
You are right, only bitmap (picture) subtitles in ts and m2ts, no text subtitles.
gonca
20th July 2024, 16:31
@Lathe
Mediainfo report on the failed disc, (and possibly one on a good disc) might be helpful
Lathe
20th July 2024, 22:17
When a batch task is created, no conversion takes place yet.
This is only carried out when you click on execute.
The BE_open.txt file is created and should be into the destination folder.
The best thing will be to take version 3.2.6 and do the coding again. If the result plays correctly in Oppo, then sidedata=delete is the problem, which will then be corrected.
Try it out and report back here.
https://www.videohelp.com/download/clever_ffmpeg_gui_326.zip
I will do so, thanks!
Um... sorry, but I'm still a bit confused about how you 'set up' or edit the BE_open.txt before it is even created. Just a guess based upon what you have said... So, are you saying that once you've set say the parameters for the video encode and you choose your destination folder, the BE_open.txt file is created BEFORE you even hit 'execute'? Because I don't remember seeing it until I actually killed the process, THEN it was created. So, I'm missing just exactly when one can 'edit' this file apparently before it is created :)
But, I will try the encode with the older version and see how it does. Although I will need somehow to figure out for future iterations of your program if I want to use them, just exactly HOW to edit this film seemingly before it is created (which can't be true, but that is how it seems...)
***EDIT
Ah, wait... I think I MIGHT see it now! You said when you select 'Batch' THEN it is created, right? THEN you can see/edit the BE_open.txt file, right? :D I bet that was the step I was missing...
Lathe
20th July 2024, 22:21
@Lathe
Mediainfo report on the failed disc, (and possibly one on a good disc) might be helpful
Yes, good point. And no, you can indeed include SRT files within the BDRB structure, I've done it many times and it works just fine.
But yeah, I will go back and see if I can figure out exactly what happened. By this point, I am quite curious! :)
Lathe
20th July 2024, 23:07
Also too, please remember that I took the encode that Clever FFMpeg did and with the same muxed audio and subs simply imported it into BDRB and by just shrinking the size ever so slightly reencoded it and it came out just fine with no other conversions. So, FWIW...
***EDIT
(What would I do without 'Edit'...)
Okay I took a 35M snippet from the original UHD HEVC HDR file and simply encoded it like I did with the whole file, and yes now I do see the BE_open.txt file too (only after I quit the program though, still don't see how one can edit that file before the encode)
So, I'll see if I can attach them here or at least upload to my site and provide a link, so you can see exactly what the program did to the original file. Looking at MediaInfo, the encoding parameters look fine, with the exception of course of not including --Bluray compatible, which I apparently cannot do anything about.
http://lathe-of-heaven.com/CleverEncode.mkv
gonca
21st July 2024, 01:27
Yes, good point. And no, you can indeed include SRT files within the BDRB structure, I've done it many times and it works just fine.
But yeah, I will go back and see if I can figure out exactly what happened. By this point, I am quite curious! :)
BDRB uses tsMuxer. It was probably converting the srt to sup automatically.
If it failed to do so, the structure would not be compliant and might fail to playback.
Lathe
21st July 2024, 02:28
BDRB uses tsMuxer. It was probably converting the srt to sup automatically.
If it failed to do so, the structure would not be compliant and might fail to playback.
You know, it almost never happens and is extremely rare, but you may just be right! :D
What I was thinking about were probably MKV files where I mux SRT files all the time. But, in checking some of the Blu-rays I've burned, every one is an SUP/PGS file, which I believe is picture based NOT text based like SRT files.
I've been searching everywhere with the simple question, 'Does the OPPO BDP-83 play SRT files natively' and, of course I can't find bloody anything. But yeah, I THINK you guys are probably right from looking up what type of subtitles Blu-rays normally have. I think that maybe when I added the SRT file and muxed it with TSMuxer, although I cannot find a specific answer, I'm guessing that is what choked my OPPO (just so you know, I normally don't go around choking my OPPO...)
So, it may be that I haven't downloaded a specific SRT and try to add it to a playable Blu-ray in a while and you just can't do it. And yes, the BDRB reencoded Blu-ray does indeed have the PGS subtitles in it. Heh, I did come across a post by you that you made in 2014 where you were saying basically the same thing.
Lathe
21st July 2024, 03:27
Okay, okay, okay... False alarm, sorry guys... (somehow I'm sure it must be gonca's fault...)
I took the original UHD HEVC HDR file and muxed it with the audio and subtitle (PGS) files that BDRB encoded, and using MKVMerge I extracted a 5 minute snippet and used THAT to import to Clever FFMpeg. So, using the exact same original video file, but with the other proper files added.
Well, after encoding this I burned it to a Blu-ray, and yep, it played just fine on my OPPO. So, apparently it is whatever I did I guess in adding the subtitle file, probably SRT, to the final Blu-ray that froze my OPPO player. This encode with the exact same input video file when played did just fine.
So, my humble apologies for all the fuss, but I really DO very much appreciate the time and help. I guess it's been so damn long since I have specifically tried to add a subtitle file to a Blu-ray that I must've forgotten that you can only use picture based (SUP/PGS) files for subtitles for an actual playable disc. Now, when I play MKV files from discs, then I believe the OPPO sees them in that container, but not in the compliant format when playing an actual Blu-ray.
The good news is now that I know that, PROBABLY I won't do that again and everything with this excellent program will work fine now.
Thanks again and sorry about that!
ProWo
21st July 2024, 10:10
Um... sorry, but I'm still a bit confused about how you 'set up' or edit the BE_open.txt before it is even created. Just a guess based upon what you have said... So, are you saying that once you've set say the parameters for the video encode and you choose your destination folder, the BE_open.txt file is created BEFORE you even hit 'execute'? Because I don't remember seeing it until I actually killed the process, THEN it was created. So, I'm missing just exactly when one can 'edit' this file apparently before it is created :)
It's really quite simple.
When you click on To batch, the batch task is created and saved in a string.
Only when the program is closed (and this string is not empty because the batch task has already been processed) is this string read and saved in BE_open.txt so that the task is not lost and can be read again the next time the program is started.
After reading, the BE_open.txt file is deleted.
When the program is closed, you can therefore edit this open batch task (BE_open = batch elements open).
But that's just a side note.
I'm glad you've solved your problem.
gonca
21st July 2024, 12:33
I'm guessing that is what choked my OPPO (just so you know, I normally don't go around choking my OPPO...)
No? Just your chicken?
Lathe
21st July 2024, 21:13
No? Just your chicken?
Oh C'mon... Mr. Obvious! I was trying to be more subtle Elk Boy! :rolleyes:
Lathe
21st July 2024, 21:16
It's really quite simple.
When you click on To batch, the batch task is created and saved in a string.
Only when the program is closed (and this string is not empty because the batch task has already been processed) is this string read and saved in BE_open.txt so that the task is not lost and can be read again the next time the program is started.
After reading, the BE_open.txt file is deleted.
When the program is closed, you can therefore edit this open batch task (BE_open = batch elements open).
But that's just a side note.
I'm glad you've solved your problem.
Thank you Sir!
Soooooo... where the hell do I find this mysterious file to edit then...?
:D I don't see it when I send stuff to 'Batch' Do I have to start the encode and then terminate it and THEN I can see the file in my destination folder and then, what, edit it for the next time?
I'm sorry, but this is still seeming very mysterious to me, I'm SURE I'm missing something here. You say the file is 'Saved', but where? Unless I terminate the program prematurely I never see it. Is it stored somewhere else maybe?
Thanks!
ProWo
22nd July 2024, 07:52
Thank you Sir!
Soooooo... where the hell do I find this mysterious file to edit then...?
:D I don't see it when I send stuff to 'Batch' Do I have to start the encode and then terminate it and THEN I can see the file in my destination folder and then, what, edit it for the next time?
I'm sorry, but this is still seeming very mysterious to me, I'm SURE I'm missing something here. You say the file is 'Saved', but where? Unless I terminate the program prematurely I never see it. Is it stored somewhere else maybe?
Thanks!
Reread post #421
Lathe
22nd July 2024, 08:01
Reread post #421
Okay, I guess I deserved that :)
BUT... Okay then... So, you send the file to 'Batch' then quit the program, and then it generates the file after the program has closed, right?
But, then, how do you change anything? Do you mean that if I add/change the cmd line in that BE_open.txt file, somehow mysteriously the NEXT time I just happen to open the program with whatever totally different encode I'm going to do, it will somehow REMEMBER whatever changes I did the LAST time even though there may be absolutely no connection between the two times?
You see what I mean, how confusing it is? I PROMISE, once I've got this then that should be it! :D
ProWo
22nd July 2024, 13:19
Okay, I guess I deserved that :)
BUT... Okay then... So, you send the file to 'Batch' then quit the program, and then it generates the file after the program has closed, right?
Exact.
But, then, how do you change anything? Do you mean that if I add/change the cmd line in that BE_open.txt file, somehow mysteriously the NEXT time I just happen to open the program with whatever totally different encode I'm going to do, it will somehow REMEMBER whatever changes I did the LAST time even though there may be absolutely no connection between the two times?
You see what I mean, how confusing it is? I PROMISE, once I've got this then that should be it! :D
Edit the commandline in BE_open.txt file, save it and restart clever FFmpeg-GUI.
The file is read in with the modified commandline. If you go to "Batch tasks" and click execute, the task will be executed with the modified commandline.
Lathe
22nd July 2024, 21:15
Exact.
Edit the commandline in BE_open.txt file, save it and restart clever FFmpeg-GUI.
The file is read in with the modified commandline. If you go to "Batch tasks" and click execute, the task will be executed with the modified commandline.
Ah, good, thanks for your patience!
One LAST thing... :)
So, at this point the BE_open.txt file is in the same folder where the original file to be encoded is, and the program is closed. Okay... so, then if I wish to edit that file I can do so and save it. Got it...
But, WHERE do I save it? Do I just leave it in this random folder where my LAST encode happened to be and CleverFFMpeg will just somehow go and find it for my next encode when I open the program, because at this point the program is not running and the txt file is just sitting in the folder where the previous file to be encoded was. Does CleverFFMpeg just magically somehow search EVERYWHERE when I open it the next time and just fine it no matter where it is? See what I mean...
OR... is there a specific place where I should save it? Just seems a bit odd simply to save it exactly where the last file happened to be.
That should do it! :D
ProWo
22nd July 2024, 21:27
Ah, good, thanks for your patience!
One LAST thing... :)
So, at this point the BE_open.txt file is in the same folder where the original file to be encoded is, and the program is closed. Okay... so, then if I wish to edit that file I can do so and save it. Got it...
But, WHERE do I save it? Do I just leave it in this random folder where my LAST encode happened to be and CleverFFMpeg will just somehow go and find it for my next encode when I open the program, because at this point the program is not running and the txt file is just sitting in the folder where the previous file to be encoded was. Does CleverFFMpeg just magically somehow search EVERYWHERE when I open it the next time and just fine it no matter where it is? See what I mean...
OR... is there a specific place where I should save it? Just seems a bit odd simply to save it exactly where the last file happened to be.
That should do it! :D
The place where this file has to be is the output folder.
The output folder is saved by clever Ffmpeg-GUI, so there is no magic.
Lathe
22nd July 2024, 21:41
The place where this file has to be is the output folder.
The output folder is saved by clever Ffmpeg-GUI, so there is no magic.
Thanks mate! So then, it simply remembers the last output folder somehow, even though it has been closed.
So, say I've edited the text now that the program is not running, okay... So what, I just leave the newly edited txt file in that same 'OUTPUT' folder, right? (I'm now thinking THAT is the key!) In other words, KEEPING the same output folder is the trick, right? :) So when I open in next time it THEN reads the edited txt file when it opens.
Ah...! I think I talked myself into it... Using the SAME output folder, that is it, isn't it? Please just tell me I'm right and I will leave you in peace... :)
ProWo
22nd July 2024, 22:00
Thanks mate! So then, it simply remembers the last output folder somehow, even though it has been closed.
So, say I've edited the text now that the program is not running, okay... So what, I just leave the newly edited txt file in that same 'OUTPUT' folder, right? (I'm now thinking THAT is the key!) In other words, KEEPING the same output folder is the trick, right? :) So when I open in next time it THEN reads the edited txt file when it opens.
Ah...! I think I talked myself into it... Using the SAME output folder, that is it, isn't it? Please just tell me I'm right and I will leave you in peace... :)
You are right :)
Lathe
22nd July 2024, 22:08
You are right :)
AHA! :D About bloody time, thanks mate!
So, now if anyone asks me...
I'll just tell them that the file is saved in the same output folder.
Mystery solved... Glad no actual Voodoo was involved...
ProWo
24th July 2024, 12:51
Newest beta (v3.2.8.03), online now.
Added:
New function: If the program is closed and there are still unprocessed batch tasks or processed streams that have not yet been muxed, the program starts directly in the batch tasks section or in the multiplex section.
The batch tasks section has priority.
Tooltip for change framrate in various section.
Fixed:
Bug in batch tasks for file names with non-conforming characters.
Removed:
Mux dvb_subtitle in m2ts not working, mux pgs subtitle in ts, not working.
oniiz86
24th July 2024, 13:33
@ProWo Is this a FFmpeg limitation as tsMuxer can mux PGS subtitles just fine in the TS container?
Removed: Mux dvb_subtitle in m2ts not working, mux pgs subtitle in ts, not working.
ProWo
24th July 2024, 15:35
@ProWo Is this a FFmpeg limitation as tsMuxer can mux PGS subtitles just fine in the TS container?
Tested again, I confirm that it does not work.
The error message:
Stream 2, codec hdmv_pgs_subtitle, is muxed as a private data stream and may not be recognized upon reading.
Lathe
25th July 2024, 02:24
Tested again, I confirm that it does not work.
The error message:
Stream 2, codec hdmv_pgs_subtitle, is muxed as a private data stream and may not be recognized upon reading.
Yep, when I was trying to figure out my 'situation', I tried muxing in the 'corrected' PGS subtitle that BDRB converted from my mistaken SRT format. But CleverFFMpeg on the streams page would not allow me to select it and just stated that this file cannot be converted (or even read or passed through apparently)
oniiz86
25th July 2024, 17:48
Tested again, I confirm that it does not work.
The error message:
Stream 2, codec hdmv_pgs_subtitle, is muxed as a private data stream and may not be recognized upon reading.
@ProWo I just tested with the official v3.2.7 release & curiously I received no error message about the PGS subtitle stream when muxing to a TS container, task completed successfully & yet like you've confirmed the PGS subtitle stream is not present in the TS file, I tried again with M2TS & there were no such issues :D Is this something you could potentially rectify in a future release as it's a strange anomaly as tsMuxer has no such issues?
ProWo
25th July 2024, 18:41
@ProWo I just tested with the official v3.2.7 release & curiously I received no error message about the PGS subtitle stream when muxing to a TS container, task completed successfully & yet like you've confirmed the PGS subtitle stream is not present in the TS file, I tried again with M2TS & there were no such issues :D Is this something you could potentially rectify in a future release as it's a strange anomaly as tsMuxer has no such issues?
Unfortunately, I can't do anything about this because clever FFmpeg is designed as a pure FFmpeg frontend.
Only when FFmpeg can mux pgs into ts can I customize it.
rbauer
31st July 2024, 07:22
Would it be kindly possible to make the program totally portable? (that is, It keeps all configuration files within it's executable folder, no infoes to registry, and stores all paths in a format relative to the executable binary file).
Thank you
ProWo
31st July 2024, 17:21
Would it be kindly possible to make the program totally portable? (that is, It keeps all configuration files within it's executable folder, no infoes to registry, and stores all paths in a format relative to the executable binary file).
Thank you
Try this
https://www.upload.ee/files/16918730/clever_FFmpeg_GUI_portable.zip.html
then report here.
rbauer
2nd August 2024, 16:05
Try this
https://www.upload.ee/files/16918730/clever_FFmpeg_GUI_portable.zip.html
then report here.
It works fine, both portability (it no longer writes to
c:\Documents and Settings\<UserAccount>\AppData\Local\Application Data\clever_FFmpeg_GUI\) and relative paths set manually in the portable.config file.
Thank you very much :thanks:
ProWo
2nd August 2024, 16:32
It works fine, both portability (it no longer writes to
c:\Documents and Settings\<UserAccount>\AppData\Local\Application Data\clever_FFmpeg_GUI\) and relative paths set manually in the portable.config file.
Thank you very much :thanks:
You're welcome :)
This will be implemented in the next release.
ProWo
8th August 2024, 10:39
----------------------------------------------------------------------------------
August 08 2024 release version 3.2.8.
----------------------------------------------------------------------------------
Added:
Batch tasks: if you want replicate the first batch commandline to other files, you can now add them. There is an info message then. The filename addon from the first batch is copied to all other files.
New function: If the program is closed and there are still unprocessed batch tasks or processed streams that have not yet been muxed, the program starts directly in the batch tasks section or in the multiplex section.
The batch tasks section has priority.
Tooltip for change framerate in various section.
h263 stream extraction, as raw stream too.
h263 mux to 3gp, asf, avi, mkv, mov, wmv.
pcm_mulaw mux to asf, avi, flv, mkv, mov, wmv.
Automatic switch to muxing grid after batch task completed.
Scale filter lanczos (downsizing) and neighbor (upsizing)
Fixed:
Bug in batch tasks counter reset.
Bug in batch tasks for file names with non-conforming characters.
Bug with resuming normal windows size after batch tasks finished (minimized to tray).
Bug in avs script creation (now UTF-8 without BOM)
Bug in GOP assigning with mpeg 1/2 encoding.
Improved:
Subtitle handling for burn in.
High DPI support, many code adaptions (thx to Iomero).
Crop function.
Mpeg 1/2 encoding, respecting exact target size now.
Mpeg 1/2 encoding, maxrate now up to 38.8Mb.
Code for colorspace changing.
Target filename with videostream sample encoding.
Changed:
The program is fully portable now.
Mpeg 1/2 videostream extraction to m1v, m2v (instead of mpg).
Removed:
8 channels support for trueHD encoding, not working (thx to Darkhorse).
Mux dvb_subtitle in m2ts not working, mux pgs subtitle in ts, not working.
----------------------------------------------------------------------------------
jay123210599
8th August 2024, 13:30
how do I use clever FFmpeg-GUI to make image sequences, preview videos, and extract frames, both with and without subtitles that are embedded in them?
ProWo
8th August 2024, 14:48
how do I use clever FFmpeg-GUI to make image sequences, preview videos, and extract frames, both with and without subtitles that are embedded in them?
These functions are not included.
jay123210599
9th August 2024, 18:59
These functions are not included.
Do you plan on including them in the future? If not, know any ffmpeg GUIs that does?
ProWo
10th August 2024, 07:21
Do you plan on including them in the future? If not, know any ffmpeg GUIs that does?
No and no, sorry.
ProWo
20th August 2024, 09:56
Newest beta (v3.2.8.04), online now.
Added:
Change destination folder option (request by mannequin80 and oniiz86).
Fixed:
Bug in remember settings handing in audio/video encoding grids.
The change destination folder option can be activated with the checkbox on the start screen.
ProWo
28th August 2024, 14:02
Newest beta (v3.2.8.05), online now.
Added:
Attached font and image extraction.
Add image and font as attachment (atm for mkv only).
Select scale algorythms (if resizing).
Fixed:
Bug in destination folder reset.
Bug in target file naming.
Improved:
Rewrote the whole chapters code. You can now use embedded chapters, create and edit new chapters or use /edit an external chapters file.
Lathe
5th September 2024, 03:50
Hey there! I tried to do the usual conversion from a UHD HDR 4k file to a playable Blu-ray (1080) I tried it twice, and about 31% the way through it threw this odd error. Do you know what this means? Should I run the MKV file through MKV Merge first before encoding it with CleverFFmpeg?
I've tried every which way of converting this full 4k file (from a full BDMV folder) first basically muxing the main movie file together using BDRB into one file of about 64 Gigs. The original and resulting movie file has 2 video streams in it (?) One almost the entire size in the UHD resolution, and a small part (1080) I muxed the movie file without the 1080 part (because CleverFFmpeg rejected the file outright as is) and retained the UHD video file. Using CleverFFmpeg it now accepted the UHD video file just fine and encoded about 31% and then stopped.
Any suggestions?
Thanks!
Text File:
Video ---> x264 (avc) - Stream ID 0 from ?E:\TSMUXER\BDMV\STREAM\00000.m2ts?5409862?-y -fflags +genpts -i "E:\TSMUXER\BDMV\STREAM\00000.m2ts" -vf fps=24000/1001,scale=1920:1080,zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=709,tonemap=mobius:desat=2,zscale=t=709:m=709:r=tv,format=yuv420p,sidedata=delete -map 0:0 -c:v libx264 -profile:v main -preset medium -tune film -crf 20 -aspect 1.78 -color_primaries bt709 -color_trc bt709 -colorspace bt709 -an -sn -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?E:\TSMUXER 2\00000_0_0_x264 (avc).mkv?1
https://lh3.googleusercontent.com/pw/AP1GczOGcYyLq6jsqRoaki0PQwhQCz0vFjokL38u8x_CHItGioazPvRBpxjZ2j-AHlfRsbRJKZ9h9VuCfWWzzRvYJZyV0_wTLpjMiqF_zW7wniiNGuw3Trog5-G9qijZwcxbHf9SCtX8TLPwA0L_3A71bP7ToA=w1280-h720-s-no-gm?authuser=0
ProWo
5th September 2024, 11:42
@Lathe
It looks like the video is defective.
Try to remux it and then play it from 30% to 33%.
Lathe
5th September 2024, 19:44
@Lathe
It looks like the video is defective.
Try to remux it and then play it from 30% to 33%.
That is what I was thinking. Will do, thank you!
Hellboy.
5th September 2024, 21:00
@Lathe, the 1080p video is the Dolby Vision.
Lathe
5th September 2024, 21:37
@Lathe, the 1080p video is the Dolby Vision.
Yep, thanks! That is basically what I found out. So I muxed the rest of the movie file without that, but there must've been something wrong with it if CleverFFmpeg was encoding it just fine for about 30% of it. I think I can get a different source without the Dolby track.
ProWo
6th September 2024, 10:24
----------------------------------------------------------------------------------
September 06 2024 release version 3.2.9.
----------------------------------------------------------------------------------
Added:
Change destination folder option (target/source folder, request by mannequin80 and oniiz86).
(This option has to be activated with the checkbox on the start screen.)
Attachments extraction (font and image).
Add image and font (request by neptune84) as attachment (atm for mkv only).
Select scale algorythms (if resizing).
Fixed:
Bug in remember settings handing in audio/video encoding grids.
Bug in destination folder reset.
Bug in target file naming.
Bug in change framerate.
Bug in mux truehd to mp4.
Improved:
Rewrote the whole chapters code.
You can now use embedded chapters, create and edit new chapters or use /edit an external chapters file.
HDR recognition (request by ingsoc).
Cropdetect.
----------------------------------------------------------------------------------
Lathe
7th September 2024, 23:07
For some odd reason, when I select HDR, the prompt showing the settings is not displaying properly, so I cannot set the settings. To my knowledge, I've not changed any resolution or display properties, and the REST of the interface looks fine. Here is a picture of my screen: (also, below the picture, I have another important question please)
https://lh3.googleusercontent.com/pw/AP1GczN5LvmDHXS6v5HretWmHsaKzCcqAJXcAceHr65zcJJmo4njS5ruNao95r2-lTLkE41IeZvap7IcAldCjAB6TWgsV-PrCt5rtKJcysH57h1y4gaySHw7_7yVJF7PzZZUj1QHO4Pk04H1N77Qk6eJEt1kFw=w1280-h720-s-no-gm?authuser=0
Also, if I am supposedly importing an HDR encoded 4k Blu-ray movie file, and I get the prompt to the effect that 'There is no HDR metadata or data' do I still need to tell it to convert from HDR to SDR? Or, does that mean that the file simply is not encoded with HDR data and I can just resize it and convert to x264 and forget the HDR settings?
Thanks!
PS: Here is the MediaInfo information for the file I'm trying to encode:
General
Unique ID : 316352657827055018449204827836816384843 (0xEDFF4E405C41BC308F6EC254A231634B)
Complete name : G:\___TL\Torso.1973.2160p.Italian.Version.UHD.Blu-ray.REMUX.DV.HDR.HEVC.DTS-HD.MA.1.0-W32.mkv
Format : Matroska
Format version : Version 4
File size : 63.4 GiB
Duration : 1 h 33 min
Overall bit rate mode : Variable
Overall bit rate : 96.8 Mb/s
Frame rate : 23.976 FPS
Movie name : TORSO - 4K UHD
Encoded date : 2024-08-29 20:25:13 UTC
Writing application : mkvmerge v86.0 ('Winter') 64-bit
Writing library : libebml v1.4.5 + libmatroska v1.7.1
Cover : Yes
Attachments : cover.jpg
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : Dolby Vision, Version 1.0, Profile 7.6, dvhe.07.06, BL+EL+RPU, no metadata compression, Blu-ray compatible / SMPTE ST 2086, Version HDR10, HDR10 compatible
Codec ID : V_MPEGH/ISO/HEVC
Duration : 1 h 33 min
Bit rate : 93.4 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.470
Stream size : 61.1 GiB (96%)
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : BT.2020
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
Audio #1
ID : 2
Format : DTS XLL
Format/Info : Digital Theater Systems
Commercial name : DTS-HD Master Audio
Codec ID : A_DTS
Duration : 1 h 33 min
Bit rate mode : Variable
Bit rate : 1 031 kb/s
Channel(s) : 1 channel
Channel layout : M
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 24 bits
Compression mode : Lossless
Stream size : 691 MiB (1%)
Language : Italian
Default : Yes
Forced : No
Audio #2
ID : 3
Format : DTS XLL
Format/Info : Digital Theater Systems
Commercial name : DTS-HD Master Audio
Codec ID : A_DTS
Duration : 1 h 33 min
Bit rate mode : Variable
Bit rate : 1 032 kb/s
Channel(s) : 1 channel
Channel layout : M
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 24 bits
Compression mode : Lossless
Stream size : 691 MiB (1%)
Language : English
Default : Yes
Forced : No
Audio #3
ID : 4
Format : DTS XLL
Format/Info : Digital Theater Systems
Commercial name : DTS-HD Master Audio
Codec ID : A_DTS
Duration : 1 h 33 min
Bit rate mode : Variable
Bit rate : 1 042 kb/s
Channel(s) : 1 channel
Channel layout : M
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 24 bits
Compression mode : Lossless
Stream size : 698 MiB (1%)
Language : English
Default : Yes
Forced : No
Audio #4
ID : 5
Format : DTS
Format/Info : Digital Theater Systems
Codec ID : A_DTS
Duration : 1 h 33 min
Bit rate mode : Constant
Bit rate : 255 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 171 MiB (0%)
Title : Commentary by Kat Ellinger, author of All the Colours of Sergio Martino
Language : English
Default : Yes
Forced : No
Text #1
ID : 6
Format : PGS
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 1 h 30 min
Bit rate : 19.7 kb/s
Frame rate : 0.196 FPS
Count of elements : 1068
Stream size : 12.8 MiB (0%)
Language : English
Default : Yes
Forced : No
Text #2
ID : 7
Format : PGS
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 1 h 28 min
Bit rate : 1 912 b/s
Frame rate : 0.018 FPS
Count of elements : 96
Stream size : 1.22 MiB (0%)
Language : English
Default : Yes
Forced : No
Text #3
ID : 8
Format : PGS
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 1 h 31 min
Bit rate : 25.8 kb/s
Frame rate : 0.301 FPS
Count of elements : 1648
Stream size : 16.8 MiB (0%)
Language : English
Default : Yes
Forced : No
Menu
00:00:00.000 : en:Capítulo 01
00:06:42.110 : en:Capítulo 02
00:13:25.429 : en:Capítulo 03
00:20:58.131 : en:Capítulo 04
00:31:11.452 : en:Capítulo 05
00:39:12.475 : en:Capítulo 06
00:46:14.563 : en:Capítulo 07
00:54:52.872 : en:Capítulo 08
01:02:22.738 : en:Capítulo 09
01:08:18.219 : en:Capítulo 10
01:16:14.778 : en:Capítulo 11
01:24:57.133 : en:Capítulo 12
Lathe
7th September 2024, 23:14
Here are the prompts and what the interface looks like when I load the file and go to resize:
https://lh3.googleusercontent.com/pw/AP1GczOhNTZrSR4Kr1a-CkJhkueM0ODIm6iJhSbSsjO-wV3K4-nIOUcIjNPPkCPT0yOHpY9CKjtivfL-1SJC-8nLq-1Nv1utRdITQqlwHxHb6zJ6UUA0Tx1qJBdfCrDhwmifu7XSMDTJww8n7tGU3xHtd64ynQ=w830-h569-s-no-gm?authuser=0
https://lh3.googleusercontent.com/pw/AP1GczO_3I1EMH86YbqbPVJwRgV_f7rj6o4a7ifFA0gBfGimv5Er4u6kPQ4SJJKobyGmOyhlfT-uIpRmr783L-WN3FLhVwBFQtU4MGg-dzNoL2hCCmBA6NKUTxlA33rE3_gbU7eZ0qPmlsjcHjkoyVoj3_cnaQ=w834-h575-s-no-gm?authuser=0
Lathe
7th September 2024, 23:17
I can't close this prompt either, so I cannot run the program... :(
https://lh3.googleusercontent.com/pw/AP1GczO6XXJGk-hEOC1VhthRYXmQDqTuNTNKu_4IozGSTNN6S5K2m_pf8JrwjdfP5AqqM1Nc3MUOgOiijelbSdK7-DCfJLvIzTb2isTcZ6n-oxiAGgzGgxEgBRLqFTMoMXhcDcwOcdQbQlQB9yMCO67Xpq3_Mg=w856-h617-s-no-gm?authuser=0
Lathe
7th September 2024, 23:27
And... it failed anyway just doing it with no HDR setting...
Video ---> x264 (avc) - Stream ID 0 from ?G:\___TL\Torso.1973.2160p.Italian.Version.UHD.Blu-ray.REMUX.DV.HDR.HEVC.DTS-HD.MA.1.0-W32.mkv?5619629?-y -fflags +genpts -i "G:\___TL\Torso.1973.2160p.Italian.Version.UHD.Blu-ray.REMUX.DV.HDR.HEVC.DTS-HD.MA.1.0-W32.mkv" -vf fps=24000/1001,scale=1920:1080,format=yuv420p -map 0:0 -c:v libx264 -profile:v main -preset medium -crf 20 -aspect 1.78 -an -sn -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?E:\TSMUXER\Torso.1973.2160p.Italian.Version.UHD.Blu-ray.REMUX.DV.HDR.HEVC.DTS-HD.MA.1.0-W32_0_0_x264 (avc).mkv?1
gonca
8th September 2024, 00:42
@Lathe
Your video is single layer Dolby Vision, same as what is output by MakeMKV.
I just tested and clever ffmpeg gui can recognize that fine.
Possible your file is slightly messed up. (just like you)
Lathe
8th September 2024, 00:58
@Lathe
Your video is single layer Dolby Vision, same as what is output by MakeMKV.
I just tested and clever ffmpeg gui can recognize that fine.
Possible your file is slightly messed up. (just like you)
Wow, what a help... :rolleyes:
Well, there appear to be a number of weird things happening with the interface, which I've posted very clear pictures of (I know... ending on a preposition, sorry...)
Right now I'm using Handbrake and it's actually a little over half way through now, so I'm holding my breath (I'll just about take anything now) It is set to use the BT709 filter, and I've checked the resulting file and it seems to look okay, so maybe I'll finally get it...
gonca
8th September 2024, 01:16
Post the mediainfo report of the output file.
Are you sure that handbrake is actually tonemapping?
Lathe
8th September 2024, 02:05
Post the mediainfo report of the output file.
Are you sure that handbrake is actually tonemapping?
Well, I MUCH prefer using CleverFFMpeg since I think the results look better, but with the interface acting up and not allowing me to select on those screens that I posted above, I just couldn't use it.
ProWo
8th September 2024, 06:16
For some odd reason, when I select HDR, the prompt showing the settings is not displaying properly, so I cannot set the settings. To my knowledge, I've not changed any resolution or display properties, and the REST of the interface looks fine.
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : Dolby Vision, Version 1.0, Profile 7.6, dvhe.07.06, BL+EL+RPU, no metadata compression, Blu-ray compatible / SMPTE ST 2086, Version HDR10, HDR10 compatible
Codec ID : V_MPEGH/ISO/HEVC
Duration : 1 h 33 min
Bit rate : 93.4 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.470
Stream size : 61.1 GiB (96%)
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : BT.2020
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
Hi Lathe,
please cut 30 seconds of this video, upload it to any hoster and post the link here. Then I will analyze it.
Lathe
8th September 2024, 06:41
Hi Lathe,
please cut 30 seconds of this video, upload it to any hoster and post the link here. Then I will analyze it.
I will try to do that, thanks! But, I don't think the file is at issue here. This is a different file than the original one I was talking about here with the dual HEVC video files. I found one that APPEARS just to be a simple UHD/HDR single file and CleverFFmpeg seemed to load it just fine, but:
1) I got the prompt that the file did not have any 'Meta data' for HDR, so I don't know if that means it is not encoded with that or what.
2) Primarily, since your interface was truncating all the prompts where I am supposed to select the options that I show clearly in the pictures in my above post, I could not continue to use it. (Personally, as far as the functionality of your program, I think that is more important so that one can actually select those options and not be frozen at that point where you cannot continue with the program)
I'm thinking perhaps of loading the previous instance of your program because the interface thing changed right after downloading your new stable version.
But yes, as per (1) it would be good to know why the program said there was not any 'HDR Meta data' and what that means. I just processed it thankfully through Handbrake (although I prefer the results of your program quite a bit more) and it processed just fine and I THINK looks alright. I used the BT709 filter.
I took some snippets directly from this 61 Gig UHD/HDR file and I'm uploading it to my Google Pictures folder, it's going to take about 14 minutes and then I'll try to post a link to it here. I've not done that before with GP's, and my site is currently down due to having to do something with my hosting, so hopefully this will work. I tried to choose the smallest snippet (around 245 Megs as opposed to 350 Megs)
It WOULD be a very good thing to know though that if I do get that prompt as I have shown the picture above, do I then still try to do an HDR-SDR conversion, or do I just skip that part? WHAT do I do when I see this prompt...?
Okay, here you go... I hope it works.
https://photos.app.goo.gl/HYcAoYQP2hUTtuXeA
I think you can choose 'download' from the 3 dots on the upper right.
Lathe
8th September 2024, 07:46
Okay... Well one thing I did find out was that, yes, the problem with 'Scaling' or whatever you'd call it to be able to see the full option windows has to do with your new version. It DOES show with your older version, so just the new version does that. So, using the 2nd to last version I was at least able to see the full option windows and select the options. I still got the prompt that the HDR/HLG metadata was missing, so I tried to do the encode straight with no HDR conversion, but the resulting file reading it with MediaInfo still showed the colorspace to be 2020 and it showed Dolby Vision. So, I'm running it again with the HDR conversion to see what the difference is.
***EDIT
I think with this new UHD file (whether it is HDR or not) at least seems to be encoding through CleverFFmpeg okay. I'm trying one snippet with HDR conversion and one snippet without in order to compare them.
So, at least if this works, then with your older version I can at least run the program and choose the options. AND, if the new UHD file is indeed 'Okay', then that will pretty much solve what I need to do.
The ONLY thing again, and I'm sorry to keep mentioning it, but if I do get that prompt with the 'HDR/HLG metadata missing' do I just then assume I DON'T need to use the HDR conversion? The MediaInfo still says that it has Dolby Vision, so I don't know how that impacts it. But, at least in doing these two encodes, one with and one without the HDR conversion, perhaps I can get an idea as to which one looks 'right'...
***EDIT 2
Yep... in comparing the two encodes, the one where I did the HDR conversion looks a LOT brighter and probably the way it should be, so I'm trying to do the whole film that way now. I guess that MIGHT answer my pesky question then, that I DO indeed have to use the HDR conversion even though I get that prompt. HOPEFULLY, if nothing goes wrong now with the file, and the encode finishes, I should have a nice 1080 print which I bet will look a LOT better than the one I did with Handbrake... :)
Lathe
8th September 2024, 08:17
... and then I get this...
I SWEAR I am so damn F****d with this! Nothing F'n works! I F***'n give up man, GEEZ...!
Handbrake did it just fine, although I don't think it looks as good. Well, since for whatever the hell reason, I sure can't use your program anymore which SUX!
https://lh3.googleusercontent.com/pw/AP1GczP-K4xNMZuE5NgxSHtbmEqXrium7Tccvbh2i2GkHWNrsdHEGCIcb4DsXSaP1PUKF5YFgjVNy9ndf9-hsZIQrZCHMJnwiDPouPm5MWjAlgVenvvdg2MVJqm17JiZGhPAYKqDsdKLrKffJoT-GN1Q8PeWCA=w841-h607-s-no-gm?authuser=0
BE txt:
Video ---> x264 (avc) - Stream ID 0 from ?G:\___TL\Torso.1973.2160p.Italian.Version.UHD.Blu-ray.REMUX.DV.HDR.HEVC.DTS-HD.MA.1.0-W32.mkv?5619629?-y -fflags +genpts -i "G:\___TL\Torso.1973.2160p.Italian.Version.UHD.Blu-ray.REMUX.DV.HDR.HEVC.DTS-HD.MA.1.0-W32.mkv" -vf fps=24000/1001,scale=1920:1080,format=yuv420p,zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=709,tonemap=mobius:desat=2,zscale=t=709:m=709:r=tv,format=yuv420p -map 0:0 -c:v libx264 -profile:v high -preset medium -tune film -crf 20 -aspect 1.78 -color_primaries bt709 -color_trc bt709 -colorspace bt709 -an -sn -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?E:\TSMUXER 2\Torso.1973.2160p.Italian.Version.UHD.Blu-ray.REMUX.DV.HDR.HEVC.DTS-HD.MA.1.0-W32_0_0_x264 (avc).mkv?1
Audio ---> DTS - Stream ID 1 from ?G:\___TL\Torso.1973.2160p.Italian.Version.UHD.Blu-ray.REMUX.DV.HDR.HEVC.DTS-HD.MA.1.0-W32.mkv?5619627?-y -fflags +genpts -i "G:\___TL\Torso.1973.2160p.Italian.Version.UHD.Blu-ray.REMUX.DV.HDR.HEVC.DTS-HD.MA.1.0-W32.mkv" -map 0:1 -c:a dca -strict -2 -b:a 1536k -ar 48000 -vn -sn -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?E:\TSMUXER 2\Torso.1973.2160p.Italian.Version.UHD.Blu-ray.REMUX.DV.HDR.HEVC.DTS-HD.MA.1.0-W32_1_0_.dts?1
Audio ---> DTS - Stream ID 2 from ?G:\___TL\Torso.1973.2160p.Italian.Version.UHD.Blu-ray.REMUX.DV.HDR.HEVC.DTS-HD.MA.1.0-W32.mkv?5619627?-y -fflags +genpts -i "G:\___TL\Torso.1973.2160p.Italian.Version.UHD.Blu-ray.REMUX.DV.HDR.HEVC.DTS-HD.MA.1.0-W32.mkv" -map 0:2 -c:a dca -strict -2 -b:a 1536k -ar 48000 -vn -sn -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?E:\TSMUXER 2\Torso.1973.2160p.Italian.Version.UHD.Blu-ray.REMUX.DV.HDR.HEVC.DTS-HD.MA.1.0-W32_2_0_.dts?1
Audio ---> DTS - Stream ID 3 from ?G:\___TL\Torso.1973.2160p.Italian.Version.UHD.Blu-ray.REMUX.DV.HDR.HEVC.DTS-HD.MA.1.0-W32.mkv?5619638?-y -fflags +genpts -i "G:\___TL\Torso.1973.2160p.Italian.Version.UHD.Blu-ray.REMUX.DV.HDR.HEVC.DTS-HD.MA.1.0-W32.mkv" -map 0:3 -c:a dca -strict -2 -b:a 1536k -ar 48000 -vn -sn -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?E:\TSMUXER 2\Torso.1973.2160p.Italian.Version.UHD.Blu-ray.REMUX.DV.HDR.HEVC.DTS-HD.MA.1.0-W32_3_0_.dts?1
Audio ---> ac3 - Stream ID 4 from ?G:\___TL\Torso.1973.2160p.Italian.Version.UHD.Blu-ray.REMUX.DV.HDR.HEVC.DTS-HD.MA.1.0-W32.mkv?5619627?-y -fflags +genpts -i "G:\___TL\Torso.1973.2160p.Italian.Version.UHD.Blu-ray.REMUX.DV.HDR.HEVC.DTS-HD.MA.1.0-W32.mkv" -map 0:4 -c:a ac3 -b:a 192k -ar 48000 -vn -sn -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?E:\TSMUXER 2\Torso.1973.2160p.Italian.Version.UHD.Blu-ray.REMUX.DV.HDR.HEVC.DTS-HD.MA.1.0-W32_4_0_.ac3?1
ProWo
8th September 2024, 10:10
Okay, here you go... I hope it works.
https://photos.app.goo.gl/HYcAoYQP2hUTtuXeA
This video was recoded from an HDR10 source, no longer has HDR metadata, but the HDR10 colorspace, transfer matrix info was incorrectly retained.
If the colors are correct, you can simply re-encode it as you wish. If the colors are pale and lack contrast, re-encode it with tone mapping (HDR to SDR).
As for the missing buttons, that's a high DPI scaling problem that I still need to fix.
ProWo
8th September 2024, 13:51
----------------------------------------------------------------------------------
September 08 2024 release version 3.3.0.
----------------------------------------------------------------------------------
Fixed:
Important bug with High DPI in many screens.
----------------------------------------------------------------------------------
Lathe
8th September 2024, 21:58
This video was recoded from an HDR10 source, no longer has HDR metadata, but the HDR10 colorspace, transfer matrix info was incorrectly retained.
If the colors are correct, you can simply re-encode it as you wish. If the colors are pale and lack contrast, re-encode it with tone mapping (HDR to SDR).
As for the missing buttons, that's a high DPI scaling problem that I still need to fix.
Thanks!
ProWo
18th September 2024, 17:08
Newest beta (v3.3.0.01), online now.
Added:
Change framerate without recoding for mpeg2 videos.
h264_qsv and hevc_qsv encoding with hardware acceleration (for Intel CPU's).
Fixed:
Bug in mpeg1/mpeg2 stream extraction raw or container(thx to Amiga for the hint).
Bug in mpeg2 encoding/extractiing.
Bug in filterchain with scaling.
Changed:
ffmpegsource2 instead of lwlibavvideosource because missing UTF8 support (with avisynth).
Improved:
Recognition of already processed streams and still open tasks.
Video stream indexing (completely rewritten).
HDR Info,.
Muxing grid handling.
Join grid handling.
Many code improvements.
ProWo
2nd October 2024, 16:36
Newest beta (v3.3.0.02), online now.
Added:
mpeg2_qsv (for Intel GPU's), h264_nvenc and hevc_nvenc (for nVidia GPU's) hardware accelerated encoders.
(I cannot test the nVidia hardware acceleration because I do not have an nVidia GPU. So test it and report here if it works or if errors occur.)
Fixed:
Muxing hevc to mp4 gave wrong FPS values.
Encoding HDR to BT709 without tonemapping error (thx to javieracdc for the hint).
App vanishing when minimized.
Improved:
Application stability.
Changed:
FFmpeg commandline execution code is centralized now.
ProWo
13th October 2024, 13:56
Newest beta (v3.3.0.03), online now.
Added:
Output filename check for existing files or batch tasks.
Fixed:
Bug with av1 encoding (thx to Marcellos for the hint).
Improved:
Crop handling code.
Changed:
Output files destination handling.
Removed:
hwaccel auto (not working on Win7, thx to oniiz86 for the hint).
Lathe
14th October 2024, 05:10
Hey, Mr. ProWo! I wanted to ask you your opinion if I may please...
I notice on the last few encodes that when converting from UHD to HD using Mobius and a desaturation of '2' (default) the result seems like it comes out rather bright. Just for comparison, I also tried HandBrake which of course does not give you the choices that your program does, but the brightness seemed to look better, more natural.
Any thoughts...? Should I try different settings when using CleverFFMpeg? I thought maybe I'd try the 'Haber' I think it's called, and I chose a desaturation of '1' just to see how it looks.
I would really appreciate any input you might have about this.
Thank you!
***EDIT
Hmmm... Interesting. I checked the encode so far (DAMN your program is fast!) and I compared it to the original UHD file played by KM Player, and you know, I don't know if I just happened to guess it right, but with the 2 changed settings I mentioned above, the resulting picture looks pretty damn good! I see no difference. That's a good thing, right? Thanks!
ProWo
21st October 2024, 17:09
Newest beta (v3.3.0.04), online now.
Added:
Chapters creating: automatic insertion of start chapter at starttime 0 (video start), so that chapter 1 is now reached by the player commands.
Output file names check.
h264_amf and hevc_amf hardware accelerated encoding.
webvtt subs muxing in 3gp,mp4,mov.
Fixed:
Bug in chapters naming.
Bugs in output file naming.
Bug in forms positioning.
Bug in audio channels remap.
Bug in batch file handling.
Bug in crops handling.
Changed:
Output file naming.
Commandline for nvenc hardware encoding.
Resumed:
Hardware decoder, for supported hardware accelerated videoencoder only (The hw_accel decoder can be deactivated in the encoder settings).
ProWo
25th October 2024, 11:58
----------------------------------------------------------------------------------
October 25 2024 release version 3.3.1.
----------------------------------------------------------------------------------
Added:
Change framerate without recoding for mpeg2 videos.
h264_qsv and hevc_qsv encoding with hardware acceleration (for Intel GPU's).
h264_amf and hevc_amf encoding with hardware acceleration (for AMD GPU's).
mpeg2_qsv (for Intel GPU's), h264_nvenc and hevc_nvenc (for nVidia GPU's) hardware accelerated encoders.
(I cannot test the nVidia and AMD hardware acceleration because I do not have the related hardware. So test it and report here if it works or if errors occur.)
Output filename check for existing files or batch tasks.
Chapters creating: automatic insertion of start chapter at starttime 0 (video start), so that chapter 1 is now reached by the player commands.
Output file names check.
webvtt subs muxing in 3gp,mp4,mov.
Fixed:
Bug in mpeg1/mpeg2 stream extraction raw or container(thx to Amiga for the hint).
Bug in mpeg2 encoding/extractiing.
Bug in filterchain with scaling.
Muxing hevc to mp4 gave wrong FPS values.
Encoding HDR to BT709 without tonemapping error (thx to javieracdc for the hint).
App vanishing when minimized.
Bug with av1 encoding (thx to Marcellos for the hint).
Bug in chapters naming.
Bugs in output file naming.
Bug in forms positioning.
Bug in audio channels remap.
Bug in batch file handling.
Bug in crops handling.
bug in change framerate (various)
Improved:
Recognition of already processed streams and still open tasks.
Video stream indexing (completely rewritten).
HDR Info,.
Muxing grid handling.
Join grid handling.
Many code improvements.
Application stability.
Crop handling code.
Changed:
ffmpegsource2 instead of lwlibavvideosource because of missing UTF8 support (with avisynth).
FFmpeg commandline execution code is centralized now.
Output files destination handling.
Output file naming.
Commandline for nvenc hardware encoding.
----------------------------------------------------------------------------------
ProWo
4th November 2024, 11:38
Newest beta (v3.3.1.01), online now.
Added:
AMD and nVidia HW supported encoding: -rc hq vbr.
-tag:v hvc1 for hevc streams muxing (thx to neptune84 for the hint).
Fixed:
AMD and nVidia HW supported encoding: bugs in profile, preset and tune selections.
Bug in chapters handling.
Bug with faststart for mp4 and mov muxing.
Changed:
ac3 decoder DRC set to on (default), if not recoded to ac3.
tebasuna51
5th November 2024, 10:23
Changed:
ac3 decoder DRC set to on (default), if not recoded to ac3.
For what?
ProWo
6th November 2024, 10:40
For what?
In the previous versions, every ac3 stream was preset to DRC off due to a user request.
However, DRC off only makes sense if ac3 is encoded again to ac3.
For all other target codecs, the default setting (DRC on) should be better.
SeeMoreDigital
6th November 2024, 10:54
When somebody has taken the time to create/produce a professional recording why would anybody want to slap dynamic range compression on it afterwards...
tebasuna51
6th November 2024, 12:26
However, DRC off only makes sense if ac3 is encoded again to ac3.
But ffmpeg never encode AC3 with DRC, like other encoders.
For all other target codecs, the default setting (DRC on) should be better.
Not for me.
Please let at least at user choice.
ProWo
6th November 2024, 13:39
But ffmpeg never encode AC3 with DRC, like other encoders.
It's a decoder setting, not an encoder setting.
See here:
https://www.ffmpeg.org/ffmpeg-codecs.html#AC_002d3-Decoder-Options
Not for me.
Please let at least at user choice.
The user choice remains, only the setting has been changed.
ProWo
6th November 2024, 13:41
When somebody has taken the time to create/produce a professional recording why would anybody want to slap dynamic range compression on it afterwards...
see here:
https://hydrogenaud.io/index.php/topic,123091.0.html
Lathe
7th November 2024, 04:56
Hey ProWo, I wanted to get your advice (and any others of course) as to what to do with this UHD 4k Blu-ray that I would normally use your program to convert from UHD-HD and from HDR-SDR. I came across this before where I guess the full 4k rip has 2 video files. It was explained to me that the smaller 2nd video file is the DV information.
So, when I choose this file to load into Clever FFMpeg, do I just choose the entire MKV file with all the information like I normally do, and will Clever FFMpeg 'Know' what to do with those 2 video files? Or, will I have to select ONE of them, the primary, larger one, and then Clever FFMpeg will be able to process that okay?
It seems like I tried this before and Clever FFMpeg threw an error either in loading or even like 2/3 the way through encoding.
What do I do...? Thank you kindly for the help!
Here is the MediaInfo file for the 2 video files:
Video #1
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : SMPTE ST 2086, HDR10 compatible
Codec ID : 36
Duration : 1 h 27 min
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate : 24.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 350 cd/m2
Maximum Frame-Average Light Level : 190 cd/m2
Video #2
ID : 4117 (0x1015)
Menu ID : 1 (0x1)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : SMPTE ST 2086, HDR10 compatible
Codec ID : 36
Duration : 1 h 27 min
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 24.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
https://lh3.googleusercontent.com/pw/AP1GczPyXEFTTSs2y4vvxi5C3jCukjgLQgrQ96vxDOLsHVlj6mPzg_U57TU5Q_TAkobRnJqNOOGMXjLDoaxmQr9N2CuGT8yYvsVGLSCTUMcGeoWYOArt_2BnKJ4TaJE2xtc4-Dep-UV_81eP-7b1Ln90Iu45_g=w819-h390-s-no-gm?authuser=0
ProWo
7th November 2024, 09:44
Hi Lathe,
I think the 1st is the right one.
Load the full movie, click main page, click encode video, select stream 0 and go further.
If this isn't working, try stream 1.
If this fails too, extract the 1st videostream only and work with this one.
ProWo
10th November 2024, 13:08
Newest beta (v3.3.1.02), online now.
Fixed:
Bug in missing value assignment for destination folder after first start (thx to oniiz86 for the hint).
Bug in batch tasks handling.
Bugs in hardware supported encoding for h264_amf, hevc_amf, h264_nvenv, hevc_nvenc (thx to Findu for testing support).
Bug in concat list handling (cut section).
Changed:
Default flag handling in muxing grid (thx to neptune84 for the hint).
Hardware supported encoding should work now for the following video codecs:
h264_qsv + hevc_qsv (Intel GPUs), 264_amf + hevc_amf (AMD GPUs), h264_nvenc + hevc_nvenc (nVidia GPUs).
Prerequisites:
FFmpeg static or shared, full version
Newest drivers for your hardware.
ProWo
14th November 2024, 16:11
----------------------------------------------------------------------------------
November 14 2024 release version 3.3.2.
----------------------------------------------------------------------------------
Added:
-tag:v hvc1 for hevc streams muxing (thx to neptune84 for the hint).
Fixed:
Bugs in profile, preset and tune selections (for AMD and nVidia HW supported encoding).
Bug in chapters handling.
Bug with faststart for mp4 and mov muxing.
Bug in missing value assignment for destination folder after first start (thx to oniiz86 for the hint).
Bug in batch tasks handling.
Bugs in hardware supported encoding for h264_amf, hevc_amf, h264_nvenv, hevc_nvenc (thx to Findu for testing support).
Bug in concat list handling (cut section).
Bug with rows sort in mux and batch grid.
Bug in batch simple remux.
Improved:
Many small code improvements.
Changed:
Ac3 decoder DRC set to on (default), if not recoded to ac3.
Default flag handling in muxing grid (thx to neptune84 for the hint).
----------------------------------------------------------------------------------
NOTE: If you're already using clever FFmpeg-GUI, replace the exe only with the new version.
Leave the other files to keep the previous settings.
ProWo
18th November 2024, 11:18
Newest beta (v3.3.2.01), online now.
Fixed:
Bug in video encoder quality value change (thx to Findu for the hint).
Improved:
Colorspace handling.
HDR to SDR code.
ProWo
30th November 2024, 14:39
Newest beta (v3.3.2.02), online now.
Added:
Crop video (metadata only, for h264 and hevc, without recoding). Not supported by all players. Thx to videoAI for the hint.
Fixed:
Bug in output file naming in the multiplex grid (thx to onlinedragon for the hint).
Improved:
av1 encoding ( (libaom-av1, libsvtav1, librav1e, av1_amf now with separate settings. Thx to Findu for the hint.).
Encoding with LUT's.
Colorspace handling.
Changed:
Colors of some buttons (useful on dark themes, thx to videoAI for the hint).
removed tune settings for not supporting encoders (h264_amf, h264_qsv, hevc_amf, hevc_qsv, thx to Findu for the hint.)
jimbobub
6th December 2024, 15:58
I'm unable to produce pillarboxes. I enter 960x720 in frame size and 1280 pad width and 720 pad height and the display is 4:3 with no pillarboxes. I'm looking for 1280x720 with 4:3 video with pillarboxes. I've tried ar with 1.33 and 1.78 and no effect. Thanks.
ProWo
6th December 2024, 19:34
I'm unable to produce pillarboxes. I enter 960x720 in frame size and 1280 pad width and 720 pad height and the display is 4:3 with no pillarboxes. I'm looking for 1280x720 with 4:3 video with pillarboxes. I've tried ar with 1.33 and 1.78 and no effect. Thanks.
You are right. I have tested this and confirm the bug. I will fix it with the next beta, which goes online tomorrow.
ProWo
7th December 2024, 10:27
Newest beta (v3.3.2.03), online now.
Added:
Automatic online check for newer release.
vp9 lossless encoding.
Fixed:
Bug in video padding (thx to jimbobub for the hint).
Improved:
Used ffmpeg version check.
Changed:
Cut section: ffplay is used instead of virtualdub2 in video cut points searching, because the latter shows wrong frame times.
ProWo
8th December 2024, 11:44
Newest beta (v3.3.2.04), online now.
Fixed:
Video encoding:
Bug with ghost info box.
Bug with doubled messages after encoding/aborting.
Bug with aborted search LUTs action.
(thx to Findu for this hints).
Improved:
Start behavior.
jimbobub
9th December 2024, 01:06
Before I begin thanks for all your effect put into this program. The resizing and borders are working with the updates. There is an issue with no video duration. I first demuxed with tsmuxer r, a 264 video and an mpa audio produced with staxrip. Staxrip does not keep audio and video in sink. Back to Clever, the video doesn't have a duration listed in mediainfo either. Clever asks me to input a frame rate. I entered in one listed from mediainfo, 59.839. After pressing ok it seems that it is working on it but then and quickly the same window pops up asking me to enter a fps again. I cannot close the window, as it keeps coming back, nor can it be exited. Task manager has to be used to shut the program down. Thanks.
ProWo
9th December 2024, 09:58
Before I begin thanks for all your effect put into this program. The resizing and borders are working with the updates. There is an issue with no video duration. I first demuxed with tsmuxer r, a 264 video and an mpa audio produced with staxrip. Staxrip does not keep audio and video in sink. Back to Clever, the video doesn't have a duration listed in mediainfo either. Clever asks me to input a frame rate. I entered in one listed from mediainfo, 59.839. After pressing ok it seems that it is working on it but then and quickly the same window pops up asking me to enter a fps again. I cannot close the window, as it keeps coming back, nor can it be exited. Task manager has to be used to shut the program down. Thanks.
You are right, this is a bug and will be corrected in the next beta.
just two comments:
59.839 is not a correct frame rate.
Instead of using tsmuxer to extract the two streams, you can also simply load the staxrip video into clever FFmpeg GUI, click main page, click multiplex.
Here you can enter any delay for the audio stream and simply mux it again.
But for a more detailed analysis you would have to post a mediainfo report (text mode) of the original video (before editing with staxrip) and of the staxrip video here.
ProWo
9th December 2024, 11:45
----------------------------------------------------------------------------------
December 09, 2024 release version 3.3.3.
----------------------------------------------------------------------------------
Added:
Crop video (metadata only, for h264 and hevc, without recoding). Not supported by all players. Thx to videoAI for the hint.
Automatic online check for newer release.
vp9 lossless encoding.
Fixed:
Bug in output file naming in the multiplex grid (thx to onlinedragon for the hint).
bug in loading 264 raw video stream (thx to jimbobub for the hint)
In video encoding section:
Bug in video encoder quality value change (thx to Findu for the hint).
Bug in video padding (thx to jimbobub for the hint).
Bug with ghost info box.
Bug with doubled messages after encoding/aborting.
Bug with aborted search LUTs action.
(thx to Findu for this hints).
Improved:
Colorspace handling.
HDR to SDR code.
av1 encoding ( (libaom-av1, libsvtav1, librav1e, av1_amf now with separate settings. Thx to Findu for the hint.).
Encoding with LUT's.
Colorspace handling.
Used ffmpeg version check.
Start behavior.
Changed:
Removed tune settings for not supporting encoders (h264_amf, h264_qsv, hevc_amf, hevc_qsv, thx to Findu for the hint.)
Cut section: ffplay is used instead of virtualdub2 in video cut points searching, because the latter shows wrong frame times.
----------------------------------------------------------------------------------
NOTE: If you're already using clever FFmpeg-GUI, replace the exe only with the new version.
Leave the other files to keep the previous settings.
jimbobub
9th December 2024, 15:50
From Staxrip
General
Unique ID : 182387714876773703008533453416908514774 (0x8936989DBDFCA14FC657FBCF848CE5D6)
Complete name : C:\Users\fluffy\Documents\PROGRAMS\FFmpegstoredfolders\VTS_01_1.mkv
Format : Matroska
Format version : Version 4
File size : 690 MiB
Duration : 25 min 17 s
Overall bit rate : 3 817 kb/s
Frame rate : 59.839 FPS
Encoded date : 2024-12-08 23:36:16 UTC
Writing application : mkvmerge v86.0 ('Winter') 64-bit
Writing library : libebml v1.4.5 + libmatroska v1.7.1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 25 min 17 s
Bit rate : 3 589 kb/s
Width : 720 pixels
Height : 540 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 59.839 FPS
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.154
Stream size : 649 MiB (94%)
Writing library : x264 core 164 r3191+1 e3de8e8 [Mod by Patman]
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=17 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Audio
ID : 2
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Codec ID : A_MPEG/L2
Codec ID/Hint : MP2
Duration : 25 min 17 s
Bit rate mode : Constant
Bit rate : 224 kb/s
Channel(s) : 2 channels
Sampling rate : 48.0 kHz
Frame rate : 41.667 FPS (1152 SPF)
Compression mode : Lossy
Delay relative to video : 24 ms
Stream size : 40.5 MiB (6%)
Default : No
Forced : No
Original Video
General
Complete name : C:\Users\fluffy\Documents\PROGRAMS\FFmpegstoredfolders\VTS_01_1.VOB
Format : MPEG-PS
File size : 977 MiB
Duration : 25 min 17 s
Overall bit rate mode : Variable
Overall bit rate : 5 400 kb/s
Frame rate : 29.970 FPS
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings : BVOP
Format settings, BVOP : Yes
Format settings, Matrix : Default
Format settings, GOP : M=3, N=15
Format settings, picture structure : Frame
Duration : 25 min 17 s
Bit rate mode : Variable
Bit rate : 5 069 kb/s
Maximum bit rate : 4 999 kb/s
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate : 29.970 (30000/1001) FPS
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.489
Time code of first frame : 00:00:00:00
Time code source : Group of pictures header
GOP, Open/Closed : Closed
Stream size : 917 MiB (94%)
Color primaries : BT.601 NTSC
Transfer characteristics : BT.601
Matrix coefficients : BT.601
Audio
ID : 192 (0xC0)
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Duration : 25 min 17 s
Bit rate mode : Constant
Bit rate : 224 kb/s
Channel(s) : 2 channels
Sampling rate : 48.0 kHz
Frame rate : 41.667 FPS (1152 SPF)
Compression mode : Lossy
Delay relative to video : 24 ms
Stream size : 40.5 MiB (4%)
Menu
Format : DVD-Video
The original video plays fine (vob). It is in sync on all of my players such as vlc, mpc be and the dvd it was from on the dvd and the bluray player.
When processed with staxrip, ripbot and hybrid all are out of sync. When processed with Clever, Handbrake and Avidemux all are in sync.
I was hoping to use qtgmc as the deinterlacer. I did try a remux with clever but i had the same out of sync issue. Using different encoders
in staxrip gave me different lengths for the video. I tried adjusting the audio length with clever. Sometimes I was able to get good sync
at the beginning but was off nearing the end or sync was off at the beginning and on at the end. This was with the video and audio being
the same length. I also tried with leaving the video and audio as is(no changing length of the audio) when remuxing, no luck.
ProWo
9th December 2024, 16:51
The original video plays fine (vob). It is in sync on all of my players such as vlc, mpc be and the dvd it was from on the dvd and the bluray player.
When processed with staxrip, ripbot and hybrid all are out of sync. When processed with Clever, Handbrake and Avidemux all are in sync.
I was hoping to use qtgmc as the deinterlacer. I did try a remux with clever but i had the same out of sync issue. Using different encoders
in staxrip gave me different lengths for the video. I tried adjusting the audio length with clever. Sometimes I was able to get good sync
at the beginning but was off nearing the end or sync was off at the beginning and on at the end. This was with the video and audio being
the same length. I also tried with leaving the video and audio as is(no changing length of the audio) when remuxing, no luck.
Did you explicitly specify the output framerate of 29.97 fps (or 59.94 fps) in staxrip, hybrid and ripbot?
If not, the output after qtgmc is no longer 29.97fps (or 59.94 fps).
jimbobub
9th December 2024, 19:54
I did specify when experimenting with changefps at 59.94. It would be 59.94 in mediainfo. The sync was still off. In the 59.839 example, I figured just letting staxrip do a 2 for 1 frames that the sync would be ok but no luck. I tried yadif bob and qtgmc both which deinterlace each field.
jimbobub
9th December 2024, 20:32
I forgot to add that in staxrip some of the decoders would show the source video as 29.97 while others would show as 29.919. I tried them all.
ProWo
10th December 2024, 10:21
I forgot to add that in staxrip some of the decoders would show the source video as 29.97 while others would show as 29.919. I tried them all.
You could also try muxing the staxrip video stream with the original audio stream. It could be that the audio stream was damaged during encoding with staxrip.
(This is why clever FFmpeg-GUI processes the streams separately).
To test this, start clever FFmpeg-GUI, load the staxrip video, click main page, click multiplex, drag the original video into the grid.
Deselect all streams first and select then the staxrip videostream and the original audiostream. Finally click multiplex.
jimbobub
10th December 2024, 13:49
Thanks for you help thus far. I did try your suggestion above. It seems that ffmpeg works fine if everything stays in that universe but with avisynth or vapoursynth the audio sync is off.
Lathe
11th December 2024, 07:57
I have one of those UHD rips in a BDMV/CERT folder where the main movie isn't just one file, but is I guess divided up into many small files. Since your program can only open 1 file, is there any way to load this full movie into it?
Maybe there is a way to import it into BDRB and it can create a single complete m2ts file...
Thanks!
***EDIT
Okay, I did import it into BDRB and it SEEMED to create a single m2ts file of the whole movie just fine which plays perfectly well on VLC. BUT... when I imported it into your program it threw an error when trying to execute. I had set it of course to do a HDR-SDR UHD-HD conversion as I always do. This is the error it showed:
https://lh3.googleusercontent.com/pw/AP1GczPdCIeY8-JVe6_WJXp4JHzKSJRI7G2GQxh8QWFZyObsPqSX1AAy0UGavsfMHJmamrj0NLfyP6bKqWpDWx1xWYFzCozjAvkBJU59Ggz94oSYyYNVpOfr5WUVOrLIcIq6T2EVuZZ-bQyyeTURbczlTWBHXA=w443-h141-s-no-gm?authuser=0
It's a real shame because I do have the full movie nicely in a software playable file, but Clever FFMpeg just won't run it.
BTW, it has one of the dual HEVC video files where I THINK the 2nd video file is the DV information. But, the last time I simply chose a the 'Video' file in your program when it also had dual video files like this one, it ran it and did just fine. I don't know what is different about this one.
This is the BT_Open txt information after the error:
Video ---> x264 (avc) - Stream ID 0 from?D:\__BDRB\00000.m2ts?6902103?-hide_banner -loglevel error -stats -y -fflags +genpts -i "D:\__BDRB\00000.m2ts" -vf fps=24000/1001,scale=1920:1080,zscale=t=linear:npl=200,tonemap=mobius:desat=0,zscale=t=0:p=0:m=0,sidedata=delete,colorspace=all=bt709:iall=bt2020,format=yuv420p -map 0:0 -c:v libx264 -profile:v high -preset medium -tune film -crf 17 -aspect 1.78 -an -sn -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?E:\TSMUXER\00000_V0.mkv
***EDIT 2
Okay, so I extracted just the primary video file of the 2 HEVC files using your program. But, after doing that and then trying to choose the extracted file (which still played just fine in VLC) I got the exact same error as I show above.
So, now I am using Handbrake, and yes, it seems to be taking the same extracted file and encoding it just fine to SDR HD. I play tested the resulting SDR 1080 file and it seems to play just fine. I wonder why Clever FFMpeg wouldn't work with it...?
GeoffreyA
11th December 2024, 10:03
I have one of those UHD rips in a BDMV/CERT folder where the main movie isn't just one file, but is I guess divided up into many small files. Since your program can only open 1 file, is there any way to load this full movie into it?
Maybe there is a way to import it into BDRB and it can create a single complete m2ts file...
Thanks!
***EDIT
Okay, I did import it into BDRB and it SEEMED to create a single m2ts file of the whole movie just fine which plays perfectly well on VLC. BUT... when I imported it into your program it threw an error when trying to execute. I had set it of course to do a HDR-SDR UHD-HD conversion as I always do. This is the error it showed:
https://lh3.googleusercontent.com/pw/AP1GczPdCIeY8-JVe6_WJXp4JHzKSJRI7G2GQxh8QWFZyObsPqSX1AAy0UGavsfMHJmamrj0NLfyP6bKqWpDWx1xWYFzCozjAvkBJU59Ggz94oSYyYNVpOfr5WUVOrLIcIq6T2EVuZZ-bQyyeTURbczlTWBHXA=w443-h141-s-no-gm?authuser=0
It's a real shame because I do have the full movie nicely in a software playable file, but Clever FFMpeg just won't run it.
BTW, it has one of the dual HEVC video files where I THINK the 2nd video file is the DV information. But, the last time I simply chose a the 'Video' file in your program when it also had dual video files like this one, it ran it and did just fine. I don't know what is different about this one.
This is the BT_Open txt information after the error:
Video ---> x264 (avc) - Stream ID 0 from?D:\__BDRB\00000.m2ts?6902103?-hide_banner -loglevel error -stats -y -fflags +genpts -i "D:\__BDRB\00000.m2ts" -vf fps=24000/1001,scale=1920:1080,zscale=t=linear:npl=200,tonemap=mobius:desat=0,zscale=t=0:p=0:m=0,sidedata=delete,colorspace=all=bt709:iall=bt2020,format=yuv420p -map 0:0 -c:v libx264 -profile:v high -preset medium -tune film -crf 17 -aspect 1.78 -an -sn -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?E:\TSMUXER\00000_V0.mkv
***EDIT 2
Okay, so I extracted just the primary video file of the 2 HEVC files using your program. But, after doing that and then trying to choose the extracted file (which still played just fine in VLC) I got the exact same error as I show above.
So, now I am using Handbrake, and yes, it seems to be taking the same extracted file and encoding it just fine to SDR HD. I play tested the resulting SDR 1080 file and it seems to play just fine. I wonder why Clever FFMpeg wouldn't work with it...?
MakeMKV tends to work nicely for creating a single file.
ProWo
11th December 2024, 10:07
Okay, I did import it into BDRB and it SEEMED to create a single m2ts file of the whole movie just fine which plays perfectly well on VLC. BUT... when I imported it into your program it threw an error when trying to execute. I had set it of course to do a HDR-SDR UHD-HD conversion as I always do.
This is the BT_Open txt information after the error:
Video ---> x264 (avc) - Stream ID 0 from?D:\__BDRB\00000.m2ts?6902103?-hide_banner -loglevel error -stats -y -fflags +genpts -i "D:\__BDRB\00000.m2ts" -vf fps=24000/1001,scale=1920:1080,zscale=t=linear:npl=200,tonemap=mobius:desat=0,zscale=t=0:p=0:m=0,sidedata=delete,colorspace=all=bt709:iall=bt2020,format=yuv420p -map 0:0 -c:v libx264 -profile:v high -preset medium -tune film -crf 17 -aspect 1.78 -an -sn -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?E:\TSMUXER\00000_V0.mkv
Hi Lathe,
found the error:
Delete this from the line above:
,zscale=t=0:p=0:m=0
then it should work.
I'll fix this in the next beta.
Lathe
11th December 2024, 10:14
MakeMKV tends to work nicely for creating a single file.
Ah... I hadn't realized that MakeMKV would do UHD folders. So, I guess I'd just open the BDMV folder like I would a regular Blu-ray or whatever, right?
But yeah, if that works with UHD folders then that would be most helpful.
But, like I mentioned above, Clever FFMpeg would not process the resulting single file, however it WAS instrumental in extracting just the actual HEVC movie file, but then it wouldn't process it. But, so far Handbrake seems to be doing okay with it.
GeoffreyA
11th December 2024, 10:36
Ah... I hadn't realized that MakeMKV would do UHD folders. So, I guess I'd just open the BDMV folder like I would a regular Blu-ray or whatever, right?
But yeah, if that works with UHD folders then that would be most helpful.
But, like I mentioned above, Clever FFMpeg would not process the resulting single file, however it WAS instrumental in extracting just the actual HEVC movie file, but then it wouldn't process it. But, so far Handbrake seems to be doing okay with it.
I haven't tried it with UHD, so fingers crossed.
ProWo
11th December 2024, 11:45
Newest beta (v3.3.3.01), online now.
Fixed:
Bug in HDR to SDR tonemapping (thx to Lathe for the hint).
Lathe
11th December 2024, 11:47
Hi Lathe,
found the error:
Delete this from the line above:
,zscale=t=0:p=0:m=0
then it should work.
I'll fix this in the next beta.
Oh wow, I'm glad the information was helpful! :)
Um... when you say 'Delete the line', does that mean that I simply leave that text file in the output folder, but EDIT the content of it as you say by deleting that section and saving the text file in that same output folder, right? Then, do I close the program and re-open it and somehow it will read that edited file the next time it opens, and THEN I can import the same source file and it will now be able to encode it?
Thanks!
Lathe
11th December 2024, 11:49
Newest beta (v3.3.3.01), online now.
Fixed:
Bug in HDR to SDR tonemapping (thx to Lathe for the hint).
Awesome! So, I've usually waited for the complete release as I just did here recently. But, I guess in this case, I should go ahead and download this new Beta release, right? Should I do that each time you release a Beta update also? Thanks!
Lathe
11th December 2024, 11:52
I haven't tried it with UHD, so fingers crossed.
Well, if not, thankfully BDRB is good in collecting all those little files and putting them together in one m2ts file. I've always been curious why they do that? Actually, I was rather surprised to see that they did that with this new 4k release. I don't remember seeing that for quite some time now. I always figured it was some kind of anti-piracy thing, IDK...
@ProWo Do you think there is a way your program can import a folder instead of just a file like the way BDRB does? Because I guess in cases like this where the main movie file is divided into many smaller files, then by being able to open the BDMV folder, could your program somehow also collate all those pieces and then import it in order to encode the entire movie file?
Oh, and also, what's the deal with the dual HEVC video files anyway? I read that the smaller 2nd one is DV information. I THINK your program did the last one that was like that just fine when I just chose the 'video' stream to reencode. I think that time it somehow imported it properly. Perhaps because of that particular line error you mentioned, that may have been the holdup this time and maybe normally it will read the dual HEVC files properly.
Lathe
11th December 2024, 11:59
Oh, sorry, just thought of something else... we can always just take the new .exe file in the newest version and simply replace it in the folder version we are currently using, right?
ProWo
11th December 2024, 12:17
Oh, sorry, just thought of something else... we can always just take the new .exe file in the newest version and simply replace it in the folder version we are currently using, right?
Exact
Lathe
11th December 2024, 12:20
Exact
Thanks!
Do you think there is a way your program can import a folder instead of just a file like the way BDRB does? Because I guess in cases like this where the main movie file is divided into many smaller files, then by being able to open the BDMV folder, could your program somehow also collate all those pieces and then import it in order to encode the entire movie file?
Oh, and also, what's the deal with the dual HEVC video files anyway? I read that the smaller 2nd one is DV information. I THINK your program did the last one that was like that just fine when I just chose the 'video' stream to reencode. I think that time it somehow imported it properly. Perhaps because of that particular line error you mentioned, that may have been the holdup this time and maybe normally it will read the dual HEVC files properly.
gonca
11th December 2024, 12:42
Ah... I hadn't realized that MakeMKV would do UHD folders. So, I guess I'd just open the BDMV folder like I would a regular Blu-ray or whatever, right?
Actually, try to use the playlist instead.
This way you can keep chapters, etc
You can use MakeMKV, MKVToolNIX or TsMuxer to do this.
I assume your files are decrypted.
ProWo
11th December 2024, 12:45
Thanks!
Do you think there is a way your program can import a folder instead of just a file like the way BDRB does? Because I guess in cases like this where the main movie file is divided into many smaller files, then by being able to open the BDMV folder, could your program somehow also collate all those pieces and then import it in order to encode the entire movie file?
I can do that if ffmpeg is able to combine these files. To test this, you need to make me a list of all the files in the folder and tell me the complete path to this folder and the folder name. Then I can send you an ffmpeg command line that you can test.
Oh, and also, what's the deal with the dual HEVC video files anyway? I read that the smaller 2nd one is DV information. I THINK your program did the last one that was like that just fine when I just chose the 'video' stream to reencode. I think that time it somehow imported it properly. Perhaps because of that particular line error you mentioned, that may have been the holdup this time and maybe normally it will read the dual HEVC files properly.
The 1st videostream shoud be the normal videotream, the 2nd one the dolbyvision data. The last beta should read and convert the 1st one without problems.
ProWo
11th December 2024, 16:00
----------------------------------------------------------------------------------
December 11, 2024 release version 3.3.4.
----------------------------------------------------------------------------------
Fixed:
Bug in HDR to SDR tonemapping (thx to Lathe for the hint).
----------------------------------------------------------------------------------
Lathe
11th December 2024, 23:51
Actually, try to use the playlist instead.
This way you can keep chapters, etc
You can use MakeMKV, MKVToolNIX or TsMuxer to do this.
I assume your files are decrypted.
I've never tried that, thanks!
Lathe
11th December 2024, 23:54
I can do that if ffmpeg is able to combine these files. To test this, you need to make me a list of all the files in the folder and tell me the complete path to this folder and the folder name. Then I can send you an ffmpeg command line that you can test.
The 1st videostream shoud be the normal videotream, the 2nd one the dolbyvision data. The last beta should read and convert the 1st one without problems.
Yep, I'm pretty sure the last one read the 'Video' dual file the last time.
I THINK I see what you are asking about the multiple files making up the movie. I'll try to do that (if I can...) Strange that we only seem to come across this once in a while. I wonder what the parameters are for them to decide to divide up the movie file like that because it doesn't seem like they usually do that very much any more.
Lathe
12th December 2024, 00:58
Okay, this is a bit odd...
I did the original encode UHD-HD HDR-SDR with Handbrake since we hadn't figured out Clever FFMpeg yet. And then, after you updated the program I wanted to redo it to compare. Well, I'm in the process of reencoding it, and I tested a snippet of the resulting MKV file and it looks WAY darker than the Handbrake encode! I used the same settings I've always used, HDR to SDR with Mobius and a desaturation of '2' and of course a resize to HD. I don't understand why it looks SO dark and different?
The first picture is from the Handbrake encode and the 2nd is from Clever FFMpeg. I mean, I really dig the sharper highlights and more vivid contrast and deeper colours of Clever FFMpeg, as a matter of fact, EVERYTHING about it looks great, but it is SO dark...?
https://lh3.googleusercontent.com/pw/AP1GczOH5kbslZYfd12mwN0rNfKa7gqWtiVQx1Az9qvaLWTHmwTqDSEMf6TISsbZnlZrx58j0ns8DYbMiwIqEePsRoxBnG4aeg1z1aYCyjMNGC88PraQwxLDHlI9W41RCDcYPI_7sLXxOQn0Mz-avT_gLS5grQ=w1004-h409-s-no-gm?authuser=0
https://lh3.googleusercontent.com/pw/AP1GczNSETpYBnlHC7636GF0FipbbLtc5u_vDWaGM90_kPIQyfsJKNxagSjcNnNuH3RydlkCwLZb67X_wCMy5awjiBHGarmqSczyZCZn8Tc02VATscVgLNKzynqW75LhfurZCzK4LUHBDlEP0ayiY-CPye5R5g=w954-h494-s-no-gm?authuser=0
gonca
12th December 2024, 01:47
@Lathe
Can you compare the two command lines and look for the differences?
Clever ffmpeg and handbrake use ffmpeg.
Lathe
12th December 2024, 02:13
@Lathe
Can you compare the two command lines and look for the differences?
Clever ffmpeg and handbrake use ffmpeg.
Ooh, I don't know how to do that (especially after the fact) I used the standard setting for both for UHD-HD HDR-SDR conversion. The BT709 filter with handbrake. To me the Handbrake one looks a tad washed out. I used the same, standard settings with Clever FFMpeg, HDR-SDR, etc, with Mobius and a desaturation of 2. I'm trying to use 'Brightness' on Clever FFMpeg, but I can't seem to get the setting right, I guess I'll just hafta experiment. What's throwing me off, is I can't tell what the 'Neutral' brightness, contrast, etc., settings are. It LOOKS like the defaults already boost something, but I don't know if for example '1' on brightness means it's being boosted or if '0' on contrast means it's not affecting it. Very confusing!
Here is what the default screen looks like. So, with these untouched settings, is it already boosting something, or do I assume it is already set to a default where nothing is boosted? And, is THIS saturation setting going to override what I chose in the HDR-SDR conversion? So, should I also set it to -2 (desaturation of 2 on the HDR-SDR setting) or do I leave it at zero?
https://lh3.googleusercontent.com/pw/AP1GczOql5OGct9DnHJFpnZ01ClKfpC3YU49rj6_sHif-_gj7PWm_ZHOrsQqkfma7mxm2wU9VGyuHuNxuAitjQeFY3NcgWSdGJUbWPDXIm6nIu0zWkKbXzchv95r40MvrdhvalkExjjFU6gZvy8oHjdOq1hkNQ=w349-h317-s-no-gm?authuser=0
gonca
12th December 2024, 02:20
try setting brightness to 2.0
just encode a small sample for testing purposes
Lathe
12th December 2024, 02:22
try setting brightness to 2.0
just encode a small sample for testing purposes
I already just tried .5 and it was all blown out... So damn confusing! Also, what I added above about the saturation setting coinciding with what I already set in the HDR-SDR conversion.
Lathe
12th December 2024, 02:23
And again... I DON'T know if the contrast and the other setting are ALREADY doing something!
gonca
12th December 2024, 02:28
try one setting at a time, use small samples and see the results
Or wait until someone can give you a precise answer
Lathe
12th December 2024, 02:30
Yeah, that's basically what I'm going to hafta do (unless our Mr. ProWo will tell me what those settings mean... :))
So, I set everything except Gamma to '0', I THINK it's supposed to be at '1' but I'm not sure, and I bumped up the brightness by 10%.
Lathe
12th December 2024, 02:31
Heh, I just got a completely white screen... :D
Oh well, keep trying, I'll nail it eventually (just like you do with the moose(s)...)
Lathe
12th December 2024, 04:35
Man, this is getting really wacky... I mean seriously... Okay, so as I said, just setting the HDR-SDR and mobius and desaturation at 2 the film comes out rather dark as shown in my picture way above. So, I tweaked the contrast and brightness and I had it looking really good, more detailed and vibrant than the Handbrake encode, but it was just a tad bright. So, I go back and BARELY lower the brightness, and now the screen is almost totally black...
Makes NO bloody sense. Any help there Mr. ProWo...?
***EDIT
Okay, I think I'm getting shell shocked here... I think I went the wrong way with the brightness. Still trying...
Lathe
12th December 2024, 06:15
Alrighty... I KNOW you guys are ready to hang yourselves just about now... https://lh3.googleusercontent.com/pw/AP1GczORFIrrA9wuubBtlMTrcyq3yxUEg-IWkgmD1-T1am23X13AOW1ZICXk2YD-SXUaH-_f_mR7Jdyomgl2LL7SHTWHsGe3oyYAy1eDpmD0JotYUvCPmKbcrxURUqURnjR3X_3pzVLKDJh3Yxr2wHdZWPcFPg=w30-h31-s-no-gm?authuser=0 But, I think I've whittled it down to about the way I want it to look. I STILL don't understand why Clever FFMpeg looked so damn dark like the picture above with the proper default settings for HDR-SDR, but anyway, I basically kept dialing back the contrast to about -.35 where the bright areas were not as pixelated looking, and brought up the brightness to about +.8 and left everything else the same. So, the result was a slightly sharper picture with definitely more saturation and about equal brightness as the Handbrake encode. So, basically it looks more exciting now than the Handbrake encode (of course, ANY scene with Sandra is F'n exciting! https://lh3.googleusercontent.com/pw/AP1GczOoYexQoDpOzw1iOf64P9sOCeQ3Thz-NDPF4bPzOsGX1tqiW1qOfgvsZSWlQBjQtSFz8_oRHvoUbugmpHRzNwcCv4S26hrJh-Dszr9EzTiu6oYUc6IBy0iTWzf0rS8KSXSJbS_OLjCX0PrwWdCwoePpgw=w28-h28-s-no-gm?authuser=0)
So, after about 50 different tries I think I finally got it!
GeoffreyA
12th December 2024, 07:46
The Handbrake encode looks washed out because they use, I think, Hable. Does Clever FFmpeg allow you to adjust the command-line? The problem here is likely the "npl" value for zscale: too big. However, the previous page shows 200, which should be close to spot on for most films.
Lathe
12th December 2024, 07:54
The Handbrake encode looks washed out because they use, I think, Hable. Does Clever FFmpeg allow you to adjust the command-line? The problem here is likely the "npl" value for zscale: too big. However, the previous page shows 200, which should be close to spot on for most films.
No, at least I haven't quite figured that out yet. I THINK ProWo said that you can edit the BE_text file AFTER aborting an encode and somehow maybe it reads it when you load the file in the next time? I'm honestly not sure about that.
But, it does allow you to choose which method to use including Hable, Mobius, and another 1 or 2. In looking at the result now (after like 50 tries!) everything looks great EXCEPT the faces are to saturated...:cool: Oh well... the Handbrake one really doesn't look that bad at all, just a tad less saturated than I could quite hit with all my tries with Clever FFMpeg. But, it looks pretty good.
STILL don't know why this program didn't render it better than the picture I show above though... Most of the time it has done just great.
Lathe
12th December 2024, 08:29
@ProWo... Bro, I'm sorry to keep pestering you, but I just started another enode from an UHD full 4k Blu-ray source and with the exact same settings that I ALWAYS use, yep, it is turning out all weird and dark again!
You might want to check to see if maybe you changed something, because this is 2 in a row that are not turning out right. Now the ONLY thing that I can see that is superficially different, is that when you choose 'Various' and you select HDR-SDR, the saturation used to default to '2', now it shows '0' when the window opens, so you actually have to set it to '2' which was what the default was before. Other than that, I don't see any other obvious changes, but these movies are not coming out right and you should know so you can see what is going on. Here is the BE_text:
Video ---> x264 (avc) - Stream ID 0 from?G:\___TL\HEVC.mkv?6672167?-hide_banner -loglevel error -stats -y -fflags +genpts -i "G:\___TL\HEVC.mkv" -vf fps=24000/1000,scale=1920:1080,zscale=t=linear:npl=200,tonemap=mobius:desat=2,sidedata=delete,colorspace=all=bt709:iall=bt2020,format=yuv420p -map 0:0 -c:v libx264 -profile:v high -preset medium -tune film -crf 18 -aspect 1.78 -an -sn -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?D:\__HEVC.mkv
Here is how the movie is turning out with Clever FFMpeg:
https://lh3.googleusercontent.com/pw/AP1GczPyXBooOXK9WUG5ZwhQNYeaL8-WBbHbsLz50zexDZMcT5anNYpPoCl-wU_uiZmfsAD9acMOhOhP92MYvhd9cmwc1SrigHEzC23D8jS0bBytFzrLsi-lyLJ2Q8oAs3Oj_3RcRUAaSgzdnogoPefGAhC0jw=w1228-h632-s-no-gm?authuser=0
Here is a snapshot of how this 2nd movie is turning out with Handbrake:
https://lh3.googleusercontent.com/pw/AP1GczNjOr1Eu9XDIJy61-SC03uiKrqzPCeQRZ4lPwVoP4__tRxaX8ShrHBeyWx-Opl8mzqgbNXmCzBLpkjFCxOeD7CI1_fJ-bzE6nw2lEjRn3d9XqC1cIOcpwn3mqjtQtF1TOSAz50xsMyybh4ZGR7Ooh5bMg=w1124-h635-s-no-gm?authuser=0
These are with the exact same settings with BOTH programs that I have always used for UHD to SD and HDR-SDR.
GeoffreyA
12th December 2024, 08:46
If possible, try the following script to use FFmpeg directly and let's see what happens.
setlocal
set src=Test.mkv
set start=1:00:00
set length=10
set npl=203
ffmpeg -ss %start% -i "%src%" -map 0:v:0 -vf zscale=m=gbr:t=linear:dither=none:npl=%npl%,format=gbrpf32le,tonemap=mobius:desat=0,zscale=1920:-1:f=spline36,zscale=m=709:t=709:p=709:r=limited:dither=error_diffusion,format=yuv420p,sidedata=delete -c:v libx264 -crf 18 -t %length% "test.mp4"
endlocal
pause
Change the variables src, start, and length: the last two so that you don't have to encode the whole file. Place the code in a BAT file, along with an ffmpeg executable in the same folder, and run.
Lathe
12th December 2024, 08:51
If possible, try the following script to use FFmpeg directly and let's see what happens.
setlocal
set src=Test.mkv
set start=1:00:00
set length=10
set npl=203
ffmpeg -ss %start% -i "%src%" -map 0:v:0 -vf zscale=m=gbr:t=linear:dither=none:npl=%npl%,format=gbrpf32le,tonemap=mobius:desat=0,zscale=1920:-1:f=spline36,zscale=m=709:t=709:p=709:r=limited:dither=error_diffusion,format=yuv420p,sidedata=delete -c:v libx264 -crf 18 -t %length% "test.mp4"
endlocal
pause
Change the variables src, start, and length: the last two so that you don't have to encode the whole file. Place the code in a BAT file, along with an ffmpeg executable in the same folder, and run.
Thanks! I just now also updated comparisons between how this program and Handbrake's encodes look above this post. There is definitely something that changed with Clever FFMpeg since I've used it before.
I am NOT conversant in using this kind of code, but I can save the text you gave me as a .bat file and I guess place it in the FFMpeg folder where the .exe is and try it. I have NO idea what it is doing though... :)
***EDIT
Oh, I see (I think...) it is executing the same text that is in the BE_text file.
GeoffreyA
12th December 2024, 09:09
It takes "Test.mkv" and converts it from HDR to BT.709 SDR, scaling down to 1080p as well, and encodes with x264. The problem with FFmpeg's conversion, and I expect programs that are using FFmpeg behind the scenes, is that the result is over-saturated. I think it's a bug somewhere. (This is of interest to me because, as it turns out, this week I've been cleaning up my HDR scripts, getting them down to a final version, so that I can convert 4K LOTR Theatrical to 1080p SDR. So far, I've settled on using VapourSynth.)
ProWo
12th December 2024, 09:19
@ProWo... Bro, I'm sorry to keep pestering you, but I just started another enode from an UHD full 4k Blu-ray source and with the exact same settings that I ALWAYS use, yep, it is turning out all weird and dark again!
You might want to check to see if maybe you changed something, because this is 2 in a row that are not turning out right. Now the ONLY thing that I can see that is superficially different, is that when you choose 'Various' and you select HDR-SDR, the saturation used to default to '2', now it shows '0' when the window opens, so you actually have to set it to '2' which was what the default was before. Other than that, I don't see any other obvious changes, but these movies are not coming out right and you should know so you can see what is going on. Here is the BE_text:
Video ---> x264 (avc) - Stream ID 0 from?G:\___TL\HEVC.mkv?6672167?-hide_banner -loglevel error -stats -y -fflags +genpts -i "G:\___TL\HEVC.mkv" -vf fps=24000/1000,scale=1920:1080,zscale=t=linear:npl=200,tonemap=mobius:desat=2,sidedata=delete,colorspace=all=bt709:iall=bt2020,format=yuv420p -map 0:0 -c:v libx264 -profile:v high -preset medium -tune film -crf 18 -aspect 1.78 -an -sn -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?D:\__HEVC.mkv
These are with the exact same settings with BOTH programs that I have always used for UHD to SD and HDR-SDR.
Hi Lathe,
you're right, I have changed the npl value from 100 to 200, after many tests. You can edit the BT_open.txt, change the npl=200 to npl=100, save the file and fire up clever FFmpeg-GUI and click execute.
You will get the exact same result as before.
#EDIT:
There are other changes to investigate on. I'll come back to you soon with the results.
In the next beta I'll add a possibility to change this value (lower is brighter).
Lathe
13th December 2024, 03:36
It takes "Test.mkv" and converts it from HDR to BT.709 SDR, scaling down to 1080p as well, and encodes with x264. The problem with FFmpeg's conversion, and I expect programs that are using FFmpeg behind the scenes, is that the result is over-saturated. I think it's a bug somewhere. (This is of interest to me because, as it turns out, this week I've been cleaning up my HDR scripts, getting them down to a final version, so that I can convert 4K LOTR Theatrical to 1080p SDR. So far, I've settled on using VapourSynth.)
Ah, good to know, thanks!
ProWo just sent me an .exe to try and so far it is doing a great job! I like the encode a little better than the Handbrake, it is a tad clearer and sharper.
Lathe
13th December 2024, 03:38
Hi Lathe,
you're right, I have changed the npl value from 100 to 200, after many tests. You can edit the BT_open.txt, change the npl=200 to npl=100, save the file and fire up clever FFmpeg-GUI and click execute.
You will get the exact same result as before.
#EDIT:
There are other changes to investigate on. I'll come back to you soon with the results.
In the next beta I'll add a possibility to change this value (lower is brighter).
Thanks Bro! Yep, the .exe you just sent me seems to be doing a great job! Really appreciate it man!
GeoffreyA
13th December 2024, 07:37
Ah, good to know, thanks!
ProWo just sent me an .exe to try and so far it is doing a great job! I like the encode a little better than the Handbrake, it is a tad clearer and sharper.
That's good news!
Yesterday, I was experimenting with libplacebo and it blew the other methods out of the water. Its "Spline" tone-mapping operator beats Mobius, Reinhard, and Hable, and its colour-gamut conversion mechanism as well. Even a challenging scene, Galadriel coming down the stairs in front of the candles, comes out excellent without overblown highlights.
GeoffreyA
13th December 2024, 07:43
Hi Lathe,
you're right, I have changed the npl value from 100 to 200, after many tests. You can edit the BT_open.txt, change the npl=200 to npl=100, save the file and fire up clever FFmpeg-GUI and click execute.
You will get the exact same result as before.
#EDIT:
There are other changes to investigate on. I'll come back to you soon with the results.
In the next beta I'll add a possibility to change this value (lower is brighter).
ProWo, you may be able to improve the conversion further by downscaling in linear light, using Spline36, and using zscale instead of colorspace for the conversation to BT.709 and YUV420 at the end. Also, scaling after tone mapping can eliminate some rare artefacts related to text.
Lathe
13th December 2024, 09:24
That's good news!
Yesterday, I was experimenting with libplacebo and it blew the other methods out of the water. Its "Spline" tone-mapping operator beats Mobius, Reinhard, and Hable, and its colour-gamut conversion mechanism as well. Even a challenging scene, Galadriel coming down the stairs in front of the candles, comes out excellent without overblown highlights.
Hmmm... I'll hafta try that 'Spline' operator, I THINK it is a choice on the Clever program.
Lathe
13th December 2024, 09:27
Hi Lathe,
you're right, I have changed the npl value from 100 to 200, after many tests. You can edit the BT_open.txt, change the npl=200 to npl=100, save the file and fire up clever FFmpeg-GUI and click execute.
You will get the exact same result as before.
#EDIT:
There are other changes to investigate on. I'll come back to you soon with the results.
In the next beta I'll add a possibility to change this value (lower is brighter).
Yes, as the PM I sent you shows, I did change that value on the Various tab when converting HDR-SDR from 200 to 100, and the movie I was doing, the UHD of 'THE FACULTY' then looked really good. I think I sent you comparative screen shots.
ProWo
13th December 2024, 09:36
Newest beta (v3.3.4.01), online now.
Added:
Set npl value for HDR to SDR tonemapping.
aac_mf audio encoder,
h264_mf video encoder (thx to Findu for the latter two hint).
Error check during task processing.
Fixed:
Bug in HDR to SDR tonemapping (thx to Lathe for the hint).
Lathe
13th December 2024, 09:38
Newest beta (v3.3.4.01), online now.
Added:
Set npl value for HDR to SDR tonemapping.
aac_mf audio encoder,
h264_mf video encoder (thx to Findu for the latter two hint).
Error check during task processing.
Fixed:
Bug in HDR to SDR tonemapping (thx to Lathe for the hint).
U Da Man!
ProWo
13th December 2024, 09:45
...The only difference is that when I imported the UHD file, your program gave me a prompt that I will post below. So, I don't know in that case if I should still use HDR-SDR, although the prompt seems to state that the movie is indeed in HDR. So, what exactly should I do and why is it all dark again now with the new .exe? And, what do I do if I see that prompt, should I go ahead and set it to do HDR-SDR or should I not?
If the HDR metadata is missing, you can no longer re-encode the video as HDR, but everything else remains the same.
Re-encode to SDR with the usual HDR to SDR settings.
Lathe
13th December 2024, 09:54
If the HDR metadata is missing, you can no longer re-encode the video as HDR, but everything else remains the same.
Re-encode to SDR with the usual HDR to SDR settings.
Yep, that is what I ended up doing. And, when I changed the setting from 200 to 100 on this particular movie then it seemed to look fine. I guess on some films if it starts to come out really dark I will need to do that.
Z2697
13th December 2024, 12:09
ProWo, you may be able to improve the conversion further by downscaling in linear light, using Spline36, and using zscale instead of colorspace for the conversation to BT.709 and YUV420 at the end. Also, scaling after tone mapping can eliminate some rare artefacts related to text.
libplacebo can handle the scaling and conversion as well
GeoffreyA
13th December 2024, 13:41
libplacebo can handle the scaling and conversion as well
This is the command-line I setted on:
ffmpeg -init_hw_device vulkan [...] -vf libplacebo=peak_detect=true:tonemapping=spline:gamut_mode=perceptual:w=1920:h=-1:downscaler=spline36:colorspace=bt709:color_trc=bt709:color_primaries=bt709:range=limited:dithering=blue:deband=false:skip_aa=true:disable_linear=false:format=yuv420p,crop=%crop%,sidedata=delete [...]
Z2697
13th December 2024, 16:20
This is the command-line I setted on:
ffmpeg -init_hw_device vulkan [...] -vf libplacebo=peak_detect=true:tonemapping=spline:gamut_mode=perceptual:w=1920:h=-1:downscaler=spline36:colorspace=bt709:color_trc=bt709:color_primaries=bt709:range=limited:dithering=blue:deband=false:skip_aa=true:disable_linear=false:format=yuv420p,crop=%crop%,sidedata=delete [...]
I don't think skip_aa=true is a good idea.
"Applying AA" is actually what most resize filter do.
GeoffreyA
13th December 2024, 17:11
I don't think skip_aa=true is a good idea.
"Applying AA" is actually what most resize filter do.
That part confused me because I was under the impression that enabling AA would damage detail. But what you say makes sense. Thanks for the tip. I'll have to re-encode "Fellowship" and the encode has been running (and still is) for nine hours :)
Any other tips for maximum quality with libplacebo? I noticed that it uses 16-bit float by default. If I convert to 32 bit beforehand (with zscale), it creates the internal textures at 32-bit float (r32f) but then uses rgba16haf, I think, before running the shader programs.
Z2697
13th December 2024, 20:21
That part confused me because I was under the impression that enabling AA would damage detail. But what you say makes sense. Thanks for the tip. I'll have to re-encode "Fellowship" and the encode has been running (and still is) for nine hours :)
Any other tips for maximum quality with libplacebo? I noticed that it uses 16-bit float by default. If I convert to 32 bit beforehand (with zscale), it creates the internal textures at 32-bit float (r32f) but then uses rgba16haf, I think, before running the shader programs.
I guess the precision of fp16 is not plenty, but enough. It should have "11-bit precision" (10 bits fraction field) according to wikipedia.
Another thing I would keep an eye out is chroma location, at least something similar, could be general chroma shift but less likely. I saw some weirdness with vs-placebo (sgt's fork) but not sure what's the case with FFmpeg.
Lathe
14th December 2024, 00:00
That part confused me because I was under the impression that enabling AA would damage detail. But what you say makes sense. Thanks for the tip. I'll have to re-encode "Fellowship" and the encode has been running (and still is) for nine hours :)
Any other tips for maximum quality with libplacebo? I noticed that it uses 16-bit float by default. If I convert to 32 bit beforehand (with zscale), it creates the internal textures at 32-bit float (r32f) but then uses rgba16haf, I think, before running the shader programs.
You guys are SO far above my paygrade it's not even funny... https://lh3.googleusercontent.com/pw/AP1GczNbHYEU7SXU6hiIPoDFs1zcmEvyx9P0WbGl6ruemF25_PdeDrslBGUr23QjuMeRv-fuYNHz7cKN9Eskl7F5jMx1Yz1XUHCBJIqo5kSqgGrhTmAkRWMa59XctCb1XFFTpOIf1-RMl_0BlSQfE23bufCL4w=w15-h15-s-no-gm?authuser=0
GeoffreyA
14th December 2024, 19:09
You guys are SO far above my paygrade it's not even funny... https://lh3.googleusercontent.com/pw/AP1GczNbHYEU7SXU6hiIPoDFs1zcmEvyx9P0WbGl6ruemF25_PdeDrslBGUr23QjuMeRv-fuYNHz7cKN9Eskl7F5jMx1Yz1XUHCBJIqo5kSqgGrhTmAkRWMa59XctCb1XFFTpOIf1-RMl_0BlSQfE23bufCL4w=w15-h15-s-no-gm?authuser=0
With encoding always changing (how different were the DivX days!), I think we're all beginners in a way. But that's why we love it :)
GeoffreyA
14th December 2024, 19:16
Another thing I would keep an eye out is chroma location, at least something similar, could be general chroma shift but less likely. I saw some weirdness with vs-placebo (sgt's fork) but not sure what's the case with FFmpeg.
Basically, I've ignored chroma location because I didn't fully understand it. Today, digging into this topic and testing, it seems that FFmpeg causes the source CL to go through to the end. For an HEVC source, that would be top-left, and an AVC encode derived from this would also be top-left. (I think AVC is supposed to be left.)
ProWo
15th December 2024, 09:55
Newest beta (v3.3.4.02), online now.
Added:
Readded start at last position (request by Findu).
Mux vc1 video to asf, avi, mkv, mov, mp4, wmv.
Fixed:
Bug in audio encoding with keep open checked.
Typo on update message (thx to Findu for the hints).
ProWo
17th December 2024, 18:05
----------------------------------------------------------------------------------
December 17, 2024 release version 3.3.5.
----------------------------------------------------------------------------------
Added:
Set npl value for HDR to SDR tonemapping.
aac_mf audio encoder,
h264_mf video encoder (thx to Findu for the latter two hint).
Error check during task processing.
Readded start at last position (request by Findu).
Mux vc1 video to asf, avi, mkv, mov, mp4, wmv.
Fixed:
Bug in HDR to SDR tonemapping (thx to Lathe for the hint).
Bug with multiple cuts in cut and join section.
Bug in audio encoding with keep open checked.
Typo on update message.
Graphical error in the audio encoding grid (thx to Findu for the hints).
Bug in update process.
Improved:
Update process.
Changed:
The whole information system. from messagebox to centered Info window.
----------------------------------------------------------------------------------
NOTE: If you're already using clever-FFmpeg-GUI, replace the exe only with the new version.
Leave the other files to keep the previous settings.
Lathe
18th December 2024, 01:06
----------------------------------------------------------------------------------
December 17, 2024 release version 3.3.5.
----------------------------------------------------------------------------------
Added:
Set npl value for HDR to SDR tonemapping.
aac_mf audio encoder,
h264_mf video encoder (thx to Findu for the latter two hint).
Error check during task processing.
Readded start at last position (request by Findu).
Mux vc1 video to asf, avi, mkv, mov, mp4, wmv.
Fixed:
Bug in HDR to SDR tonemapping (thx to Lathe for the hint).
Bug with multiple cuts in cut and join section.
Bug in audio encoding with keep open checked.
Typo on update message.
Graphical error in the audio encoding grid (thx to Findu for the hints).
Bug in update process.
Improved:
Update process.
Changed:
The whole information system. from messagebox to centered Info window.
----------------------------------------------------------------------------------
NOTE: If you're already using clever-FFmpeg-GUI, replace the exe only with the new version.
Leave the other files to keep the previous settings.
Awesome, thanks Bro!
So, about the npl (which I have NO bloody idea what it is... :)) the default I believe is 200. Only in ONE case did it seem that I needed to change it to 100 because the movie was so dark ('THE FACULTY' UHD) what exactly determines what it should be? Is it set to 200 because that is the default setting for most movies that works best, or what determines if we should change it, just by how it looks and doing it based upon our own perception of how bright it should be?
I just did the UHD film 'CAT O' NINE TAILS', and the 200 setting in comparing the Clever encode to the original was indeed brighter and looked fine. So, is this value just kind of a 'Floating' thing, or how should I look at it.
Thanks!
ProWo
18th December 2024, 16:23
So, about the npl (which I have NO bloody idea what it is... :)) the default I believe is 200. Only in ONE case did it seem that I needed to change it to 100 because the movie was so dark ('THE FACULTY' UHD) what exactly determines what it should be? Is it set to 200 because that is the default setting for most movies that works best, or what determines if we should change it, just by how it looks and doing it based upon our own perception of how bright it should be?
The npl value indicates approximately the nits value for the HDR to SDR conversion. For your information: HDR10 can be mastered with up to 10000 nits, normal SDR content is mastered with 100 nits. So nlp=100 should actually be the correct value for the HDR10 to SDR conversion. However, I have found that a slightly higher value, such as npl=200, produces a more vivid image. But that's ultimately a matter of taste. There is no default value.
ProWo
18th December 2024, 18:05
Newest beta (v3.3.5.01), online now.
Improved:
DVD Movie rip completely recoded. (unprotected DVD's only).
Changed:
File already exists! messagebox recoded to new type.
Column alignment in batch task grid (thx to Findu for the hint).
New info message system: increased fontsize from 8 to 9, buttons centered now.
Lathe
19th December 2024, 00:38
The npl value indicates approximately the nits value for the HDR to SDR conversion. For your information: HDR10 can be mastered with up to 10000 nits, normal SDR content is mastered with 100 nits. So nlp=100 should actually be the correct value for the HDR10 to SDR conversion. However, I have found that a slightly higher value, such as npl=200, produces a more vivid image. But that's ultimately a matter of taste. There is no default value.
Ah, that's what I thought, thanks!
ProWo
20th December 2024, 11:10
Newest beta (v3.3.5.02), online now.
Added:
New automatic updater (for Windows 10 & 11, thx to Findu for the hints).
Batch grid: Action column fits content now.
Fixed:
Bug with streams detection in VTS_vobs.
Bug in mux code.
Bug with automatic correction of start position values out of screen bounds.
Improved:
Update info for earlier Windows versions.
ProWo
21st December 2024, 10:41
Newest beta (v3.3.5.03), online now.
Added:
Update reminder (if update wasn't done).
Fixed:
Bug with DVD rip aborting (thx to Findu for the hint).
ProWo
21st December 2024, 13:20
Attention!
There was a bug in the latest beta v3.3.5.03.
It has already been fixed.
If you have updated before 13:09 CET 21 December 2024, please download the latest beta again.
EDIT:
If you have an error message at startup, open the portable.config file with a text editor, delete the line
<upd_reminder>...</upd_reminder>
and save the file.
ProWo
22nd December 2024, 13:42
Newest beta (v3.3.5.04), online now.
Added:
Audio volume detection result info.
Check for raw videostream adding in multiplex grid; it's blocked now (thx to Findu for the hint).
Settings button in select source grid; you can now change target folder and ffmpeg bin folder locations (thx to Findu for the hint).
Fixed:
Bug in update reminder.
Bug in wrong start position values automatic correction.
Lathe
23rd December 2024, 00:12
It's interesting, I was doing the full UHD movie 'STIR OF ECHOES' and I noticed that at the 200 nit setting it was coming out rather dark. So, just to try, I changed the nit setting to 150 and it came out beautifully!
I wonder why certain UHD movies with the default 200 setting come out just fine whereas occasionally a few others need to be set at either 150 or in one case 100?
GeoffreyA
23rd December 2024, 08:06
It's interesting, I was doing the full UHD movie 'STIR OF ECHOES' and I noticed that at the 200 nit setting it was coming out rather dark. So, just to try, I changed the nit setting to 150 and it came out beautifully!
I wonder why certain UHD movies with the default 200 setting come out just fine whereas occasionally a few others need to be set at either 150 or in one case 100?
Each film has a different average brightness, which, I think, leads to varying results. If possible, I recommend giving libplacebo in FFmpeg a try. It computes average brightness frame by frame, and the results are drastically better than the static NPL way of handling it.
Last week, after months of breaking my head, I converted all three "Lord of the Rings" and the results were truly excellent, beating, I think, even the official SDR versions in range of brightness and darkness. The brightness was spot on, and best of all, there's no NPL setting to fiddle with.
Lathe
23rd December 2024, 10:10
Each film has a different average brightness, which, I think, leads to varying results. If possible, I recommend giving libplacebo in FFmpeg a try. It computes average brightness frame by frame, and the results are drastically better than the static NPL way of handling it.
Last week, after months of breaking my head, I converted all three "Lord of the Rings" and the results were truly excellent, beating, I think, even the official SDR versions in range of brightness and darkness. The brightness was spot on, and best of all, there's no NPL setting to fiddle with.
Yes, I remember you talking about that and doing all that work to figure it out. But, without a nice, EASY interface like Clever (or Handbrake) I don't think I have the complex encoding knowhow to do that. I wouldn't mind trying it, but I have no idea where to start.
I can do very simple CMD line stuff and I can do very simple AVS stuff, but that's about it. The coding to do what you are talking about would probably be too complex for me to understand. But, I'm glad you figured it out, it would be kinda nice to be able to understand it though...
GeoffreyA
23rd December 2024, 13:32
I agree it would be a great help to many if Clever or Handbrake added libplacebo as a choice.
If you would like to give it a go, you can paste the following into a BAT file, place ffmpeg.exe in the same folder, and drag your UHD MKV onto the BAT file:
ffmpeg -init_hw_device vulkan -i %1 -map 0:v:0 -vf libplacebo=peak_detect=true:tonemapping=spline:gamut_mode=perceptual:w=1920:h=-1:downscaler=spline36:colorspace=bt709:color_trc=bt709:color_primaries=bt709:range=limited:format=yuv420p,sidedata=delete -c:v libx264 -profile:v high -level 4.1 -crf 18 TEST.mp4
ProWo
23rd December 2024, 14:29
Newest beta (v3.3.5.05), online now.
Added:
Output filename check with automatic rename.
Fixed:
Bug in cutted parts list reset.
Bug in cutting/muxing videos with hidden data streams (thx to Lexi for the hint).
Bug im mux maps handling.
Several small bugs.
Lathe
23rd December 2024, 23:16
I agree it would be a great help to many if Clever or Handbrake added libplacebo as a choice.
If you would like to give it a go, you can paste the following into a BAT file, place ffmpeg.exe in the same folder, and drag your UHD MKV onto the BAT file:
ffmpeg -init_hw_device vulkan -i %1 -map 0:v:0 -vf libplacebo=peak_detect=true:tonemapping=spline:gamut_mode=perceptual:w=1920:h=-1:downscaler=spline36:colorspace=bt709:color_trc=bt709:color_primaries=bt709:range=limited:format=yuv420p,sidedata=delete -c:v libx264 -profile:v high -level 4.1 -crf 18 TEST.mp4
Wow, thanks! Heh, I THINK I can do that... :) Awesome, I'll look forward to giving it a try.
So, is this kind of a 'Universal' script that I can apply to any UHD film? Are there parameters that I will need to adjust or change for any reason?
Thanks again Bro!
GeoffreyA
24th December 2024, 06:34
Wow, thanks! Heh, I THINK I can do that... :) Awesome, I'll look forward to giving it a try.
So, is this kind of a 'Universal' script that I can apply to any UHD film? Are there parameters that I will need to adjust or change for any reason?
Thanks again Bro!
No problem, brother.
It should work for any film. Note that the audio isn't handled, so you'll have to do that separately and mux it. (We can put that into the script, but from a quality point of view, I wouldn't because of FFmpeg's AAC encoder. But if you want, it's easy.)
It's going to encode the video with x264. You can adjust the CRF parameter for the quality-size tradeoff. Try 22 if 18 results in too big of a file. And this is just testing but if you're doing a permanent encode, add "-preset veryslow -tune film" after CRF.
Lathe
24th December 2024, 07:12
No problem, brother.
It should work for any film. Note that the audio isn't handled, so you'll have to do that separately and mux it. (We can put that into the script, but from a quality point of view, I wouldn't because of FFmpeg's AAC encoder. But if you want, it's easy.)
It's going to encode the video with x264. You can adjust the CRF parameter for the quality-size tradeoff. Try 22 if 18 results in too big of a file. And this is just testing but if you're doing a permanent encode, add "-preset veryslow -tune film" after CRF.
Yeah, that will be interesting, I've never tried this kind of script before and it does look fairly straightforward. I always mux the audio later anyway with TSMuxer, especially if I have to take a TrueHD audio file in an MKV container and use UsEac3to to create a TrueHD+AC3 file. So, I always just concentrate on the video by itself.
Oh, just an observation, but I find it interesting that when taking say a 65 Gig UHD file and depending of course on the film, many times I can get away with a CRF of 17 or even 16 and still render a Blu-ray compatible file around 12-18 Gigs or so. But, of course when a movie has perhaps a lot of grain or action, I have to raise that up to 19 or 20 sometimes so that it will fit on a Blu-ray after muxing the audio and allowing for the M2ts headroom.
In order to be Blu-ray compatible, I usually use the 'Medium' setting, and with Handbrake where you can add specific x264 parameters, I then tweak the Psychovisual, Trellis, and a couple of other settings a tad higher, but I don't know if you can do that with this script (that is the ONE thing I wish I could do with Clever FFMpeg... :))
Thanks again, I look forward to trying this!
GeoffreyA
24th December 2024, 08:41
Yeah, that will be interesting, I've never tried this kind of script before and it does look fairly straightforward. I always mux the audio later anyway with TSMuxer, especially if I have to take a TrueHD audio file in an MKV container and use UsEac3to to create a TrueHD+AC3 file. So, I always just concentrate on the video by itself.
Oh, just an observation, but I find it interesting that when taking say a 65 Gig UHD file and depending of course on the film, many times I can get away with a CRF of 17 or even 16 and still render a Blu-ray compatible file around 12-18 Gigs or so. But, of course when a movie has perhaps a lot of grain or action, I have to raise that up to 19 or 20 sometimes so that it will fit on a Blu-ray after muxing the audio and allowing for the M2ts headroom.
In order to be Blu-ray compatible, I usually use the 'Medium' setting, and with Handbrake where you can add specific x264 parameters, I then tweak the Psychovisual, Trellis, and a couple of other settings a tad higher, but I don't know if you can do that with this script (that is the ONE thing I wish I could do with Clever FFMpeg... :))
Thanks again, I look forward to trying this!
You've got a solid process. Indeed, for my part, I just encode for playing on the computer and TV, so Blu-ray compatability hasn't been on my mind. For the audio, I just downmix to stereo, normalise with EBU R128, which solves the classic soft-dialogue problem, encode with qaac, and use MP4Box to put it all together.
Yes! CRF can be a pain with heavy grain and other sorts of material. I'm struggling to get a decent size for Arrow's 1080p RoboCop, whose grain is a nightmare; and even Criterion/StudioCanal's 1080p Mulholland Drive is giving me a hard time, despite the grain being quite fine.
As for x264 parameters, yes, you can set them in the script. Look at the following reference and use a hyphen: for example, "-bluray-compat 1 -aq-mode 3 -aq-strength 0.8" or you can do it with "-x264-params bluray-compat=1:aq-mode=3:aq-strength=0.8" and so on. I'm not too sure about VBV settings for Blu-ray compatability, though.
https://ffmpeg.org/ffmpeg-codecs.html#libx264_002c-libx264rgb
Lathe
24th December 2024, 09:15
You've got a solid process. Indeed, for my part, I just encode for playing on the computer and TV, so Blu-ray compatability hasn't been on my mind. For the audio, I just downmix to stereo, normalise with EBU R128, which solves the classic soft-dialogue problem, encode with qaac, and use MP4Box to put it all together.
Yes! CRF can be a pain with heavy grain and other sorts of material. I'm struggling to get a decent size for Arrow's 1080p RoboCop, whose grain is a nightmare; and even Criterion/StudioCanal's 1080p Mulholland Drive is giving me a hard time, despite the grain being quite fine.
As for x264 parameters, yes, you can set them in the script. Look at the following reference and use a hyphen: for example, "-bluray-compat 1 -aq-mode 3 -aq-strength 0.8" or you can do it with "-x264-params bluray-compat=1:aq-mode=3:aq-strength=0.8" and so on. I'm not too sure about VBV settings for Blu-ray compatability, though.
https://ffmpeg.org/ffmpeg-codecs.html#libx264_002c-libx264rgb
Excellent, thanks!
ProWo
26th December 2024, 10:08
----------------------------------------------------------------------------------
December 26, 2024 release version 3.3.6.
----------------------------------------------------------------------------------
Added:
Automatic updater.
OS check for automatic/manual update.
Update reminder.
Audio volume detect result info.
Check to prevent the addition of raw video streams when multiplexing.
Settings button; you can see and change ffmpeg and target folder location, ffmpeg version info.
Outfile name check for already existing files and automatic rename.
Automatic file rename with stream extraction (request by Findu).
Fixed:
Bug in DVD-Rip.
Bug in DVD-Rip aborting (thx to Findu for the hint).
Bug in automatic start position correction with wrong values.
Bug in cutting/muxing videos with data streams (thx to Lexi for the hint).
Bug with mux maps.
Improved:
Code stability.
Changed:
FFmpeg version from start screen to settings.
Some cosmetics.
Output file destination (source or target folder) with button instead of checkbox.
----------------------------------------------------------------------------------
Lathe
26th December 2024, 11:12
Thanks Bro for all the hard work! https://lh3.googleusercontent.com/pw/AP1GczP_acttxFxsxDHaQZvU8S0KwkhLppEefBFtDgYWJrfj1xhuuaHZMgFVCWL1jAm6OQcD7970CQbcyu-J-UPq5bWk189v_AV4sMKMA7KsgYunR5b5VMYRhLsx_vaq8aXDJ1Yuz6KDOIoQ60d2kHqvxSwYhg=w25-h18-s-no-gm?authuser=0
ProWo
29th December 2024, 11:54
Newest beta (v3.3.6.01), online now.
(Changelog will follow in the next full release).
Lathe
30th December 2024, 01:02
Newest beta (v3.3.6.01), online now.
(Changelog will follow in the next full release).
I like that new 'Settings' button on the front, sharp!
ProWo
30th December 2024, 16:52
Newest beta (v3.3.6.02), online now.
(Changelog will follow in the next full release).
ProWo
2nd January 2025, 16:51
Newest beta (v3.3.6.03), online now.
(Changelog will follow in the next full release).
ProWo
4th January 2025, 18:05
Newest beta (v3.3.6.04), online now.
(Changelog will follow in the next full release).
ProWo
8th January 2025, 20:04
Newest beta (v3.3.6.05), online now.
(Changelog will follow in the next full release).
ProWo
10th January 2025, 16:23
Newest beta (v3.3.6.06), online now.
(Changelog will follow in the next full release).
ProWo
13th January 2025, 21:20
Newest beta (v3.3.6.07), online now.
(Changelog will follow in the next full release).
ProWo
15th January 2025, 13:52
----------------------------------------------------------------------------------
January 15, 2025 release version 3.3.7.
----------------------------------------------------------------------------------
Added:
Keep all cuts until joined or deleted in join grid.
Cut times info in join grid.
Add files button allows add multiple files now.
Check in reading BT_open.txt if the file exists.
Custom setting in audio length & pitch change presets.
File exists check for source video in main page grid.
Reading title from handler_name tag and delete it with muxing.
Drag video to program icon to start with it.
Attachment info in mux grid (with mkv container).
Multichannels extract/join from 2ch to 8ch (to/from pcm files).
Chapters are shown as stream now.
Video play button in chapters allows searching for chapter times.
Endtime reset to duration with endtime > duration in cut grid.
Fixed:
Bug with simple remux.
Bug in automatic output file renamer.
Bug with changing index in join grid.
Bug in sample multiplex.
Bug with crop (metadata only); only even values are admitted now.
Bug with missing success message after source-/added streams are muxed.
Bug with missing streams selection, opening mux grid.
Bug with double message in mux grid.
Bug with container selected and pcm codec with output file name.
Bug with progressbar in join grid (only ffmpeg line now).
Bug with chapters unchecked, opening extraction grid.
Bug with range setting with ffplay (search/preview) in cut section.
Bug in file naming with extract font.
Bug with missing success message in main page grid.
Bug in add chapters with starttime 0 (main page grid).
Bug with buttons locations in many help windows.
Bug with mux aborting.
Bug with single chunks duration in join grid.
Bug with chapters creation (wrong times) in join grid.
Bug with missing temp file deletion in join grid.
Improved:
Join grid.
Many little cosmetics and code improvements.
Changed:
Update check moved to settings.
No drag & drop in batch grid with more than 1 entry.
Fast start checked by default for mp4 and mov in mux grid.
Audio length & pitch change from textbox to presets.
Columns alignment to fit content in all grids.
Multiplex grid remains open as long as streams exists.
Muxed streams are removed from grid (from source and added too).
Mux attachments settings.
Select/deselect all streams behavior in various grids.
Batch/multiplex grid shows filnames without path now.
Default tag behavior in mux grid (unselected now).
Muxed streams label behavior in mux grid.
Removed:
Update reminder.
----------------------------------------------------------------------------------
ProWo
17th January 2025, 17:03
Newest beta (v3.3.7.01), online now.
(Changelog will follow in the next full release).
ProWo
20th January 2025, 10:52
Newest beta (v3.3.7.02), online now.
(Changelog will follow in the next full release).
ProWo
21st January 2025, 22:14
Newest beta (v3.3.7.03), online now.
(Changelog will follow in the next full release).
ProWo
26th January 2025, 13:43
Newest beta (v3.3.7.04), online now.
(Changelog will follow in the next full release).
ProWo
28th January 2025, 10:10
Newest beta (v3.3.7.05), online now.
(Changelog will follow in the next full release).
ProWo
29th January 2025, 16:15
Newest beta (v3.3.7.06), online now.
(Changelog will follow in the next full release).
Lathe
30th January 2025, 00:01
Wow! Somebody's been busy! :D
ProWo
5th February 2025, 17:21
Newest beta (v3.3.7.07), online now.
(Changelog will follow in the next full release).
jimbobub
10th February 2025, 20:01
Thanks for adding color range and having color space as a setting. Also appreciate having bright, saturation, contrast and gamma controls. As a request, having something such as nlmeans would be great.
ProWo
11th February 2025, 10:45
Thanks for adding color range and having color space as a setting. Also appreciate having bright, saturation, contrast and gamma controls. As a request, having something such as nlmeans would be great.
Will add it, with the choise between nlmeans or nlmeans_opencl.
Lathe
12th February 2025, 00:19
Will add it, with the choise between nlmeans or nlmeans_opencl.
Yeah, I sure wish I knew how to use all these great settings and what they did! I'm just barely getting the brightness and nits figured out... :D
ProWo
12th February 2025, 18:27
----------------------------------------------------------------------------------
February 12, 2025 release version 3.3.8.
----------------------------------------------------------------------------------
Added:
Check for negative values with crop.
Checks for even values in frame width and heigth and pad w+h.
Check for pad values >= frame values
Output to source folder info on all forms.
Ffplay help with video encoding preview.
Button on start screen to jump directly to the join grid.
IVTC added bwdif to pullup.
Deinterlacer selection with IVTC.
Preview windows width in settings.
Check for stream cut as batch 0 to prevent drag files.
Button to delete selected added files from join grid.
Disable Datagridviews showing during execution in related Forms.
Checkbox to retain DAR in video encoding.
Check for write permissions in the program folder (so that the configuration file can be written).
Column filename sortable now in mux grid.
Preview button on video encoding grid.
Dolby vision detection.
New audio filter cleverNorm (for center channel enhancement, thx to mannequin80 for the code).
Convert to greyscale filter in video encoding.
Automatic hidden update reminder any 15 days.
8 to 6 channel reduction with downmix options and new downmix filter cleverNorm.
DynAudNorm r and m parameter (targetrms and maximum gain factor).
Nlmeans denoise video filter (request by jimbobub).
Channels layout choice for mutichannels audio encoding.
3,4,5,7 channels audio encoding with suitable codecs.
Channel selection for DynAudNorm filter (parameter h).
Audio length change custom calculation from time.
Message on creating config file (first start only).
Info with missing write permissions (first start only).
Fixed:
Bug with erroneously adding framerate fix/change videos to processed files.
Bug in channel files check with join channels.
Bug with missing reset of burn in subtitle checkbox after cancel checkbox.
Bug with wrong help window in chapters video preview.
Bug in pad code.
Bug with missing extract button with audio channels extraction.
Bug with extracting already present channels.
Bug in video encoding preview with crop+resize+pad.
Bug with single channels file remove after joining success.
Bug in preview with unchanged resolution >1280.
Bug with capital extensions.
Bug with video preview help window in cut grid.
Bug in video preview size (chapters preview).
Gui bug with single channels and container selected.
Bug with aac_mf with unsupported frequencys.
Bug in video preview help.
Bug with flashing cursor in video preview help and chapters help
Bug with missing help screen on cut grid start.
Bug with wrong ffmpeg folder selected.
Bug with rounding values with keep source DAR in video encoding grid.
Bug dragging DVD chunk on source selection form.
Bug in muxing with strict parameter.
Bug with missing ffmpeg termination after errors.
Bug in audio channel reduction with pan filter.
Changed:
Renamed split tracks to split channels
Renamed join tracks to join channels.
IVTC uses bwdif instead yadif now.
Scale preview window width for smaller videos too.
IVTC filter with/without deinterlacing
Drag file to program icon code to start the program with this file.
Adding multiple files in batch grid permitted now (will get batch0 commandline).
Delete last cut mark instead delete all cut marks.
Preview in cut grid respects last cut mark.
Moved checkbox for calculator (change audio length and pitch).
New sorting for frequency.
Formatting in cut marks list.
Joined buttons to remove files from join grid.
Remaining streams are deselected after muxing.
Button instead of checkbox for remove last cut mark.
First start and position out of screen bounds is screen centered now.
Sorting of items for Various P-Level, various rotate, crop detect round.
Parameter values for DynAudNorm.
Audio channels sorting.
Hide "drag files" while batch executing.
----------------------------------------------------------------------------------
ProWo
14th February 2025, 18:08
Newest beta (v3.3.8.01), online now.
(Changelog will follow in the next full release).
ProWo
17th February 2025, 19:07
Newest beta (v3.3.8.02), online now.
(Changelog will follow in the next full release).
ProWo
20th February 2025, 11:32
Newest beta (v3.3.8.03), online now.
(Changelog will follow in the next full release).
ProWo
22nd February 2025, 14:22
Newest beta (v3.3.8.04), online now.
(Changelog will follow in the next full release).
ProWo
5th March 2025, 13:51
----------------------------------------------------------------------------------
March 05, 2025 release version 3.3.9.
----------------------------------------------------------------------------------
Added:
Choice to use ffplay or virtualdub for keyframe search in cut page.
Video preview adapted to a changed duration in video encoding section.
Time lapse in video encoding.
Preview for video properties filter.
DVD-rip: Test for protected DVDs.
Vobs can be joined now.
Update reminder on start page (background check 15 days after last manual check).
Video preview with tonemapping HDR to SRD.
Subtitle conversion: Stay open, last used codec is saved.
Fixed:
Bug with missing reset of nlmeans, unsharp, grey_scale filter.
Bug with audio channels select from/to single channel extract/join.
Bug with missing UTF-8 encoding in analyze_new_source.
Bug with missing audio filter cleverNorm for many channels.
Bug with changing target folder.
Bug with adding timelaps encodes/batchs to mux grid.
Bug with groupbox display in cut grid.
Bug with drag vob/dvd vob to program icon.
Bug with UTF-8 title metadata muxing.
Bug with missing chapter muxing (if video has offset).
Bug in join code (missing streams in output).
Bug in preview window settings saving.
Bug with chapters help remaining open with video preview.
Bug with audio delay in mux grid.
Bug in audio filter.
Bug with ttml subtitle batch.
Bug with missing -strict -2 parameter in muxing (thx to neptune84).
Changed:
Back to original DynAudNorm parameter values for cleverNorm (thx to manneguin80).
Video preview starts at 5% duration instead at 20 seconds.
Time lapse output naming.
New color now (yellow) for output to source folder.
Font segoeui.ttf instead of arialn.ttf for video preview overlays.
Scale calulation base for video preview (from width to height).
New audio delay code in mux grid.
Spectrogram, audio volume detection and ac3 patch moved to audio encoding page.
Video cropping moved to video encoding page.
Improved:
Dvd-rip code.
Join code.
Downmix to stereo (contains FC now).
----------------------------------------------------------------------------------
Special thanks to Findu for testing and many hints.
ProWo
6th March 2025, 13:39
Newest beta (v3.3.9.01), online now.
(Changelog will follow in the next full release).
ProWo
9th March 2025, 15:17
Newest beta (v3.3.9.02), online now.
(Changelog will follow in the next full release).
ProWo
16th March 2025, 13:54
Newest beta (v3.3.9.03), online now.
(Changelog will follow in the next full release).
ProWo
17th March 2025, 13:21
Newest beta (v3.3.9.04), online now.
(fixed bug with remnant test messagebox in audio encoding, thx to mannequin80 for the hint).
ProWo
18th March 2025, 16:05
Newest beta (v3.3.9.05), online now.
(Changelog will follow in the next full release)
ProWo
29th March 2025, 19:26
----------------------------------------------------------------------------------
March 29, 2025 release version 3.4.0.
----------------------------------------------------------------------------------
Added:
Check for missing ffmpeg folder.
Preview player stream selection for mutiple video streams.
Multiple videostreams handling in video cut.
Chapters: video preview for chapters time search.
Source dar/crop dar retainig info in video encode.
Additional scale for video preview for rotated videos to remain into screen bounds.
You can now change both values (width and height), if mantain display AR is checked.
Video preview for unfiltered HDR/HLG/DV content. (Display can remain blocked with older CPU's).
Fixed:
Bug with missing crop reset at videostream change.
Bug with missing info box in subtitle conversion.
Bug with missing stream update with multiple videostreams in video encoding.
Bug with labels top right truncated.
Bugs with volume and downmix in audio encoding.
Bug with aac_mf and 3,4,5,7 channels (not working).
Bug with audio channels remapping.
Bug with DAR adaption on video stream change.
Bug with duration adaption on video stream change.
Bug with test messagebox in audio encoding.
Bug with ac3 drc box handling in audio encoding.
Bug in cut section with single videostream id > 0.
Bug in cut section with audiostream only.
Bug with missing reset of subtitle streams (if more then one).
Bug in video rotate preview.
Bug with missing temp files deletion, if change framerate was aborted.
Bug with wrong start at second value for video preview, with long videos.
Changed:
Audio filter code.
Audio downmix code.
Audio encode code.
Settings & Update.
Removed update reminder label.
Moved: video crop to filter & more.
Restored possibility to mux a single stream.
Help screens separated.
Formatting of Cut help, VirtualDub Help and Video preview help screens.
Restored audio channels from source as first selection.
Frames to encode count in cut section.
Fix framerate and rotate video (MD only) values not changeable now.
Enabled channel remap from 1 channel to 2 channels now.
Output container to mkv for mpg and dat videos in cut section (to prevent the ffmpeg mpg muxer issue).
Rewritten whole preview code to stay within the screen bounds.
----------------------------------------------------------------------------------
ProWo
2nd April 2025, 13:25
Newest beta (v3.4.0.01), online now.
(Changelog will follow in the next full release).
Lathe
2nd April 2025, 23:59
----------------------------------------------------------------------------------
March 29, 2025 release version 3.4.0.
----------------------------------------------------------------------------------
Added:
Check for missing ffmpeg folder.
Preview player stream selection for mutiple video streams.
Multiple videostreams handling in video cut.
Chapters: video preview for chapters time search.
Source dar/crop dar retainig info in video encode.
Additional scale for video preview for rotated videos to remain into screen bounds.
You can now change both values (width and height), if mantain display AR is checked.
Video preview for unfiltered HDR/HLG/DV content. (Display can remain blocked with older CPU's).
Fixed:
Bug with missing crop reset at videostream change.
Bug with missing info box in subtitle conversion.
Bug with missing stream update with multiple videostreams in video encoding.
Bug with labels top right truncated.
Bugs with volume and downmix in audio encoding.
Bug with aac_mf and 3,4,5,7 channels (not working).
Bug with audio channels remapping.
Bug with DAR adaption on video stream change.
Bug with duration adaption on video stream change.
Bug with test messagebox in audio encoding.
Bug with ac3 drc box handling in audio encoding.
Bug in cut section with single videostream id > 0.
Bug in cut section with audiostream only.
Bug with missing reset of subtitle streams (if more then one).
Bug in video rotate preview.
Bug with missing temp files deletion, if change framerate was aborted.
Bug with wrong start at second value for video preview, with long videos.
Changed:
Audio filter code.
Audio downmix code.
Audio encode code.
Settings & Update.
Removed update reminder label.
Moved: video crop to filter & more.
Restored possibility to mux a single stream.
Help screens separated.
Formatting of Cut help, VirtualDub Help and Video preview help screens.
Restored audio channels from source as first selection.
Frames to encode count in cut section.
Fix framerate and rotate video (MD only) values not changeable now.
Enabled channel remap from 1 channel to 2 channels now.
Output container to mkv for mpg and dat videos in cut section (to prevent the ffmpeg mpg muxer issue).
Rewritten whole preview code to stay within the screen bounds.
----------------------------------------------------------------------------------
WOW! Someone's been busy! Thanks mate! :D
Lathe
3rd April 2025, 00:00
Oh, I'm sorry to ask again, but do we still only need to replace the .exe in the current folder?
Thanks!
ProWo
3rd April 2025, 06:02
Oh, I'm sorry to ask again, but do we still only need to replace the .exe in the current folder?
Thanks!
Yes. But use the update button so it's done automatically.
ProWo
15th April 2025, 12:36
Newest beta (v3.4.0.02), online now.
(Changelog will follow in the next full release).
ProWo
20th April 2025, 17:04
Newest beta (v3.4.0.03), online now.
(Changelog will follow in the next full release).
ProWo
29th April 2025, 15:56
Newest beta (v3.4.0.04), online now.
(Changelog will follow in the next full release).
----------------------------------------------------------------------------------
May 02, 2025 release version 3.4.1.
----------------------------------------------------------------------------------
Added:
Presets for change length and pitch with audio file only.
Attachment recognition with mjpeg as video.
cleverNorm max gain option.
Possibility to delete unused processed files and batch tasks at program start and close.
Unused files list at app start and end.
Checks for missing ffmpeg files and for missing target folder.
Fixed:
Bug with update routine.
Bug with cut_help screen missing on cut start.
Bug with missing file deletion if video sample encoding is aborted.
Bug with video preview and encoding using LUT's.
Bug with wrong attachment button behavior in mux section.
Bug with attachments extraction (mjpeg, png).
Bug in audio length & pitch custom calculator.
Bug with setting negative audiodelay, if related source stream has positive delay (thx to edwardwoeful for the hint).
Changed:
Cut help screen formatting.
Clear selected streams (instead of Del_PS and Del_BS) in mux section (without touching the files).
Selection control direction when setting subtitle to burn in.
Remove muxed streams from mux grid.
Only one check for update admitted now.
Removed:
clevernorm option from downmix options.
----------------------------------------------------------------------------------
Special thanks to Findu for continuous testing. :)
Newest beta (v3.4.1.01), online now.
(Changelog will follow in the next full release).
ProWo
23rd May 2025, 12:41
Newest beta (v3.4.1.02), online now.
(Changelog will follow in the next full release).
ProWo
3rd June 2025, 16:36
----------------------------------------------------------------------------------
June 03, 2025 release version 3.4.2.
----------------------------------------------------------------------------------
Added:
Join possibility for audio files.
Option to add cuts to join list.
Multiplex button on start screen.
Change colorspace without reencoding (for h264 and hevc streams).
cleverNorm filter (with 8 to 6ch).
Compress parameter for dynaudnorm filter.
Automatic language recognition from subtitle/audio filename in mux grid.
- The language code must be embedded in brackets, g.e {eng}; admitted brackets are {[( -
Automatic language code (if present) insertion in filename with stream extraction, audio and subtitle conversion.
Fixed:
Bug with missing cut/to batch button for audio files only, in cut section.
Bug with error scan option, not working.
Bug with videostream extraction mantaining video offset (wrong behaviour).
Bug with aborting tasks (not closing ffmpeg.exe).
Bug with source audio stream frequency, not showed.
Bug with non return to start screen from mux grid, if there is no inputfile.
Bugs with audio downmix formula (for 8 to 6ch).
Bug with error if clicking on columns header in multiplex grid. (thx to VideoAI for the hint).
Bug with audio downmix channels.
Changed:
Pixelformat "auto" to "Like source".
Cosmetics on Audio- & Video encoding page.
Stream/select stream to stream index
NumericUpDown instead Textbox for closed caption index selection.
Unused processed files and batches, answer yes to mantain them, no to delete them.
Hide progressbar for Step2 + 3 (change framerate).
Simple remux option available only with streams from the same sourcefile.
Improved:
Crop use help screen.
Cosmetics with DVD rip.
Finetunig on audio downmix formulas.
----------------------------------------------------------------------------------
ProWo
10th June 2025, 09:46
Newest beta (v3.4.2.01), online now.
(Changelog will follow in the next full release).
Lathe
10th June 2025, 22:11
----------------------------------------------------------------------------------
June 03, 2025 release version 3.4.2.
----------------------------------------------------------------------------------
Added:
Join possibility for audio files.
Option to add cuts to join list.
Multiplex button on start screen.
Change colorspace without reencoding (for h264 and hevc streams).
cleverNorm filter (with 8 to 6ch).
Compress parameter for dynaudnorm filter.
Automatic language recognition from subtitle/audio filename in mux grid.
- The language code must be embedded in brackets, g.e {eng}; admitted brackets are {[( -
Automatic language code (if present) insertion in filename with stream extraction, audio and subtitle conversion.
Fixed:
Bug with missing cut/to batch button for audio files only, in cut section.
Bug with error scan option, not working.
Bug with videostream extraction mantaining video offset (wrong behaviour).
Bug with aborting tasks (not closing ffmpeg.exe).
Bug with source audio stream frequency, not showed.
Bug with non return to start screen from mux grid, if there is no inputfile.
Bugs with audio downmix formula (for 8 to 6ch).
Bug with error if clicking on columns header in multiplex grid. (thx to VideoAI for the hint).
Bug with audio downmix channels.
Changed:
Pixelformat "auto" to "Like source".
Cosmetics on Audio- & Video encoding page.
Stream/select stream to stream index
NumericUpDown instead Textbox for closed caption index selection.
Unused processed files and batches, answer yes to mantain them, no to delete them.
Hide progressbar for Step2 + 3 (change framerate).
Simple remux option available only with streams from the same sourcefile.
Improved:
Crop use help screen.
Cosmetics with DVD rip.
Finetunig on audio downmix formulas.
----------------------------------------------------------------------------------
Please forgive my ignorance, but to be totally ignorant, how can you change the colourspace without reencoding? You mean converting from HDR to SDR? Usually, I am also converting to 1080, so I know I would have to reencode anyway, but how do you do that with the colourspace without reencoding...?
Thanks for all the great work Bro!
ProWo
12th June 2025, 12:35
Please forgive my ignorance, but to be totally ignorant, how can you change the colourspace without reencoding? You mean converting from HDR to SDR? Usually, I am also converting to 1080, so I know I would have to reencode anyway, but how do you do that with the colourspace without reencoding...?
Thanks for all the great work Bro!
No HDR to SDR, this function changes the colorspace tags and the colorspace stream info too.
It is mainly intended to correct incorrect/unknown colorspace information.
Lathe
12th June 2025, 22:37
No HDR to SDR, this function changes the colorspace tags and the colorspace stream info too.
It is mainly intended to correct incorrect/unknown colorspace information.
Ah, gotcha, thanks!
Lathe
15th June 2025, 03:29
I'm trying to figure out how to add AVS script, but I can't seem to be able to do it. I know you already have settings for the contrast, brightness, and such, but I'd like to change the hue to a movie that has a lot of yellow in it and try to shift it a bit more to the blue spectrum. I made a txt file with the simple 'Tweak' function, but I don't see a way actually to load that script into Clever FFMpeg in any way. It just says 'Test' or 'Edit' I even found a Virtualdub exe, but it is super confusing.
I have NO bloody idea exactly what I should choose to change the hue, but I'm just trying a script guessing at this one:
Tweak(sat=0.75, startHue=250, endHue=330)
But, I see no clear way to 'Load' or actually preview the script in any way. Any suggestions please on what I should do if I want to add AVS script, and specifically how I should set the parameters to shift the colour of the movie a bit more to Blue?
Here is a shot from the original m2ts file. I did set the contrast to +.08 and bumped up the saturation a little and that really did look better, but I would LIKE also to shift the color away from that yellow to perhaps more towards Blue:
https://lh3.googleusercontent.com/pw/AP1GczNZQ8VyVB_IVmiUJnUFoK0FShOItLa0-lehgfgGDLiN48Pgu3AFqk2AbA3TlpA2iZa7i1mIV6QivP7qFGtebqU7EYt9Cs6_5tAgN90vq3wJgNvkYnJhNH0TWYysshGTiIivP1p2feD09QI1EqxjGn_W3g=w1048-h570-s-no-gm?authuser=0
Z2697
15th June 2025, 15:23
I'm trying to figure out how to add AVS script, but I can't seem to be able to do it. I know you already have settings for the contrast, brightness, and such, but I'd like to change the hue to a movie that has a lot of yellow in it and try to shift it a bit more to the blue spectrum. I made a txt file with the simple 'Tweak' function, but I don't see a way actually to load that script into Clever FFMpeg in any way. It just says 'Test' or 'Edit' I even found a Virtualdub exe, but it is super confusing.
I have NO bloody idea exactly what I should choose to change the hue, but I'm just trying a script guessing at this one:
Tweak(sat=0.75, startHue=250, endHue=330)
But, I see no clear way to 'Load' or actually preview the script in any way. Any suggestions please on what I should do if I want to add AVS script, and specifically how I should set the parameters to shift the colour of the movie a bit more to Blue?
Here is a shot from the original m2ts file. I did set the contrast to +.08 and bumped up the saturation a little and that really did look better, but I would LIKE also to shift the color away from that yellow to perhaps more towards Blue:
https://lh3.googleusercontent.com/pw/AP1GczNZQ8VyVB_IVmiUJnUFoK0FShOItLa0-lehgfgGDLiN48Pgu3AFqk2AbA3TlpA2iZa7i1mIV6QivP7qFGtebqU7EYt9Cs6_5tAgN90vq3wJgNvkYnJhNH0TWYysshGTiIivP1p2feD09QI1EqxjGn_W3g=w1048-h570-s-no-gm?authuser=0
If your FFmpeg is built with Avisynth support it shoule be able to just open the script as input.
ProWo
15th June 2025, 16:15
I'm trying to figure out how to add AVS script, but I can't seem to be able to do it. I know you already have settings for the contrast, brightness, and such, but I'd like to change the hue to a movie that has a lot of yellow in it and try to shift it a bit more to the blue spectrum. I made a txt file with the simple 'Tweak' function, but I don't see a way actually to load that script into Clever FFMpeg in any way. It just says 'Test' or 'Edit' I even found a Virtualdub exe, but it is super confusing.
I have NO bloody idea exactly what I should choose to change the hue, but I'm just trying a script guessing at this one:
Tweak(sat=0.75, startHue=250, endHue=330)
Start clever FFmpeg-GUI, load your video, click encode videostream, click various, click use Avisynth, click create script, click edit script.
Enter all your avisynth filters and choices you like, then save the file.
You can preview the result with test script.
If it's fine for you, click encode.
ProWo
15th June 2025, 16:18
Newest beta (v3.4.2.02), online now.
(Changelog will follow in the next full release).
With this version changes the update function.
Lathe
16th June 2025, 00:41
Start clever FFmpeg-GUI, load your video, click encode videostream, click various, click use Avisynth, click create script, click edit script.
Enter all your avisynth filters and choices you like, then save the file.
You can preview the result with test script.
If it's fine for you, click encode.
Thanks! I thought I did that like you said, but when I chose Create Script, or maybe after I chose Edit Script, nothing showed, or it looked for a txt file somewhere that already existed. I tried creating the script I mentioned above, but it didn't look like it either provided me with an interface to create a script or allow me to navigate to the file I created. It just sits there and I THINK at that point it just locks up if I choose Test Script. I'll try again though, thank you!
I'm thinking that perhaps when one chooses Create Script, IF an interface then popped up with a blank field so you could simply write your script and when completed, simply allow you to Save script, and then Test script. But, the way it is now, at least to me, the navigation is confusing.
ProWo
17th June 2025, 07:59
Newest beta (v3.4.2.03), online now.
(Changelog will follow in the next full release).
ProWo
17th June 2025, 08:14
Thanks! I thought I did that like you said, but when I chose Create Script, or maybe after I chose Edit Script, nothing showed, or it looked for a txt file somewhere that already existed.
To edit the script you need a text editor like notepad or notepad++.
To test the script you need virtualdub2.
Both programs must be registered in the settings of clever FFmpeg-GUI.
(Start page, Settings & Update, >>>)
Lathe
17th June 2025, 08:50
To edit the script you need a text editor like notepad or notepad++.
To test the script you need virtualdub2.
Both programs must be registered in the settings of clever FFmpeg-GUI.
(Start page, Settings & Update, >>>)
Thanks mate, I'll give it a go! I did have notepad open and I did navigate to VirtualDub64, but I'll try again.
ProWo
28th June 2025, 10:00
----------------------------------------------------------------------------------
June 28, 2025 release version 3.4.3.
----------------------------------------------------------------------------------
Added:
Check for wrong paths with assist apps (text editor, virtualdub).
Frame accurate cutting with smart rendering (for h264 in mp4/mov/mkv/avi atm).
Hide/show selected streams in mux grid.
Stay open checkbox in mux grid.
Input limitations for idx field in mux/batch grid.
Output destination setting is saved now.
Check for cd_rom drive (to avoid wrong destination selection).
Select/deselect all streams of type, clicking on it's field (upper right) in mux grid.
Create/add chapters for mux audiofile only.
Input limitation for start time textbox in video crop (now numbers only).
Fixed:
Bug with cut/to batch buttons in cut grid.
Bug in caption index (allowed range from -1 to 1)(thx to Findu for the hint).
Bug with closing X (removed now) in ISO language code help (thx to Findu for the hint).
Bug in raw video extraction with mpeg2video codec.
Bug with new encode length with frame accurate cutting.
Bug with preview length with frame accurate cutting.
Bug with missing aborted reset and closing to batch action in audio encoding.
Bug with missing handler remove in mux grid.
Bug with create chapers file.
Bug with end time <= start keyframe time in cut grid.
Bug with source avs file beeing deleted.
Bug in video preview in chapters form.
Bug in videostream reference for chapters in mux form.
Bug with chapters help window position.
Bug with missing simple remux checkbox in mux grid.
Bug with selected input_file ID and idx in mux grid/chapters (thx to Findu for the hint).
Bug with select/deselect streams of type in mux grid.
Bug in video crop start time selection (thx to VideoAI for the hint).
Bug with source folder value in first start window.
Bug with toggle keep duration checkbox with FPS value missing in video encoding (thx to VideoAI for the hint).
Bug with shortest videos (g.e. 3 sec) and empty start time box in video crop (thx to VideoAI for the hint).
Bug with updater.
Bug with processed/cut files reminder (thx to Findu for the hint).
Changed:
Language code from filename recognition to standard naming convention.
Streams handling in mux grid.
Task completed label instead of message box in mux grid.
Remove muxed streams handling.
Sample handling in mux grid.
Simple remux handling.
Hide streams instead of clear streams (no stream files are deleted now) in mux grid.
Cut help (added frame accurate cut info).
Only first readed file in muxgrid is automatically checked.
Audio delay math in mux grid.
None/all affects only visible streams in mux grid now.
App update.
Moved chapters section from main page to mux grid.
HDR Label on all interested sections now.
Removed reminder for open tasks and unused files on app start/closing.
Start behaviour with open tasks and unused processed streams (will appear in the interested sections now).
Success label instead message box in audio encoding section.
Muxed processed files or joined cut files are removed after successfull action.
Check for unused processed/cut files after leaving mux grid/join grid.
Start time and increment for shortest videos in video crop section.
Improved:
Mux grid.
Language code handling in mux grid.
Chapters help.
Chapters handling.
----------------------------------------------------------------------------------
Please note:
As of this release, I will no longer make announcements for the last nightly.
Just use the update function regularly.
Lathe
28th June 2025, 23:16
----------------------------------------------------------------------------------
June 28, 2025 release version 3.4.3.
----------------------------------------------------------------------------------
Added:
Check for wrong paths with assist apps (text editor, virtualdub).
Frame accurate cutting with smart rendering (for h264 in mp4/mov/mkv/avi atm).
Hide/show selected streams in mux grid.
Stay open checkbox in mux grid.
Input limitations for idx field in mux/batch grid.
Output destination setting is saved now.
Check for cd_rom drive (to avoid wrong destination selection).
Select/deselect all streams of type, clicking on it's field (upper right) in mux grid.
Create/add chapters for mux audiofile only.
Input limitation for start time textbox in video crop (now numbers only).
Fixed:
Bug with cut/to batch buttons in cut grid.
Bug in caption index (allowed range from -1 to 1)(thx to Findu for the hint).
Bug with closing X (removed now) in ISO language code help (thx to Findu for the hint).
Bug in raw video extraction with mpeg2video codec.
Bug with new encode length with frame accurate cutting.
Bug with preview length with frame accurate cutting.
Bug with missing aborted reset and closing to batch action in audio encoding.
Bug with missing handler remove in mux grid.
Bug with create chapers file.
Bug with end time <= start keyframe time in cut grid.
Bug with source avs file beeing deleted.
Bug in video preview in chapters form.
Bug in videostream reference for chapters in mux form.
Bug with chapters help window position.
Bug with missing simple remux checkbox in mux grid.
Bug with selected input_file ID and idx in mux grid/chapters (thx to Findu for the hint).
Bug with select/deselect streams of type in mux grid.
Bug in video crop start time selection (thx to VideoAI for the hint).
Bug with source folder value in first start window.
Bug with toggle keep duration checkbox with FPS value missing in video encoding (thx to VideoAI for the hint).
Bug with shortest videos (g.e. 3 sec) and empty start time box in video crop (thx to VideoAI for the hint).
Bug with updater.
Bug with processed/cut files reminder (thx to Findu for the hint).
Changed:
Language code from filename recognition to standard naming convention.
Streams handling in mux grid.
Task completed label instead of message box in mux grid.
Remove muxed streams handling.
Sample handling in mux grid.
Simple remux handling.
Hide streams instead of clear streams (no stream files are deleted now) in mux grid.
Cut help (added frame accurate cut info).
Only first readed file in muxgrid is automatically checked.
Audio delay math in mux grid.
None/all affects only visible streams in mux grid now.
App update.
Moved chapters section from main page to mux grid.
HDR Label on all interested sections now.
Removed reminder for open tasks and unused files on app start/closing.
Start behaviour with open tasks and unused processed streams (will appear in the interested sections now).
Success label instead message box in audio encoding section.
Muxed processed files or joined cut files are removed after successfull action.
Check for unused processed/cut files after leaving mux grid/join grid.
Start time and increment for shortest videos in video crop section.
Improved:
Mux grid.
Language code handling in mux grid.
Chapters help.
Chapters handling.
----------------------------------------------------------------------------------
Please note:
As of this release, I will no longer make announcements for the last nightly.
Just use the update function regularly.
Thank you!
ProWo
28th July 2025, 10:37
----------------------------------------------------------------------------------
July 28, 2025 release version 3.4.4.
----------------------------------------------------------------------------------
Added:
Batch scan for errors.
Input check for idx field in join grid (numbers only).
Stay open memorized for video encoding, audio encoding, subtitle conversion, muxing.
Hardware acceleration decoding for batch scan for errors.
Rows limit to 9999 in batch/mux/join grids.
Adding folders prevented for batch/mux/join grid.
Hardware acceleration setting memozired for batch scan for errors.
New button colors to show that underlying grids contains elements.
Missing frequencys for audio codes.
hev1 for HDR recognition.
Change colorspace for prores codec.
Video-Bitrate info (if any).
Audiostream selection in preview (in case of multiple audios).
Clear grid after muxing option in mux grid.
Fixed:
Bug with to batch button missing after action and stay open checked.
Bug with missing no_analysis reset.
Bug with normal scan for erros.
Bug with destination folder (if to source is selected) in join grid.
Bug with "To batch" button remaining visible after clicking change (for change video DAR).
Bug in powersaveoff with partial batch task executing.
Bug with unused files in join grid.
Bug with missing opus frequencys.
Bug with resizable columns in grids (now prevented).
Bug in IVTC filterchain.
Bug with missing multiplex button with file can not be analyzed in start screen.
Bug with missing simple remux checkbox in mux grid.
Bug with missing quit button in start form, if no file is loaded.
Bug with filename handling in mux grid.
Bug with first file name check in mux grid.
Bug with shortest filename and first file check in mux grid.
Bug in save grid settings exiting batch tasks grid.
Bug with raw video renamed to mp4 file in start grid.
Bug with scan type variable.
Typo and wrong tooltip.
Bug with success label not cleared in mux grid.
Changed:
Save various variables handling.
Output file name generation (now it takes name from 1st selected stream/file) in join/mux grid.
Mux grid: hidden streams remains hidden now.
Autosize title column to fit content in mux grid
Errors descriptions with chapters.
Output filename check.
Input file extension check in join grid.
Hide settings with update options visible., added hev1 for HDR recognition
clevernorm filter m parameter range 1-20 now.
Start position handling.
Stream selection handling in mux grid.
First file name recognition in mux grid.
Change framerate without re-encoding (should work with all codecs now)
DNxHD and DNxHR encoding behavior.
fixed: bug with scan_type variable
Output file naming in mux grid.
----------------------------------------------------------------------------------
Lathe
28th July 2025, 22:34
----------------------------------------------------------------------------------
July 28, 2025 release version 3.4.4.
----------------------------------------------------------------------------------
Added:
Batch scan for errors.
Input check for idx field in join grid (numbers only).
Stay open memorized for video encoding, audio encoding, subtitle conversion, muxing.
Hardware acceleration decoding for batch scan for errors.
Rows limit to 9999 in batch/mux/join grids.
Adding folders prevented for batch/mux/join grid.
Hardware acceleration setting memozired for batch scan for errors.
New button colors to show that underlying grids contains elements.
Missing frequencys for audio codes.
hev1 for HDR recognition.
Change colorspace for prores codec.
Video-Bitrate info (if any).
Audiostream selection in preview (in case of multiple audios).
Clear grid after muxing option in mux grid.
Fixed:
Bug with to batch button missing after action and stay open checked.
Bug with missing no_analysis reset.
Bug with normal scan for erros.
Bug with destination folder (if to source is selected) in join grid.
Bug with "To batch" button remaining visible after clicking change (for change video DAR).
Bug in powersaveoff with partial batch task executing.
Bug with unused files in join grid.
Bug with missing opus frequencys.
Bug with resizable columns in grids (now prevented).
Bug in IVTC filterchain.
Bug with missing multiplex button with file can not be analyzed in start screen.
Bug with missing simple remux checkbox in mux grid.
Bug with missing quit button in start form, if no file is loaded.
Bug with filename handling in mux grid.
Bug with first file name check in mux grid.
Bug with shortest filename and first file check in mux grid.
Bug in save grid settings exiting batch tasks grid.
Bug with raw video renamed to mp4 file in start grid.
Bug with scan type variable.
Typo and wrong tooltip.
Bug with success label not cleared in mux grid.
Changed:
Save various variables handling.
Output file name generation (now it takes name from 1st selected stream/file) in join/mux grid.
Mux grid: hidden streams remains hidden now.
Autosize title column to fit content in mux grid
Errors descriptions with chapters.
Output filename check.
Input file extension check in join grid.
Hide settings with update options visible., added hev1 for HDR recognition
clevernorm filter m parameter range 1-20 now.
Start position handling.
Stream selection handling in mux grid.
First file name recognition in mux grid.
Change framerate without re-encoding (should work with all codecs now)
DNxHD and DNxHR encoding behavior.
fixed: bug with scan_type variable
Output file naming in mux grid.
----------------------------------------------------------------------------------
Somebody's been working hard, thank you Sir! :thanks:
ProWo
21st August 2025, 13:44
----------------------------------------------------------------------------------
August 21, 2025 release version 3.4.5.
----------------------------------------------------------------------------------
Added:
Codecs mp3_mf, vp9_qsv, av1_qsv.
Batch 0 commandline is shown if you hoover over its action cell with the mouse (batch tasks).
All streams checkbox: Video encoding can be done including all streams now.
Mux whole grid option: If checked, the whole grid is muxed by filename, on by one, in one go.
Background error check for encoder issues while encoding.
Background test for defective batch tasks.
Background check for needed dll existence.
Check for adding processed audio stream to mux list (with single audio file).
App backup & restore (in Settings & more).
Background check for update (after clicking on Settings & more).
Fixed:
Bug in save settings.
Bug in grid clearing (batch tasks).
Bug with save position.
Bug with not working output filename change after muxing.
Bug with return/main page button in join grid.
Bug with missing av1-svt parameters.
Bug in batch screen aborting.
Bug with first name check in mux grid.
Bug with missing main page button.
Bug with mux whole grid abort.
Bug with form position on update.
Bug with longer profile & level info in change level.
Bug with missing drag & drop in batch tasks.
Bug with mpeg2_qsv parameters.
Bug with reading format title in mux grid.
Bug with missing output with importing cuts in join grid.
Bug with taskbar icon missing handle.
Bug with missing ffmpeg commandline in audio encoding.
Bug with missing source file info after join/mux grid in source window.
Bug in updater.
Bug in batch task closing.
Bug with mouse enter before grid is filled (batch tasks).
Bug with decimal point problems in conversions.
Bug with missing settings memorization (with X closing).
Bug with mp3_mf settings.
Bug with output path (to source, with mux whole grid).
Bug with output to source path (with adding new files in batch tasks).
Bug with error detection in video encoding (wrong keyword).
Bug with activating mux button color change.
Changed:
Jump to remap with channels number increase without remapping
Channels layouts descriptions.
Success lable behavior (with timer now).
Video encoding with all streams uses input extension for output (as batch too).
Hide progressbar if actual time/duration is missing.
Mux grid: stream selection all to first.
Unused processed files handling.
Toggle destination button on start screen.
Start code.
Saved audio bitrate is used now.
Output destination info on all screens.
Grid initialization in batch tasks, streams extraction, mux, join.
Stream titles are writte to mov now.
Made form uvmovable for crop and chapters.
Update behavior.
Removed:
General errors check during encoding.
Sample mux from mux grid (not very useful).
p010le, dxva2vld, d3d11va pixelformats (for h264_amf and hevc_amf).
Improved:
Mux grid behavior.
----------------------------------------------------------------------------------
From now on, nightlys will only contain the program executable.
Lathe
21st August 2025, 22:38
----------------------------------------------------------------------------------
August 21, 2025 release version 3.4.5.
----------------------------------------------------------------------------------
Added:
Codecs mp3_mf, vp9_qsv, av1_qsv.
Batch 0 commandline is shown if you hoover over its action cell with the mouse (batch tasks).
All streams checkbox: Video encoding can be done including all streams now.
Mux whole grid option: If checked, the whole grid is muxed by filename, on by one, in one go.
Background error check for encoder issues while encoding.
Background test for defective batch tasks.
Background check for needed dll existence.
Check for adding processed audio stream to mux list (with single audio file).
App backup & restore (in Settings & more).
Background check for update (after clicking on Settings & more).
Fixed:
Bug in save settings.
Bug in grid clearing (batch tasks).
Bug with save position.
Bug with not working output filename change after muxing.
Bug with return/main page button in join grid.
Bug with missing av1-svt parameters.
Bug in batch screen aborting.
Bug with first name check in mux grid.
Bug with missing main page button.
Bug with mux whole grid abort.
Bug with form position on update.
Bug with longer profile & level info in change level.
Bug with missing drag & drop in batch tasks.
Bug with mpeg2_qsv parameters.
Bug with reading format title in mux grid.
Bug with missing output with importing cuts in join grid.
Bug with taskbar icon missing handle.
Bug with missing ffmpeg commandline in audio encoding.
Bug with missing source file info after join/mux grid in source window.
Bug in updater.
Bug in batch task closing.
Bug with mouse enter before grid is filled (batch tasks).
Bug with decimal point problems in conversions.
Bug with missing settings memorization (with X closing).
Bug with mp3_mf settings.
Bug with output path (to source, with mux whole grid).
Bug with output to source path (with adding new files in batch tasks).
Bug with error detection in video encoding (wrong keyword).
Bug with activating mux button color change.
Changed:
Jump to remap with channels number increase without remapping
Channels layouts descriptions.
Success lable behavior (with timer now).
Video encoding with all streams uses input extension for output (as batch too).
Hide progressbar if actual time/duration is missing.
Mux grid: stream selection all to first.
Unused processed files handling.
Toggle destination button on start screen.
Start code.
Saved audio bitrate is used now.
Output destination info on all screens.
Grid initialization in batch tasks, streams extraction, mux, join.
Stream titles are writte to mov now.
Made form uvmovable for crop and chapters.
Update behavior.
Removed:
General errors check during encoding.
Sample mux from mux grid (not very useful).
p010le, dxva2vld, d3d11va pixelformats (for h264_amf and hevc_amf).
Improved:
Mux grid behavior.
----------------------------------------------------------------------------------
From now on, nightlys will only contain the program executable.
Thanks Bro!
One thing though... I tried to update the FFMpeg through the program and I got an error message that 2 dlls are missing and when I hit 'Okay' the program terminates. Now when I start the program it keeps opening to that error prompt and all I can do now is hit 'Okay' and terminate the program. So, it is kind of stuck in a loop now where I cannot use the program.
I think what I will do is simply download the entire new update and start over with that, I'm thinking that should work...
But, I thought you should know about that closed loop error where after it shows you cannot use the program anymore.
john33
22nd August 2025, 08:24
Same here. Fresh download fixes it.
ProWo
22nd August 2025, 21:00
This is intended, because without the dll's the program can't work.
As the message says, download the release (v3.4.5), extract all files and restart.
The last nightlys contain the exe only.
Lathe
23rd August 2025, 00:05
This is intended, because without the dll's the program can't work.
As the message says, download the release (v3.4.5), extract all files and restart.
The last nightlys contain the exe only.
:thanks:
Lathe
24th August 2025, 02:59
I don't know what I'm doing wrong (what else is new...?) But, I'm trying to add AVS before encoding. I'm doing my usual HDR-SDR to 1080 encode from UHD-HD. But, when I click on Avisynth and 'Add Script', I create the script which your program has kindly provided the basic template. I simply put 'add borders (60,0,60,0) because apparently the UHD file is a 1.67 AR and MediaInfo shows the resolution to be 3600x2160, I simply want it to be fully Blu-ray compliant with a full 1920x1080 AR as it should be (Don't know why the UHD file doesn't already have the Black Bars on the sides making it compliant?) But... when I add the script the program completely freezes up and I have to close it.
Am I don't something wrong in the few, simple steps to add AVS script (in this case to add borders to the sides to make it Blu-ray compliant?)
Thanks!
ProWo
24th August 2025, 07:05
I simply put 'add borders (60,0,60,0) because apparently the UHD file is a 1.67 AR and MediaInfo shows the resolution to be 3600x2160, I simply want it to be fully Blu-ray compliant with a full 1920x1080 AR as it should be
Hi Lathe,
for adding borders only, using avisynth isn't the right way; use padding instead.
Look at the pic.
https://iili.io/KJzIXRa.jpg
First of all check the checkbox, then insert the frame height you want:
1080 in your case. The frame width is calculated automatically.
Then insert 1920 at pad width, 1080 as pad heigth is inserted automatically.
That's all. You can check with preview.
btw
the correct syntax is addborders(60,0,60,0)
Lathe
25th August 2025, 00:40
Hi Lathe,
for adding borders only, using avisynth isn't the right way; use padding instead.
Look at the pic.
https://iili.io/KJzIXRa.jpg
First of all check the checkbox, then insert the frame height you want:
1080 in your case. The frame width is calculated automatically.
Then insert 1920 at pad width, 1080 as pad heigth is inserted automatically.
That's all. You can check with preview.
btw
the correct syntax is addborders(60,0,60,0)
Hey thanks Pro Wo Bro! :D Heh, good catch on the syntax. Excellent feature, glad you have it in there!
Lathe
21st September 2025, 04:13
Um, something weird just happened when I was prompted to do an update. After doing the update and after loading the source file (a UHD MKV as usual) I entered the HDR-SDR information, but when I tried to 'Go to batch file' the program threw a weird error I've not seen before. I hope I can go back to the previous version which I just used last night on another UHD file perfectly fine. Now, if you choose 'Continue' on the error prompt, the program freezes up and has to be closed.
Lathe
21st September 2025, 04:21
Hmmm, that's weird... I just posted this and it's not here, okay...
Again... I just tried to do another UHD file like I always do (just did one last night and the program was fine) Today I was prompted with an update and after doing it it kept throwing this error (I'll either attach a picture or insert it) But, oddly when I tried an older version of your program I kind of got the same error, so I wonder what the deal is? I'm sourcing the movie file from a full UHD BDMV/CERT folder, about 70 Gigs. Maybe something is wrong with it, IDK...
https://lh3.googleusercontent.com/pw/AP1GczNHm6cPbjfVEhGWkZuwfenOgc5pDiy_h0gsKlbFQ2nhbAzD5Qa5YXn8wy9iPXtrQwq15DZ5uuxUAYGk-EpzTmlBsjsinHlHtP6IiEKV9P2eRF9h1p45dQrdMglt7qNNyEsGnfk96ZIUu3uYMrgumVk-cw=w851-h590-s-no-gm?authuser=0
Lathe
21st September 2025, 04:29
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at clever_FFmpeg_GUI.Form6.Prepare_commandline(Int32& hdr_check)
at clever_FFmpeg_GUI.Form6.VB$StateMachine_871_Button1_ClickAsync.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9310.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
clever FFmpeg GUI
Assembly Version: 1.0.0.0
Win32 Version: 3.4.5.20
CodeBase: file:///G:/EXECUTABLES/clever_ffmpeg_gui_345/clever%20FFmpeg%20GUI.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9310.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9316.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9251.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9214.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
PortableSettingsProvider
Assembly Version: 0.2.5.0
Win32 Version: 0.2.5.0
CodeBase: file:///G:/EXECUTABLES/clever_ffmpeg_gui_345/PortableSettingsProvider.DLL
----------------------------------------
System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
kda
Assembly Version: 2.1.0.335
Win32 Version: 2.1.0.335
CodeBase: file:///C:/Program%20Files/WD%20Desktop%20App/kda.DLL
----------------------------------------
SharpShell
Assembly Version: 2.2.0.0
Win32 Version: 2.2.0.0
CodeBase: file:///C:/Program%20Files/WD%20Desktop%20App/SharpShell.DLL
----------------------------------------
System.ComponentModel.Composition
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.Composition/v4.0_4.0.0.0__b77a5c561934e089/System.ComponentModel.Composition.dll
----------------------------------------
System.Runtime.Caching
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9277.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Caching/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Caching.dll
----------------------------------------
System.Web.Extensions
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9316.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Web.Extensions/v4.0_4.0.0.0__31bf3856ad364e35/System.Web.Extensions.dll
----------------------------------------
System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9316.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Then, after hitting 'Continue' I get this screen, but no choice to 'Send to Batch file' or anything. Weird...
~~~~~~~~~~~~~~~~~~~~~~~~~~
https://lh3.googleusercontent.com/pw/AP1GczOfhaEBYkAitZCySm0ZUsCAvhVA4FzqH0sbrRcjODCVgNaq_MHV4xr8SHL3D2LU_XqcVca-sYzf7lcl9nMoJqacJDISl4TngGu1v_RTDbnK6AjJ9XfQIDnngz4AP-3zCG5n1GOy3mCl4yL1dfHbVDg64A=w837-h605-s-no-gm?authuser=0
Lathe
21st September 2025, 05:36
Okay, I don't know if this will help. Since Clever FFMpeg wasn't working for some odd reason, I went to my 2nd choice Handbrake. It is rendering it and it looks like it is doing it okay (HDR-SDR / UHD-HD)
Here is the Handbrake log of it's initial scan of the file I'm using, the same one I tried to load into Clever FFMpeg, I don't know if that might give some information as to maybe what is up with this file (HB did take a LONG time to scan the file)
HandBrake 1.8.2 (2024081000)
OS: Microsoft Windows NT 10.0.19045.0
CPU: AMD Ryzen 5 5600X 6-Core Processor
Ram: 32680 MB,
GPU Information:
Radeon RX 590 Series - 31.0.12027.9001
Screen: 1280x720
Temp Dir: C:\Users\Owner\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake\
Data Dir: C:\Users\Owner\AppData\Roaming\HandBrake
-------------------------------------------
# Starting Encode ...
[20:51:26] base preset: UHD - HDR - SDR (Modified)
[20:51:26] Remote Process started with Process ID: 35832 using port: 8037. Max Allowed Instances: 1
[20:51:26] Worker: Starting HandBrake Engine ...
[20:51:26] Worker: Parent Process Id 13824
[20:51:26] Worker: Starting Web Server on port 8037 ...
[20:51:26] Worker: Starting Listener: 1
[20:51:26] Worker: Server Started
[20:51:27] Worker: Disconnected worker monitoring enabled!
[20:51:27] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
[20:51:27] vcn: is available
[20:51:27] qsv: not available on this system
ead
[20:51:27] Starting work at: Sat Sep 20 20:51:27 2025
[20:51:27] 1 job(s) to process
[20:51:27] json job:
{
"Audio": {
"AudioList": [
{
"DRC": 0,
"Encoder": "copy:dtshd",
"Gain": 0,
"Mixdown": -1,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 0,
"DitherMethod": 0
},
{
"Bitrate": 192,
"DRC": 0,
"Encoder": "ac3",
"Gain": 0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 2,
"DitherMethod": 0
},
{
"Bitrate": 192,
"DRC": 0,
"Encoder": "ac3",
"Gain": 0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 3,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:truehd",
"copy:dts",
"copy:dtshd"
],
"FallbackEncoder": "ac3"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "E:\\Handbrake\\00281.mkv",
"Options": {
"IpodAtom": false,
"Optimize": false
},
"Mux": "av_mkv"
},
"Filters": {
"FilterList": [
{
"ID": 20,
"Settings": {
"crop-bottom": "42",
"crop-left": "0",
"crop-right": "0",
"crop-top": "42",
"height": "1080",
"width": "1920"
}
},
{
"ID": 30,
"Settings": {
"desat": "0",
"matrix": "bt709",
"primaries": "bt709",
"tonemap": "hable",
"transfer": "bt709"
}
},
{
"ID": 11,
"Settings": {
"mode": "1"
}
}
]
},
"PAR": {
"Num": 180,
"Den": 173
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 1,
"Path": "E:\\TSMUXER 2\\Spawn Director\u0027s Cut 1997 UHD BluRay 2160p HEVC DTS-HD MA5.1-MTeam\\BDMV\\STREAM\\00281.m2ts",
"HWDecode": 4
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": [
{
"Burn": false,
"Default": false,
"Forced": false,
"ID": 1,
"Offset": 0,
"Track": 0
}
]
},
"Video": {
"Encoder": "x264",
"Level": "4.1",
"MultiPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "ref=4:deblock=-1,-1:psy-rd=1.0,0.25:trellis=2:subme=8:direct=auto:bluray_compat=1",
"Preset": "medium",
"Profile": "high",
"Quality": 18,
"Tune": "film",
"QSV": {
"Decode": false
},
"HardwareDecode": 0
}
}
[20:51:27] CPU: AMD Ryzen 5 5600X 6-Core Processor
[20:51:27] - logical processor count: 12
[20:51:27] Intel Quick Sync Video support: no
[20:51:27] hb_scan: path=E:\TSMUXER 2\Spawn Director's Cut 1997 UHD BluRay 2160p HEVC DTS-HD MA5.1-MTeam\BDMV\STREAM\00281.m2ts, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image E:\TSMUXER 2\Spawn Director's Cut 1997 UHD BluRay 2160p HEVC DTS-HD MA5.1-MTeam\BDMV\STREAM\00281.m2ts
src/libbluray/disc/disc.c:437: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:437: error opening file BDMV\BACKUP\index.bdmv
[20:51:27] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
libdvdrelibdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
ad: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[20:51:27] dvd: not a dvd - trying as a stream/file instead
[20:51:27] file is MPEG Transport Stream with 192 byte packets offset 4 bytes
[20:52:55] hb_ts_stream_find_pids - end of file
Input #0, mpegts, from 'E:\TSMUXER 2\Spawn Director's Cut 1997 UHD BluRay 2160p HEVC DTS-HD MA5.1-MTeam\BDMV\STREAM\00281.m2ts':
Duration: 01:38:33.92, start: 600.000000, bitrate: 102832 kb/s
Program 1
Stream #0:0[0x1011]: Video: hevc (Main 10) (HDMV / 0x564D4448), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn
Stream #0:1[0x1015]: Video: hevc (Main 10) (HDMV / 0x564D4448), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn
Stream #0:2[0x1100]: Audio: dts (dca) (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 5.1(side), s32p (24 bit)
Stream #0:3[0x1101]: Audio: pcm_bluray (HDMV / 0x564D4448), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s
Stream #0:4[0x1102]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 192 kb/s
Stream #0:5[0x1103]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 192 kb/s
Stream #0:6[0x12a0]: Subtitle: hdmv_pgs_subtitle (pgssub) ([144][0][0][0] / 0x0090)
[20:52:55] scan: decoding previews for title 1
[20:52:55] file is MPEG Transport Stream with 192 byte packets offset 4 bytes
[20:54:23] hb_ts_stream_find_pids - end of file
[AVHWDeviceContext @ 0000029f5877d180] Cannot load nvcuda.dll
[AVHWDeviceContext @ 0000029f5877d180] Could not dynamically load CUDA
hwaccel: failed to create hwdevice
[20:54:23] scan: audio 0x3: pcm_bluray, rate=48000Hz, bitrate=2304000 Unknown (BD LPCM, 2.0 ch, 2304 kbps)
[20:54:23] scan: audio 0x4: ac3, rate=48000Hz, bitrate=192000 Unknown (AC3, 2.0 ch, 192 kbps)
[20:54:23] scan: audio 0x5: ac3, rate=48000Hz, bitrate=192000 Unknown (AC3, 2.0 ch, 192 kbps)
[20:54:23] scan: audio 0x2: dca, rate=48000Hz, bitrate=1 Unknown (DTS-HD MA, 5.1 ch)
[20:54:26] using bitstream PAR 1:1
[20:54:26] scan: 10 previews, 3840x2160, 23.976 fps, autocrop = 42/42/0/0, aspect 16:9, PAR 1:1, color profile: 9-16-9, chroma location: topleft
[20:54:26] scan: mastering display metadata: r(0.6800,0.3200) g(0.2650,0.6900) b(0.1500 0.0600) wp(0.3127, 0.3290) min_luminance=0.000100, max_luminance=1000.000000
[20:54:26] scan: content light level: max_cll=747, max_fall=725
[20:54:26] libhb: scan thread found 1 valid title(s)
[20:54:26] Starting Task: Encoding Pass
[20:54:26] work: track 2, dithering not supported by codec
[20:54:26] work: track 3, dithering not supported by codec
[20:54:26] work: only 1 chapter, disabling chapter markers
[20:54:26] job configuration:
[20:54:26] * source
[20:54:26] + E:\TSMUXER 2\Spawn Director's Cut 1997 UHD BluRay 2160p HEVC DTS-HD MA5.1-MTeam\BDMV\STREAM\00281.m2ts
[20:54:26] + title 1, chapter(s) 1 to 1
[20:54:26] + container: mpegts
[20:54:26] + data rate: 102832 kbps
[20:54:26] * destination
[20:54:26] + E:\Handbrake\00281.mkv
[20:54:26] + container: Matroska (libavformat)
[20:54:26] * video track
[20:54:26] + decoder: hevc 10-bit (yuv420p10le)
[20:54:26] + filters
[20:54:26] + Framerate Shaper (mode=1)
[20:54:26] + frame rate: 23.976 fps -> constant 23.976 fps
[20:54:26] + Crop and Scale (width=1920:height=1080:crop-top=42:crop-bottom=42:crop-left=0:crop-right=0)
[20:54:26] + source: 3840 * 2160, crop (42/42/0/0): 3840 * 2076, scale: 1920 * 1080
[20:54:26] + Colorspace (primaries=bt709:transfer=bt709:matrix=bt709:tonemap=hable:desat=0)
[20:54:26] + Format (format=yuv420p)
[20:54:26] + Output geometry
[20:54:26] + storage dimensions: 1920 x 1080
[20:54:26] + pixel aspect ratio: 180 : 173
[20:54:26] + display dimensions: 1997 x 1080
[20:54:26] + encoder: H.264 (libx264)
[20:54:26] + preset: medium
[20:54:26] + tune: film
[20:54:26] + options: ref=4:deblock=-1,-1:psy-rd=1.0,0.25:trellis=2:subme=8:direct=auto:bluray_compat=1
[20:54:26] + profile: high
[20:54:26] + level: 4.1
[20:54:26] + quality: 18.00 (RF)
[20:54:26] + color profile: 1-1-1
[20:54:26] + color range: tv
[20:54:26] + chroma location: topleft
[20:54:26] * subtitle track 1, Unknown (PGS) (track 0, id 0x6, Picture) -> Passthrough
[20:54:26] * audio track 1
[20:54:26] + decoder: Unknown (DTS-HD MA, 5.1 ch) (track 1, id 0x2)
[20:54:26] + samplerate: 48000 Hz
[20:54:26] + DTS-HD Passthru
[20:54:26] * audio track 2
[20:54:26] + decoder: Unknown (AC3, 2.0 ch, 192 kbps) (track 3, id 0x4)
[20:54:26] + bitrate: 192 kbps, samplerate: 48000 Hz
[20:54:26] + mixdown: Stereo
[20:54:26] + encoder: AC3 (libavcodec)
[20:54:26] + bitrate: 192 kbps, samplerate: 48000 Hz
[20:54:26] * audio track 3
[20:54:26] + decoder: Unknown (AC3, 2.0 ch, 192 kbps) (track 4, id 0x5)
[20:54:26] + bitrate: 192 kbps, samplerate: 48000 Hz
[20:54:26] + mixdown: Stereo
[20:54:26] + encoder: AC3 (libavcodec)
[20:54:26] + bitrate: 192 kbps, samplerate: 48000 Hz
[20:54:26] file is MPEG Transport Stream with 192 byte packets offset 4 bytes
[20:55:54] hb_ts_stream_find_pids - end of file
[20:55:54] sync: expecting 141792 video frames
[20:55:54] encx264: min-keyint: 24, keyint: 240
[20:55:54] encx264: encoding at constant RF 18.000000
[20:55:54] encx264: unparsed options: ref=4:deblock=-1,-1:psy-rd=1,0.25:trellis=2:subme=8:direct=auto:bluray_compat=1:level=4.1:vbv-bufsize=78125:vbv-maxrate=62500
x264 [info]: using SAR=180/173
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 UnalignedStack
x264 [info]: profile High, level 4.1, 4:2:0, 8-bit
[20:55:54] sync: first pts video is 0
[20:55:54] sync: "Chapter 1" (1) at frame 1 time 0
[20:55:54] sync: first pts audio 0x2 is 0
[20:55:54] sync: first pts audio 0x4 is 0
[20:55:54] sync: first pts audio 0x5 is 0
[20:56:18] sync: first pts subtitle 0x6 is 2443691
ProWo
21st September 2025, 16:25
@Lathe
Many changes have been made since v3.4.5;
the most important one is that the portable settings have been changed from PC-specific to global.
This is why your previous settings no longer work and you are getting this error message.
Do the following:
Download the latest release v3.4.6 (from today!).
Delete all files in your clever folder and copy the new ones into it.
Then start clever and follow the instructions.
After that, you can edit your videos as before.
ProWo
21st September 2025, 16:26
----------------------------------------------------------------------------------
September 21, 2025 release version 3.4.6.
----------------------------------------------------------------------------------
Added:
Backup handling (keep/restore/delete).
aac fdk encoder (only works if ffmpeg is compiled with it).
HDR10+ to HDR10 encoding (static HDR data only).
SDR to HDR10/HLG encoding (experimental).
Extracted raw streams added to processed streams list.
Output check for zero file/missing encoded file output.
Info for estimated colorspace (video encoding).
Check to avoid adding not admitted files in mux grid.
Dynamic range control for eac3 codec.
HWA options (hardware assisted decoding) for all video encoders.
Gamma RGB settings (video encoding).
Caret handling in audio-/video encoding.
Luma matrix & chroma matrix check for denoise filter (video encoding).
Check for correct format with bt-open.txt read in on start.
Fixed:
Bug with audio encoding and error scan in batch tasks.
Bug with sample settings (video encoding).
Bug with add file button not hiding (with mux_whole_grid).
Bug with Master display parsing (for HDR video).
Bug with DAR (display aspect ratio) rounding (video encoding).
Bug with adding not admitted streams to processed streams list.
Bug with missing starttime reset, if starttime>0 (video encoding).
Bug with lut's folder select loop.
Bug with mislined stream selection box (chapters window).
Bug with 8to6 channels selection and clever_norm filter (audio encoding).
Bug with missing CRF reset (changing encoder, video encoding).
Bug with mpeg2_qsv settings (video encoding).
Bug with filter_complex filter (video encoding).
Bug with non admitted container check (audio encoding).
Bug with missing HDR settings reset for SDR videos (if no HDR option is set).
Bug with Datagridview exceptions (caused by the DGV constructor).
Bug with first file check (multiplex window).
Bug with missing join button color change (if cut junks are present).
Changed:
Description and settings (rotate metadata only).
Extra button renamed to Various, and moved (audio encoding).
Video encoder names.
Update/backup/restore code.
App settings from pc_related to roaming (global).
Disposition code in multiplex.
Unused files rows are checked now.
Backup is mantained after restore.
Whole colorspace management.
HDR handling.
HWA options.
Moved all video properties filter to one page.
Selection for available HDR enoders.
Default value for luma amount from 1 to 0.
Buttons behavior (audio encoding, crop window).
Removed:
Error check while encoding (too sensitive).
Security check with delete tasks.
Improved:
How streams are added to processed files list.
Handling of missing ffmpeg folder/target folder.
Chapters info in multiplex window.
Update and restore scripts.
----------------------------------------------------------------------------------
Lathe
22nd September 2025, 01:25
@Lathe
Many changes have been made since v3.4.5;
the most important one is that the portable settings have been changed from PC-specific to global.
This is why your previous settings no longer work and you are getting this error message.
Do the following:
Download the latest release v3.4.6 (from today!).
Delete all files in your clever folder and copy the new ones into it.
Then start clever and follow the instructions.
After that, you can edit your videos as before.
Thanks man, yeah, that was really weird...
I can just use the new folder and skip my old one, right?
ProWo
22nd September 2025, 06:36
Thanks man, yeah, that was really weird...
I can just use the new folder and skip my old one, right?
Exact.
Lathe
29th September 2025, 09:34
Ah, here we are... Heh, I forgot what my password was and almost go locked out, but fortunately I remembered how to check Google's password manager and found it! :D
Okay, so yeah, I did DL and run the 346 version as a brand new 'installation', but still got the error message that I had showed you upthread. I'll try updating to the Nightly and see if that helps.
Lathe
29th September 2025, 09:39
Yep, that did it! After I updated to 346.003 then it ran the file just fine, thanks!
ProWo
26th October 2025, 16:19
----------------------------------------------------------------------------------
October 26, 2025 release version 3.4.7.
----------------------------------------------------------------------------------
New Features, many improvements, changes and fixes.
----------------------------------------------------------------------------------
Special thanks to Findu for useful tips and lots of suggestions.
Lathe
26th October 2025, 23:40
----------------------------------------------------------------------------------
October 26, 2025 release version 3.4.7.
----------------------------------------------------------------------------------
New Features, many improvements, changes and fixes.
----------------------------------------------------------------------------------
Special thanks to Findu for useful tips and lots of suggestions.
Awesome, thanks man! Can we just hit the update on our current version, we don't have to download the whole new version, right?
ProWo
27th October 2025, 07:03
Awesome, thanks man! Can we just hit the update on our current version, we don't have to download the whole new version, right?
Exact.
Lathe
10th November 2025, 05:37
Hey Bro... I just did my usual conversion using Clever FFMpeg on the new 4k 'HARD BOILED' release. This is the first time it came out sort of 'Jerky' I didn't do anything different, certainly not with the frame rate, but this is the first time this happened. Can you figure out what happened?
Thanks!
http://lathe-of-heaven.com/CleverSnippet.mkv
PS: When playing the original full 4k file it doesn't do that, only after Clever FFMpeg encoded it. Here it the resulting SWF_Open file:
E:\TSMUXER\00005_V0.mkv??0?B?1
ProWo
10th November 2025, 19:25
Hey Bro... I just did my usual conversion using Clever FFMpeg on the new 4k 'HARD BOILED' release. This is the first time it came out sort of 'Jerky' I didn't do anything different, certainly not with the frame rate, but this is the first time this happened. Can you figure out what happened?
Sorry to hear that.
Perhaps the bitrate is too high for this resolution and your hardware?
Just a guess.
Lathe
11th November 2025, 00:48
Sorry to hear that.
Perhaps the bitrate is too high for this resolution and your hardware?
Just a guess.
I appreciate the reply mate, but the full 89 Gig file plays just fine... :)
I posted a clip of the Clever FFMpeg encode so that you could examine it and see maybe what was done to it. Thanks!
Lathe
11th November 2025, 00:59
I'll post an UHD clip too. As you will see, the UHD snippet plays just fine... I tried to keep the file size down, this only has the video and is about 15 seconds with a lot of movement.
http://lathe-of-heaven.com/Hard.Boild.UHDSnippet.mkv
This way you can compare the original with the Clever FFMpeg encode. Thanks for your help ProWo!
ProWo
11th November 2025, 10:22
Tested your UHD snipped with resize to 1920x1080, HDR to SDR standard options, x264 with CRF 23, no problems found.
https://www.upload.ee/files/18788001/Hard.Boild.UHDSnippet__V0.mkv.html
Lathe
12th November 2025, 03:46
Tested your UHD snipped with resize to 1920x1080, HDR to SDR standard options, x264 with CRF 23, no problems found.
https://www.upload.ee/files/18788001/Hard.Boild.UHDSnippet__V0.mkv.html
Thank you ProWo for taking the time to do that, another person to ran it through Clever and it was just fine. I wonder what the hell I did, can you tell by the first resulting Clever encoded file above to give me some clue as to what I must have done? Why did I get that jerky motion?
Thanks!
Lathe
12th November 2025, 04:30
Hmmm... interesting. So I tried again using a small snippet like I posted above, and yes, Clever did the snippet just fine. BUT... I had run that snippet through MKVMerge in order to create the slices. So, I then loaded the full original file with the same settings, and guess what...? I got the Jerky motion again.
Sooooo... am I right in drawing the conclusion that somehow the original file will not process correctly, BUT if I run it through MKVMerge THEN it will...? The snippet I posted above was just like the one I did that DID work properly for you, but the original file BEFORE processing it through MKVMerge came out Jerky.
Interesting, don't you think?
So, now I am going to run the entire file through MKVMerge BEFORE loading it into Clever and see what happens. That is the ONLY difference between the two... :)
Lathe
12th November 2025, 05:17
YES!!! That was it! No wonder the snippets I made for you guys worked fine, for some odd reason the file 'Needed' to be run through MKVMerge first... :D I ran the entire original file through MKVMerge first and NOW I am encoding it with Clever (for some bizarre reason the current version won't open anymore and I have to use the last version, weird...) and YES! it is coming out just fine.
I'm glad I stumbled on it finally! I realized that the snippets I was making had been run through MKVMerge first and encoded just fine. Still don't understand 'Why', but I'm glad I figured it out... :)
Thanks for all the help!
oniiz86
12th November 2025, 07:03
YES!!! That was it! No wonder the snippets I made for you guys worked fine, for some odd reason the file 'Needed' to be run through MKVMerge first... :D I ran the entire original file through MKVMerge first and NOW I am encoding it with Clever (for some bizarre reason the current version won't open anymore and I have to use the last version, weird...) and YES! it is coming out just fine.
I'm glad I stumbled on it finally! I realized that the snippets I was making had been run through MKVMerge first and encoded just fine. Still don't understand 'Why', but I'm glad I figured it out... :)
Thanks for all the help!
@Lathe That's great you found the cause of the issue or a reliable workaround but still doesn't that suggest that there is still a problem with Clever FFmpeg-GUI, why should it be any different, it ought to be the same don't you think, also isn't it a bit peculiar that others aren't experiencing the issue with your sample?
Lathe
12th November 2025, 07:14
@Lathe That's great you found the cause of the issue or a reliable workaround but still doesn't that suggest that there is still a problem with Clever FFmpeg-GUI, why should it be any different, it ought to be the same don't you think, also isn't it a bit peculiar that others aren't experiencing the issue with your sample?
Yeah, I know it's strange... So strange... Must be the Season of the Witch... OOPS, sorry, got carried away there... :D
Well, I don't know WHY, but the snippets were created WITH MKVMerge, so that is how I figured out that whatever MKVMerge was doing was apparently 'Fixing' it. The only thing that gave that away was trying to encode the entire original file right after encoding a snippet of it. The snippet was encoding just fine, the entire (NON-MKVMerged file) was not.
So, there you go...
Lathe
16th November 2025, 07:13
Hmmm... I still don't know what to do when they divide the movie up into a bunch of small files in the Blu-ray folder structure. I just took a look at the full 4k folder of 'HELLRAISER III' which is about 70 Gigs or so, but there is no single movie file to process, and I don't THINK there is any way to load it in Clever... :(
I tried dumping the entire folder into Handbrake, but I don't think it worked. I wonder what I can do to process the movie and also the Xtras...?
Lathe
16th November 2025, 07:33
Ah! MakeMKV to the rescue! :D I didn't realize that it would collate all those files in a UHD structure. Awesome, now I have a file to input to Clever! (although, I wonder if there is a way to drop the BDMV folder into the program and have it discern what the main movie file is or give you a choice of playlists to encode?
GeoffreyA
16th November 2025, 09:29
Exactly, MakeMKV is the tool of choice, creating a single file to work with.
I think it can open the BDMV index file; I forget what the extension is.
Lathe
17th November 2025, 00:41
Exactly, MakeMKV is the tool of choice, creating a single file to work with.
I think it can open the BDMV index file; I forget what the extension is.
Yeah, I kinda had to guess on that one, but thankfully when MakeMKV opens a navigating window, like any program it shows only the kinds of files you can select. So yeah, I did select the index file and I was amazing when it started putting everything together.
It's interesting how that still comes up with new releases, but only occasionally... I've always thought it was simply an anti-copying device, but I wonder why you only see it once in a great while and why...?
(always curious... :D)
Emulgator
19th November 2025, 22:09
You may try DGDemux on a playlist then you can preview what is waiting, or try BDInfo.
While authoring one can decide for a versatile structure with different playlists.
then split the available assets at segment borders into various .m2ts.
Then one can shuffle and chain these available .m2ts segments for
1.: Cut versions: (directors cut / theatrical cut / extended cut)
or
2.: Language-dependent renderings
(cartoons like "Ratatouille" may show paper headlines in languages matching one's player preference like fr, en, de)
or
3.: vacation edits private/official <your ideas here>
Lathe
20th November 2025, 02:35
You may try DGDemux on a playlist then you can preview what is waiting, or try BDInfo.
While authoring one can decide for a versatile structure with different playlists.
then split the available assets at segment borders into various .m2ts.
Then one can shuffle and chain these available .m2ts segments for
1.: Cut versions: (directors cut / theatrical cut / extended cut)
or
2.: Language-dependent renderings
(cartoons like "Ratatouille" may show paper headlines in languages matching one's player preference like fr, en, de)
or
3.: vacation edits private/official <your ideas here>
Wow, I think that may be a bit over my paygrade, but thank you kindly for the suggestion! :D
ProWo
24th November 2025, 16:34
----------------------------------------------------------------------------------
November 24, 2025 release version 3.4.8.
----------------------------------------------------------------------------------
New Features, many improvements, changes and fixes.
----------------------------------------------------------------------------------
Lathe
25th November 2025, 01:11
----------------------------------------------------------------------------------
November 24, 2025 release version 3.4.8.
----------------------------------------------------------------------------------
New Features, many improvements, changes and fixes.
----------------------------------------------------------------------------------
Looks great, thanks mate! I like that 'Toggle Destination'
It's nice all we have to do now is simply click the 'Update' button... :D
ProWo
26th November 2025, 14:57
----------------------------------------------------------------------------------
November 26, 2025 release version 3.4.9.
----------------------------------------------------------------------------------
Fixed: A major bug with automatic chapters creation.
----------------------------------------------------------------------------------
ProWo
21st December 2025, 09:25
----------------------------------------------------------------------------------
December 21, 2025 release version 3.5.0.
----------------------------------------------------------------------------------
New Features, many improvements, changes and fixes.
----------------------------------------------------------------------------------
ProWo
19th January 2026, 15:17
----------------------------------------------------------------------------------
January 19, 2026 release version 3.5.1.
----------------------------------------------------------------------------------
Some changes and fixes.
----------------------------------------------------------------------------------
ProWo
19th February 2026, 16:37
----------------------------------------------------------------------------------
February 19, 2026 release version 3.5.2.
----------------------------------------------------------------------------------
Some changes and fixes.
----------------------------------------------------------------------------------
Lathe
19th February 2026, 22:06
----------------------------------------------------------------------------------
February 19, 2026 release version 3.5.2.
----------------------------------------------------------------------------------
Some changes and fixes.
----------------------------------------------------------------------------------
Thank you Sir! :thanks:
Lathe
3rd March 2026, 04:01
Hey ProWo! I'm having trouble for some odd reason with the A/V sync with this movie. The original UHD MKV file plays just fine. The movie is 'GATTACA' After doing the usual conversion from UHD-HD/HDR-SDR and then muxing the TrueHD audio and the subtitle files, and then using TSMuxer to rending a playable Blu-ray, the audio is out of sync. And, also what's weird is that if I adjust the delay say with VLC player, when I advance to a later part of the movie it still is out of sync.
This has only happened a few times and I THINK only with TrueHD tracks. What I've done in the past when I have enough headroom and the processed video track leaves enough room, I have converted the TrueHD track to a full PCM track which is considerably larger. That's always been in sync when I've had to do that. But, this time the video file is too large to accommodate a huge PCM audio file. I don't know if it's the Atmos part of the audio, which I cannot play anyway or what. When I check the muxed audio file that Clever did, MediaInfo says the TrueHD file has 16 tracks??! When I examine the original MKV file audio track it says 7.1+11 objects? Is that messing it up somehow? All I really need is the straight 7.1 or even 5.1.
I don't know quite what to do or how to get the audio in sync without losing the full HD audio quality.
Please help, thanks Bro!
PS: I'm trying using Eac3to to supposedly convert the original atmos TrueHD file into a TrueHD+AC3 file, I have NO bloody idea if that will help.
PPS: No, it still says 16 channel... But, I'll try to mux it and see if somehow miraculously it might be in sync... :)
PPPS: Ah... actually that DID work! I guess in doing the conversion it 'fixed' whatever was causing the audio to go out of sync. I guess in the future if Clever does the same thing, I'll just process the TrueHD through Ea3to. Still kind of weird as to why it happened.
ProWo
4th March 2026, 18:15
The original UHD MKV file plays just fine. After doing the usual conversion from UHD-HD/HDR-SDR and then muxing the TrueHD audio and the subtitle files...
Muxed with clever, right? If so, at this stage the movie is in sync?
and then using TSMuxer to rending a playable Blu-ray, the audio is out of sync.
If the audio was previously in sync, then that's where the error lies.
If the audio is no longer synchronized after muxing with clever, you should first remux the original mkv and then use the remuxed version for muxing with the SDR video stream.
Lathe
5th March 2026, 02:45
Muxed with clever, right? If so, at this stage the movie is in sync?
If the audio was previously in sync, then that's where the error lies.
If the audio is no longer synchronized after muxing with clever, you should first remux the original mkv and then use the remuxed version for muxing with the SDR video stream.
Thanks! The original full UHD file played in sync just fine, but after doing the UHD-HD/HDR-HD conversion, THEN when trying to mux in the original audio either with or without Clever, it is wildly out of sync, and not consistently either. Because, when I say adjust the audio delay to a half second and it is in sync at that moment, when moving the player further ahead it is out of sync again.
It's ALMOST like when Clever processed the video, you would first think that it was made out of sync with the original audio. BUT... when I then tried using Eac3to to take the original TrueHD Atmos file and 'convert' it to TrueHD+AC3, THEN the resulting audio file IS indeed in sync when muxed with the processed Clever video file.
So, what I would GUESS is that perhaps in the original audio, maybe due to it's being Atmos, IDK... there is some kind of 'Marker' or heading or something that is off, and when I then process it through EAC3to, THEN it's like it's 'Fixed' it somehow and THEN can be muxed just fine with Clever's resulting video. So, clearly SOMETHING is wrong with how the original audio is processed, because just straight muxing it with or without Clever, the resulting file will not sync.
But, at least I have something I can do to 'Fix' it. But, I'm thinking the error is NOT with Clever due to what I've tried.
ProWo
5th March 2026, 10:09
So, what I would GUESS is that perhaps in the original audio, maybe due to it's being Atmos, IDK... there is some kind of 'Marker' or heading or something that is off, and when I then process it through EAC3to, THEN it's like it's 'Fixed' it somehow...
I don't think the truehd audio stream is defective.
It's more likely that there is a problem with the timestamps.
That's why I advised you to simply remux the UHD mkv; this will rewrite the timestamps and could solve the problem.
Lathe
5th March 2026, 23:11
I don't think the truehd audio stream is defective.
It's more likely that there is a problem with the timestamps.
That's why I advised you to simply remux the UHD mkv; this will rewrite the timestamps and could solve the problem.
Ah, I see... Do that first beforehand and then load the remuxed MKV file into Clever, got it! Yep, time stamps sounds like it alright... Thanks Bro! Enjoying the Living $h*t outta your program mate! :D
ProWo
26th March 2026, 11:52
----------------------------------------------------------------------------------
March 26, 2026 release version 3.5.3.
----------------------------------------------------------------------------------
Added:
Reads fps from extracted video raw stream name now.
Mux mpeg1 and mpeg2 to mov.
Prevent form closing while executing batches.
3 new backgrund colors (browngrey).
Big logo on start screen.
Max gop size 120 for h264 and hevc encoders.
Quality choice to av1_qsv encoder settings.
Fixed:
Bug in 1st chapter creation time.
Bug with frame accurate cut between keyframes.
Bug with wrong format profile level values displayed.
Improved:
Interlaced encoding
Changed:
clevernorm/dynaudnorm coupling=off
----------------------------------------------------------------------------------
Lathe
27th March 2026, 01:12
----------------------------------------------------------------------------------
March 26, 2026 release version 3.5.3.
----------------------------------------------------------------------------------
Added:
Reads fps from extracted video raw stream name now.
Mux mpeg1 and mpeg2 to mov.
Prevent form closing while executing batches.
3 new backgrund colors (browngrey).
Big logo on start screen.
Max gop size 120 for h264 and hevc encoders.
Quality choice to av1_qsv encoder settings.
Fixed:
Bug in 1st chapter creation time.
Bug with frame accurate cut between keyframes.
Bug with wrong format profile level values displayed.
Improved:
Interlaced encoding
Changed:
clevernorm/dynaudnorm coupling=off
----------------------------------------------------------------------------------
Thank you!
Hellboy.
14th April 2026, 19:06
Thanks for the new version.
I found a bug in audio Change length & pitch. Edit: visual bug only.
This one is using "," and all the others use "."
24.000 -> 23.976 0,99900099
ProWo
15th April 2026, 15:56
Thanks for the new version.
I found a bug in audio Change length & pitch. Edit: visual bug only.
This one is using "," and all the others use "."
24.000 -> 23.976 0,99900099
Thx for the hint.
You are right, will be fixed in the next nightly. :)
ProWo
25th April 2026, 10:32
----------------------------------------------------------------------------------
April 25, 2026 release version 3.5.4.
----------------------------------------------------------------------------------
Added:
Quality settings on vp9_qsv encoder settings
Pixelformat qsv on all qsv encoders
Pixelformat amf for amf encoder
Modified scale for amf/qsv encoders used with HWA
Fixed:
Bug with deleted inputfile, while app is open.
Bug with , instead of . in fps24->23.976 preset
Bug with cut preview
Bug with add cuts to joinlist from batches
Changed:
Failed batch tasks handling
Logo alignment
cleverNorm / DynAudNorm coupling=off only for stereo outputs.
----------------------------------------------------------------------------------
Lathe
26th April 2026, 00:29
----------------------------------------------------------------------------------
April 25, 2026 release version 3.5.4.
----------------------------------------------------------------------------------
Added:
Quality settings on vp9_qsv encoder settings
Pixelformat qsv on all qsv encoders
Pixelformat amf for amf encoder
Modified scale for amf/qsv encoders used with HWA
Fixed:
Bug with deleted inputfile, while app is open.
Bug with , instead of . in fps24->23.976 preset
Bug with cut preview
Bug with add cuts to joinlist from batches
Changed:
Failed batch tasks handling
Logo alignment
cleverNorm / DynAudNorm coupling=off only for stereo outputs.
----------------------------------------------------------------------------------
Thank you!
Lathe
17th May 2026, 03:07
Hey Pro Wo! This has happened to me a couple of times now and I don't understand why. I'm doing my usual UHD-HD/HDR-SDR conversion for regular Blu-ray as I've done a hundred times, but the last couple for some odd reason after muxing the audio tracks to join the converted video track, the audio is out of sync. One time I noticed that the original UHD file was at 24 f/s and the resulting video file was 23.xxx, so I simply changed the frame rate on TSMuxer when I put them together.
But, this time the original UHD file (which plays in sync just fine) is showing as 23.xxx and the resulting video encode is also showing as 23.xxx BUT it is out of sync slightly like the same thing is happening but according to MediaInfo it shouldn't be. So, I don't quite know what to do. In the past if I have room for it I would simply use UsEac3to to convert the True HD audio (always seems to happen only with True HD) to like a PCM file and just mux that, which I might do now. But, WHY is this happening, do you have any ideas?
Here is the txt generated by Clever:
E:\TSMUXER\Edge.of.Tomorrow.2014.2160p.UHD.$_V0.mkv?Video ---> x264 (avc) - Stream ID 0 from?0?B?1
Thanks!
ProWo
18th May 2026, 10:01
Hey Pro Wo! This has happened to me a couple of times now and I don't understand why. I'm doing my usual UHD-HD/HDR-SDR conversion for regular Blu-ray as I've done a hundred times, but the last couple for some odd reason after muxing the audio tracks to join the converted video track, the audio is out of sync. One time I noticed that the original UHD file was at 24 f/s and the resulting video file was 23.xxx, so I simply changed the frame rate on TSMuxer when I put them together....
Hi Lathe,
I've run into this quite a few times, mostly with web sources.
It mainly happens with files that have a variable frame rate; FFmpeg finds two frame rate values: a fixed value and an average value. If the two are different, you have to choose one, and that one might be wrong.
Clever currently uses the fixed value. That’s the one used for encoding. But if the value is wrong, the synchronization is off.
I’ll add a dialog where you can select the value if they differ.
Before encoding, you should check the source with MediaInfo. It usually detects the correct frame rate.
If this differs from the one detected by clever, simply enter the correct value manually during encoding.
The audio stream has nothing to do with this issue.
Lathe
19th May 2026, 00:43
Hi Lathe,
I've run into this quite a few times, mostly with web sources.
It mainly happens with files that have a variable frame rate; FFmpeg finds two frame rate values: a fixed value and an average value. If the two are different, you have to choose one, and that one might be wrong.
Clever currently uses the fixed value. That’s the one used for encoding. But if the value is wrong, the synchronization is off.
I’ll add a dialog where you can select the value if they differ.
Before encoding, you should check the source with MediaInfo. It usually detects the correct frame rate.
If this differs from the one detected by clever, simply enter the correct value manually during encoding.
The audio stream has nothing to do with this issue.
Hey, thanks kindly for the reply Bro, I really appreciate it!
Yeah, one time I did see a different frame rate and changed it in TSMuxer, however this time both the original file and the resulting file from Clever showed 23.xxx But yeah, it sounds like in the file it must be mistagged or something. So, in this case I wouldn't know which one to choose or what to change it to.
I had enough room after the video encode to convert the TrueHD file to a W64 file. 7 gigs! Fortunately I had room and that worked okay. I supposed I can play around with the frame rate when I mux the audio with the reencoded video, maybe guessing or changing it from 23.xxx to 24 or whatever. In this case I did notice as time went on it became more out of sync. I guess MediaInfo isn't necessarily always right... 😊 Thanks though, I'll see what I can figure out.
Lathe
21st May 2026, 07:57
I guess there is no way to convert a movie encoded with DV to SDR like there is for HDR with Clever? Do I need to use Handbrake?
ProWo
23rd May 2026, 09:23
I guess there is no way to convert a movie encoded with DV to SDR like there is for HDR with Clever? Do I need to use Handbrake?
What do you mean exactly with DV to SDR?
FFmpeg decodes DV video (as input) and you can use any encoder for the conversion.
Or do you want encode DV video as output?
Lathe
23rd May 2026, 23:43
What do you mean exactly with DV to SDR?
FFmpeg decodes DV video (as input) and you can use any encoder for the conversion.
Or do you want encode DV video as output?
Ooh, sorry, I guess I didn't explain that very well... Maybe I don't know what I'm talking about which wouldn't be the first time... :)
Okay, what I understand is that when a movie is encoded in what I think is called Dolby Vision, right... I've ASSumed that that is basically another way to boost or change the colour space like HDR. Maybe that is wrong.
The movie I was trying to re-encode using Clever said that it had DV encoding (but apparently not HDR, since Clever didn't recognize that) I noticed that the colours were all weird looking with greenish tints, and face tones looked kind of bluish and blood looked really purple.
I checked the colour space with MediaInfo and it showed the film as 2020 instead of 709, so I was GUESSING that there needs to be some kind of conversion to 'Normal' Blu-ray, right? However, Clever does not seem to do that.
Interestingly, I tried using Handbrake and changing the colour space to 709, but oddly it then came out looking really washed out, so that wasn't right. I liked the original better (and Clever's encode better, because I still had to convert to 1080) they both looked way sharper and vibrant, just with the strange colour overlays.
So, am I missing something here? Granted, this has been the ONLY movie that just had DV encoding that I've come across. Most have HDR. Maybe you could explain that to me when you have a chance.
Thanks Bro!
ProWo
24th May 2026, 16:26
@ Lathe
Aaah, ok.
You meant Dolby Vision (DV), and I meant digital video.
If your Dolby Vision video isn't displayed as HDR in Clever, then important metadata is missing.
This happens when the original Dolby Vision video wasn't properly re-encoded.
To find out more, you should post a MediaInfo report (text mode) for this video.
If the encoding was done without tone mapping and MediaInfo still shows BT.2020 as the color space, you can still correct this by using, for example, FranceBB’s PQ_to_BT709_v1.cube LUT during re-encoding.
Encode a short sample to see if the colors match.
Lathe
25th May 2026, 01:36
@ Lathe
Aaah, ok.
You meant Dolby Vision (DV), and I meant digital video.
If your Dolby Vision video isn't displayed as HDR in Clever, then important metadata is missing.
This happens when the original Dolby Vision video wasn't properly re-encoded.
To find out more, you should post a MediaInfo report (text mode) for this video.
If the encoding was done without tone mapping and MediaInfo still shows BT.2020 as the color space, you can still correct this by using, for example, FranceBB’s PQ_to_BT709_v1.cube LUT during re-encoding.
Encode a short sample to see if the colors match.
Thanks Bro, will do! Is that a code command that can be put in Clever or what is it?
Lathe
25th May 2026, 05:57
Oh, something else I think you may want to know... Now after several encodes it seems like EVERY time the TrueHD track is out of sync. That's about 4 times in a row now, like I had mentioned before. It seems like it is ONLY the TrueHD track where this happens. I just did an encode of 'RESIDENT EVIL: RETRIBUTION' and it had both TrueHD and DTS HD MA audio tracks. After encoding the video, I muxed both audio tracks along with the subs. Guess what... the True HD track was out of sync BUT the DTS HD MA track was perfectly fine. So, I'm thinking maybe there is some kind of bug the way Clever handle/muxes TrueHD tracks. So far, I've had space to convert the True HD tracks into very large PCM tracks, but I think something may be consistently wrong with the way Clever handles the TrueHD tracks.
ProWo
25th May 2026, 15:34
I can't confirm that here.
After several remixes with TrueHD streams, everything is in sync, as expected.
You should check whether the source's TrueHD stream has an audio delay (see the information on the main page).
Hellboy.
25th May 2026, 23:37
Post MediaInfo report (text mode).
Lathe
26th May 2026, 01:12
I can't confirm that here.
After several remixes with TrueHD streams, everything is in sync, as expected.
You should check whether the source's TrueHD stream has an audio delay (see the information on the main page).
Okay, thanks! Hmmm... I guess it just seemed that so many TrueHD tracks in a row would be 'Off' like that.
Okay, here is the MediaInfo for the original UHD/HDR M2ts file:
General
ID : 0 (0x0)
Complete name : W:\_TL (cont)\Resident Evil Retribution\BDMV\STREAM\00001.m2ts
Format : BDAV
Format/Info : Blu-ray Video
File size : 53.5 GiB
Duration : 1 h 35 min
Overall bit rate mode : Variable
Overall bit rate : 80.0 Mb/s
Maximum Overall bit rate : 128 Mb/s
Frame rate : 23.976 FPS
Video #1
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : SMPTE ST 2086, HDR10 compatible
Codec ID : 36
Duration : 1 h 35 min
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 1 841 cd/m2
Maximum Frame-Average Light Level : 512 cd/m2
Video #2
ID : 4117 (0x1015)
Menu ID : 1 (0x1)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : SMPTE ST 2086, HDR10 compatible
Codec ID : 36
Duration : 1 h 35 min
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
Audio #1
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : MLP FBA AC-3 16-ch
Format/Info : Meridian Lossless Packing FBA with 16-channel presentation
Commercial name : Dolby TrueHD with Dolby Atmos
Muxing mode : Stream extension
Codec ID : 131
Duration : 1 h 35 min
Bit rate mode : Variable
Bit rate : 640 kb/s
Maximum bit rate : 6 186 kb/s
Channel(s) : 8 channels
Channel layout : L R C LFE Ls Rs Lb Rb
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossless
Stream size : 438 MiB (1%)
Service kind : Complete Main
Number of dynamic objects : 11
Bed channel count : 1 channel
Bed channel configuration : LFE
Dialog Normalization : -31 dB
compr : -0.28 dB
Center mix level (cmixlev) : -3.0 dB
Surround mix level (surmixlev) : -3 dB
Dialogue normalization, average : -31 dB
Dialogue normalization, minimum : -31 dB
Dialogue normalization, maximum : -31 dB
Audio #2
ID : 4353 (0x1101)
Menu ID : 1 (0x1)
Format : DTS XLL
Format/Info : Digital Theater Systems
Commercial name : DTS-HD Master Audio
Muxing mode : Stream extension
Codec ID : 134
Duration : 1 h 35 min
Bit rate mode : Variable
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 16 bits
Compression mode : Lossless
Audio #3
ID : 4354 (0x1102)
Menu ID : 1 (0x1)
Format : DTS XLL
Format/Info : Digital Theater Systems
Commercial name : DTS-HD Master Audio
Muxing mode : Stream extension
Codec ID : 134
Duration : 1 h 35 min
Bit rate mode : Variable
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 16 bits
Compression mode : Lossless
Audio #4
ID : 4355 (0x1103)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : 129
Duration : 1 h 35 min
Bit rate mode : Constant
Bit rate : 640 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Delay relative to video : -26 ms
Stream size : 438 MiB (1%)
Service kind : Complete Main
Dialog Normalization : -31 dB
compr : -0.28 dB
Center mix level (cmixlev) : -3.0 dB
Surround mix level (surmixlev) : -3 dB
Dialogue normalization, average : -31 dB
Dialogue normalization, minimum : -31 dB
Dialogue normalization, maximum : -31 dB
Audio #5
ID : 4356 (0x1104)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Format settings : Dolby Surround
Codec ID : 129
Duration : 1 h 35 min
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Delay relative to video : -26 ms
Stream size : 131 MiB (0%)
Service kind : Complete Main
Dialog Normalization : -31 dB
compr : -0.28 dB
dsurmod : Dolby Surround encoded
Dialogue normalization, average : -31 dB
Dialogue normalization, minimum : -31 dB
Dialogue normalization, maximum : -31 dB
Audio #6
ID : 4357 (0x1105)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : 129
Duration : 1 h 35 min
Bit rate mode : Constant
Bit rate : 640 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 438 MiB (1%)
Service kind : Complete Main
Dialog Normalization : -31 dB
compr : -0.28 dB
Center mix level (cmixlev) : -3.0 dB
Surround mix level (surmixlev) : -3 dB
Dialogue normalization, average : -31 dB
Dialogue normalization, minimum : -31 dB
Dialogue normalization, maximum : -31 dB
Text #1
ID : 4768 (0x12A0)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Delay relative to video : 2 s 919 ms
Text #2
ID : 4769 (0x12A1)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Text #3
ID : 4770 (0x12A2)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Text #4
ID : 4771 (0x12A3)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Text #5
ID : 4772 (0x12A4)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
So, what I did in this case is fortunately the original UHD Blu-ray had both the TrueHD and the DTS HD track. As I had mentioned, after encoding the video, when using Clever to mux both tracks back in, the TrueHD track was out of sync BUT the DTS HD was not! So, thankfully I used that.
Like I say, this has now happened about 4 times in a row from DIFFERENT sources, so I'm very curious as to why this is happening. It has ONLY been happening to the True HD tracks, but never the DTS HD ones.
Weird...
Oh, and I had a Devil of a time figuring out WHY they include what LOOKED like 2 identical DTS HD English tracks? I guess one was HD HR (which I had to look up which apparently is Lossy like Dolby+ tracks, so I GUESS I chose the truly Lossless HD one... Not sure I understand that totally right... :))
ProWo
31st May 2026, 12:22
----------------------------------------------------------------------------------
May 31, 2026 release version 3.5.5.
----------------------------------------------------------------------------------
Added:
Title column in extract streams screen
Batch replication with embedded subtitle burn in
Different framerate detection dialog
Batch tasks total on button
Language tag check for invalid characters
Fixed:
Bug with missing streams titles after muxing
Bug with filenames in replicated batch tasks
Bug with filename in multiplex section
Changed:
Default downsampling scale algorithm
Improved:
Language code in filename recognition
----------------------------------------------------------------------------------
Lathe
1st June 2026, 01:09
----------------------------------------------------------------------------------
May 31, 2026 release version 3.5.5.
----------------------------------------------------------------------------------
Added:
Title column in extract streams screen
Batch replication with embedded subtitle burn in
Different framerate detection dialog
Batch tasks total on button
Language tag check for invalid characters
Fixed:
Bug with missing streams titles after muxing
Bug with filenames in replicated batch tasks
Bug with filename in multiplex section
Changed:
Default downsampling scale algorithm
Improved:
Language code in filename recognition
----------------------------------------------------------------------------------
Thanks Bro! Still a bit of a mystery about the sync with those TrueHD files...
Hellboy.
1st June 2026, 02:15
@Lathe
I did some test (with v3.5.4) and the TrueHD don't go out of sync. I don't see anything wrong with your file. There is no delay in the audio.
Did you remux the file with clever FFmpeg-GUI to add the audio?
@ProWo
Thanks for the new version.
Lathe
1st June 2026, 02:19
@Lathe
I did some test (with v3.5.4) and the TrueHD don't go out of sync. I don't see anything wrong with your file. There is no delay in the audio.
Did you remux the file with clever FFmpeg-GUI to add the audio?
@ProWo
Thanks for the new version.
Oh, hey, thanks for the reply Bro, I appreciate it! Yes, I did remux with Clever, but I THINK it also happened when using TSMuxer separately instead. Odd, isn't it...? All I can think of is somehow the original files (mysteriously several so far) must mistag the rate and thus Clever is inputting the wrong rate, IDK...
Like I mentioned, if it only happened once or twice spaced apart, I'd just think it was an anomaly. But, 4 in a row, especially when in the one case where the accompanying DTS HD stayed in sync just fine. Definitely weird...
ProWo
8th July 2026, 15:14
----------------------------------------------------------------------------------
July 08, 2026 release version 3.5.6.
----------------------------------------------------------------------------------
Added:
Gain info for dynaudnorm and clevernorm
Copy commandline to clipboard (with show commandline activated)
Fixed:
Bug with extract streams profile column sorting (disabled now)
Bug with profile column autosize
Bug with bitrate not changing by changing channels with equal source/target audiocodec
Bug with filenames with language codes
Bug with missing colorspace change reset
Bug with scaling algo with amf hardware supported decoding+encoding
Improved:
Audio encoding output naming
Removed:
Message of deleted sourcefile
Changed:
Underpop help links replaced with official documentation links
Aborting process leaves progressbar, percent and ffmpeg info visible now until OK button pressed
Scaling algo and transpose settings for qsv hardware supported decoding+encoding
Replaced vsync with fps_mode
Show command line messagebox.
----------------------------------------------------------------------------------
Lathe
8th July 2026, 23:20
----------------------------------------------------------------------------------
July 08, 2026 release version 3.5.6.
----------------------------------------------------------------------------------
Added:
Gain info for dynaudnorm and clevernorm
Copy commandline to clipboard (with show commandline activated)
Fixed:
Bug with extract streams profile column sorting (disabled now)
Bug with profile column autosize
Bug with bitrate not changing by changing channels with equal source/target audiocodec
Bug with filenames with language codes
Bug with missing colorspace change reset
Bug with scaling algo with amf hardware supported decoding+encoding
Improved:
Audio encoding output naming
Removed:
Message of deleted sourcefile
Changed:
Underpop help links replaced with official documentation links
Aborting process leaves progressbar, percent and ffmpeg info visible now until OK button pressed
Scaling algo and transpose settings for qsv hardware supported decoding+encoding
Replaced vsync with fps_mode
Show command line messagebox.
----------------------------------------------------------------------------------
Thanks mate! F***'n GREAT program, couldn't live without it! :D
ProWo
21st July 2026, 16:19
@Lathe
In the next nightly build (3.5.6.02), I’ll be adding HDR-to-SDR conversion using libplacebo tone mapping.
The advantage of this is that the dynamic metadata from HDR10+ and Dolby Vision (currently for profiles 5 and 8.x) is taken into account during conversion.
This also allows Clever to tone map Dolby Vision correctly.
This requires Vulkan drivers to be installed.
These are usually installed along with the graphics driver.
To check if Vulkan is available, simply open a command prompt and enter:
vulkaninfo
If data is displayed, Vulkan is active and can be used by Clever.
Lathe
22nd July 2026, 00:51
@Lathe
In the next nightly build (3.5.6.02), I’ll be adding HDR-to-SDR conversion using libplacebo tone mapping.
The advantage of this is that the dynamic metadata from HDR10+ and Dolby Vision (currently for profiles 5 and 8.x) is taken into account during conversion.
This also allows Clever to tone map Dolby Vision correctly.
This requires Vulkan drivers to be installed.
These are usually installed along with the graphics driver.
To check if Vulkan is available, simply open a command prompt and enter:
If data is displayed, Vulkan is active and can be used by Clever.
Hey, thanks Bro! I don't understand it, but I'll check! :D
Lathe
22nd July 2026, 00:54
Heh... well, a TON of information describing it just poured out, so I'm ASSuming it's there! :D
I wonder what the difference in the Picture Quality will look like because I have NO bloody idea technically what's being done, and quite honestly all the encodes done so far look great!
I appreciate any explanations when you have time to help me understand the differences, thanks!
ProWo
23rd July 2026, 12:10
I appreciate any explanations when you have time to help me understand the differences, thanks!
Well, Dolby Vision Profile 5 can't be handled with standard tone mapping.
But with libplacebo, you'll get a perfect HDR-to-SDR conversion.
HDR10+ will look better, too.
3.5.6.02 is online now. Give it a try.
Lathe
24th July 2026, 01:32
Well, Dolby Vision Profile 5 can't be handled with standard tone mapping.
But with libplacebo, you'll get a perfect HDR-to-SDR conversion.
HDR10+ will look better, too.
3.5.6.02 is online now. Give it a try.
Hey, thanks for the reply mate!
So, I just go ahead and do what I usually do, right? HDR-SDR, same general default settings like 'Mobius' and Desaturation 2 and such, right? I don't have to change anything or any settings differently then, do I?
Thanks again!
Lathe
25th July 2026, 23:10
Oh wow... the interface is quite different. Okay, so, I GUESS I was supposed to choose the newer HDR-SDR setting, the one it defaults to, right? Would I ALWAYS do that for every conversion? Also, I see that no algorithm is chosen, should I still keep using Mobius? Also, there is no Desaturation setting now, should I do something else? Oh, and the resizing algorithm seems to default to Lancros now instead of Bicubic, so I chose Bicubic anyway, is that right?
LOTS of changes! Thanks kindly for any guidance you can give me! :)
***EDIT
Okay, without the usual desaturation the picture did look somewhat over saturated, so I went into adjustments, but the range for saturation is completely different, Range: 0-3, default 1. So, I don't know how much to desaturate it? .5?, 0? I have NO bloody idea! :D Otherwise using the new default HDR-SDR setting and choosing Mobius and also choosing Bicubic, everything else seems to look alright except being oversaturated. So, PLEASE let me know how I should set all these new settings!
Thanks!
ProWo
26th July 2026, 09:26
Oh wow... the interface is quite different. Okay, so, I GUESS I was supposed to choose the newer HDR-SDR setting, the one it defaults to, right? Would I ALWAYS do that for every conversion?
Currently, I've set it up so that for HDR10+ and Dolby Vision sources, libplacebo is suggested for HDR-to-SDR conversion.
But that doesn't mean you have to follow that.
You can also choose the standard tone mapping.
Also, I see that no algorithm is chosen, should I still keep using Mobius? Also, there is no Desaturation setting now, should I do something else?
With libplacebo, "auto" is the best choice (for tone mapping).
Libplacebo then automatically selects the best settings based on the source. Libplacebo does not offer desaturation.
Oh, and the resizing algorithm seems to default to Lancros now instead of Bicubic, so I chose Bicubic anyway, is that right?
For downscaling, Lanczos is the better choice because it produces sharper images. For upscaling, bicubic is better.
Okay, without the usual desaturation the picture did look somewhat over saturated, so I went into adjustments, but the range for saturation is completely different, Range: 0-3, default 1. So, I don't know how much to desaturate it? .5?, 0? I have NO bloody idea! :D Otherwise using the new default HDR-SDR setting and choosing Mobius and also choosing Bicubic, everything else seems to look alright except being oversaturated. So, PLEASE let me know how I should set all these new settings!
If you get too much saturation with libplacebo, don't make any further adjustments here; instead, select the standard tone mapping.
For standard tone mapping, I've changed the defaults to hable and 100 npl, because that's the general consensus.
If you get better results with the previous settings (mobius and 200 npl), then use those.
There’s no perfect HDR-to-SDR conversion; it all depends on personal preferences and the source material.
Just experiment and encode short samples with different settings to find the one that works best for you.
Lathe
26th July 2026, 23:02
Currently, I've set it up so that for HDR10+ and Dolby Vision sources, libplacebo is suggested for HDR-to-SDR conversion.
But that doesn't mean you have to follow that.
You can also choose the standard tone mapping.
With libplacebo, "auto" is the best choice (for tone mapping).
Libplacebo then automatically selects the best settings based on the source. Libplacebo does not offer desaturation.
For downscaling, Lanczos is the better choice because it produces sharper images. For upscaling, bicubic is better.
If you get too much saturation with libplacebo, don't make any further adjustments here; instead, select the standard tone mapping.
For standard tone mapping, I've changed the defaults to hable and 100 npl, because that's the general consensus.
If you get better results with the previous settings (mobius and 200 npl), then use those.
There’s no perfect HDR-to-SDR conversion; it all depends on personal preferences and the source material.
Just experiment and encode short samples with different settings to find the one that works best for you.
Awesome, thank you for taking the time to help me understand this better! I will experiment with these and see how they look.
Just one quickie please... I do understand the npl and how it is brighter or darker, on rare occasion I've had to change this. But is there a general explanation for comparing the specific results of Hable vs. Mobius, are there specific parameters where you can say one does 'This' and the other does 'This'?
Thanks!
ProWo
27th July 2026, 09:14
Just one quickie please... I do understand the npl and how it is brighter or darker, on rare occasion I've had to change this. But is there a general explanation for comparing the specific results of Hable vs. Mobius, are there specific parameters where you can say one does 'This' and the other does 'This'?
See here:
https://ayosec.github.io/ffmpeg-filters-docs/6.0/Filters/Video/tonemap.html
Lathe
27th July 2026, 09:33
See here:
https://ayosec.github.io/ffmpeg-filters-docs/6.0/Filters/Video/tonemap.html
Thanks, I'll check it out...
TBH, I think it's gonna take me a while and a LOT of experimenting in trying that new one. The only first impression I had with the UHD movie 'THE GIFT' 2000 was that it mysteriously came out really oversaturated, that's all. I sure wish I understood the differences between the old HDR-SDR method and this new one. This new one says that it has something to do with Vulkan + GPU, I wonder if it works will all brands of GPU's? Doesn't that just mean that it is using the GPU to assist with encoding instead of the CPU, but that wouldn't change the actual encoding quality or look, would it? It's like using DirectShow or Lav filters to render a Blu-ray, it doesn't affect that actual outcome of the 'Look' of a movie, just simply the WAY it is encoded, right?
ProWo
27th July 2026, 12:05
This new one says that it has something to do with Vulkan + GPU, I wonder if it works will all brands of GPU's? Doesn't that just mean that it is using the GPU to assist with encoding instead of the CPU, but that wouldn't change the actual encoding quality or look, would it? It's like using DirectShow or Lav filters to render a Blu-ray, it doesn't affect that actual outcome of the 'Look' of a movie, just simply the WAY it is encoded, right?
Yep.:)
Lathe
28th July 2026, 00:00
Yep.:)
I'm learn'n... :D
I think I'll stay with the older method, but use the Hable or at least try it. The nits SEEM usually to work out at 200 for me, occasionally I'll hafta change it. I THINK what I gathered from the description about the differences between Mobius and Hable is that Mobius preserves the colours better and Hable preserves the detail better... I guess... :)
Thanks Bro!
Lathe
31st July 2026, 01:38
WOW! This is weird... I'm currently doing a conversion HDR-SDR as usual. But, I'm starting with a UHD file that is about 72 Gigs, but after reencoding Clever rendered a file that was only 3.5 Gigs! WTF!??? I've never seen that before. I looked and I set the CRF at 17 which is pretty high quality. How is that possible that the rendered file would be that small? I mean, I've had recent encodes where there is almost no grain at all that maybe ended up at 10 or 11 Gigs, even at a CRF of 15, but 3.5?! I don't understand that...
FWIW, here is the file generated by Clever:
E:\TSMUXER\00003$_V0.mkv?Video ---> x264 (avc) - Stream ID 0 from?0?B?1
Also, the resulting 3.3 Gig file has a bitrate of 4300??? That doesn't seem right at all. Any thoughts?
Oh, also I did take your recommendations and I used Hable and Lancros. The 100 nits look a tad dark, but would changing these parameters result in such a small, low bitrate file? It is just SO radically different from the usual results. I mean, the picture LOOKS good, but what do you think is going on here?
Thanks!
Lathe
31st July 2026, 02:33
Hmmm, interesting, even with my old settings at CRF 15, it STILL yields a really small file, probably about 6.x Gigs. Must be ZERO grain or something in the movie.
Okay, here are two snapshots, the first is with the Hable, Lacros, 100 nits, CRF 17. The second is with my old settings of Mobius, Bicubic, 200 nits, CRF 15. Interestingly the Hable is lighter. the Mobius is darker but I THINK with a tad more contrast, so I'm thinking maybe with the Mobius settings but with it slightly lighter nits? Hell if I know! :D
Sorry that the pictures are so large, I didn't realize that...
https://lh3.googleusercontent.com/pw/AP1GczMavscQdp_2vLwgAeJXOvjVhCoGu4ULgHYGpubbfxZ1e3H1rju9uScAu--nvFPIY-brFqRon7rQ8BOwZLuSTJjg_qRnT0aEDvrumvn2Lz3u-pT30bS3GDgWguzaAvHlyvjf7cUjf9OYTrJzUXxHYV3p3Q=w3148-h1323-s-no-gm?authuser=0
https://lh3.googleusercontent.com/pw/AP1GczOuE4t8e5nGPboec-tXoKd7f-KSCZzqRDRxkCVO5X_QmMSHrWklGeD2BjPGPr5NkDgms8MALtB84VJUV8XSerEtZ9iXyilF5VT3dWrGrW22NronXA7eNSCadKttVv0oDQPGs72dmEOH3cyLFtDTzp7r0Q=w3162-h1323-s-no-gm?authuser=0
Any thoughts, maybe something I'm missing about the ways one might be better than the other?
Thanks!
Lathe
31st July 2026, 02:52
Okay, here are two 45 second snippets, please see what you think and if you could kindly give me any input on the differences or suggestions, that would be great, thank you! :)
https://lathe-of-heaven.com/Hable.mkv
https://lathe-of-heaven.com/Mobius.mkv
Lathe
31st July 2026, 03:03
Sorry for all the posts mate! Yeah, in reviewing and researching, I think using the Hable/Lancros is the way to go. I just have to use a much higher bitrate or lower CRF I think, so I'm redoing it at a CRF of 12, and yes the 100 nits is lighter and looks better.
***EDIT
Okay, LAST POST, I promise! :D
Yep... seeing the results of the Hable/Lancros, it looks REALLY good! Very sharp, with a lot depth, colour and detail, REALLY like it!
Thanks again for the F'n GREAT program and for all help mate!
Lathe
6th August 2026, 02:51
Ah... I just tried the new settings with the 4k Jackie Chan movie 'ARMOR OF GOD'... It defaulted to the new setting and I set it for Hable. And, you know, I thought the result looked REALLY good! The colours were so vibrant and sharp! This 4k does have HDR and Dolby vision, so I guess that's why Clever defaulted to the new setting. Well, if it's gonna look THIS damn good, yeah, I'll definitely use it.
Do you think this will always or usually turn out this good if a 4k film has HDR and/or Dolby Vision, and should I in those cases allow it to default to the new setting?
ProWo
6th August 2026, 10:06
Do you think this will always or usually turn out this good if a 4k film has HDR and/or Dolby Vision, and should I in those cases allow it to default to the new setting?
Yes, of course, you could also leave the tonemap setting at auto instead of hable. This way libplacebo should set the best tonemap itself.
Lathe
7th August 2026, 01:08
Yes, of course, you could also leave the tonemap setting at auto instead of hable. This way libplacebo should set the best tonemap itself.
Thanks! I was really impressed with the way this last movie turned out!
Lathe
7th August 2026, 03:56
Okay, so I have a 4k movie that is supposedly encoded with DV, however when I choose HDR-SDR Clever defaults to the 'Old' CPU setting. Shouldn't it default to the new setting instead? What do I do...? Do I go with the older default or do I go ahead and choose the newer setting anyway? It's a bit confusing as to which setting I should use.
Here are the MediaInfo stats of the movie:
Video
ID : 1
ID in the original source medium : 4113 (0x1011)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : Dolby Vision, Version 1.0, Profile 7.6, dvhe.07.06, BL+EL+RPU, no metadata compression, Blu-ray compatible / SMPTE ST 2094 App 4, Version HDR10+ Profile B, HDR10+ Profile B compatible
Codec ID : V_MPEGH/ISO/HEVC
Duration : 1 h 36 min
Bit rate : 89.1 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.448
Stream size : 60.1 GiB (93%)
Language : English
Default : No
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 958 cd/m2
Maximum Frame-Average Light Level : 218 cd/m2
Original source medium : Blu-ray
Is there anything in this information that will help me know what to choose in the future?
Thanks!
***EDIT
Okay, I compared snippets of encodes done with the default 'Older' method the way I'd normally do it and also one done with the 'Newer' setting on Auto. Interestingly, the Older CPU encode was a tad darker, but like on his white jacket it was really pixelated if that's what you call it. With the Newer encode set on Auto it came out lighter and I think a bit sharper, but his white jacket was not pixelated. So, I'm ASSuming that even it Clever defaults to the Older method, IF the movie does indeed have DV or HD10+ I should still set it for the Newer method, is that right?
ProWo
7th August 2026, 09:52
... So, I'm ASSuming that even it Clever defaults to the Older method
Is this video from Clever not being recognized as Dolby Vision?
If that's the case, please upload a 10-second clip from the original somewhere and post the link here so I can improve the recognition.
IF the movie does indeed have DV or HD10+ I should still set it for the Newer method, is that right?
Yes (but it should be recognized automatically).
Lathe
7th August 2026, 10:05
Is this video from Clever not being recognized as Dolby Vision?
If that's the case, please upload a 10-second clip from the original somewhere and post the link here so I can improve the recognition.
Yes (but it should be recognized automatically).
Okay... I'll create a snippet of the original. You DID see the MediaInfo for it that I posted above, right?
I did a 5 second one since the file was so large, I only did the video file, no audio files.
https://lathe-of-heaven.com/BOR-001.mkv
ProWo
8th August 2026, 12:31
----------------------------------------------------------------------------------
August 08, 2026 release version 3.5.7.
----------------------------------------------------------------------------------
Added:
Libplacebo tonemapping for HDR to SDR
Filename check and automatic rename for escaped filenames containing , and ;
Tootips on encoder settings
Fixed:
Bug with higher DPI in messagebox
Bug with video transpose filter, not working anymore
Bug with keep HDR/HLG with missing colorspace info
Bug with downmix options button vanished with changing pcm codec
Bug with video preview with transpose + change fps (keep duration disabled)
Bugs with video preview if raw stream is loaded
Changed:
Settings: you can switch between page 1 an 2 now
Improved:
Incompatible streams in container message.
Change colorspace (detecting and changing)
Tonemapping filterchain for HDR to SDR
Update process
Dolby Vision detection
----------------------------------------------------------------------------------
Lathe
9th August 2026, 03:37
----------------------------------------------------------------------------------
August 08, 2026 release version 3.5.7.
----------------------------------------------------------------------------------
Added:
Libplacebo tonemapping for HDR to SDR
Filename check and automatic rename for escaped filenames containing , and ;
Tootips on encoder settings
Fixed:
Bug with higher DPI in messagebox
Bug with video transpose filter, not working anymore
Bug with keep HDR/HLG with missing colorspace info
Bug with downmix options button vanished with changing pcm codec
Bug with video preview with transpose + change fps (keep duration disabled)
Bugs with video preview if raw stream is loaded
Changed:
Settings: you can switch between page 1 an 2 now
Improved:
Incompatible streams in container message.
Change colorspace (detecting and changing)
Tonemapping filterchain for HDR to SDR
Update process
Dolby Vision detection
----------------------------------------------------------------------------------
Awesome, thanks Bro! So, did you learn anything from the HDR snippet I posted? Just curious... Did that change anything with the DV detection or maybe the HDR detection? Does that mean that Clever will now default to the proper one to use every time?
ProWo
9th August 2026, 10:42
Awesome, thanks Bro! So, did you learn anything from the HDR snippet I posted? Just curious... Did that change anything with the DV detection or maybe the HDR detection?
Yep, your snippet was helpful to improve the DV detection.
Does that mean that Clever will now default to the proper one to use every time?Should be so.
Lathe
9th August 2026, 23:11
Yep, your snippet was helpful to improve the DV detection.
Should be so.
U Da Man! :D
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.