Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs

Reply
 
Thread Tools Search this Thread Display Modes
Old 7th November 2024, 09:44   #501  |  Link
ProWo
Registered User
 
Join Date: Mar 2020
Posts: 396
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 is offline   Reply With Quote
Old 10th November 2024, 13:08   #502  |  Link
ProWo
Registered User
 
Join Date: Mar 2020
Posts: 396
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 is offline   Reply With Quote
Old 14th November 2024, 16:11   #503  |  Link
ProWo
Registered User
 
Join Date: Mar 2020
Posts: 396
----------------------------------------------------------------------------------
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 November 2024 at 17:16. Reason: Typo
ProWo is offline   Reply With Quote
Old 18th November 2024, 11:18   #504  |  Link
ProWo
Registered User
 
Join Date: Mar 2020
Posts: 396
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 is offline   Reply With Quote
Old 30th November 2024, 14:39   #505  |  Link
ProWo
Registered User
 
Join Date: Mar 2020
Posts: 396
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.)
ProWo is offline   Reply With Quote
Old 6th December 2024, 15:58   #506  |  Link
jimbobub
Registered User
 
Join Date: Apr 2024
Posts: 15
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.
jimbobub is offline   Reply With Quote
Old 6th December 2024, 19:34   #507  |  Link
ProWo
Registered User
 
Join Date: Mar 2020
Posts: 396
Quote:
Originally Posted by jimbobub View Post
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 is offline   Reply With Quote
Old 7th December 2024, 10:27   #508  |  Link
ProWo
Registered User
 
Join Date: Mar 2020
Posts: 396
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 is offline   Reply With Quote
Old 8th December 2024, 11:44   #509  |  Link
ProWo
Registered User
 
Join Date: Mar 2020
Posts: 396
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.
ProWo is offline   Reply With Quote
Old 9th December 2024, 01:06   #510  |  Link
jimbobub
Registered User
 
Join Date: Apr 2024
Posts: 15
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.
jimbobub is offline   Reply With Quote
Old 9th December 2024, 09:58   #511  |  Link
ProWo
Registered User
 
Join Date: Mar 2020
Posts: 396
Quote:
Originally Posted by jimbobub View Post
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 is offline   Reply With Quote
Old 9th December 2024, 11:45   #512  |  Link
ProWo
Registered User
 
Join Date: Mar 2020
Posts: 396
----------------------------------------------------------------------------------
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.
ProWo is offline   Reply With Quote
Old 9th December 2024, 15:50   #513  |  Link
jimbobub
Registered User
 
Join Date: Apr 2024
Posts: 15
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.
jimbobub is offline   Reply With Quote
Old 9th December 2024, 16:51   #514  |  Link
ProWo
Registered User
 
Join Date: Mar 2020
Posts: 396
Quote:
Originally Posted by jimbobub View Post
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).
ProWo is offline   Reply With Quote
Old 9th December 2024, 19:54   #515  |  Link
jimbobub
Registered User
 
Join Date: Apr 2024
Posts: 15
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 is offline   Reply With Quote
Old 9th December 2024, 20:32   #516  |  Link
jimbobub
Registered User
 
Join Date: Apr 2024
Posts: 15
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.
jimbobub is offline   Reply With Quote
Old 10th December 2024, 10:21   #517  |  Link
ProWo
Registered User
 
Join Date: Mar 2020
Posts: 396
Quote:
Originally Posted by jimbobub View Post
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.
ProWo is offline   Reply With Quote
Old 10th December 2024, 13:49   #518  |  Link
jimbobub
Registered User
 
Join Date: Apr 2024
Posts: 15
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.
jimbobub is offline   Reply With Quote
Old 11th December 2024, 07:57   #519  |  Link
Lathe
Registered User
 
Lathe's Avatar
 
Join Date: Aug 2005
Posts: 1,266
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:



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=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...?

Last edited by Lathe; 11th December 2024 at 09:43.
Lathe is offline   Reply With Quote
Old 11th December 2024, 10:03   #520  |  Link
GeoffreyA
Registered User
 
Join Date: Jun 2024
Location: South Africa
Posts: 234
Quote:
Originally Posted by Lathe View Post
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:



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=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.
GeoffreyA is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 20:08.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.