DEV Community

Cover image for Why I Built DHVON: An Offline-First Android Media Player Without the Bloat
RH Shourav
RH Shourav

Posted on Edited on

Why I Built DHVON: An Offline-First Android Media Player Without the Bloat

Most local media players on Android fall into one of two camps: either they are packed with ads, trackers, and random streaming tabs you never asked for, or they haven't had a thoughtful UI update since Android 6.

I wanted a single app that handles heavy local video files with proper thumb gestures while also working as a clean, dedicated music player—without needing an internet connection or invasive permissions. So I built DHVON, and just shipped v3.0.1.

GitHub logo rhshourav / dhvon

Offline-first, ad-free Android video & music player. Kotlin, Jetpack Compose, Media3 + FFmpeg. MX-style gestures, Apple-style Now Playing.

DHVON emblem

DHVON

Every Sound. Every Frame.
An offline-first, ad-free, premium video + audio player for Android.

Version 3.0.1 — see the changelog

Created by rhshourav · github.com/rhshourav/DHVON · GPL-3.0-or-later


DHVON merges an Apple-style minimal, OLED-first interface and fluid Now Playing experience with the pro-grade controls of MX Player: gesture seeking, hardware / software decoding, subtitle sync and fast folder management No ads, no accounts, no network permission — it only plays what is already on your device.

design 1 design 2

Features

Navigation — bottom bar (Home · Folders · Playlists · More) plus a sticky round DHVON button on the right: tap it to play — or jump back into — whatever you played last.

Library & folders — indexed MediaStore scan (fast), live updates, SAF fallback for SD cards / unindexed folders smart folder categories (Movies · Series · Music Videos · Concerts · Downloads · Others), storage capacity bar, last-opened-folder quick jump, …

The Playback Architecture (Media3 + FFmpeg + libVLC)

The hardest part of local media on Android is format fragmentation. Hardware decoding (MediaCodec) is great for battery life, until you throw an old DivX .avi or a weird .ts stream at it.

Instead of forcing users to manually toggle decoders every time a file fails, DHVON uses a layered fallback pipeline:

  1. AndroidX Media3 + FFmpeg extensions handle the vast majority of files using HW, HW+, or SW decoding.
  2. Automatic libVLC rescue: If Media3 hits a codec it can't decode (like DivX, Xvid, or MPEG-2), DHVON quietly hands playback over to libVLC in the background. You keep your gesture controls, playback speed, pinch-to-zoom, and Picture-in-Picture—a small VLC badge just appears in the top bar so you know what's running.

Avoiding MANAGE_EXTERNAL_STORAGE

A lot of local players still demand "All Files Access" just to list folders. DHVON avoids that completely by relying on indexed MediaStore queries for fast library loading and the system folder picker (SAF).

Because Android 11+ hides certain non-standard media extensions (like raw .dts or .ac3 files) from standard MediaStore queries, adding a folder explicitly lets DHVON's scanner index those tracks cleanly within scoped storage rules.

A Few UX Details in v3.0.1

  • Keyframe-snapped scrubbing: Dragging across a 2-hour .mkv file shouldn't stutter. While your finger moves, the preview snaps to keyframes for instant feedback, then fires one exact seek the moment you let go.
  • Headroom-guarded Studio EQ: Boosting bass on mobile usually leads to digital clipping. When you push a band up in DHVON's EQ (or switch to the Harman or Sub-Bass profiles), it lowers the input gain first to keep the output clean. There's also a 0.88× Lo-Fi mode with subtle reverb that restores your original speed when toggled off.
  • Waveform audio scrubber: Music files open in a dedicated Now Playing layout where the rendered waveform itself acts as the seek bar.
  • 60fps GPU-friendly themes: The UI runs across Obsidian (#08090D for OLED screens), AMOLED, Light, and Material You themes, animating strictly via transform and opacity to avoid layout passes.

Try It or Build From Source

DHVON is free, ad-free, and open-source. You can grab the latest APK or check out the landing page and source code below:


bash
git clone [https://github.com/rhshourav/dhvon](https://github.com/rhshourav/dhvon)
cd dhvon && ./gradlew assembleRelease




Enter fullscreen mode Exit fullscreen mode

Top comments (5)

Collapse
 
userxnom profile image
Abdullah Naseer •

The automatic libVLC rescue is the detail I would steal — most players make the user toggle decoders by hand, and most users just assume the file is broken. One thing I am curious about: when Media3 hits a codec it cannot decode mid-playback and hands over to libVLC, does the handoff preserve the exact position, playback speed and PiP state, or is there a visible restart? That seam is where a rescue like this usually shows its cost, and the SAF folder fallback for .dts and .ac3 files hidden from MediaStore is a neat companion decision — it solves the same "the file is there but the player cannot see it" problem from the other side.

Collapse
 
rhshourav profile image
RH Shourav •

i have tried .ts files .avi files it worked perfectly. still there are some areas i can improve and already working on.

Collapse
 
shv_te_43a9f80df0b66f profile image
Sh Te •

i just tried that and it's good. I have used many apps like this like vlc mxplayer kmplayer they all lost there charm. but this one hits the sport.

Collapse
 
programmer_ninja_7259b72d profile image
Programmer Ninja •

great work.

Collapse
 
rakin-09879 profile image
Rakin •

The Lo-Fi Feature is just awsome .