stari4ek / tvirl

Public resources for TVirl: IPTV for Android TV
30 stars 2 forks source link

[Request] Teletext subtitles #41

Open lars18th opened 3 years ago

lars18th commented 3 years ago

Hi,

Using DVB sources, only subtitles in DVB are shown. All subtitles streams in teletext format are discarded. So, I request to add TELETEXT SUBTITLES.

I hope you want to do it. Thank you!

stari4ek commented 3 years ago

TVirl uses ExoPlayer as video playback library. It looks like this is the issue you'd like to track: https://github.com/google/ExoPlayer/issues/5491

lars18th commented 3 years ago

OK. However I don't know one point: The ExoPlayer uses the FFmpeg as the underlaying library to process containers and AV streams. And it has support for Teletext subtitles, so I can't understand why it (the ExoPlayer) doesn't have native support. I feel all Google developers are from the States and they think only with the ATSC standard. In Europe the Teletext subtitles are more common (be far) than the native DVB subtitles.

stari4ek commented 3 years ago

The ExoPlayer uses the FFmpeg as the underlaying library to process containers

It does not. ExoPlayer uses own implementation for media containers. Ffmpeg is used for software audio decoding only: resampling/downmixing/decoding.

lars18th commented 3 years ago

Ffmpeg is used for software audio decoding only: resampling/downmixing/decoding.

OK. I didn't know that. However, it's quite difficult to understand why include ffmpeg just only for audio support. Anyway, I hope the ExoPlayer developers will want to include support for Teletext subtitles. Then you'll have the option to add the support inside tvirl.

Regards.

stari4ek commented 3 years ago

You can check ExoPlayer's ffmpeg extension page: https://github.com/google/ExoPlayer/tree/release-v2/extensions/ffmpeg