Repository navigation
Join the pieces of an Android app's ExoPlayer media cache - #204
Merged
Merged
Conversation
An app that plays video through ExoPlayer caches it split into <id>.<position>.<timestamp>.v3.exo pieces, with the address each item came from in cached_content_index.exi or an ExoPlayerCacheIndex table in exoplayer_internal.db (older caches put the key in the piece's name). GLEAPP dropped the later pieces and registered each first piece as a truncated video. Every ingest path now keeps these files by name as container rows, and gleapp/exocache.py joins each item in order from position 0 to the first gap into one file under extracted/exoplayer/, linked to its first piece. A new cache_info column records the app folder, the key, which index named it, the pieces and bytes joined against the recorded length, and whether the result is complete, partial or stops at a gap. The details pane, search, the HTML report, the CSV and JSON exports and LAVA show it. The index database is read from a copy. Format sourced from androidx/media 1.11.1. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Joins the pieces of an Android app's ExoPlayer media cache back into one file per cached item.
.exopieces,cached_content_index.exi,exoplayer_internal.dband the cache's.uidfile by name, as container rows. The first piece of an MP4 is no longer registered as a truncated video.gleapp/exocache.pyjoins each item in order from position 0 to the first gap intoextracted/exoplayer/, linked to its first piece, and processed like any other video.cache_infocolumn records the app folder, the key the index recorded, which index named it, pieces and bytes joined against the recorded length, and whether it is complete, partial or stops at a gap. Shown in the details pane, search, the HTML report, CSV/JSON and LAVA.On four registered Android images: 401 items joined, 1 to 3 seconds per image. Joined files that do not decode are DASH segments cached as separate items, which the existing messages describe.
🤖 Generated with Claude Code