Jump to content

How to show closed captioning?


Sizzlebox

Recommended Posts

Guest asrequested

Luke, a quick heads up for cc in mpv. For some reason, they don't work with hwdec copyback modes. I've been trying to nail this down, and finally discovered that is why I couldn't get them to work. I'll have to update my mpv issue report. I thought the problem was deinterlacing, but I was wrong. 

Link to comment
Share on other sites

Luke, a quick heads up for cc in mpv. For some reason, they don't work with hwdec copyback modes. I've been trying to nail this down, and finally discovered that is why I couldn't get them to work. I'll have to update my mpv issue report. I thought the problem was deinterlacing, but I was wrong. 

 

Interesting, thanks for the info.

Link to comment
Share on other sites

Guest asrequested

I just confirmed this with the official release of mpv. I've updated the mpv issue report. One thing to keep in mind is that lachs0r has changed the default behavior for hwdec of MPEG2. The official release will use hwdec for MPEG2, but for future releases he has disabled it. It can be re-enabled by the user. This means that MPEG2 will by default be software decoded, and the cc will work. Luke, you should keep this is mind with your future builds. Some people may have issues with software decoding, keeping in mind they will also likely need deinterlacing.

 

https://github.com/mpv-player/mpv/commit/3dd59dbed06a55eed00ad68d0a953f39188e3647

Edited by Doofus
Link to comment
Share on other sites

SHSPVR

I just confirmed this with the official release of mpv. I've updated the mpv issue report. One thing to keep in mind is that lachs0r as changed the default behavior for hwdec of MPEG2. The official release will use hwdec for MPEG2, but for future releases he has disabled it. It can be re-enabled by the user. This means that MPEG2 will by default be software decoded, and the cc will work. Luke, you should keep this is mind with your future builds. Some people may have issues with software decoding, keeping in mind they will also likely need deinterlacing. 

 

https://github.com/mpv-player/mpv/commit/3dd59dbed06a55eed00ad68d0a953f39188e3647

 

Any reason why it can't do hwdec and cc

Link to comment
Share on other sites

Guest asrequested

Any reason why it can't do hwdec and cc

 

You can, but not copyback. Example, you can use d3d11va, but not d3d11va-copy. The way cc is incorporated into the video, means that changing the file affects the cc. So I think what may be happening is when the stream is copied to the system memory, it's being changed in some way, which is affecting the cc.

  • Like 1
Link to comment
Share on other sites

BillOatman

Can anyone verify if CC works with the Apple TV client. I have a hard of hearing friend who is heavily invested in the Apple ecosystem including Apple TV, and want to know if I can suggest this to her yet or not.

Thanks!

Link to comment
Share on other sites

  • 2 months later...

Is supporting CC/subtitles embedded in OTA TV targeted yet for a specific release of Emby Theater?

 

We're hoping to get to that soon. Thanks.

 

 

Any progress for Emby Theater desktop?  This is a showstopper for us before considering a premiere subscription.  Thanks.

  • Like 1
Link to comment
Share on other sites

SHSPVR

You can, but not copyback. Example, you can use d3d11va, but not d3d11va-copy. The way cc is incorporated into the video, means that changing the file affects the cc. So I think what may be happening is when the stream is copied to the system memory, it's being changed in some way, which is affecting the cc.

 

I forgot get back to you on this

Odd I don't see that option in Emby Theater or by Web App unless you refer D3D (Windows 8+) ? which doesn't work not even in direct steam as far I can tell seem to only have support external subtitle and not embedded subtitle and don't want spent a small fortune on a Nvidia Shield TV if I recall right that only way but then there no mobile support.

 

 

Any progress for Emby Theater desktop?  This is a showstopper for us before considering a premiere subscription.  Thanks.

 

Nope no at this time

Link to comment
Share on other sites

Guest asrequested

I forgot get back to you on this

Odd I don't see that option in Emby Theater or by Web App unless you refer D3D (Windows 8+) ? which doesn't work not even in direct steam as far I can tell 

 

