kingslay / KSPlayer

A video player for iOS、macOS、tvOS、visionOS , based on AVPlayer and FFmpeg, support the horizontal, vertical screen. support adjust volume, brightness and seek by slide, support subtitles.
GNU General Public License v3.0
869 stars 184 forks source link

EIA-608 and CTA-708 Captions #740

Closed truckclancy closed 4 months ago

truckclancy commented 4 months ago

I would love if KSPlayer supported EIA-608 and CTA-708 Captions. It's the standard in North America. Sample MediaInfo:

Text #1
ID                                       : 100 (0x64)-CC1
Menu ID                                  : 1 (0x1)
Format                                   : EIA-608
Muxing mode                              : SCTE 128 / DTVCC Transport
Muxing mode, more info                   : Muxed in Video #1
Duration                                 : 1 min 36 s
Duration of the visible content          : 1 min 34 s
Start time (commands)                    : 2 s 85 ms
Start time                               : 2 s 152 ms
End time                                 : 1 min 37 s
Bit rate mode                            : Constant
Stream size                              : 0.00 Byte (0%)
Type of the first event                  : RollUp

Text #2
ID                                       : 100 (0x64)-1
Menu ID                                  : 1 (0x1)
Format                                   : EIA-708
Muxing mode                              : SCTE 128 / DTVCC Transport
Muxing mode, more info                   : Muxed in Video #1
Duration                                 : 1 min 36 s
Bit rate mode                            : Constant
Stream size                              : 0.00 Byte (0%)
kingslay commented 4 months ago

闭源版本的KSPlayer版本已经支持了close Captions。我加你进去了。你可以用那个版本试下。

truckclancy commented 4 months ago

Oh, thank you. Do you know a player that uses this version? Those EIA-608 captions didn't work in TracyPlayer and others that I tested.

kingslay commented 4 months ago

你可以用最新的test flight 版本的TracyPlayer来试下。app store的版本。我还没更新上去。

truckclancy commented 4 months ago

Wow, that works. Thank you!