Repository navigation
Fix playback and metadata for legacy video containers - #2147
Open
anilbeesetti wants to merge 2 commits into
Open
anilbeesetti wants to merge 2 commits into
anilbeesetti wants to merge 2 commits into
Conversation
Open MPEG program streams with FFmpeg in Auto to preserve DVD PCM. Restart the reader when falling back to software so playback can recover from unsupported system video. Preserve embedded MP4 and WebM subtitles in software mode and use probed AVI duration when available. Includes synthetic fixtures for MPEG, Xvid AVI, WMV, DVD PCM and MPEG Layer I. The codec additions are provided by NextLib PR #246.
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 with DVD PCM can fail in Auto because the standard reader identifies the audio as AC-3. Auto now opens MPEG program streams with FFmpeg and keeps that reader when it falls back to software decoding. AVI entries use the probed duration when available. Software playback also retains the standard MP4 and WebM readers for embedded subtitles when those readers can open the file.
Evidence
assembleDebug,assembleDebugAndroidTest,ktlintCheck, and the focused source and recovery JVM tests passed.Merge dependency
Update the dependency to a published NextLib version containing NextLib #246 before merging. The currently pinned
1.11.1-0.19.0lacks the added codecs, so the native playback tests require the composite build until then.Created with GPT-6.2 Sol in T3 Code.