Repository navigation
Support legacy MPEG, Xvid, WMV and DVD PCM playback - #246
Merged
Merged
Conversation
Enable the missing FFmpeg decoders and preserve container initialization parameters for WMV video and WMA audio. Use MPEG-1’s actual decoder name and expose DVD PCM packets to the software renderer. Verified rebuilt FFmpeg for all four ABIs, decoder mapping unit tests, and all four original samples plus synthetic clips through Next Player SW rendering, audio, seeking and uncached thumbnails on API 37 ARM64 with 16 KB pages.
Keep Layer I program streams supported when the application prefers FFmpeg extraction. Reuse the existing MPEG audio decoder mapping; no FFmpeg build configuration changed. Verified synthetic Layer I audio/video rendering and Auto playback on API 37.
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.
MPEG program streams, Xvid AVI and WMV files can contain tracks that FFmpeg extraction or bundled software decoding currently cannot play. Add the missing mappings and decoders, and pass container dimensions and audio parameters to the decoders that need them.
Evidence
:media3ext:testDebugUnitTestpassed on the updated base. The companion app build rebuilt JNI for all four ABIs using FFmpeg libraries previously rebuilt with this exact codec list.Merge impact
The bundled decoder set grows. The existing HDR and subtitle paths are retained. Publish a NextLib version containing this change before merging the companion Next Player change.
Created with GPT-6.2 Sol in T3 Code.