[vlc-devel] Play subtitle on 0.9 VLC plugin?

hce webmail.hce at gmail.com
Wed Oct 15 08:12:55 CEST 2008

On Wed, Oct 15, 2008 at 4:21 PM, Kaarlo Räihä <agent_007 at luukku.com> wrote:
> hce kirjoitti 15.10.2008 kello 04:54:
>> Hi,
>> Is it possible in 0.9 VLC to play subtitle SRT file with a video file
>> such as av.mp4? If so, what is the API which can be used for mozilla
>> or activex plugin? If not, which tool can be used to add SRT or
>> subtitle text file into a video file av.mp4 in Linux command line? I
>> guess ffmpeg does not support to insert subtitle text file into a
>> video file, correct me if I am wrong.
>> Thank you.
> MP4Box works on Linux.
> http://gpac.sourceforge.net/doc_mp4box.php
> And yes it is possible to play subtitles at the same time, but I am not sure if that works with 0.9.x or with 1.0.0 (at least there is commit for that).
>  Commit by Jean-Paul Saman  on master  ::  rbe9c509e4c vlc/projects/mozilla/test.html: (link)
> Add subtitle and teletext JS API to test.html
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=be9c509e4c1b7fbeffc421f472ddb9e0b0486f86

Thanks Kaarlo.

I've tried JS API vlc.video.subtitle on mozilla from JB test.html, it
was an error of undefined vlc.video.subtitle. Could JB please explain
what are the JS APIs to assign a subtitle file sub.srt and to play
sub.srt with a video such as av.mp4.

Thank you.

More information about the vlc-devel mailing list