1. Not that I'm aware of.

2. To add support using an external subtitle file, you probably don't
need to modify Stagefright; you should be able to do it by syncing
timestamps from the subtitle file with play position reported by
MediaPlayer.getCurrentPosition.   If you want to get the subtitles
from the same media source as the audio/video, you will probably have
to either a open a parallel data path and parse the source yourself to
find the subtitles, or modify Stagefright and other parts of the media
framework for a more integrated solution.  If you want to go the
latter route, I suggest posting on android-contrib to get feedback.

On Mar 10, 10:15 pm, 王川 <[email protected]> wrote:
> Hi, group
>
>     Here is my questions about subtitle in Android:
>    1. does stagefright support subtitle? I have not seen yet from the
> sourcecode. if it does support, please tell me.
>    2. how to support subtitle in android? since there file contained
> subtitles and external subtitles, if I want to develop movie player
>      to support subtitle, what should I do? and do I need to modify
> something in stagefright?
>
> please give me your suggestions?
>
> thanks.
>
> more, I find a player in android named mVideoPlayer 
> (http://mvideoplayer.info/forum/start) that support subtitle, could you tell
> me its mechanism on subtitles.
>
> here are its key feature:
> Some of the key features included in mVideoPlayer are:
>
>    - Support for external subtitles in the following formats:
>       - SubRip(.srt)
>       - Sub Station Alpha(.ssa)
>       - Advanced Sub Station Alpha(.ass)
>       - MPL2(.mpl/.txt)
>       - MicroDVD(.sub/.txt)
>       - SubViewer2.0(.sub)
>       - PowerDivX(.psb/.txt)
>       - TMPlayer(.txt)
>       - SAMI(.smi/.sami)
>    - Support for subtitles in MKV files, but you will need a phone that
>    supports playback of mkv.
>    - On-screen information such as time and battery.
>    - Responsive, intuitive controls.
>    - Built-in subtitle search powered by
> OpenSubtitles.org<http://opensubtitles.org/>,
>    download and pair a subtitle with a video in less than 10 seconds.
>    - Video library with movie posters & inbuilt poster search.
>    - Imdb.com search, view information about your movie fast and easy
>    directly within the app.
>    - A lot of options for you to tweak to make the app fit your needs
>    perfectly.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to