This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[BUG] Encoder to CRF, output VBR
#1
Hello! I use Hybrid_2022.03.20.1_SETUP
and Windows 8.1

Source
[Image: 8acbefc48c282db29002fbcd4d45b89e.png]

x264 settings
I use only profiles very slow, film and CRF
[Image: e5dec5553c249fe2f2873ea4f404ab3b.png]

crop, resize
[Image: 04953592052f34b3e56af85cbb6e6f7a.png]

log MediaInfo
General
Complete name                            : g:\test_output.mp4
Format                                   : MPEG-4
Format profile                           : JVT
Codec ID                                 : avc1 (isom/avc1)
File size                                : 1.72 MiB
Duration                                 : 5 s 40 ms
Overall bit rate                         : 2 861 kb/s
Frame rate                               : 25.000 FPS
Encoded date                             : 2025-05-03 04:39:09 UTC
Tagged date                              : 2025-05-03 04:39:09 UTC
Writing application                      : Hybrid 2022.03.20.1

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings                          : CABAC / 16 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 16 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 5 s 40 ms
Bit rate                                 : 2 858 kb/s
Maximum bit rate                         : 3 254 kb/s
Width                                    : 704 pixels
Height                                   : 528 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.308
Stream size                              : 1.72 MiB (100%)
Writing library                          : x264 core 164 r3094 bfc87b7
Encoding settings                        : cabac=1 / ref=16 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=62500 / vbv_bufsize=78125 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Encoded date                             : 2025-05-03 04:39:09 UTC
Tagged date                              : 2025-05-03 04:39:09 UTC
Color range                              : Limited
Matrix coefficients                      : BT.470 System B/G
mdhd_Duration                            : 5120
Codec configuration box                  : avcC

I used encoder to CRF, but output VBR
Overall bit rate: 2 861 kb/s
Bit rate: 2 858 kb/s
Maximum bit rate: 3 254 kb/s ?
Reply
#2
1. the output encoder used crf (crf=20.0)
2. yes, naturally the output of crf encoding is vbr
3. Bitrates
Overall bit rate: 2 861 kb/s = overall bitrate for the container, calculated by MediaInfo based on the size and lenght of the container
Bit rate: 2 858 kb/s = caclulated average bitrate, calculated by MediaInfo based on the size and length of the video stream
Maximum bit rate: 3 254 kb/s = maximum bitrate used by the video stream based on the analysis of MediaInfo

=> Seems all correct, my guess is you don't really know what you are doing.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#3
I'll give you another example a little later.

For other example. encoding in other software

General
Unique ID                                : 216375216567852953091413239147048810896 (0xA2C859D35882A0D0912652D4854D3990)
Complete name                            : L:\TorrentDownloads\Films\USA\Andrew_Davis\The.Fugitive.(1993)\The.Fugitive.(1993).(DVDRip.FS.2xDUB.DVO.2xAVO.Eng.Sub)\The.Fugitive.(1993).(DVDRip.FS.2xDUB.Eng.Sub).mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 2.90 GiB
Duration                                 : 2 h 10 min
Overall bit rate                         : 3 189 kb/s
Frame rate                               : 23.976 FPS
Encoded date                             : 2025-01-04 17:10:26 UTC
Writing application                      : mkvmerge v8.3.0 ('Over the Horizon') 64bit
Writing library                          : libebml v1.3.1 + libmatroska v1.4.2

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3.1
Format settings                          : CABAC / 8 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 8 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 2 h 10 min

Bit rate                                 : 2 098 kb/s

Width                                    : 720 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 4:3
Frame rate mode                          : Constant
Frame rate                               : 23.976 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.253
Stream size                              : 1.91 GiB (66%)
Writing library                          : x264 core 164 r3194 1243d9f
Encoding settings                        : cabac=1 / ref=8 / deblock=1:-2:-2 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.12 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=4 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=12 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc=crf / mbtree=0 / crf=18.0 / qcomp=0.62 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / pb_ratio=1.30 / aq=2:1.00
Language                                 : English
Default                                  : Yes
Forced                                   : No

Audio #1
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 2 h 10 min
Bit rate mode                            : Constant
Bit rate                                 : 448 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                              : 417 MiB (14%)
Title                                    : DUB.Most.Video.6ch
Language                                 : Russian
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No

Bit rate : 2 098 kb/s

Where?
Maximum bit rate: ?
Reply
#4
Can't say for sure when MediaInfo will report max bitrate and when not.
You would have to ask the MediaInfo author about that.
I suspect that it's either that:
  • the used muxer of the other tool does not keep or write as much information as the muxer Hybrid used
  • the fact that Hybrid by default sets profile&levels&vbv might cause a difference.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)