Yes, sorry. That would be the option in the settings. But until Luke adds the CC option (it's being overridden), it won't work. And you can choose any decoding option other than the hardware copyback modes.

Link to comment
Share on other sites

  • 4 months later...
samuelqwe

Are closed captions still planned for iOS, tvOS and other platforms?

 

I used to use CCExtractor as a recording post-processing script to extract CC from recordings, but I have not been able to find a way to use it since switching my server to Unraid. 

Link to comment
Share on other sites

Guest asrequested

Yes, sorry. That would be the option in the settings. But until Luke adds the CC option (it's being overridden), it won't work. And you can choose any decoding option other than the hardware copyback modes.

 

This has now been fixed.

Link to comment
Share on other sites

Guest asrequested

It's not in Theater, yet. I was just reporting that the issue in mpv where cc wasn't working with hardware copy modes, has been fixed. Theater is in the process of being rebuilt. So maybe we'll see an option for them when that is finished?

Link to comment
Share on other sites

SHSPVR

It's not in Theater, yet. I was just reporting that the issue in mpv where cc wasn't working with hardware copy modes, has been fixed. Theater is in the process of being rebuilt. So maybe we'll see an option for them when that is finished?

 

Ok so for now it hasn't been address

Edited by SHSPVR
Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
dovedescent7

Interesting, thanks for the info.

Hey Luke,

 

 

I didnt think it was possible to get subs working from my iptv provider or non-OTA channels until i looked at Mediainfo of a dvr recording from emby. 

Is there any way to playback these CC1 EIA-608 Subtitles in any of the emby apps? If so how would i?

Emby App for android/android tv doesn't seem to show as this file type haviing subs available for these ones even though they work in VLC.

At bottom of post shows screenshot of these subs from this file playing in VLC

 

 

Format                                   : MPEG-TS
File size                                : 2.53 GiB
Duration                                 : 1 h 4 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 5 656 kb/s
 
Video
ID                                       : 256 (0x100)
Menu ID                                  : 1 (0x1)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L4
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4 frames
Codec ID                                 : 27
Duration                                 : 1 h 4 min
Bit rate mode                            : Variable
Maximum bit rate                         : 8 000 kb/s
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 59.940 (60000/1001) FPS
Standard                                 : Component
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
 
Audio
ID                                       : 257 (0x101)
Menu ID                                  : 1 (0x1)
Format                                   : AAC LC SBR
Format/Info                              : Advanced Audio Codec Low Complexity with Spectral Band Replication
Commercial name                          : HE-AAC
Format version                           : Version 4
Format settings                          : Implicit
Muxing mode                              : ADTS
Codec ID                                 : 15-2
Duration                                 : 1 h 4 min
Bit rate mode                            : Variable
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 23.438 FPS (2048 SPF)
Compression mode                         : Lossy
Delay relative to video                  : -27 ms
Language                                 : English
 
Text #1
ID                                       : 256 (0x100)-CC1
Menu ID                                  : 1 (0x1)
Format                                   : EIA-608
Muxing mode                              : SCTE 128 / DTVCC Transport
Muxing mode, more info                   : Muxed in Video #1
Duration                                 : 1 h 4 min
Bit rate mode                            : Constant
Stream size                              : 0.00 Byte (0%)
CaptionServiceName                       : CC1
 
Text #2
ID                                       : 256 (0x100)-CC3
Menu ID                                  : 1 (0x1)
Format                                   : EIA-608
Muxing mode                              : SCTE 128 / DTVCC Transport
Muxing mode, more info                   : Muxed in Video #1
Duration                                 : 1 h 4 min
Bit rate mode                            : Constant
Stream size                              : 0.00 Byte (0%)
CaptionServiceName                       : CC3
 
Text #3
ID                                       : 256 (0x100)-1
Menu ID                                  : 1 (0x1)
Format                                   : EIA-708
Muxing mode                              : SCTE 128 / DTVCC Transport
Muxing mode, more info                   : Muxed in Video #1
Duration                                 : 1 h 4 min
Bit rate mode                            : Constant
Stream size                              : 0.00 Byte (0%)
 
Text #4
ID                                       : 256 (0x100)-2
Menu ID                                  : 1 (0x1)
Format                                   : EIA-708
Muxing mode                              : SCTE 128 / DTVCC Transport
Muxing mode, more info                   : Muxed in Video #1
Duration                                 : 1 h 4 min
Bit rate mode                            : Constant
Stream size                              : 0.00 Byte (0%)
 
Menu
ID                                       : 4096 (0x1000)
Menu ID                                  : 1 (0x1)
Duration                                 : 1 h 4 min
List                                     : 256 (0x100) (AVC) / 257 (0x101) (AAC, English)
Language                                 :  / English
Service name                             : Service01
Service provider                         : FFmpeg
Service type                             : digital television
 
 
post-415761-0-88752400-1586303556_thumb.

post-415761-0-88752400-1586303556_thumb.png

Edited by dovedescent7
Link to comment
Share on other sites

We have a little more work to do with closed captioning but we're getting there.

Link to comment
Share on other sites

dovedescent7

We have a little more work to do with closed captioning but we're getting there.

Well i guess its still possible, if i can open recordings in vlc.

Link to comment
Share on other sites

 

Hey Luke,

 

 

I didnt think it was possible to get subs working from my iptv provider or non-OTA channels until i looked at Mediainfo of a dvr recording from emby. 

Is there any way to playback these CC1 EIA-608 Subtitles in any of the emby apps? If so how would i?

Emby App for android/android tv doesn't seem to show as this file type haviing subs available for these ones even though they work in VLC.

At bottom of post shows screenshot of these subs from this file playing in VLC

 

 

...
 
 
post-415761-0-88752400-1586303556_thumb.

 

 

Theoretically, these should work in Android TV.  Can you get me a sample file?

Link to comment
Share on other sites

SHSPVR

Theoretically, these should work in Android TV.  Can you get me a sample file?

 

Actually there two EIA 608 and 708 it can very across different tv station

I pm you the file link

Link to comment
Share on other sites

SHSPVR

Theoretically, these should work in Android TV.  Can you get me a sample file?

 

There No Roku, iPad, iPhone, Emby Theater nor in the Web App and there far larger vast majority of user that have Roku over Android after all

  • Like 1
Link to comment
Share on other sites

  • 4 months later...
otatv

My yearly Schedules Direct subscription (used with WMC) ends in Oct and I'm again evaluating a subscription to Emby for the Windows desktop app to replace it.  But it's a no go without Live TV closed captioning working via Direct Play (a transcoding solution wouldn't be acceptable).

  @Luke , is there a real chance this will be provided by Oct?

  • Like 1
Link to comment
Share on other sites

  • 1 year 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...