+ Reply to Thread
Results 1 to 22 of 22
-
Manipulating the command line in BT_open.txt is something for experienced users and will result in error messages and crashes if used incorrectly.
The GUI is designed so that no command line can be entered, allowing every user to use ffmpeg in a simple manner.
If someone knows how to use the command line, they don't need a GUI. -
OK go it but by giving the same parameters of ffmpeg - i command >>>
ffmpeg -hide_banner -y -i "input.mkv" -filter:v "fps=30" -map 0:v -map 0:a:m:language:eng -c:v libx265 -preset faster -crf 22 -pix_fmt yuv420p -threads 0 -c:a copy -sn -movflags +faststart "D:\UTDL\FFmpeg Output\output.H265.mp4"
in CFFmpeg GUI > Btopen.txt >>>
Video ---> x265 (hevc) - Stream ID 0 from?C:\FFmpeg\bin\F1.mkv?910432?-hide_banner -loglevel error -stats -y -fflags +genpts -i "C:\FFmpeg\bin\F1.mkv" -vf fps=30000/1000,format=yuv420p -map 0:0 -c:v:0 libx265 -preset faster -crf 22 -aspect 2.39 -an -sn -dn -metadata:g encoding_tool="clever FFmpeg-GUI" ?D:\UTDL\FFmpeg Output\F1_V0.mkv?1?
I get the ouput video with more brightness which unbalance the video but with ffmpeg -cli command it's perfect. -
-
I have found it. It's to keep the original frame rate as source video i.e. 23.976 and not to change to 30.
Color space to BT.709 and color range to Limited and pixel format to yuv420p in the CFFmpeg Gui. Resulted video perfect.
I have to remove the -filter:v "fps=30" from FFmpeg -CLI too.
Kindly tell about the frame rate. My source video is 2.40.1 and the gui forces to 2.39 and does the gui uses all the threads for CPU encoding : -threads 0
Lastly, Does the gui Multiplex do [-movflags +faststart] for .mp4 -
If your cli commandline is ok for you, so there is no need to change the color space, nor the color range (already limited) in the gui.
You mean the aspect ratio, not the frame rate.Kindly tell about the frame rate. My source video is 2.40.1 and the gui forces to 2.39
There are no films with AR 2.40, but with 2, 2.35, and 2.39.
Therefore, the correction is correct.
Yes.and does the gui uses all the threads for CPU encoding
Yes, you'll find this option in the multiplex window.Lastly, Does the gui Multiplex do [-movflags +faststart] for .mp4 -
can you embed this batch command for autogeneration of chapters in GIU.
@echo off
setlocal EnableDelayedExpansion
if "%~1"=="" (
echo Drag and drop a video file onto this script.
pause
exit /b
)
set "INPUT=%~1"
set "CHAPTERS=chapters.txt"
:: Get duration in seconds (may be float)
for /f "tokens=* delims=" %%A in ('ffprobe -v error -show_entries format^=duration -of default^=noprint_wrappers^=1:nokey^=1 "%INPUT%"') do (
set "DURATION=%%A"
)
:: Strip decimal part if present
for /f "tokens=1 delims=." %%A in ("!DURATION!") do set "DURATION=%%A"
> "%CHAPTERS%" echo ;FFMETADATA1
set /a COUNT=0
:loop
set /a START=COUNT*300
if !START! GEQ !DURATION! goto done
set /a END=START+300
if !END! GTR !DURATION! set /a END=!DURATION!
>> "%CHAPTERS%" echo.
>> "%CHAPTERS%" echo [CHAPTER]
>> "%CHAPTERS%" echo TIMEBASE=1/1
>> "%CHAPTERS%" echo START=!START!
>> "%CHAPTERS%" echo END=!END!
>> "%CHAPTERS%" echo title=Chapter !COUNT!
set /a COUNT+=1
goto loop
:done
echo.
echo Chapter file created: %CHAPTERS%
pauseLast edited by sam12345; 16th Oct 2025 at 09:50.
-
-
ok. this one [Timebase]
@echo off
setlocal EnableDelayedExpansion
:: Check if a video file was passed
if "%~1"=="" (
echo Drag and drop a video file onto this script.
pause
exit /b
)
set "INPUT=%~1"
set "CHAPTERS=chapters.txt"
:: Write the metadata header
> "%CHAPTERS%" echo ;FFMETADATA1
:: Predefined START and END pairs (in TIMEBASE 1/10000000)
set /a COUNT=0
for /f "tokens=1,2 delims= " %%A in ('^
echo 0 6839750000^&^
echo 6839750000 13495160000^&^
echo 13495160000 15984730000^&^
echo 15984730000 19428590000^&^
echo 19428590000 25956370000^&^
echo 25956370000 31817650000^&^
echo 31817650000 36251660000^&^
echo 36251660000 40457950000^&^
echo 40457950000 45091750000^&^
echo 45091750000 50266930000^&^
echo 50266930000 54515340000^&^
echo 54515340000 60387470000^&^
echo 60387470000 66430590000^&^
echo 66430590000 70281940000^&^
echo 70281940000 76831830000^&^
echo 76831830000 82846170000^&^
echo 82846170000 87615940000^&^
echo 87615940000 92027020000^&^
echo 92027020000 97624700000^&^
echo 97624700000 103749479170
') do (
>> "%CHAPTERS%" echo.
>> "%CHAPTERS%" echo [CHAPTER]
>> "%CHAPTERS%" echo TIMEBASE=1/10000000
>> "%CHAPTERS%" echo START=%%A
>> "%CHAPTERS%" echo END=%%B
>> "%CHAPTERS%" echo title=Chapter !COUNT!
set /a COUNT+=1
)
echo.
echo Chapter file created: %CHAPTERS%
pauseLast edited by sam12345; 17th Oct 2025 at 07:57.
-
[QUOTE=sam12345;2784693
This batch Script works fully as per Scene Detection. Request you to embed the same in gui for automatic chapters generation.[/QUOTE]
This seems ok to me. Will implement it. -
MKV Toolnix has the option to Generate Chapters at regular intervals.
[Attachment 89240 - Click to enlarge]
Wondering if you can implement that to. It will be a great convenience for auto generation of chapters > even at regular intervals instead of adding them manually.
Auto generation of chapters at 10 minutes regular interval TXT of the batch (.bat) enclosed herewith -
New batch to add Custom_Chapters on regular intervals on Video Length Detection [More Refined].
This is what we are doing in CFFMpeg GUI
[Attachment 89257 - Click to enlarge]
Enclosed TXT of the batch(.bat)
This auto generate the chapters on regular intervals based on separate video lenght -
clever FFmpeg-GUI automatic scene changes detects one chapter more in this video.
-
-
Then you did something wrong.
After creation, the new chapters are automatically loaded and activated (you can see this with the red “deactivate” button).
Click on “Return” to return to the multiplex window. In the top right corner, you will see “Chapters C” (which stands for created chapters).
Now select a compatible container (mkv, mp4, mov). If you select an incompatible one, an error will be displayed in the top right corner.
Then click on “Multiplex” and the created chapters will be muxed into the video. -
@ProWo
I know the procedure but multiplex is not doing short videos in mp4/mkv.
[Attachment 89343 - Click to enlarge]
[Attachment 89344 - Click to enlarge]
[Attachment 89345 - Click to enlarge]
Output reslut is null -
-
Similar Threads
-
clever FFmpeg-GUI, small FFmpeg UI, fully portable, no installation.
By ProWo in forum Video ConversionReplies: 2866Last Post: 24th Oct 2025, 18:34 -
Clever FFmpeg GUI Batch Mux
By Tom Saurus in forum Video ConversionReplies: 16Last Post: 29th Jun 2025, 08:49 -
Clever FFmpeg GUI doesn't work
By BenBen21 in forum EditingReplies: 29Last Post: 30th Jan 2025, 03:46 -
clever FFmpeg-GUI Error When Input Video Encoded With VP09?
By meeshu in forum EditingReplies: 16Last Post: 18th Mar 2024, 07:14 -
Clever FFMPEG GUI question about cutting/joining middle section
By roadhazard in forum EditingReplies: 12Last Post: 20th Feb 2024, 01:27


Quote