Overview The "Wish You Were Here" preset is not an official part of the libvpx library itself, but rather a community-derived configuration popularized on platforms like Reddit (r/Piracy) and private trackers. It is designed to maximize compression efficiency (quality per bit) for x264, x265, and libvpx codecs, albeit at the cost of significantly slower encoding speeds. While originally associated with x264, the logic applies to libvpx (VP9) encoding to achieve high-fidelity results at lower bitrates compared to standard "medium" or "fast" presets. Technical Breakdown When applying the "Wish You Were Here" philosophy to libvpx-vp9 , the configuration focuses on exhaustive motion estimation and precise rate control. A typical command structure resembles the following: ffmpeg -i input.mp4 -c:v libvpx-vp9 -crf 18 -b:v 0 -cpu-used 0 -row-mt 1 -tile-columns 2 -g 240 -pass 1 -pass 2 output.webm Key Parameters Explained
-cpu-used 0 (The "Slow" Factor):
In libvpx, the cpu-used argument dictates the speed/quality trade-off. Unlike x264 where preset slow is used, libvpx uses cpu-used . A value of 0 is the slowest possible setting. It allows the encoder to use the most computationally expensive algorithms for motion estimation and mode decision. This is the defining characteristic of the WYWH approach: prioritizing file size efficiency over encoding time.
-crf (Constant Rate Factor) vs. -b:v 0 : wish you were here libvpx
To enable Constant Rate Factor mode (which adjusts bitrate based on scene complexity), the command -b:v 0 must be present. The CRF value (typically ranges from 10–30) determines the perceived quality. A lower value (e.g., 15–20) combined with cpu-used 0 results in a transparent encode at a fraction of the bitrate of standard settings.
Two-Pass Encoding ( -pass 1 and -pass 2 ):
High-efficiency encoding with libvpx almost always requires two passes. The first pass analyzes the video's motion and complexity data, and the second pass distributes the bits optimally. Overview The "Wish You Were Here" preset is
Threading ( -row-mt 1 and -tile-columns ):
Because cpu-used 0 is incredibly slow, these settings enable multi-threading. -row-mt 1 allows row-based multi-threading, which significantly speeds up encoding on modern multi-core CPUs without the quality loss associated with frame-level multi-threading.
The Trade-Off The "Wish You Were Here" preset is named somewhat ironically; while the encoder is working overtime to produce a perfect file, the user is left waiting for an extended period. Encoding a standard feature-length film at cpu-used 0 can take many hours even on high-end hardware. However, the result is a file that is highly optimized for bitrate, making it ideal for archiving or streaming in bandwidth-constrained environments. Technical Breakdown When applying the "Wish You Were
When developers work on a draft feature for libvpx, they use standardized video sequences to ensure the new code doesn't break existing functionality or to measure compression efficiency. The Clip : This specific sample is often used in automated test suites or debugging logs. Usage : You might see this string appear in logs for media servers like Jellyfin or Emby when they are processing files that have been tagged or named after the test sequence during transcoding. Developer Discussions : Issues related to transcoding reasons or missing chapter extractions often reference this specific track as a baseline for troubleshooting. Why the Name? It is common practice in the open-source community to use iconic song titles or pop culture references for test files. Similar to how "Big Buck Bunny" is the standard for Blender/H.264 testing, "Wish You Were Here" (likely a reference to the Pink Floyd track) has been adopted in certain libvpx test environments. If you are seeing this while compiling or running a video application, it likely means you are running a test build or an automated benchmark that is using that specific reference file to verify a new "draft" implementation of a VP9 feature. Transcoding reason missing · Issue #15753 · jellyfin ... - GitHub
The convergence of Pink Floyd’s iconic "Wish You Were Here" and the libvpx video codec represents a unique intersection of legendary rock history and modern open-source technology. While "Wish You Were Here" is a 1975 masterpiece exploring themes of absence and industry disillusionment, libvpx is the foundational software implementation for the VP8 and VP9 video formats that power a significant portion of today’s web video. The Legacy of Wish You Were Here Released in September 1975, Wish You Were Here is Pink Floyd's ninth studio album. It is widely regarded as a tribute to their founding member, Syd Barrett , whose mental health struggles forced his departure from the band. Themes : The album critiques the "greed and ambition" of the music industry through tracks like "Welcome to the Machine" and "Have a Cigar". Musical Innovation : Known for its lush soundscapes and David Gilmour’s legendary guitar solos, the title track "Wish You Were Here" remains one of the most recognizable songs in rock history. Understanding libvpx On the technical side, libvpx is a free software video codec library from the WebM Project. It provides the reference implementation for: Wish You Were Here - Википедия