Coder Social home page Coder Social logo

Comments (11)

caprica avatar caprica commented on September 26, 2024

Tell me, how would you go about trouble-shooting this issue given the information you've posted?

from vlcj.

rbesen avatar rbesen commented on September 26, 2024

running a DirectTestPlayer from examples on the repository o got the same error from my application, however on java6 and jvlcj 1.2.0 works fine. The output from VLC follow, I hope you can help-me with this. I have compiled the vlc with several params, but with no parameters I have de same output.

run:

       _       _
__   _| | ___ (_)
\ \ / / |/ __|| |
 \ 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.

vlcj: (Info.java:66)                           | INFO  | vlcj: 2.0.0
vlcj: (Info.java:67)                           | INFO  | java: 1.7.0_03 Oracle Corporation
vlcj: (Info.java:68)                           | INFO  | java home: /usr/lib/jvm/jdk1.7.0_03/jre
vlcj: (Info.java:69)                           | INFO  | os: Linux 3.0.0-12-generic i386
vlcj: (LibVlcFactory.java:143)                 | INFO  | vlc: 2.0.0 Twoflower, changeset 2.0.0-0-g421a4fc
vlcj: (LibVlcFactory.java:144)                 | INFO  | libvlc: libvlc.so
[0x9b7d478] main libvlc debug: VLC media player - 2.0.0 Twoflower
[0x9b7d478] main libvlc debug: Copyright © 1996-2012 VLC authors and VideoLAN
[0x9b7d478] main libvlc debug: revision 2.0.0-0-g421a4fc
[0x9b7d478] main libvlc debug: configured with ./configure  '--disable-hal' '--disable-mtp' '--disable-dbus' '--disable-httpd' '--disable-vlm' '--disable-notify' '--disable-dvdnav' '--disable-dshow' '--disable-bda' '--disable-smb' '--disable-dvbpsi' '--disable-v4l2' '--disable-libv4l2' '--disable-libcdio' '--disable-libvcdinfo' '--disable-libcddb' '--disable-cdda' '--disable-vcd' '--disable-dvb' '--disable-screen' '--disable-ogg' '--disable-mkv' '--disable-mod' '--disable-mpc' '--disable-gme' '--disable-mad' '--disable-postproc' '--disable-libsysfs' '--disable-libtar' '--disable-vorbis' '--disable-speex' '--disable-png' '--disable-fluidsynth' '--disable-cmml' '--disable-kate' '--disable-tiger' '--disable-xinerama' '--disable-sdl' '--disable-freetype' '--disable-fribidi' '--disable-fontconfig' '--disable-libxml2' '--disable-hd1000v' '--disable-directx' '--disable-fb' '--disable-wingdi' '--disable-pulse' '--disable-waveout' '--disable-hd1000a' '--disable-upnp' '--disable-skins2' '--disable-qt4' '--disable-wince' '--disable-macosx' '--disable-qnx' '--disable-visual' '--disable-bonjour' '--disable-gnutls' '--disable-activex' '--disable-swscale' '--disable-remoteosd' '--disable-libgcrypt' '--disable-audioscrobbler' '--disable-taglib' '--disable-schroedinger' '--disable-ncurses' '--disable-a52' '--disable-libmpeg2' '--disable-x264' '--enable-faad' '--disable-nls' '--disable-mozilla' '--disable-live555' '--disable-optimizations' '--enable-glx' '--enable-realrtsp' '--enable-real'
[0x9b7d478] main libvlc debug: searching plug-in modules
[0x9b7d478] main libvlc debug: loading plugins cache file /usr/local/lib/vlc/plugins/plugins.dat
[0x9b7d478] main libvlc debug: recursively browsing `/usr/local/lib/vlc/plugins'
[0x9b7d478] main libvlc debug: saving plugins cache /usr/local/lib/vlc/plugins/plugins.dat
[0x9b7d478] main libvlc debug: plug-ins loaded: 339 modules
[0x9b7d478] main libvlc debug: translation test: code is "C"
[0x9b7d478] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 FPU 
[0x9b7d478] main libvlc debug: looking for memcpy module: 4 candidates
[0x9b7d478] main libvlc debug: using memcpy module "memcpymmxext"
[0x9c173e8] main interface debug: looking for interface module: 1 candidate
[0x9c173e8] main interface debug: using interface module "hotkeys"
[0x9c173e8] main interface debug: TIMER module_need() : 0.167 ms - Total 0.167 ms / 1 intvls (Avg 0.167 ms)
[0x813fd158] main input debug: Creating an input for 'http://172.16.16.45/mjpg/video.mjpg'
[0x813fd158] main input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[0x813fd158] main input debug: `http://root:[email protected]/mjpg/video.mjpg' gives access `http' demux `' path `root:[email protected]/mjpg/video.mjpg'
[0x813fd158] main input debug: creating demux: access='http' demux='' location='root:[email protected]/mjpg/video.mjpg' file='(null)'
[0x9c7d6f0] main demux debug: looking for access_demux module: 0 candidates
[0x9c7d6f0] main demux debug: no access_demux module matched "http"
[0x9c7d6f0] main demux debug: TIMER module_need() : 1.215 ms - Total 1.215 ms / 1 intvls (Avg 1.215 ms)
[0x813fd158] main input debug: creating access 'http' location='root:[email protected]/mjpg/video.mjpg', path='(null)'
[0x813ef630] main access debug: looking for access module: 2 candidates
[0x813ef630] access_http access debug: http: server='172.16.16.45' port=80 file='/mjpg/video.mjpg'
[0x813ef630] access_http access debug:       user='root'
[0x813ef630] main access debug: net: connecting to 172.16.16.45 port 80
[0x813ef630] main access debug: connection succeeded (socket = 21)
[0x813ef630] access_http access debug: protocol 'HTTP' answer code 200
[0x813ef630] access_http access debug: Pragma: no-cache
[0x813ef630] access_http access debug: Connection: close
[0x813ef630] access_http access debug: Content-Type: multipart/x-mixed-replace; boundary=myboundary
[0x813ef630] main access debug: using access module "access_http"
[0x813ef630] main access debug: TIMER module_need() : 265.429 ms - Total 265.429 ms / 1 intvls (Avg 265.429 ms)
[0x813f03f0] main stream debug: Using stream method for AStream*
[0x813f03f0] main stream debug: starting pre-buffering
[0x813f03f0] main stream debug: received first data after 0 ms
[0x813f03f0] main stream debug: pre-buffering done 1024 bytes in 0s - 16666 KiB/s
[0x813efd20] main stream debug: looking for stream_filter module: 7 candidates
[0x813efd20] main stream debug: no stream_filter module matching "any" could be loaded
[0x813efd20] main stream debug: TIMER module_need() : 2.912 ms - Total 2.912 ms / 1 intvls (Avg 2.912 ms)
[0x813efd20] main stream debug: looking for stream_filter module: 1 candidate
[0x813efd20] main stream debug: using stream_filter module "stream_filter_record"
[0x813efd20] main stream debug: TIMER module_need() : 0.148 ms - Total 0.148 ms / 1 intvls (Avg 0.148 ms)
[0x813fd158] main input debug: creating demux: access='http' demux='' location='root:[email protected]/mjpg/video.mjpg' file='(null)'
[0x80e94580] main demux debug: looking for demux module: 48 candidates
[0x80e94580] mod demux debug: MOD validation failed (ext=)
[0x80e94580] mjpeg demux debug: Multipart MIME detected, using separator: myboundary
[0x80e94580] mjpeg demux debug: discard MIME header: Content-Length: 23517
[0x813fd158] main input debug: selecting program id=0
[0x80e94580] main demux debug: using demux module "mjpeg"
[0x80e94580] main demux debug: TIMER module_need() : 21.628 ms - Total 21.628 ms / 1 intvls (Avg 21.628 ms)
[0x80e9b658] main decoder debug: looking for decoder module: 21 candidates
[0x80e9b658] avcodec decoder debug: libavcodec initialized (interface 0x352300)
[0x80e9b658] avcodec decoder debug: trying to use direct rendering
[0x80e9b658] avcodec decoder debug: allowing 3 thread(s) for decoding
[0x80e9b658] avcodec decoder debug: ffmpeg codec (Motion JPEG Video) started
[0x80e9b658] main decoder debug: using decoder module "avcodec"
[0x80e9b658] main decoder debug: TIMER module_need() : 13.721 ms - Total 13.721 ms / 1 intvls (Avg 13.721 ms)

 A fatal error has been detected by the Java Runtime Environment:

  SIGSEGV (0xb) at pc=0xb78040c9, pid=5013, tid=2160446320

 JRE version: 7.0_03-b04
 Java VM: Java HotSpot(TM) Server VM (22.1-b02 mixed mode linux-x86 )
 Problematic frame:
 C  [libc.so.6+0x1110c9]  _IO_file_close_it+0x59
