Jump to content

Closed captioning for LiveTV/Recordings


carpediem

Recommended Posts

carpediem

I have recently taken the leap to switch from Kodi to Emby Theater and I love it so far. The design is elegant and all the functions are presented rather nicely. Since switching, I have noticed that CC for Live TV is not possible via the built in player. I also cannot see captions if I playback recorded content. However, the captions do show up if I use an external player like VLC. I also have been unable to view captions for both live and recorded content via Roku.

 

I see there have been a few posts about this over the years. I figured to start a fresh thread rather than reviving one of the old ones. Has there been any progress on this front? I have family that this is a critical necessity for and since I do love the Emby app, I would rather keep using it exclusively. I have not programmed in this area before but am also glad to pick up and help in any way possible.

Link to comment
Share on other sites

What player and device are you using?

 

CC work now in the AndroidTV beta which is quite stable for a beta.

 

Sent from my SM-G960U1 using Tapatalk

Link to comment
Share on other sites

carpediem

What player and device are you using?

 

CC work now in the AndroidTV beta which is quite stable for a beta.

 

Sent from my SM-G960U1 using Tapatalk

Hey @@Sammy, I’m out and about so I do not have the version numbers handy. I will update tonight once I’m home. However, I downloaded the latest Roku Ultra version yesterday and also installed the latest Emby Theater version on Tuesday. I’m running a custom built HTPC on Windows 10. I could be wrong but I believe it is using the default MPV player.

 

Update:

 

HTPC:

Emby Theater v3.0.5

Windows 10

 

Roku Ultra:

Roku v. 9.0.0 build 4083-46.

Emby app v3.0 build 111.

 

I have attached a screenshot with stats from the ET client.

14f4c18df59c97d1333ea49030730c61.jpg

 

As @ confirmed, it is using the MPV player. My tuner is an HDHR Connect Quatro.

Edited by carpediem
Link to comment
Share on other sites

Guest asrequested

installed the latest Emby Theater version on Tuesday. I’m running a custom built HTPC on Windows 10. I could be wrong but I believe it is using the default MPV player.

It is. I haven't done much testing with cc. I'm curious to see how mpv handles them. I'll have poke at it, when I get a chance.

Link to comment
Share on other sites

Guest asrequested

But it looks like the cc are lost when recorded. Maybe that's how they work???? But looking at the details of the recordings, the cc track is there, but it's empty.

 

5c09e06d0227a_Snapshot_100.jpg

Link to comment
Share on other sites

Guest asrequested

Luke, I'm curious about this. The cc don't play with a recording. Can you reproduce that? The tracks are there but are empty. If I test playing an in progress recording and look at the file details, I can see the cc track increasing in size and I get the cc displayed. But once the recording is stopped, they're blank.

Link to comment
Share on other sites

carpediem

This is what's needed to be added, when Luke has enough time.

 

https://mpv.io/manual/stable/#options-sub-create-cc-track

 

It works in the standalone, but not in Theater.

@, thanks for the pointer here. I was able to test running MPV as a stand-alone app with the sub-create-cc option in an mpv.conf file. I don’t know if there is a difference in versions of ET we are using, but I was able to get captions when playing back a recording. I also tested using MPV as an external player and was able to get the captions to play from a live stream. The MPV player closed after playing any given live stream for about 50-55 seconds. I’m guessing this has to do with how the streamed data itself is received and broken into chunks? I also played around with a few other options regarding the position of the caption on screen (sub-pos, sub-margin-y) but these did not seem to have any effect. I am happy @@Luke is doing some work on this, this is definitely a big deal in my household as we switch over.

Link to comment
Share on other sites

Guest asrequested

In my case my recordings just have empty cc tracks, live TV cc play just fine. By the sound of it, that's being/going to be worked on in the server. As for mpv, I'm using the latest Git build.

 

I haven't tested with mpv as an external player in a while, but I also had an issue with it closing. When I test, I just use it, independently.

 

sub-pos is for subtitles, not cc. They are different..

Edited by Doofus
Link to comment
Share on other sites

Guest asrequested

Ok, so cc is broken in the recent Git builds. I tested with the last Git build before the latest release, and they worked, then. So something has broken it.

 

UPDATE:

 

It appears to only be broken with 1080 mpeg2 stuff. It works just fine with 720p.

Edited by Doofus
Link to comment
Share on other sites

Thanks for the info. That's partly why I prefer stable mpv builds for the releases, although I do wish they'd tag new releases slightly more often.

Link to comment
Share on other sites

Guest asrequested

Thanks for the info. That's partly why I prefer stable mpv builds for the releases, although I do wish they'd tag new releases slightly more often.

 

Yeah, I'm planning to report it and give them a sample to work with.

Link to comment
Share on other sites

carpediem

sub-pos is for subtitles, not cc. They are different..

Thanks @, learnt something new today! [emoji106]

Edited by carpediem
Link to comment
Share on other sites

  • 2 months later...
carpediem

@ and @@Luke, based on your findings, this cc issue with LiveTV is as a result of a bug in how the mpv player handles 1080p video. I notice the same issues using Roku. Is the mpv player also used in the Roku app? @ thanks for submitting the bug report [emoji106].

Edited by carpediem
Link to comment
Share on other sites

  • 6 months later...
carpediem

Ok, so after re-testing, it looks like it's a problem with deinterlacing. If I disable deinterlacing, they work.

Hey @, just noticed that you had put in an update here. Thanks for that find! Could you please tell me how to disable deinterlacing?

Link to comment
Share on other sites

Guest asrequested

There is a further update to this. It isn't deinterlacing, it's using copyback for hardware acceleration. But CC still hasn't been implemented in Theater. I was just figuring out how to make it work in mpv.

Link to comment
Share on other sites

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...