Page 1 of 1

How to disable subtitle?-Still not work

Posted: 24 Aug 2012 16:42
by vsee
How I can disable subtitle by programming? Coz it always show unreadable chars in our language.

Re: How to disable subtitle?

Posted: 24 Aug 2012 16:51
by edwardw
See libvlc_video_set_spu()

Re: How to disable subtitle?

Posted: 24 Aug 2012 18:31
by vsee
Got it.Thank you again,Sir!

Re: How to disable subtitle?

Posted: 24 Aug 2012 18:58
by vsee
Got it.Thank you again,Sir!

Re: How to disable subtitle?

Posted: 25 Aug 2012 14:26
by vsee
Sorry,but I tried mLibVLC.setSpuTrack(0)、mLibVLC.setSpuTrack(-1)、mLibVLC.setSpuTrack(9) but have no luck.Still need your help.

Re: How to disable subtitle?-Still not work

Posted: 27 Aug 2012 10:35
by vsee
Got it finally.

Re: How to disable subtitle?-Still not work

Posted: 27 Aug 2012 18:43
by vsee
Meet new problem:can not change spu track just after readmedia(),if run mLibVLC.setSpuTrack(mLibVLC.getSpuTracksCount()) immediately after readmedia(),the video/audio will not play as normal,it means we can not disable SPU from when start play a new media.

Re: How to disable subtitle?-Still not work

Posted: 04 Sep 2012 04:41
by vsee
Please help,again,thanks a million!