[0x80ea28c0] main demux meta debug: looking for meta reader module: 1 candidate

from vlcj.

caprica avatar caprica commented on September 26, 2024

Run your application with -Dvlcj.log=DEBUG.

Post a test-case.

vlc 2.0.0-git works just fine for me with all the vlcj tests on latest 64-bit Ubuntu.

from vlcj.

rbesen avatar rbesen commented on September 26, 2024

My ubuntu is 32 bits, this could be a problem, but I already have tested in an environment 64 bits e doesn't work too.

Follow the exit.
run:

       _       _
__   _| | ___ (_)
\ \ / / |/ __|| |
 \ 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.

vlcj: (Info.java:66)                           | INFO  | vlcj: 2.0.0
vlcj: (Info.java:67)                           | INFO  | java: 1.7.0_03 Oracle Corporation
vlcj: (Info.java:68)                           | INFO  | java home: /usr/lib/jvm/jdk1.7.0_03/jre
vlcj: (Info.java:69)                           | INFO  | os: Linux 3.0.0-12-generic i386
vlcj: (LibVlcFactory.java:143)                 | INFO  | vlc: 2.0.0 Twoflower, changeset 2.0.0-0-g421a4fc
vlcj: (LibVlcFactory.java:144)                 | INFO  | libvlc: libvlc.so
vlcj: (MediaPlayerFactory.java:191)            | DEBUG | MediaPlayerFactory(libvlc=Proxy interface to Native Library <libvlc.so@2167125048>,libvlcArgs=[])
vlcj: (MediaPlayerFactory.java:194)            | DEBUG | jna.library.path=null
vlcj: (MediaPlayerFactory.java:222)            | DEBUG | instance=native@0x812bf780
vlcj: (MediaPlayerFactory.java:447)            | DEBUG | newDirectMediaPlayer(width=720,height=480,renderCallback=DirectTestPlayer$TestRenderCallback@8eaec8)
vlcj: (MediaPlayerFactory.java:462)            | DEBUG | newDirectMediaPlayer(format=RV32,width=720,height=480,pitch=2880,renderCallback=DirectTestPlayer$TestRenderCallback@8eaec8)
vlcj: (DefaultMediaPlayer.java:167)            | DEBUG | DefaultMediaPlayer(libvlc=Proxy interface to Native Library <libvlc.so@2167125048>, instance=native@0x812bf780)
vlcj: (DefaultMediaPlayer.java:1495)           | DEBUG | createInstance()
vlcj: (DefaultMediaPlayer.java:1498)           | DEBUG | mediaPlayerInstance=native@0x80d37670
vlcj: (DefaultMediaPlayer.java:1501)           | DEBUG | mediaPlayerEventManager=native@0x80d38c98
vlcj: (DefaultMediaPlayer.java:1548)           | DEBUG | registerEventListener()
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerMediaChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerNothingSpecial
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerOpening
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerBuffering
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerPlaying
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerPaused
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerStopped
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerForward
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerBackward
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerEndReached
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerEncounteredError
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerTimeChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerPositionChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerSeekableChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerPausableChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerTitleChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerSnapshotTaken
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerLengthChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerVout
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:199)            | DEBUG | playMedia(mrl=http://root:[email protected]/mjpg/video.mjpg,mediaOptions=[])
vlcj: (DefaultMediaPlayer.java:208)            | DEBUG | prepareMedia(mrl=http://root:[email protected]/mjpg/video.mjpg,mediaOptions=[])
vlcj: (DefaultMediaPlayer.java:1633)           | DEBUG | setMedia(media=http://root:[email protected]/mjpg/video.mjpg,mediaOptions=[])
vlcj: (DefaultMediaPlayer.java:1646)           | DEBUG | mediaInstance=native@0x92fe7f0
vlcj: (DefaultMediaPlayer.java:1579)           | DEBUG | registerMediaEventListener()
vlcj: (DefaultMediaPlayer.java:1585)           | DEBUG | event=libvlc_MediaMetaChanged
vlcj: (DefaultMediaPlayer.java:1587)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1585)           | DEBUG | event=libvlc_MediaSubItemAdded
vlcj: (DefaultMediaPlayer.java:1587)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1585)           | DEBUG | event=libvlc_MediaDurationChanged
vlcj: (DefaultMediaPlayer.java:1587)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1585)           | DEBUG | event=libvlc_MediaParsedChanged
vlcj: (DefaultMediaPlayer.java:1587)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1585)           | DEBUG | event=libvlc_MediaFreed
vlcj: (DefaultMediaPlayer.java:1587)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1585)           | DEBUG | event=libvlc_MediaStateChanged
vlcj: (DefaultMediaPlayer.java:1587)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:659)            | DEBUG | play()
vlcj: (DefaultMediaPlayer.java:1788)           | DEBUG | mediaChanged(mediaPlayer=uk.co.caprica.vlcj.player.direct.DefaultDirectMediaPlayer@52cfc2)
vlcj: (DefaultMediaPlayer.java:1792)           | DEBUG | Raising event for new media

 A fatal error has been detected by the Java Runtime Environment:

  SIGSEGV (0xb) at pc=0xb76c50c9, pid=6944, tid=2162809712

 JRE version: 7.0_03-b04
 Java VM: Java HotSpot(TM) Server VM (22.1-b02 mixed mode linux-x86 )
 Problematic frame:
 C  [libc.so.6+0x1110c9]  _IO_file_close_it+0x59

