-
Notifications
You must be signed in to change notification settings - Fork 525
Closed Captions are mispelled in Media3 #2372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the media, I can reproduce the issue. This is supposed to be handled by That is happening because when playing H.262 like your stream we pass the CEA data directly to media/libraries/extractor/src/main/java/androidx/media3/extractor/ts/UserDataReader.java Line 79 in 4d7046c
If I change this to use In H.264 and H.265 we parse the max re-ordering queue size from the bitstream, and use this to configure
Which suggests that there isn't a 'reordering queue size' number we can read. I'm going to try setting it to 3 arbitrarily... |
@icbaker Is there any workaround or fix to solve the cc mispelled issue. |
In a follow-up change I am going to use this class in a non-SEI context for H.262 'user data'. Issue: #2372 PiperOrigin-RevId: 752683541
Issue: #2372 PiperOrigin-RevId: 752721649
This is fixed by the commits linked above. |
When will this fix be available for use?
#2372
I'm currently using version 1.6.0. Do you have any information about the
next release that includes the closed captioning issue fix?
* Is there any other way I can test the fix in the meantime?*
#2372
…On Tue, Apr 29, 2025 at 8:27 PM Ian Baker ***@***.***> wrote:
* This message originated outside of DISH and was sent by:
***@***.*** ***@***.***>
------------------------------icbaker* left a comment
(androidx/media#2372)
<#2372 (comment)>
This is fixed by the commits linked above.
—
Reply to this email directly, view it on GitHub
<#2372 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BERVOZUCZPJR2SJLABJCERL236HOFAVCNFSM6AAAAAB3YPGUVSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMZZGI2DGNZZGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
The fix will be included in the 1.7.0-alpha01 release, which will likely happen in the next 2-3 weeks. In the meantime, you can build the library locally from the |
Version
Media3 main branch
More version details
im using:
private val extractorsFactory = DefaultExtractorsFactory().apply { setTsSubtitleFormats( ImmutableList.of( Format.Builder().setSampleMimeType(MimeTypes.APPLICATION_CEA608).build() ) ) }
check the attached stream for reference.
media3 version 1.6.0
Closed captions (CC) are being displayed with spelling errors or garbled/malformed text in Media3, whereas they appear correctly in vlc player.
Devices that reproduce the issue
Android box with media3
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
play the attached media and see cc are coming misspelled
Expected result
closed captions should come properly
Actual result
Closed captions are coming mispelled
Media
vlc-record-2025-04-24-11h38m32s-udp___239.255.50.81_7000-.ts.zip
Bug Report
adb bugreport
to android-media-github@google.com after filing this issue.The text was updated successfully, but these errors were encountered: