Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Subtitle / Closed caption support in Android

I'm developing an Android app which includes a video component; I'm hoping to provide support for subtitles encoded into the stream but I can't find any references to whether they are supported natively within the Android media player. Does anyone here have any experience with this situation?

like image 738
Craig Avatar asked Dec 08 '10 21:12

Craig


People also ask

How do I turn on closed captioning on Android?

Go to your Android device's Settings. Tap Accessibility, followed by Captions. Slide the on/off toggle to On. Adjust readability settings as desired.

What is closed caption CC1 CC2?

CC1 is usually the “printed” version of the audio. CC2 through CC4 display content provided by the broadcaster. Text1 through Text4—Closed captioning covers half or all of the screen. Text1 through Text4 display content provided by the broadcaster.

How do I change subtitles settings?

Tap your profile picture . Tap Settings . Tap Captions. Tap “Caption size and style” to change the default size and font.


1 Answers

Android 4.0.x version and below

In case of Android 4.0 version and below, default Media Player did not support subtitles.

It can be done at application layer (using java code) or using native NDK. More details at this white paper on how to support subtitles in Android

Android 4.1 (Jelly Bean - JB)) Onwards

Android JB version has built in support for internal (present in MP4 files) and SRT external subtitles. More details is available at http://developer.android.com/about/versions/android-4.1.html#Multimedia

like image 197
Oak Bytes Avatar answered Sep 28 '22 06:09

Oak Bytes