jackuzen
14th September 2011, 08:05
Hi all,
First, i don't know if it's right place to ask this question. If it's not, please move it to appropriate one for me.
I need to add a subtitle into video file so that it can be played on Iphones and Android phones. I did try with two others options: play video with external subtitle file, add text stream in video file. But the problem is that, in earlier version of Android (2.2, 2.3), the default video player can not display the text stream, and the external subtitle file (tested on Nexus One and HTC HD desired).
It leave me with only one choice: hardcode subtitle into video file. I have read through the Q&A about hardcoding sub in this forum, and they'r all about using GUI tools. What i need is something like a library, a command line app, which i can invoke from my source code.
is there any such thing like that out there?
My target encodes are H264/AAC, and input subtitle: .smi, .srt, .ass, contained in .mp4 or m4v file.
Thanks
First, i don't know if it's right place to ask this question. If it's not, please move it to appropriate one for me.
I need to add a subtitle into video file so that it can be played on Iphones and Android phones. I did try with two others options: play video with external subtitle file, add text stream in video file. But the problem is that, in earlier version of Android (2.2, 2.3), the default video player can not display the text stream, and the external subtitle file (tested on Nexus One and HTC HD desired).
It leave me with only one choice: hardcode subtitle into video file. I have read through the Q&A about hardcoding sub in this forum, and they'r all about using GUI tools. What i need is something like a library, a command line app, which i can invoke from my source code.
is there any such thing like that out there?
My target encodes are H264/AAC, and input subtitle: .smi, .srt, .ass, contained in .mp4 or m4v file.
Thanks