____________________________________________________________
Handbrake 1.8.2 (2024081000)
Video.svt-av1 10 bit fast decode Preset 5 2-pass vbr 2301 kbps
Audio.128 kbps opus 2.0
____________________________________________________________
File
Video: AV01 1920x1080 23.976fps [V: av1 main, yuv420p10le, 1920x1080 [default]]
Audio: Opus 48000Hz stereo 3072kbps [A: Stereo opus 128 kbps [eng] (opus, 48000 Hz, stereo) [default]]
Subtitle: Advanced SubStation Alpha [S: English [eng] (ass)]
Subtitle: Advanced SubStation Alpha [S: Polish [pol] (ass)]
Subtitle: UTF-8 [S: Portuguese [por] (subrip) [default]]
Subtitle: UTF-8 [S: French [fre] (subrip) [default]]
Subtitle: UTF-8 [S: Spanish [spa] (subrip) [default]]
Subtitle: UTF-8 [S: Arabic [ara] (subrip) [default]]
Subtitle: UTF-8 [S: Chinese [chi] (subrip) [default]]
Subtitle: UTF-8 [S: German [ger] (subrip) [default]]
Subtitle: UTF-8 [S: No subtitles]
General
Unique ID : 296365329814082434988444483333765255150 (0xDEF5E2E5A6F4C8B79DEEB59FA4D8CFEE)
Complete name : Groundhog.Day.1993.bluray.sdr.1080p.av1-Rosy.mkv
Format : Matroska
Format version : Version 4
File size : 1.71 GiB
Duration : 1 h 41 min
Overall bit rate : 2 419 kb/s
Frame rate : 23.976 FPS
Movie name : Groundhog.Day.1993.bluray.sdr.1080p.av1-Rosy
Encoded date : 2024-11-19 06:30:43 UTC
Writing application : mkvmerge v88.0 ('All I Know') 64-bit
Writing library : libebml v1.4.5 + libmatroska v1.7.1
Cover : Yes
Attachments : cover.jpg
Video
ID : 1
Format : AV1
Format/Info : AOMedia Video 1
Format profile : Main@L4.0
Codec ID : V_AV1
Duration : 1 h 41 min
Bit rate : 2 302 kb/s
Width : 1 920 pixels
Height : 1 080 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 0)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.046
Stream size : 1.62 GiB (95%)
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Audio
ID : 2
Format : Opus
Codec ID : A_OPUS
Duration : 1 h 41 min
Bit rate : 114 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 50.000 FPS (960 SPF)
Compression mode : Lossy
Stream size : 82.6 MiB (5%)
Title : Stereo opus 128 kbps
Language : English
Default : Yes
Forced : No
____________________________________________________________
Source
Video: MPEG4 Video (H264) 1920x1080 23.976fps [V: English [eng] (h264 high L4.1, yuv420p, 1920x1080) [default]]
Audio: TrueHD 48000Hz 8ch 9216kbps [A: English [eng] (truehd atmos, 48000 Hz, 7.1, s24) [default]]
Subtitle: UTF-8 [S: Polish [pol] (subrip)]
Subtitle: UTF-8 [S: English [eng] (subrip)]
Subtitle: UTF-8 [S: No subtitles]
General
Unique ID : 52464824256833227458662912757704289685 (0x27785B8C168E4108EDA74100D1D1ED95)
Complete name : Groundhog.Day.1993.1080p.BluRay.REMUX.AVC.TrueHD.7.1.Atmos-Asmo.mkv
Format : Matroska
Format version : Version 4
File size : 21.4 GiB
Duration : 1 h 41 min
Overall bit rate mode : Variable
Overall bit rate : 30.4 Mb/s
Frame rate : 23.976 FPS
Encoded date : 2023-09-14 09:00:43 UTC
Writing application : mkvmerge v65.0.0 ('Too Much') 64-bit
Writing library : libebml v1.4.2 + libmatroska v1.6.3
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 2 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference fra : 2 frames
Format settings, Slice count : 4 slices per frame
Codec ID : V_MPEG4/ISO/AVC
Duration : 1 h 41 min
Bit rate mode : Variable
Bit rate : 25.6 Mb/s
Width : 1 920 pixels
Height : 1 080 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
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.514
Time code of first frame : 00:59:59:00
Stream size : 18.0 GiB (84%)
Language : English
Default : Yes
Forced : No
Audio
ID : 2
Format : MLP FBA 16-ch
Format/Info : Meridian Lossless Packing FBA with 16-channel presentation
Commercial name : Dolby TrueHD with Dolby Atmos
Codec ID : A_TRUEHD
Duration : 1 h 41 min
Bit rate mode : Variable
Bit rate : 4 735 kb/s
Maximum bit rate : 7 296 kb/s
Channel(s) : 8 channels
Channel layout : L R C LFE Ls Rs Lb Rb
Sampling rate : 48.0 kHz
Frame rate : 1 200.000 FPS (40 SPF)
Compression mode : Lossless
Stream size : 3.34 GiB (16%)
Language : English
Default : Yes
Forced : No
Number of dynamic objects : 11
Bed channel count : 1 channel
Bed channel configuration : LFE
____________________________________________________________
Tools
Ab-av1
FFBitrateViewer
FFmpeg
FFmetrics
Freefilesync
Handbrake
Jackett
Mediainfo
Mkvtoolknix
Qbittorent
Scenerulez
Shutterencoder
VVV-virtualvolumeview
Xnconvert
Xnview mp
===================== AV1 guide v14 ========================
Step 1 - Check VMAF with Ab-av1
1. AV1
Source resolution → crf-search -i "c:\file.mkv" --pix-format yuv420p10le --svt fast-decode=1 --svt tune=0 --preset 5 --min-samples 20 --min-vmaf 98
1080p Downscale → crf-search -i "c:\file.mkv" --pix-format yuv420p10le --svt fast-decode=1 --svt tune=0 --preset 5 --min-samples 20 --min-vmaf 96 --vfilter "scale=-1:1080"
720p Downscale → crf-search -i "c:\file.mkv" --pix-format yuv420p10le --svt fast-decode=1 --svt tune=0 --preset 5 --min-samples 20 --min-vmaf 96 --vfilter "scale=-1:720"
Sample encode → sample-encode -i "c:\file.mkv" --pix-format yuv420p10le --svt fast-decode=1 --svt tune=0 --preset 5 --min-samples 20 --crf 20
2. x265
Source resolution → crf-search -i "c:\file.mkv" --encoder libx265 --pix-format yuv420p10le --preset medium --min-samples 20 --enc x265-params=fastdecode=1 --min-vmaf 98
1080p Downscale → crf-search -i "c:\file.mkv" --encoder libx265 --pix-format yuv420p10le --preset medium --min-samples 20 --enc x265-params=fastdecode=1 --min-vmaf 96 --vfilter "scale=-1:1080"
720p Downscale → crf-search -i "c:\file.mkv" --encoder libx265 --pix-format yuv420p10le --preset medium --min-samples 20 --enc x265-params=fastdecode=1 --min-vmaf 96 --vfilter "scale=-1:720"
____________________________________________________________
Step 2 - HandBrake
Summary:
- Container: MKV
Dimensions:
- Cropping: None
- Anamorphic: None
- Borders: None
Video:
- Encoder: AV1 (10-bit SVT)
- Framerate: Same as source
- Preset: 5
- Fast Decode: ✓
- Encoder Profile: Main
- Encoder Level: Auto
- Quality: CRF determined from "ab-av1"(1), or crf 20-25
Audio:
- DTS to Opus Conversion:
- DTS 7.1 → Opus @ 512 kbps
- DTS 5.1 → Opus @ 384 kbps
- DTS 2.0 → Opus @ 128 kbps
*When passtrough? lossy codec(opus,aac, ac3, eac3,wma) 768-128 kbps
____________________________________________________________
Step 3 - Subtitles
- Original → passtrough
- Subtitle Translator
- Whisper OpenAI
- Opensubtitles
- Subtitlecat
*If size is an issue don`t use pgs, prefer ass/srt.
____________________________________________________________
References
1. Dolby, 2023. What are Dolby Vision profiles and levels? [Online]
2. Ozer, J., 2017. Video Encoding by the Numbers: Eliminate the Guesswork from your Streaming Video. Doceo Publishing.
3. Sayood, K., 2017. Introduction to Data Compression. 5th Edition.
4. Ozer, J., 2021. What is CBR, VBR, CRF, Capped-CRF? Rate Control Modes Explained.
5. Rassool, Reza. VMAF Reproducibility: Validating a Perceptual Practical Video Quality Metric.
6. Kah, A. e al. Fundamental relationships between subjective quality, user acceptance, and the VMAF metric for a quality-based bit rate ladder design for over-the-top video streaming services.
7. Boldrin, M. 2008. Against Intellectual Monopoly.