Hi Tony,<br><br>Thanks for your answer!<br><br>Just two questions regarding your answer ;-)...<br>1. The windows version that is available for download on jvlc site (linked to <a href="http://jvlc.ihack.it/releases/jvlc-0.9.0-20070310-win32.zip">http://jvlc.ihack.it/releases/jvlc-0.9.0-20070310-win32.zip</a>) is the 0.9.0 beta you refer right?<br>
2. The problem that you said no longer exists is about the instantiation of JVLC passing no arguments causing an EXCEPTION_ACCESS_VIOLATION in the JVM or about the "jvlc hardware yuv
directx output" that opens with the video when I try to play any video inside my GUI? Cause my biggest issue is the video oppening in this new window...<br><br>And another question/issue...<br>I tried again to download the last windows "version" from the jvlc site and when I'm trying to run the VLCExample (after modifying it to get an existent .avi file), the video disapear just after being started and I got the following "error" (running with the -v option):<br>
<br>[00000311] avi private warning: unknown chunk (not loaded)<br>Compiler did not align stack variables. Libavcodec has been miscompiled<br>and may be very slow or crash. This is not a bug in libavcodec,<br>but in the compiler. Do not report crashes to FFmpeg developers.<br>
[00000312] avi demuxer warning: cannot skip packet, track disabled<br><br>Is this any problem with the jvlc-0.9.0-20070310-win32 version (the only available right now for win in the website) or something is wrong with my environment/machine/something else?<br>
<br>I've looked for these issues in many forums but I couldn't find any solution... only people with the same issues =(<br><br>Thanks for the help!<br>Diego<br><br><div class="gmail_quote">On Fri, Feb 15, 2008 at 2:51 PM, Tony Anecito <<a href="mailto:adanecito@yahoo.com">adanecito@yahoo.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Diego,<br>
<br>
Sorry did not respond sooner but on holiday.<br>
<br>
This is an old problem that should no longer exist on<br>
0.9.0 beta. I have used resent builds and this does<br>
not occur. I am using windows and told long ago when I<br>
helped fix it that this was windows specific.<br>
<br>
This should not be java issue.<br>
<br>
I hope that helps,<br>
-Tony<br>
<div><div></div><div class="Wj3C7c"><br>
--- Diego Sanchez Gallo <<a href="mailto:dsgallo@larc.usp.br">dsgallo@larc.usp.br</a>> wrote:<br>
<br>
> Hi guys,<br>
><br>
> I'm trying to use the java bindings, to play a file<br>
> inside a GUI, but when<br>
> the playback starts, a "jvlc hardware yuv directx<br>
> output" opens with the<br>
> video.<br>
> I need the video embeded in my application, inside a<br>
> JPanel... Please, any<br>
> help would be greatly appreciated!!! ;-)<br>
><br>
> That is my code:<br>
><br>
> ************************************************<br>
><br>
> import javax.swing.BoxLayout;<br>
> import javax.swing.JFrame;<br>
> import javax.swing.JPanel;<br>
><br>
> import org.videolan.jvlc.JVLC;<br>
> import org.videolan.jvlc.JVLCCanvas;<br>
> import org.videolan.jvlc.VLCException;<br>
><br>
> public class JVLCTest extends JFrame {<br>
><br>
>     private static final long serialVersionUID = 1L;<br>
><br>
>     public JVLC jvlc;<br>
><br>
>     public JVLCTest() {<br>
>         initComponents();<br>
>     }<br>
><br>
>     private void initComponents() {<br>
>         getContentPane().setLayout(new<br>
> BoxLayout(getContentPane(),<br>
> BoxLayout.PAGE_AXIS));<br>
><br>
>         JPanel panel = new JPanel();<br>
>         panel.setLayout(new BoxLayout(panel,<br>
> BoxLayout.PAGE_AXIS));<br>
>         JVLCCanvas canvas = new JVLCCanvas(new<br>
> String[] {}, 688, 464);<br>
>         jvlc = canvas.getJVLC();<br>
>         panel.add(canvas);<br>
>         getContentPane().add(panel);<br>
>         pack();<br>
>     }<br>
><br>
>     public void play() {<br>
>         try {<br>
><br>
><br>
jvlc.playlist.add("E:\\MediaContent\\FG-dvd_mpeg2_comp.avi",<br>
> "Video");<br>
>             jvlc.playlist.play();<br>
>             while (!jvlc.isInputPlaying());<br>
>             System.out.println("playing");<br>
>         } catch (VLCException e) {<br>
>             e.printStackTrace();<br>
>         }<br>
>     }<br>
><br>
>     public static void main(String[] args) {<br>
>         JVLCTest test = new JVLCTest();<br>
>         test.setSize(800, 600);<br>
>         test.setVisible(true);<br>
><br>
> test.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);<br>
><br>
>         test.play();<br>
>     }<br>
> }<br>
><br>
> ************************************************<br>
><br>
> I was trying to use the JVLCPanel directly also, but<br>
> I'm getting<br>
> EXCEPTION_ACCESS_VIOLATION from the JVM when doing<br>
> that, apparently because<br>
> the JVLCPanel tries to instanciate the JVLC passing<br>
> no arguments, and I only<br>
> could make it work instanciating the JVLC passing as<br>
> argument an empty<br>
> String array.<br>
><br>
> Any ideas? Thanks!<br>
> Diego<br>
><br>
> ps. I know that is not a bug to have the content<br>
> playing in the overlay<br>
> window, but I need it embeded... I tried passing as<br>
> argument the<br>
> --no-overlay option but get an<br>
> EXCEPTION_ACCESS_VIOLATION from the JVM (from<br>
> the JNDI call)<br>
> ps2. I had everything working fine with the jvlc<br>
> 0.86, but since this<br>
> version doesn't have the get/setTime and<br>
> get/setPosition functionalities,<br>
> and I need them, I have to upgrade to the newest<br>
> version...<br>
</div></div>> > _______________________________________________<br>
> vlc-devel mailing list<br>
> To unsubscribe or modify your subscription options:<br>
> <a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
<br>
<br>
<br>
      ____________________________________________________________________________________<br>
Be a better friend, newshound, and<br>
know-it-all with Yahoo! Mobile.  Try it now.  <a href="http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ" target="_blank">http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ</a><br>
<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
</blockquote></div><br>