VMAF 95 - crf 27 preset 5
____________________________________________________________
Encoding
Ab-av1
crf-search -i "D:\file.mkv" --pix-format yuv420p10le --svt fast-decode=1 --svt tune=0 --preset 5 --min-samples 20 --min-vmaf 96
crf 27 VMAF 95.20 predicted video stream size 1.54 GiB (8%) taking 3 hours*
crf 23 VMAF 96.18 predicted video stream size 2.52 GiB (13%) taking 2 hours
Handbrake 1.8.2 (2024081000)
Video.svt-av1 10 bit fast decode Preset 5 crf 27
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: Romanian [rum] (ass)]
Subtitle: Advanced SubStation Alpha [S: English [eng] (ass)]
Subtitle [S: SDH [eng] (pgs)]
Subtitle: Advanced SubStation Alpha [S: Arabic [ara] (ass)]
Subtitle: Advanced SubStation Alpha [S: Bulgarian [bul] (ass)]
Subtitle [S: Cantonese [chi] (pgs)]
Subtitle [S: Simplified [chi] (pgs)]
Subtitle [S: Traditional [chi] (pgs)]
Subtitle [S: Czech [cze] (pgs)]
Subtitle: Advanced SubStation Alpha [S: Danish [dan] (ass)]
Subtitle: Advanced SubStation Alpha [S: Dutch [dut] (ass)]
Subtitle: Advanced SubStation Alpha [S: Estonian [est] (ass)]
Subtitle: Advanced SubStation Alpha [S: Finnish [fin] (ass)]
Subtitle: Advanced SubStation Alpha [S: Canadian [fre] (ass)]
Subtitle: Advanced SubStation Alpha [S: Parisian [fre] (ass)]
Subtitle: Advanced SubStation Alpha [S: SDH [ger] (ass)]
Subtitle: Advanced SubStation Alpha [S: Greek [gre] (ass)]
Subtitle: Advanced SubStation Alpha [S: Hebrew [heb] (ass)]
Subtitle: Advanced SubStation Alpha [S: Hungarian [hun] (ass)]
Subtitle: Advanced SubStation Alpha [S: Indonesian [ind] (ass)]
Subtitle: Advanced SubStation Alpha [S: SDH [ita] (ass)]
Subtitle [S: Japanese [jpn] (pgs)]
Subtitle [S: Korean [kor] (pgs)]
Subtitle: Advanced SubStation Alpha [S: Latvian [lav] (ass)]
Subtitle: Advanced SubStation Alpha [S: Lithuanian [lit] (ass)]
Subtitle: Advanced SubStation Alpha [S: Norwegian [nor] (ass)]
Subtitle [S: Polish [pol] (pgs)]
Subtitle: Advanced SubStation Alpha [S: Brazilian [por] (ass)]
Subtitle: Advanced SubStation Alpha [S: Iberian [por] (ass)]
Subtitle: Advanced SubStation Alpha [S: Russian [rus] (ass)]
Subtitle [S: Slovak [slo] (pgs)]
Subtitle: Advanced SubStation Alpha [S: Slovenian [slv] (ass)]
Subtitle [S: Castilian [spa] (pgs)]
Subtitle: Advanced SubStation Alpha [S: Latin American [spa] (ass)]
Subtitle: Advanced SubStation Alpha [S: Swedish [swe] (ass)]
Subtitle: Advanced SubStation Alpha [S: Thai [tha] (ass)]
Subtitle: Advanced SubStation Alpha [S: Turkish [tur] (ass)]
Subtitle [S: Commentary [chi] (pgs)]
Subtitle [S: Commentary [jpn] (pgs)]
Subtitle [S: Forced Subtitles (auto)]
Subtitle: UTF-8 [S: No subtitles]
General
Unique ID : 145125701699289309006887614353196249348 (0x6D2E31869D0619974135FD8C4844F104)
Complete name : Twisters.2024.bluray.sdr.1080p.av1.2.0.opus.vmaf95-Rosy.mkv
Format : Matroska
Format version : Version 4
File size : 1.72 GiB
Duration : 2 h 2 min
Overall bit rate : 2 015 kb/s
Frame rate : 23.976 FPS
Movie name : Twisters.2024.bluray.sdr.1080p.av1.2.0.opus.vmaf95-Rosy
Encoded date : 2024-11-06 17:29:33 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 : [email protected]
Codec ID : V_AV1
Duration : 2 h 2 min
Bit rate : 1 729 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.035
Stream size : 1.48 GiB (86%)
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 : 2 h 2 min
Bit rate : 117 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 : 102 MiB (6%)
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]]
Audio: Dolby AC3 48000Hz 6ch 640kbps [A: English [eng] (ac3, 48000 Hz, 5.1(side), 640 kb/s)]
Audio: Dolby AC3 48000Hz stereo 192kbps [A: Commentary by Director Lee Isaac Chung [eng] (ac3, 48000 Hz, stereo, 192 kb/s)]
Subtitle: UTF-8 [S: Romanian [rum] (subrip)]
Subtitle: UTF-8 [S: English [eng] (subrip)]
Subtitle [S: SDH [eng] (pgs) [hearing impaired]]
Subtitle: UTF-8 [S: Arabic [ara] (subrip)]
Subtitle: UTF-8 [S: Bulgarian [bul] (subrip)]
Subtitle [S: Cantonese [chi] (pgs)]
Subtitle [S: Simplified [chi] (pgs)]
Subtitle [S: Traditional [chi] (pgs)]
Subtitle [S: Czech [cze] (pgs)]
Subtitle: UTF-8 [S: Danish [dan] (subrip)]
Subtitle: UTF-8 [S: Dutch [dut] (subrip)]
Subtitle: UTF-8 [S: Estonian [est] (subrip)]
Subtitle: UTF-8 [S: Finnish [fin] (subrip)]
Subtitle: UTF-8 [S: Canadian [fre] (subrip)]
Subtitle: UTF-8 [S: Parisian [fre] (subrip)]
Subtitle: UTF-8 [S: SDH [ger] (subrip) [hearing impaired]]
Subtitle: UTF-8 [S: Greek [gre] (subrip)]
Subtitle: UTF-8 [S: Hebrew [heb] (subrip)]
Subtitle: UTF-8 [S: Hungarian [hun] (subrip)]
Subtitle: UTF-8 [S: Indonesian [ind] (subrip)]
Subtitle: UTF-8 [S: SDH [ita] (subrip) [hearing impaired]]
Subtitle [S: Japanese [jpn] (pgs)]
Subtitle [S: Korean [kor] (pgs)]
Subtitle: UTF-8 [S: Latvian [lav] (subrip)]
Subtitle: UTF-8 [S: Lithuanian [lit] (subrip)]
Subtitle: UTF-8 [S: Norwegian [nor] (subrip)]
Subtitle [S: Polish [pol] (pgs)]
Subtitle: UTF-8 [S: Brazilian [por] (subrip)]
Subtitle: UTF-8 [S: Iberian [por] (subrip)]
Subtitle: UTF-8 [S: Russian [rus] (subrip)]
Subtitle [S: Slovak [slo] (pgs)]
Subtitle: UTF-8 [S: Slovenian [slv] (subrip)]
Subtitle [S: Castilian [spa] (pgs)]
Subtitle: UTF-8 [S: Latin American [spa] (subrip)]
Subtitle: UTF-8 [S: Swedish [swe] (subrip)]
Subtitle: UTF-8 [S: Thai [tha] (subrip)]
Subtitle: UTF-8 [S: Turkish [tur] (subrip)]
Subtitle [S: Commentary [chi] (pgs)]
Subtitle [S: Commentary [jpn] (pgs)]
Subtitle [S: Forced Subtitles (auto)]
Subtitle: UTF-8 [S: No subtitles]
General
Unique ID : 250659451365409814821677385691187256323 (0xBC93411B4D158A322D991A8DF09A1C03)
Complete name : Twisters.2024.1080p.BluRay.Remux.AVC.TrueHD.Atmos.7.1-playBD[PianYuan]\Twisters.2024.1080p.BluRay.Remux.AVC.TrueHD.Atmos.7.1-playBD.mkv
Format : Matroska
Format version : Version 4
File size : 23.1 GiB
Duration : 2 h 2 min
Overall bit rate mode : Variable
Overall bit rate : 27.0 Mb/s
Frame rate : 23.976 FPS
Encoded date : 2024-10-11 11:44:21 UTC
Writing application : mkvmerge v87.0 ('Black as the Sky') 64-bit
Writing library : libebml v1.4.5 + libmatroska v1.7.1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference fra : 4 frames
Format settings, Slice count : 4 slices per frame
Codec ID : V_MPEG4/ISO/AVC
Duration : 2 h 2 min
Bit rate mode : Variable
Maximum bit rate : 23.4 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
Language : English
Default : Yes
Forced : No
Audio #1
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 : 2 h 2 min
Bit rate mode : Variable
Maximum bit rate : 4 485 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
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 v12 ========================
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)
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
===================== AV1 guide v12 ========================
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)
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
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. |
udp://open.stealth.si:80/announce udp://exodus.desync.com:6969/announce udp://tracker.cyberia.is:6969/announce udp://tracker.opentrackr.org:1337/announce udp://tracker.torrent.eu.org:451/announce udp://explodie.org:6969/announce udp://tracker.birkenwald.de:6969/announce udp://tracker.moeking.me:6969/announce udp://ipv4.tracker.harry.lu:80/announce |