Use CrF (Constrained Quality) mode between 20-25 for this episode. Due to the flat colors (e.g., Jerry’s gray tunic), CrF 30 will cause visible banding in the sky during the opening shot. 5. Specific libvpx Tuning for S03E01 To encode this episode as a WebM for archival or streaming:
To maintain the chaotic aesthetic of the portal gun in S03E01, you must disable aggressive loop filtering. rick and morty s03e01 libvpx
# Two-pass encode for "The Rickshank Rickdemption" # Pass 1 ffmpeg -i rick_and_morty_s03e01.mkv -c:v libvpx-vp9 -b:v 2M -pass 1 -f webm /dev/null ffmpeg -i rick_and_morty_s03e01.mkv -c:v libvpx-vp9 -b:v 2M -pass 2 -cpu-used 2 -auto-alt-ref 1 -lag-in-frames 25 -tile-columns 2 -frame-parallel 0 -row-mt 1 -aq-mode 0 -g 240 -quality good -pix_fmt yuv420p rick_and_morty_s03e01_vp9.webm Use CrF (Constrained Quality) mode between 20-25 for
The default libvpx settings (often used by handbrake or FFmpeg presets) will ruin this episode. The combination of (portal) and nostalgic 2D flatness (Shoney’s restaurant) requires a custom profile. Specific libvpx Tuning for S03E01 To encode this
| Codec | Bitrate (Mbps) | VMAF Score (Estimated) | File Size (22 min) | Notes | | :--- | :--- | :--- | :--- | :--- | | H.264 (High) | 8.0 | 95 | 1.32 GB | Reference | | libvpx VP9 (CrF) | | 93 | 396 MB | Preferred for web | | libvpx VP9 (2-pass) | 1.8 | 91 | 297 MB | Risky; banding in Shoney's scene |
The default deblocking filter often smooths the glowing edges of the portal, making it look like a green blob instead of a swirling vortex.
| Scene Type | Timestamp | Encoding Challenge for libvpx | Recommended libvpx Flag | | :--- | :--- | :--- | :--- | | | 00:02:15 | Low motion, flat blue/gray colors. Easy for compression. | --aq-mode=1 (Variance) | | The Shoney’s Heist | 00:05:30 | Large areas of white (Rick’s coat) + text (menu board). | --sharpness=5 (Preserve text edges) | | Saving Summer (Car Chase) | 00:12:00 | High speed, scrolling backgrounds. Causes keyframe overflow if not tuned. | --auto-alt-ref=1 | | Portal Fluid Explosion | 00:18:45 | High entropy (green liquid splatter). libvpx may blur edges. | --enable-tpl-model=1 | | End Credits (Post-Credits Szechuan) | 00:21:30 | Static background + moving sauce packet. | --static-thresh=1000 | 3. Critical Analysis: The “Portal Problem” Issue: The interdimensional portal fluid (bright green/yellow, glowing, irregular edges) is a worst-case scenario for VP9’s loop filter.