Benji: Rosy, another "Mission Impossible" release? What’s going on? Is this a
Proper?
Rosy: Technically, it’s not a Proper in the strictest sense.
Benji: Then what’s the difference? It feels like déjà vu.
Rosy: The only difference is that I removed the AC3 and AAC audio tracks, leaving only the Opus track.
Benji: Why go through the hassle for that?
Rosy: Space-saving, Benji. It’s optimized for those who want to burn it onto a DVD9 for backup.
Benji: DVD9 backups? People still do that?
Rosy: You’d be surprised. Some like the security of physical storage without compromising quality.
Benji: Hmm, I see your point. Still, doesn’t it limit options for playback?
Rosy: Not really. Opus is well-supported these days, and this release is specifically aimed at backup enthusiasts.
Benji: Fair enough. Just don’t tell Ethan. He’s already juggling enough missions.
Rosy: Don’t worry, Benji. This one’s not self-destructing anytime soon.
____________________________________________________________
____________________________________________________________
Encoding
Ab-av1 VMAF
sample-encode -i "c:\file.mkv" --pix-format yuv420p10le --svt fast-decode=1 --svt tune=0 --preset 5 --min-samples 20 --crf 20
VMAF 96.59 predicted video stream size 6.48 GiB (10%) taking 7 hours
Handbrake
Video.svt-av1 10 bit fast decode crf 20 Preset 5
Audio.7.1 opus 512 kbps
____________________________________________________________
File
Video: AV01 3840x2160 23.976fps [V: av1 main, yuv420p10le, 3840x2160 [default]]
Audio: Opus 48000Hz 8ch 12288kbps [A: TrueHD Atmos 7.1 [eng] (opus, 48000 Hz, 7.1) [default]]
Subtitle [S: English [eng] (pgs)]
Subtitle [S: English (SDH) [eng] (pgs)]
Subtitle: Advanced SubStation Alpha [S: Arabic [ara] (ass)]
Subtitle: Advanced SubStation Alpha [S: Bulgarian [bul] (ass)]
Subtitle: Advanced SubStation Alpha [S: Chinese (Cantonese) [chi] (ass)]
Subtitle: Advanced SubStation Alpha [S: Chinese (Simplified) [chi] (ass)]
Subtitle: Advanced SubStation Alpha [S: Chinese (Traditional) [chi] (ass)]
Subtitle: Advanced SubStation Alpha [S: Czech [cze] (ass)]
Subtitle: Advanced SubStation Alpha [S: Estonian [est] (ass)]
Subtitle: Advanced SubStation Alpha [S: German [ger] (ass)]
Subtitle: Advanced SubStation Alpha [S: Greek [gre] (ass)]
Subtitle: Advanced SubStation Alpha [S: Hebrew [heb] (ass)]
Subtitle: Advanced SubStation Alpha [S: Hindi [hin] (ass)]
Subtitle: Advanced SubStation Alpha [S: Hungarian [hun] (ass)]
Subtitle: Advanced SubStation Alpha [S: Indonesian [ind] (ass)]
Subtitle: Advanced SubStation Alpha [S: Italian [ita] (ass)]
Subtitle: Advanced SubStation Alpha [S: Korean [kor] (ass)]
Subtitle: Advanced SubStation Alpha [S: Latvian [lav] (ass)]
Subtitle: Advanced SubStation Alpha [S: Lithuanian [lit] (ass)]
Subtitle: Advanced SubStation Alpha [S: Malay [may] (ass)]
Subtitle: Advanced SubStation Alpha [S: Polish [pol] (ass)]
Subtitle: Advanced SubStation Alpha [S: Portuguese (Brazilian) [por] (ass)]
Subtitle: Advanced SubStation Alpha [S: Portuguese (Iberian) [por] (ass)]
Subtitle: Advanced SubStation Alpha [S: Slovak [slo] (ass)]
Subtitle: Advanced SubStation Alpha [S: Slovenian [slv] (ass)]
Subtitle: Advanced SubStation Alpha [S: Spanish (Castilian) [spa] (ass)]
Subtitle: Advanced SubStation Alpha [S: Thai [tha] (ass)]
Subtitle: Advanced SubStation Alpha [S: Turkish [tur] (ass)]
Subtitle: Advanced SubStation Alpha [S: Ukrainian [ukr] (ass)]
Subtitle: Advanced SubStation Alpha [S: Vietnamese [vie] (ass)]
Subtitle: UTF-8 [S: GalaxyRG - Mission.Impossible.Dead.Reckoning.Part.One.2023.1080p.AMZN.WEBRip.1600MB.DD5.1.x264-GalaxyRG [eng] (subrip) [default]]
Subtitle: UTF-8 [S: English [eng] (subrip)]
Subtitle: UTF-8 [S: Arabic [ara] (subrip)]
Subtitle: UTF-8 [S: Bulgarian [bul] (subrip)]
Subtitle: UTF-8 [S: Simplified [chi] (subrip)]
Subtitle: UTF-8 [S: Traditional [chi] (subrip)]
Subtitle: UTF-8 [S: Czech [cze] (subrip)]
Subtitle: UTF-8 [S: Danish [dan] (subrip)]
Subtitle: UTF-8 [S: Greek [gre] (subrip)]
Subtitle: UTF-8 [S: Latin American [spa] (subrip)]
Subtitle: UTF-8 [S: Spanish [spa] (subrip)]
Subtitle: UTF-8 [S: Estonian [est] (subrip)]
Subtitle: UTF-8 [S: Finnish [fin] (subrip)]
Subtitle: UTF-8 [S: French [fre] (subrip)]
Subtitle: UTF-8 [S: Hebrew [heb] (subrip)]
Subtitle: UTF-8 [S: Hindi [hin] (subrip)]
Subtitle: UTF-8 [S: Hungarian [hun] (subrip)]
Subtitle: UTF-8 [S: Indonesian [ind] (subrip)]
Subtitle: UTF-8 [S: Japanese [jpn] (subrip)]
Subtitle: UTF-8 [S: Korean [kor] (subrip)]
Subtitle: UTF-8 [S: Lithuanian [lit] (subrip)]
Subtitle: UTF-8 [S: Latvian [lav] (subrip)]
Subtitle: UTF-8 [S: Malay [may] (subrip)]
Subtitle: UTF-8 [S: Norwegian [nor] (subrip)]
Subtitle: UTF-8 [S: Polish [pol] (subrip)]
Subtitle: UTF-8 [S: Brazilian [por] (subrip)]
Subtitle: UTF-8 [S: Portuguese [por] (subrip)]
Subtitle: UTF-8 [S: Slovak [slo] (subrip)]
Subtitle: UTF-8 [S: Slovenian [slv] (subrip)]
Subtitle: UTF-8 [S: Swedish [swe] (subrip)]
Subtitle: UTF-8 [S: Thai [tha] (subrip)]
Subtitle: UTF-8 [S: Turkish [tur] (subrip)]
Subtitle [S: Forced Subtitles (auto)]
Subtitle: UTF-8 [S: No subtitles]
General
Unique ID : 175704469451409796544190968056181269958 (0x842F732D2A41E4DB719E4DFD8F21A5C6)
Complete name : Mission.Impossible.2023.bluray.hdr.movie.2160p.av1.7.1.opus.vmaf96-Rosy.mkv
Format : Matroska
Format version : Version 4
File size : 7.39 GiB
Duration : 2 h 43 min
Overall bit rate : 6 476 kb/s
Frame rate : 23.976 FPS
Movie name : Mission.Impossible.2023.bluray.hdr.movie.2160p.av1.7.1.opus.vmaf96-Rosy
Encoded date : 2024-11-27 16:27:54 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@L5.0
HDR format : Dolby Vision, Version 1.0, Profile 10.1, dav1.10.08, BL+RPU, no metadata compression, HDR10 compatible / SMPTE ST 2086, Version HDR10, HDR10 compatible / SMPTE ST 2086, Version HDR10, HDR10 compatible
Codec ID : V_AV1
Duration : 2 h 43 min
Bit rate : 6 017 kb/s
Width : 3 840 pixels
Height : 2 160 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 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.030
Stream size : 6.87 GiB (93%)
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primar : Display P3
Mastering display luminance : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level : 997
MaxCLL_Original : 997 cd/m2
Maximum Frame-Average Light Le : 382
MaxFALL_Original : 382 cd/m2
Audio
ID : 2
Format : Opus
Codec ID : A_OPUS
Duration : 2 h 43 min
Bit rate : 413 kb/s
Channel(s) : 8 channels
Channel layout : L R C Ls Rs Lb Rb LFE
Sampling rate : 48.0 kHz
Frame rate : 50.000 FPS (960 SPF)
Compression mode : Lossy
Stream size : 483 MiB (6%)
Title : TrueHD Atmos 7.1
Language : English
Default : Yes
Forced : No
____________________________________________________________
Source
Video: HVC1 3840x2160 23.976fps [V: hevc main 10 L5.1, yuv420p10le, 3840x2160 [default]]
Audio: TrueHD 48000Hz 8ch 9216kbps [A: TrueHD Atmos 7.1 [eng] (truehd atmos, 48000 Hz, 7.1, s24) [default]]
Audio: Dolby AC3 48000Hz 6ch 448kbps [A: AC-3 5.1 [eng] (ac3, 48000 Hz, 5.1(side), 448 kb/s)]
Audio: Dolby AC3 48000Hz 6ch 640kbps [A: AC-3 5.1 [zxx] (ac3, 48000 Hz, 5.1(side), 640 kb/s)]
Audio: Dolby AC3 48000Hz stereo 224kbps [A: Commentary by Director Christopher McQuarrie/Editor Eddie Hamilton [eng] (ac3, 48000 Hz, stereo, 224 kb/s)]
Subtitle [S: English [eng] (pgs)]
Subtitle [S: English (SDH) [eng] (pgs)]
Subtitle: UTF-8 [S: Arabic [ara] (subrip)]
Subtitle: UTF-8 [S: Bulgarian [bul] (subrip)]
Subtitle: UTF-8 [S: Chinese (Cantonese) [chi] (subrip)]
Subtitle: UTF-8 [S: Chinese (Simplified) [chi] (subrip)]
Subtitle: UTF-8 [S: Chinese (Traditional) [chi] (subrip)]
Subtitle: UTF-8 [S: Czech [cze] (subrip)]
Subtitle [S: Danish [dan] (pgs)]
Subtitle [S: Dutch [dut] (pgs)]
Subtitle: UTF-8 [S: Estonian [est] (subrip)]
Subtitle [S: Finnish [fin] (pgs)]
Subtitle [S: French (Canadian) [fre] (pgs)]
Subtitle [S: French (Parisian) [fre] (pgs)]
Subtitle: UTF-8 [S: German [ger] (subrip)]
Subtitle: UTF-8 [S: Greek [gre] (subrip)]
Subtitle: UTF-8 [S: Hebrew [heb] (subrip)]
Subtitle: UTF-8 [S: Hindi [hin] (subrip)]
Subtitle: UTF-8 [S: Hungarian [hun] (subrip)]
Subtitle: UTF-8 [S: Indonesian [ind] (subrip)]
Subtitle: UTF-8 [S: Italian [ita] (subrip)]
Subtitle [S: Japanese [jpn] (pgs)]
Subtitle: UTF-8 [S: Korean [kor] (subrip)]
Subtitle: UTF-8 [S: Latvian [lav] (subrip)]
Subtitle: UTF-8 [S: Lithuanian [lit] (subrip)]
Subtitle: UTF-8 [S: Malay [may] (subrip)]
Subtitle [S: Norwegian [nor] (pgs)]
Subtitle: UTF-8 [S: Polish [pol] (subrip)]
Subtitle: UTF-8 [S: Portuguese (Brazilian) [por] (subrip)]
Subtitle: UTF-8 [S: Portuguese (Iberian) [por] (subrip)]
Subtitle: UTF-8 [S: Slovak [slo] (subrip)]
Subtitle: UTF-8 [S: Slovenian [slv] (subrip)]
Subtitle: UTF-8 [S: Spanish (Castilian) [spa] (subrip)]
Subtitle [S: Spanish (Latin American) [spa] (pgs)]
Subtitle [S: Swedish [swe] (pgs)]
Subtitle: UTF-8 [S: Thai [tha] (subrip)]
Subtitle: UTF-8 [S: Turkish [tur] (subrip)]
Subtitle: UTF-8 [S: Ukrainian [ukr] (subrip)]
Subtitle: UTF-8 [S: Vietnamese [vie] (subrip)]
Subtitle [S: English (Commentary) [eng] (pgs)]
Subtitle [S: French (Commentary) [fre] (pgs)]
Subtitle [S: French (Commentary) [fre] (pgs)]
Subtitle [S: Japanese (Commentary) [jpn] (pgs)]
Subtitle [S: Spanish (Commentary) [spa] (pgs)]
Subtitle [S: Forced Subtitles (auto)]
Subtitle: UTF-8 [S: No subtitles]
General
Unique ID : 279067755505292586894391700043164461029 (0xD1F27EA39D4A7BB4A2E2F68960CAA7E5)
Complete name : Mission.Impossible.Dead.Reckoning.Part.One.2023.UHD.BluRay.2160p.TrueHD.Atmos.7.1.DV.HEVC.REMUX-FraMeSToR.mkv
Format : Matroska
Format version : Version 4
File size : 70.3 GiB
Duration : 2 h 43 min
Overall bit rate mode : Variable
Overall bit rate : 61.6 Mb/s
Frame rate : 23.976 FPS
Movie name : Mission: Impossible - Dead Reckoning Part One (2023) 4K
Encoded date : 2023-10-25 23:51:29 UTC
Writing application : mkvmerge v79.0 ('Funeral Pyres') 64-bit
Writing library : libebml v1.4.4 + libmatroska v1.7.1
IMDB : tt9603212
TMDB : movie/575264
Video
ID : 1
ID in the original source medi : 4113 (0x1011)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : Dolby Vision, Version 1.0, Profile 7.6, dvhe.07.06, BL+EL+RPU, no metadata compression, Blu-ray compatible / SMPTE ST 2086, Version HDR10, HDR10 compatible
Codec ID : V_MPEGH/ISO/HEVC
Duration : 2 h 43 min
Bit rate : 56.4 Mb/s
Width : 3 840 pixels
Height : 2 160 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 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.283
Stream size : 64.3 GiB (92%)
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primar : Display P3
Mastering display luminance : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level : 997 cd/m2
Maximum Frame-Average Light Le : 382 cd/m2
Original source medium : Blu-ray
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 43 min
Bit rate mode : Variable
Bit rate : 3 123 kb/s
Maximum bit rate : 5 211 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.57 GiB (5%)
Title : TrueHD Atmos 7.1
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.
Whisperai large-v3 2024 (prompts)
!pip install git+
https://github.com/openai/whisper.git
!sudo apt update && sudo apt install ffmpeg
!whisper "audio.aac" --model large-v3 --language Japanese --task translate
____________________________________________________________
If encoding by vbr targeting size, recommended sizes are:
400,800,1500,4000,8000mb
____________________________________________________________
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.