@ Findu
Try this.
Quit clever FFmpeg-GUI.
Check, if there ist the BT_open.txt file in your target folder.
If so, open it with your text editor, if not, create a new BT_open.txt file.
Replace all into it with the text from #1
Save the file. and start clever FFmpeg-GUI.
It will start directly into the batch grid.
Click on execute. If it works, note the encoding speed.
Then you can abort the encoding and quit clever FFmpeg-GUI.
If it fails, note the error code.
Repeat all with #2, #3 ,#4.
#4 is with HW_decoding
#1
#2Code:Video ---> h264_amf - Stream ID 0 from?C:\Users\Findu\Downloads\film\Test_01.mkv?1798327?-hide_banner -loglevel error -stats -y -fflags +genpts -i "C:\Users\Findu\Downloads\film\Test_01.mkv" -vf fps=24000/1001 -map 0:0 -c:v h264_amf -color_range tv -an -sn -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?C:\Users\Findu\Downloads\Test_01_V0.mkv?1
#3Code:Video ---> h264_amf - Stream ID 0 from?C:\Users\Findu\Downloads\film\Test_01.mkv?1798327?-hide_banner -loglevel error -stats -y -fflags +genpts -i "C:\Users\Findu\Downloads\film\Test_01.mkv" -vf fps=24000/1001 -map 0:0 -c:v h264_amf -qvbr_quality_level 23 -color_range tv -an -sn -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?C:\Users\Findu\Downloads\Test_01_V0.mkv?1
#4Code:Video ---> h264_amf - Stream ID 0 from?C:\Users\Findu\Downloads\film\Test_01.mkv?1798327?-hide_banner -loglevel error -stats -y -fflags +genpts -i "C:\Users\Findu\Downloads\film\Test_01.mkv" -vf fps=24000/1001 -map 0:0 -c:v h264_amf -qvbr_quality_level 23 -rc hqvbr -color_range tv -an -sn -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?C:\Users\Findu\Downloads\Test_01_V0.mkv?1
Code:Video ---> h264_amf - Stream ID 0 from?C:\Users\Findu\Downloads\film\Test_01.mkv?1798327?-hide_banner -loglevel error -stats -vsync 0 -hwaccel:0 auto -y -fflags +genpts -i "C:\Users\Findu\Downloads\film\Test_01.mkv" -vf fps=24000/1001 -map 0:0 -c:v h264_amf -color_range tv -an -sn -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?C:\Users\Findu\Downloads\Test_01_V0.mkv?1
+ Reply to Thread
Results 1,231 to 1,260 of 1862
-
Last edited by ProWo; 8th Nov 2024 at 11:26.
-
@ ProWo
Results running @ v3.3.1
#1 encoding speed 18x
#2 encoding speed 18x
#3 encoding speed 1x
#3 encoding speed 10x
---
And my first outcom testing HW Encoding on Nvidia @ W10
[Attachment 83411 - Click to enlarge]
Video ---> h264_nvenc - Stream ID 0 from?M:\Test_02.mp4?1798125?-hide_banner -loglevel error -stats -vsync 0 -hwaccel:0 auto -hwaccel_output_format cuda -y -fflags +genpts -i "M:\Test_02.mp4" -vf fps=24000/1000 -map 0:0 -c:v h264_nvenc -cq 25 -color_range tv -an -sn -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?M:\Test_02_V0.mkv?1
[Attachment 83412 - Click to enlarge]
Video ---> h264_nvenc - Stream ID 0 from?M:\Test_02.mp4?1798125?-hide_banner -loglevel error -stats -y -fflags +genpts -i "M:\Test_02.mp4" -vf fps=24000/1000 -map 0:0 -c:v h264_nvenc -cq 25 -color_range tv -an -sn -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?M:\Test_02_V0.mkv?1 -
Thanks for testing, I think we got a working commandline for AMD hw_supported encoding.
For #3 encoding speed 10x (I think it should be #4 encoding speed 10x):
This are good news, because it means that hw decoding works.
The overall speed decreases, but the CPU load should also decrease noticeably.
For your test on nVidia @W10:
This is strange, the second commandline should work.
Check if your nVidia hardware is compatible.
https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-newLast edited by ProWo; 9th Nov 2024 at 07:38. Reason: Typo
-
@ ProWo
Good that AMD hardware encoding is working!
---
nVidea hardware encoding:
My old GTX 660 Ti is not on the mentioned capability list.
ffmpeg 7.1
libx264 does encoding with speed 3,0x
h264_nvenc is reporting
[h264_nvenc @ 0000014049a52080] Driver does not support the required nvenc API version. Required: 12.2 Found: 11.1
[h264_nvenc @ 0000014049a52080] The minimum required Nvidia driver for nvenc is 551.76 or newer
h264_nvenc using
ffmpeg 4.3.2 does HW encoding with speed 7,4x
ffmpeg 5.1.2 does HW encoding with speed 6,0x
So I can confirm that nVidia HW encoding is working with HW_decoder unchecked using older ffmpeg versions @ GTX 660 Ti. -
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. -
Default flag handling in muxing grid (thx to neptune84 for the hint).
[Attachment 83425 - Click to enlarge] -
-
-
-
@ ProWo, beta (v3.3.1.02) feedback
I can confirm that changes in "Encoder Settings" grid does not cause error pop-ups when changing options for h264_amf, hevc_amf and h264_nvenc.
My old GTX 660 Ti does not support hevc_nvenc, so I can't test it!
But it supports HW de-/encoding simultaniously running @ speed 16x.
Problem: all AMD HW encoded output files are uncompressed on my Ryzen 5 7530U with OEM-provided drivers
For example the app generates:
Video ---> h264_amf - Stream ID 0 from?C:\Users\Findu\Downloads\input.mp4?145000?-hide_banner -loglevel error -stats -vsync 0 -hwaccel:0 auto -y -fflags +genpts -i "C:\Users\Findu\Downloads\input.mp4" -vf fps=30000/1000,format=yuv420p -map 0:0 -c:v h264_amf -profile:v high -preset speed -qvbr_quality_level 23 -an -sn -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?C:\Users\Findu\Downloads\input_V0.mkv
But ffmpeg 7.1 does not know -qvbr_quality_level
-rc_mode QVBR, doesn't work either
-b:v ####k, is working with HW Encoding!
Sorry, as I'm not familliar with ffmpeg! -
Good news, thanks.
First of all: Thanks for your testing support.
Could you test the following, with version 3.3.1.02 and ffmpeg 7.1, on your AMD platform?
Replace -qvbr_quality_level 23 in your code above with:
#1Code:-cq 23
Code:-cq 23 -rc hqvbr
Code:-rc hqvbr -qvbr_quality_level 23
Last edited by ProWo; 11th Nov 2024 at 02:53.
-
@ ProWo
Could you test the following, with version 3.3.1.02 and ffmpeg 7.1, on your AMD platform?
Replace -qvbr_quality_level 23 in your code above with:
#1 -cq 23 speed 5,0x file size 350 MB no compression!
#2 -cq 23 -rc hqvbr speed 0,9x file size 90 MB
#3 -rc hqvbr -qvbr_quality_level 23 speed 0,9x file size 90 MB
To sets the QVBR quality level to control the output file size you have to use:
-rc qvbr -qvbr_quality_level 23 speed 2,4x file size 29 MB
Input file size is 28 MB.
All tests show low CPU and GP usage! -
@ Findu
Could you test the following, with version 3.3.1.02 and ffmpeg 7.1, on your AMD platform?
Delete -profile:v high -preset speed from your code above.
Then try #1, #2, #3, #4 without -vsync 0 -hwaccel:0 auto
Finaly try #1, #2, #3, #4 with -vsync 0 -hwaccel:0 auto
Replace -qvbr_quality_level 23 in your code above with:
#1
Code:
Code:-rc cqp -qp_i 23 -qp_p 23 -qp_b 23
Code:
Code:-rc qvbr -qp_i 23 -qp_p 23 -qp_b 23
Code:
Code:-rc hqvbr -qp_i 23 -qp_p 23 -qp_b 23
Code:
Code:-rc hqcbr -qp_i 23 -qp_p 23 -qp_b 23
-
@ ProWo
#1 -rc cqp -qp_i 23 -qp_p 23 -qp_b 23
#2 -rc qvbr -qp_i 23 -qp_p 23 -qp_b 23
#3 -rc hqvbr -qp_i 23 -qp_p 23 -qp_b 23
#4 -rc hqcbr -qp_i 23 -qp_p 23 -qp_b 23
a = without -vsync 0 -hwaccel:0 auto
b = with -vsync 0 -hwaccel:0 auto
results:
#1a 14,3x 36 MB
#2a 2,4x 29 MB
#3a 0,9x 90 MB
#4a 0,9x 90 MB
#1b 6,3x 36 MB
#2b 2,0x 29 MB
#3b 0,6x 90 MB
#4b 0,6x 90 MB -
@ Findu
Could you test also the following, with version 3.3.1.02 and ffmpeg 7.1, on your AMD platform?
Delete -profile:v high -preset speed from your code above.
Then try #1, #2, #3, #4 without -vsync 0 -hwaccel:0 auto
Finaly try #1, #2, #3, #4 with -vsync 0 -hwaccel:0 auto
Replace -qvbr_quality_level 23 in your code above with:
#1: -rc 0 -qp_i 23
#2: -rc 0 -qp 23
#3: -rc 0 -qp_i 23 -qp_p 25 -qp_b 27
#4: -rc 0 -q 23 -
@ ProWo
#1: -rc 0 -qp_i 23
#2: -rc 0 -qp 23
#3: -rc 0 -qp_i 23 -qp_p 25 -qp_b 27
#4: -rc 0 -q 23
a = without -vsync 0 -hwaccel:0 auto
b = with -vsync 0 -hwaccel:0 auto
results:
#1a 15,1x 41 MB
#2a 15,3x 41 MB
#3a 15,7x 29 MB
#4a 15,7x 41 MB
#1b 6,2x 41 MB
#2b 6,2x 41 MB
#3b 6,1x 29 MB
#4b 6,2x 41 MB -
You can see the generated commandline clicking on "To batch" instead of encode.
Then quit clever FFmpeg-GUI.
In your target folder you'll find a new file named BT_open.txt.
Open it with any text editor and you will see commandline and other infos regarding the batch operation. -
----------------------------------------------------------------------------------
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.Last edited by ProWo; 14th Nov 2024 at 09:53.
-
@ ProWo
3.3.2 feedback
Two questions about the grid handling @ "Video encoding", for
- "Encoder settings"
If I change the value for CRF/CQ, the setting of Profile always swicht back to auto (default). The settings for Preset, Tune and HW-decoder remains unchanged. Should Preset not act like the ohers?
- "Encoder"
If I change the Encoder, all settings in "Encoder settings" get reset to default. But HW-decoder keeps the hook untill an encoder does not provide HW-decoding. Should HW-decoding not always change to not checked (default)?
And her are the defaults for h264_amf and hevc_amf:
-c:v h264_amf -rc 0 -qp_i 25 -qp_p 26 -qp_b 27
-c:v hevc_amf -rc 0 -qp_i 30 -qp_p 31
Question: why does hevc_amf not contain -qp_b 32 (what I would expect)?
Quick testing:
AMD Ryzen 5 7530U HW-Encoding is performing 720p @ speed 23x. SW @ speed 6x.
The old nVidia 660 Ti does SW at speed 2x and HW @ speed 6x. In -preset hp @ speed 10x.
Thanks for your commitment to maintain and improv the app! -
You are right, this is a bug and will be corrected in the next beta.
That is the intention.
I use the Intel hardware acceleration on a daily basis and have already forgotten to switch on the hardware decoder a few times. That is why it is now regulated in such a way that the user's choice is retained, on or off.
The hevc_amf encoder doesn't support B frames.
Thank you for your feedback. It is much appreciated. -
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
Thanks for the explanation!
Beta version v3.3.2.01 / ffmpeg 7.1 full feedback:
I can confirm that the bug in video encoder quality value change has been fixed.
Thanks!
---
Suggestion: AMD and Intel HW acceleration encoder (h264_amf, h264_qsv, hevc_amf, hevc_qsv) does not support the encoder setting for Tune.
Would it make sense to remove the option if you find time?
---
I get a bad parameter error with av1 (STV-AV1) with constraind quality encoding:
[Attachment 83598 - Click to enlarge]
Video ---> av1 - Stream ID 0 from?C:\Users\Findu\Downloads\input.mp4?3086792?-hide_banner -loglevel error -stats -y -fflags +genpts -i "C:\Users\Findu\Downloads\input.mp4" -vf fps=24000/1001,colorspace=all=bt709:iall=bt709:range=tv,form at=yuv420p -map 0:0 -c:v libsvtav1 -crf 30 -b:v 2000k -an -sn -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?C:\Users\Findu\Downloads\input_V0.mkv
You provide three identical encoder settings for AV1, SVT-AV1, rav1e:
constant quality: -crf 30 -b:v 0
constraind quality: -crf 30 -b:v 2000k (only error at SVT-AV1)
VBR: -b:v 2000k
To my understandig as a beginner, would it make sense to use:
constant quality: -crf 30 (BRC mode / rate factor : CRF / 30)
constraind quality: -b:v 2000k (BRC mode / target bitrate (kbps) : VBR / 2000)
VBR: -qp 30 (BRC mode / CQP Assignment : CQP / 30)
Sorry! None of my hardware supports av1 HW-acceleration, so I am not able to test it if you plan to integrate it too! -
-
@ ProWo
I noticed that the "Post a review" link on the main page opens my default browser in light mode (which burns my eyes).
This is odd because my browser default mode is dark (Dark setting in chrome, no extension or addon).
If I copy the link (https://www.videohelp.com/softwareaddcomment?id=1799) that opened up in a new instance of the browser (light mode) and paste it manually in a new tab in my already opened default browser (dark mode) .. it shows in dark mode .. white text on black background. which is exactly what I want to happen.
is it possible to default the link to open in a tab of the default browser (if it is already running) instead of a new browser instance?
Thx -
I am looking for a free single lossless GUI tool to manipulate Video files quickly without quality loss, and re-encoding only if needed.
I wish the following features can be implemented in a GUI with dark theme/mode:
1- Cut [lossless]
2- Join [lossless]
3- Rotate (Quick/True) [lossless, no encode for quick rotate, encode for true rotate]
4- Flip (H/V) [lossless]
5- Multiplex (add/remove tracks [V/A/S/CH])
6- Crop [no quality loss, match source quality, re-encode is ok]
*Lossless=No quality loss
Currently I am using different tools to achieve the functionality:
LosslessCut [Cuts, Joins, Rotates, Multiplexes]
Clever-FFmpeg-GUI [Flips]
Still looking for a decent GUI-based Crop Program [used XMedia-Recode in the past but it was buggy]
I hope someone can do all of the above in one single app .. is anyone up for the challenge?Last edited by videoAI; 27th Nov 2024 at 15:13.
-
clever FFmpeg-GUI can do:
1 (on keyframes only)
2
3 (for avc/hevc in mp4/mov)
5 (but muxing is always lossless)
---------------------------------
6 crop lossless makes no sense, because changing the frame size always requires encoding.
Similar Threads
-
New small GUI for FFmpeg
By ProWo in forum Video ConversionReplies: 29Last Post: 24th Feb 2024, 02:06 -
Best GUI for ffmpeg encoding
By usta in forum Video ConversionReplies: 25Last Post: 17th Jan 2019, 11:23 -
GUI for FFMpeg amf?
By Micky in forum Video ConversionReplies: 0Last Post: 14th Jan 2018, 07:45 -
dmMediaEncoder v1.8.0 - crossplatform FFMPEG GUI
By mdalacu in forum Video ConversionReplies: 38Last Post: 29th Sep 2015, 00:19 -
GUI for ffmpeg x265 encoder
By david55 in forum Video ConversionReplies: 13Last Post: 25th Jul 2015, 00:13