Skip to content
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

Multiple CC tracks support in Transport Stream files #2161

Closed
bene25 opened this issue Dec 6, 2016 · 3 comments
Closed

Multiple CC tracks support in Transport Stream files #2161

bene25 opened this issue Dec 6, 2016 · 3 comments
Assignees

Comments

@bene25
Copy link

bene25 commented Dec 6, 2016

Hello. How I could get multiple subtitles embeded in .ts file?

trackInfo = trackSelector.getCurrentSelections().info;
trackGroups = trackInfo.getTrackGroups(2);
trackGroupsAdaptive = new boolean[trackGroups.length];
for (int groupIndex = 0; groupIndex < trackGroups.length; groupIndex++) {
TrackGroup group = trackGroups.get(groupIndex);

trackGroups return only one subtitle though there are 3 subtitles.

Subtitles format CEA-608

You could find stream details here: #2056

@bene25
Copy link
Author

bene25 commented Dec 9, 2016

Any help for this issue?

@AquilesCanta
Copy link
Contributor

AquilesCanta commented Dec 9, 2016

We still don't have proper support for multiple CC services. This is on the map, possibly Q1. I will use this issue to track this.

@AquilesCanta AquilesCanta changed the title Get subtitles embeded in .ts file Multiple CC tracks support in Transport Stream files Dec 9, 2016
@AquilesCanta
Copy link
Contributor

I am working on adding multiple CC support now. However, the stream you provided doesn't seem to include 608, but rather DVB subtitles. I am speaking about the file provided here. If you have a TS with multiple 608 channels, or even better, an HLS stream, please send a link to dev.exoplayer@gmail.com. This should speed up the process.

As far as I know, HLS does not support dvb subtitles.

ojw28 pushed a commit that referenced this issue Feb 15, 2017
This CL is a no-op refactor but allows defining the outputted
channels through the TsPayloadReaderFactory.

Issue:#2161

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=146243736
ojw28 pushed a commit that referenced this issue Feb 23, 2017
Issue:#2161

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=148203980
ojw28 pushed a commit that referenced this issue Feb 23, 2017
This allows the TsExtractor to automatically determine the
closed caption tracks to expose by parsing available
descriptors.

Issue:#2161

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=148321380
@google google locked and limited conversation to collaborators Jun 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants