Lossless Remux & Flexible Transcoding
Switch containers in seconds with stream copy (such as TS to MP4 with automatic AAC ADTS header repair), or re-encode with H.264, H.265, VP9, MPEG-4, AAC, MP3, or Opus with CRF quality and speed controls.
Refract (折光) is a focused Android media utility built with Material Design 3. Remux TS to MP4 without quality loss, re-encode to H.264/H.265/VP9, trim clips on a millisecond-level timeline, or download multi-threaded HLS streams—entirely on your device with zero uploads and zero trackers.
Every feature below runs entirely on your device, powered by the app's built-in FFmpeg engine.
Switch containers in seconds with stream copy (such as TS to MP4 with automatic AAC ADTS header repair), or re-encode with H.264, H.265, VP9, MPEG-4, AAC, MP3, or Opus with CRF quality and speed controls.
See the exact FFmpeg command before execution. Tap any color-coded argument token to read what it does, review preflight compatibility warnings, append custom extra flags, or copy the command to clipboard.
When a stream combination fails, Refract highlights the key FFmpeg error line, explains likely causes in plain language, and offers one-tap fixes—like enabling aac_adtstoasc or switching to H.264 + AAC.
Preview videos smoothly to set millisecond-level start and end points. Select a specific audio stream from multi-track containers, strip audio, or export audio-only M4A/MP3 files.
Probe Master Playlists for resolution variants, download with 1–16 configurable threads, decrypt AES-128/192/256 CBC streams, handle disguised image-header TS segments, set custom Referer/UA/Cookie headers, and pause, resume, or merge partial downloads into MP4 or TS.
Open files from any app via "Open with" or "Share to", keep long jobs alive via Foreground Services, save custom format recipes locally, and manage history or temporary staging cache with one tap.
Every privacy claim below reflects the actual compiled dependencies and AndroidManifest.xml declarations in Refract.
All probing, trimming, transcoding, and HLS segment merging run locally on your device. There is no developer backend server and no cloud upload queue.
Refract contains no ad networks, no usage tracking, no automated crash telemetry, and no Firebase runtime libraries. Open the app and start converting immediately.
The app does not declare READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE, or READ_MEDIA_VIDEO. It accesses only the exact files you choose via Android Photo Picker or Storage Access Framework.
Network access is used exclusively when you trigger an M3U8 download or paste a webpage URL to extract an M3U8 stream, connecting straight from your phone to the endpoint you entered.