from vlcj.

caprica avatar caprica commented on September 26, 2024

Are you running an untouched/unchanged vlcj sample, did you make some changes, is it your own code?

Does the untouched DirectTestPlayer or DirectMediaPlayerComponentTest work for you? They work for me(!)

If you made changes you'll have to post a simple test case if you want help.

Does the vlc application play your stream correctly?

Try it with a local file rather than a stream.

from vlcj.

caprica avatar caprica commented on September 26, 2024

Out of interest... why are you using the direct player stuff rather than embedded?

from vlcj.

rbesen avatar rbesen commented on September 26, 2024

The tests were done without changes on code. A have tested more than one example, DirectTestPlayer was the last one. But I'll try the embedded.

from vlcj.

rbesen avatar rbesen commented on September 26, 2024

The DirectTestPlayer running on java 6 with vlcj 1.2 works fine, the Embedded is only supported for vlcj 2.0 and running it(java 7 vlcj 2.0) I got the follow exit:

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

vlcj: (Info.java:66)                           | INFO  | vlcj: 2.0.0
vlcj: (Info.java:67)                           | INFO  | java: 1.7.0_03 Oracle Corporation
vlcj: (Info.java:68)                           | INFO  | java home: /usr/lib/jvm/jdk1.7.0_03/jre
vlcj: (Info.java:69)                           | INFO  | os: Linux 3.0.0-12-generic i386
vlcj: (LibVlcFactory.java:143)                 | INFO  | vlc: 2.0.0 Twoflower, changeset 2.0.0-0-g421a4fc
vlcj: (LibVlcFactory.java:144)                 | INFO  | libvlc: libvlc.so
vlcj: (MediaPlayerFactory.java:191)            | DEBUG | MediaPlayerFactory(libvlc=Proxy interface to Native Library <libvlc.so@2168086056>,libvlcArgs=[--no-plugins-cache, --no-video-title-show, --no-snapshot-preview, --quiet, --quiet-synchro, --intf, dummy])
vlcj: (MediaPlayerFactory.java:194)            | DEBUG | jna.library.path=null
vlcj: (MediaPlayerFactory.java:222)            | DEBUG | instance=native@0x813bcae0
vlcj: (MediaPlayerFactory.java:430)            | DEBUG | newEmbeddedMediaPlayer(fullScreenStrategy=null)
vlcj: (DefaultMediaPlayer.java:167)            | DEBUG | DefaultMediaPlayer(libvlc=Proxy interface to Native Library <libvlc.so@2168086056>, instance=native@0x813bcae0)
vlcj: (DefaultMediaPlayer.java:1495)           | DEBUG | createInstance()
vlcj: (DefaultMediaPlayer.java:1498)           | DEBUG | mediaPlayerInstance=native@0x810a5188
vlcj: (DefaultMediaPlayer.java:1501)           | DEBUG | mediaPlayerEventManager=native@0x810a67d0
vlcj: (DefaultMediaPlayer.java:1548)           | DEBUG | registerEventListener()
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerMediaChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerNothingSpecial
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerOpening
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerBuffering
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerPlaying
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerPaused
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerStopped
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerForward
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerBackward
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerEndReached
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerEncounteredError
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerTimeChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerPositionChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerSeekableChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerPausableChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerTitleChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerSnapshotTaken
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerLengthChanged
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1552)           | DEBUG | event=libvlc_MediaPlayerVout
vlcj: (DefaultMediaPlayer.java:1554)           | DEBUG | result=0
vlcj: (MediaPlayerFactory.java:499)            | DEBUG | newVideoSurface(canvas=java.awt.Canvas[canvas0,0,0,0x0,invalid])
vlcj: (MediaPlayerFactory.java:514)            | DEBUG | videoSurface=uk.co.caprica.vlcj.player.embedded.videosurface.CanvasVideoSurface@55d8ff
vlcj: (DefaultEmbeddedMediaPlayer.java:142)    | DEBUG | setVideoSurface(videoSurface=uk.co.caprica.vlcj.player.embedded.videosurface.CanvasVideoSurface@55d8ff)
vlcj: (DefaultMediaPlayer.java:173)            | DEBUG | addMediaPlayerEventListener(listener=uk.co.caprica.vlcj.component.EmbeddedMediaPlayerComponent[panel0,0,0,0x0,invalid,layout=java.awt.BorderLayout])
vlcj: (DefaultEmbeddedMediaPlayer.java:222)    | DEBUG | setOverlay(overlay=null)
vlcj: (DefaultEmbeddedMediaPlayer.java:238)    | DEBUG | enableOverlay(enable=false)
vlcj: (DefaultEmbeddedMediaPlayer.java:304)    | DEBUG | removeOverlay()
vlcj: (DefaultEmbeddedMediaPlayer.java:284)    | DEBUG | addOverlay(overlay=null)
vlcj: (DefaultMediaPlayer.java:199)            | DEBUG | playMedia(mrl=v4l2://,mediaOptions=[])
vlcj: (DefaultMediaPlayer.java:208)            | DEBUG | prepareMedia(mrl=v4l2://,mediaOptions=[])
vlcj: (DefaultMediaPlayer.java:1633)           | DEBUG | setMedia(media=v4l2://,mediaOptions=[])
vlcj: (DefaultMediaPlayer.java:1646)           | DEBUG | mediaInstance=native@0x810ffaf8
vlcj: (DefaultMediaPlayer.java:1579)           | DEBUG | registerMediaEventListener()
vlcj: (DefaultMediaPlayer.java:1585)           | DEBUG | event=libvlc_MediaMetaChanged
vlcj: (DefaultMediaPlayer.java:1587)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1585)           | DEBUG | event=libvlc_MediaSubItemAdded
vlcj: (DefaultMediaPlayer.java:1587)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1585)           | DEBUG | event=libvlc_MediaDurationChanged
vlcj: (DefaultMediaPlayer.java:1587)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1585)           | DEBUG | event=libvlc_MediaParsedChanged
vlcj: (DefaultMediaPlayer.java:1587)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1585)           | DEBUG | event=libvlc_MediaFreed
vlcj: (DefaultMediaPlayer.java:1587)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:1585)           | DEBUG | event=libvlc_MediaStateChanged
vlcj: (DefaultMediaPlayer.java:1587)           | DEBUG | result=0
vlcj: (DefaultMediaPlayer.java:659)            | DEBUG | play()
vlcj: (DefaultEmbeddedMediaPlayer.java:314)    | DEBUG | onBeforePlay()
vlcj: (DefaultEmbeddedMediaPlayer.java:151)    | DEBUG | attachVideoSurface()
vlcj: (CanvasVideoSurface.java:67)             | DEBUG | attach()
vlcj: (DefaultMediaPlayer.java:1788)           | DEBUG | mediaChanged(mediaPlayer=uk.co.caprica.vlcj.player.embedded.DefaultEmbeddedMediaPlayer@187f189)
vlcj: (DefaultMediaPlayer.java:1792)           | DEBUG | Raising event for new media
vlcj: (LinuxVideoSurfaceAdapter.java:39)       | DEBUG | attach(componentId=88080404)

 A fatal error has been detected by the Java Runtime Environment:

from vlcj.

caprica avatar caprica commented on September 26, 2024

The DirectTestPlayer running on java 6 with vlcj 1.2 works fine

So it's not a vlcj issue is it.

Have a look here and see if helps: http://www.capricasoftware.co.uk/wiki/index.php?title=Vlcj_Java7_On_Linux

the Embedded is only supported for vlcj 2.0

I don't know what you mean by that.

Most people should NOT be using the direct media player and should be using the embedded media player or the embedded media player component instead.

The direct media player is much less efficient at playing video.

from vlcj.

caprica avatar caprica commented on September 26, 2024

Closing due to lack of follow-up.

from vlcj.

caprica avatar caprica commented on September 26, 2024

This might be related to #62.

from vlcj.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.