Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no video on ubuntu 12.04 #11

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 5 comments
Open

no video on ubuntu 12.04 #11

GoogleCodeExporter opened this issue Mar 14, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link
Collaborator

here is the log:

^Cericduveau@ericduveau-MS-7751:~$ java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) Server VM (build 23.3-b01, mixed mode)

ericduveau@ericduveau-MS-7751:~$ datasoul 
       _       _
__   _| | ___ (_)
\ \ / / |/ __|| |
 \ V /| | (__ | |
  \_/ |_|\___|/ | 2.0.0
            |__/  www.capricasoftware.co.uk

VLCJ is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

VLCJ is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with VLCJ.  If not, see <http://www.gnu.org/licenses/>.

Copyright 2009, 2010, 2011, 2012 Caprica Software Limited.

Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: 
libjawt.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou 
dossier de ce type
    at com.sun.jna.Native.getWindowHandle0(Native Method)
    at com.sun.jna.Native$AWT.getComponentID(Native.java:1766)
    at com.sun.jna.Native.getComponentID(Native.java:252)
    at uk.co.caprica.vlcj.player.embedded.videosurface.CanvasVideoSurface.attach(CanvasVideoSurface.java:69)
    at uk.co.caprica.vlcj.player.embedded.DefaultEmbeddedMediaPlayer.attachVideoSurface(DefaultEmbeddedMediaPlayer.java:156)
    at uk.co.caprica.vlcj.player.embedded.DefaultEmbeddedMediaPlayer.onBeforePlay(DefaultEmbeddedMediaPlayer.java:315)
    at uk.co.caprica.vlcj.player.DefaultMediaPlayer.play(DefaultMediaPlayer.java:660)
    at uk.co.caprica.vlcj.player.DefaultMediaPlayer.playMedia(DefaultMediaPlayer.java:203)
    at datasoul.render.vlcj.VlcjBackgroundFrame.playBackground(VlcjBackgroundFrame.java:150)
    at datasoul.StartupManager$1.run(StartupManager.java:366)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$200(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)




Original issue reported on code.google.com by [email protected] on 4 Sep 2012 at 9:55

@GoogleCodeExporter
Copy link
Collaborator Author

I got the same error in a fresh ubuntu 12.04 install (under vmware).

The fix for the linkage issue is trivial, but now I'm getting core-dumps when 
trying to play video. It's likely to be related to this issue: 
https://github.com/caprica/vlcj/issues/62

Original comment by [email protected] on 8 Sep 2012 at 3:21

@GoogleCodeExporter
Copy link
Collaborator Author

I have uploaded a new version (2.1-b1 for Linux) which fixes the linkage issue.

Can you please try it and let us know how it goes? 

If you get backtraces, please report also if it's gone when renaming 
/usr/lib/vlc/lua/meta/reader/filename.luac to 
/usr/lib/vlc/lua/meta/reader/filename.luac.disable (or something like that).

Thanks

Original comment by [email protected] on 8 Sep 2012 at 6:11

@GoogleCodeExporter
Copy link
Collaborator Author

ericduveau@ericduveau-MS-7751:~$ datasoul 
       _       _
__   _| | ___ (_)
\ \ / / |/ __|| |
 \ V /| | (__ | |
  \_/ |_|\___|/ | 2.0.0
            |__/  www.capricasoftware.co.uk

VLCJ is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

VLCJ is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with VLCJ.  If not, see <http://www.gnu.org/licenses/>.

Copyright 2009, 2010, 2011, 2012 Caprica Software Limited.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb76d3688, pid=19889, tid=2303392576
#
# JRE version: 7.0_07-b10
# Java VM: Java HotSpot(TM) Server VM (23.3-b01 mixed mode linux-x86 )
# Problematic frame:
# C  [libc.so.6+0x128688]  _IO_file_underflow+0x68
#
# Failed to write core dump. Core dumps have been disabled. To enable core 
dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/ericduveau/hs_err_pid19889.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#
/usr/bin/datasoul: line 3: 19889 Aborted                 (core dumped) java 
-Xmx512m -jar /usr/lib/datasoul/datasoul.jar $*

Original comment by [email protected] on 8 Sep 2012 at 7:55

Attachments:

@GoogleCodeExporter
Copy link
Collaborator Author

ericduveau@ericduveau-MS-7751:~$ sudo mv 
/usr/lib/vlc/lua/meta/reader/filenameuac 
/usr/lib/vlc/lua/meta/reader/filename.luac.disable

Now it seems to work

Original comment by [email protected] on 8 Sep 2012 at 8:00

Attachments:

@GoogleCodeExporter
Copy link
Collaborator Author

Here we are:
http://www.youtube.com/watch?v=4P4HpZ3qpzA&feature=em-share_video_user

Original comment by [email protected] on 11 Sep 2012 at 5:27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant