Inspiration

The idea for Quest Storage Optimizer came from my experience using VR streaming tools. While experimenting with them, I became familiar with video codecs, image formats, bitrates, and modern compression methods. I began to understand how newer formats could significantly reduce file sizes while preserving high visual quality.

Over time, I accumulated a large collection of recordings, videos, screenshots, and images on my 128 GB Quest 3. Storage space became increasingly limited, but I did not want to delete media that I wanted to keep.

This inspired me to create Quest Storage Optimizer: an application that analyzes and optimizes media directly on the headset, making more efficient use of its limited storage without requiring a PC or uploading personal files to external services.

What does it do

Quest Storage Optimizer is a standalone Meta Quest application designed to reduce the storage occupied by recordings, videos, screenshots, and images.

The app scans media stored on the headset and presents it in an organized gallery. Users can filter files by media type, format, codec, and optimization status. Individual files can be optimized manually, or new media can be processed automatically in the background.

Key features include:

  • Video optimization using hardware-accelerated CPU and GPU processing
  • Image conversion to WebP or AVIF, depending on the image type
  • Experimental JPEG XL and H.266 support
  • Automatic detection and optimization of newly created media
  • Storage analysis with projected savings and optimization statistics
  • Before-and-after image and video previews
  • Codec, format, bitrate, BPP, HDR, and optimization indicators
  • Processing history with added, optimized, deleted, and failed events
  • Standard and compact “Lite” interfaces
  • Multilingual support
  • Fully local processing without uploading media to external services

How we built it

Quest Storage Optimizer was developed as a native Android application for Meta Quest headsets using Kotlin and Jetpack Compose.

Android MediaStore is used to discover recordings, screenshots, videos, and images across the headset. Media metadata is loaded progressively and cached so the gallery can appear quickly without waiting for every file to be inspected.

The application uses Android’s media APIs and MediaCodec for hardware-assisted video processing. Specialized metadata readers were added for containers such as AVI, MKV, and MPEG-TS. Native C++ components and experimental codecs were integrated through the Android NDK and CMake.

Background optimization is implemented with Android services and WorkManager. The application monitors the media library for new files, resumes interrupted work where possible, and can limit background processing to periods when the headset is charging.

The interface was designed specifically for Meta Quest’s resizable 2D application windows. It includes adaptive layouts, a media gallery, storage visualization, analytics, automation controls, preview tools, and a compact Lite mode.

Challenges we ran into

One of the biggest challenges was reliable media discovery. Quest recordings, screenshots, downloaded videos, and optimized files can be located in different folders and may not always be exposed consistently through MediaStore.

Large and unusual files also required special handling. A single malformed or multi-gigabyte video could delay the entire gallery, exhaust memory, or stall the media pipeline. We addressed this with lazy metadata extraction, per-file isolation, caching, timeouts, and low-resolution thumbnail generation.

Video conversion introduced additional problems involving muxing, audio tracks, missing output samples, inaccurate progress reporting, sleep-mode interruptions, and differences between automatic and manual processing.

Image support presented its own compatibility issues. Some AVIF and JPEG XL files could not be decoded by standard Android APIs, while “lossless” conversions could occasionally produce files larger than their sources. The app now evaluates the resulting size and avoids replacing the original when optimization is not beneficial.

Designing an interface that works across narrow, standard, maximized, and Lite windows was another major challenge. Dialogs, analytics charts, filters, and history panels all needed explicit size limits and responsive layouts.

Accomplishments that we're proud of

We are proud that Quest Storage Optimizer performs all media analysis and processing directly on the headset. Users retain control over their files, and nothing needs to be uploaded to a cloud service.

Other accomplishments include:

  • Building a responsive media gallery capable of handling large libraries
  • Supporting numerous image, video, and container formats
  • Creating automatic optimization that detects newly added media
  • Implementing useful analytics rather than showing only theoretical estimates
  • Recording optimization information in media metadata instead of altering filenames
  • Providing interactive before-and-after previews
  • Supporting both standard and compact Lite interfaces
  • Adding real-time history and system telemetry
  • Localizing the application into multiple languages
  • Recovering gracefully from unsupported, malformed, or unprofitable files

What we learned

We learned that media optimization is not simply a matter of selecting a newer codec. The best result depends on the source codec, resolution, bitrate, color depth, duration, content complexity, processing method, and available storage.

We also learned that a newer format does not guarantee a smaller file. Every output must be validated before the original is replaced, especially during automatic processing.

What's next for Quest Storage Optimizer

The next development stages will focus on:

  • Improving optimization speed for Quest processors
  • Refining codec presets for better quality-to-size ratios
  • Expanding reliable AVIF, JPEG XL, AV1, and H.266 support
  • Improving background-processing recovery
  • Reducing memory and processor usage in large galleries
  • Adding more detailed optimization comparisons
  • Improving accessibility and localization
  • Expanding support across standalone Meta Quest devices
  • Preparing a stable public release with production signing and broader device testing Our long-term goal is to make Quest Storage Optimizer a reliable, easy-to-use storage-management utility that helps users keep more recordings, screenshots, videos, and images on their headsets without unnecessary loss of visual quality.

Built With

  • app
  • compress
  • files
  • image
  • memory
  • optimizer
  • storage
  • video
Share this project:

Updates

Submission history