Log in

View Full Version : clever FFmpeg-GUI, small FFmpeg UI, fully portable, no installation.


Pages : 1 2 3 4 5 6 7 8 9 [10] 11 12 13 14 15

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