<div dir="ltr"><div><div><div><div><div><div>also something else regarding subtitles.<br></div>I noticed in vlc for android code the fallowing code in class VideoPlayerActivity:<br>---------------------------------------<br> /* Only show the subtitles surface when using "Full Acceleration" mode */<br> if (mLibVLC.getHardwareAcceleration() == LibVLC.HW_ACCELERATION_FULL)<br> mSubtitlesSurface.setVisibility(View.VISIBLE);<br>-----------------------------------------------------------<br></div>And hardware aceleration only works for android 4.3+ .<br></div>So this means android < 4.3 can not show subtitles in vlc for android ,cause mSubtitlesSurface is default invisible in layout and the condition above do nto let it to be visible if tehre is no full hardware aceleration .<br></div>Any way I tried in a little cheap (26usd) android tv box running android 4.2.2 ,with only 512 ram ,and dual core Allwinner 1.2 ghz cpu, to use subtitles ,and everythink works great.<br></div>There is no delay , I watched more than 6 movies with different codecs and everythink is great.<br></div>I ussed the libvlc from google play (libvlc: VLC media player - 2.2.0-pre4 Weatherwax ) ,I only changed gui code ,nothing to the libvlc ,and all is good in android 4.2.2 with subtitles and HarwareAcceleration(0).<br><div><div><br><div><div><div><br></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 1, 2014 at 1:44 PM, Maria Gheorghe <span dir="ltr"><<a href="mailto:reclamamulta@gmail.com" target="_blank">reclamamulta@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thinking also to modify full .srt file .Increse in file the time for eatch text ,and reload the .srt file with updated times.<br></div>This is just because I do not have now the informations how to make the video_set_spu_delay() function visible from java ,but is not something very fast ,cause require to read and write full str file.<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 1, 2014 at 1:05 PM, Maria Gheorghe <span dir="ltr"><<a href="mailto:reclamamulta@gmail.com" target="_blank">reclamamulta@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>So i think the libvlc must be recompiled ,so java to see that libvlc function as public or similar.<br></div>Do you have any ideea how this exposure work?How must look a fucntion from the libvlc in order to be accesed from java ?<br></div>I recompiled one time the libvlc for android ,but i never aded or modified fucntions of the libvlc.<br><br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 1, 2014 at 1:02 PM, Jean-Baptiste Kempf <span dir="ltr"><<a href="mailto:jb@videolan.org" target="_blank">jb@videolan.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 01 Oct, Maria Gheorghe wrote :<br>
</span><span>> How can I do this?<br>
<br>
</span>You need to modify the code to expose it.<br>
<div><div><br>
--<br>
Jean-Baptiste Kempf<br>
<a href="http://www.jbkempf.com/" target="_blank">http://www.jbkempf.com/</a> - <a href="tel:%2B33%20672%20704%20734" value="+33672704734" target="_blank">+33 672 704 734</a><br>
Sent from my Electronic Device<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>