{"action":"created","issue":{"url":"https://api.github.com/repos/caprica/vlcj/issues/454","labels_url":"https://api.github.com/repos/caprica/vlcj/issues/454/labels{/name}","comments_url":"https://api.github.com/repos/caprica/vlcj/issues/454/comments","events_url":"https://api.github.com/repos/caprica/vlcj/issues/454/events","html_url":"https://github.com/caprica/vlcj/issues/454","id":125500374,"number":454,"title":"Compatibility between vlcj.x.x.x.jar and vlc version","user":{"login":"ferrusqui","id":15851807,"avatar_url":"https://avatars.githubusercontent.com/u/15851807?v=3","gravatar_id":"","url":"https://api.github.com/users/ferrusqui","html_url":"https://github.com/ferrusqui","followers_url":"https://api.github.com/users/ferrusqui/followers","following_url":"https://api.github.com/users/ferrusqui/following{/other_user}","gists_url":"https://api.github.com/users/ferrusqui/gists{/gist_id}","starred_url":"https://api.github.com/users/ferrusqui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferrusqui/subscriptions","organizations_url":"https://api.github.com/users/ferrusqui/orgs","repos_url":"https://api.github.com/users/ferrusqui/repos","events_url":"https://api.github.com/users/ferrusqui/events{/privacy}","received_events_url":"https://api.github.com/users/ferrusqui/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-01-07T22:34:20Z","updated_at":"2016-01-11T22:36:04Z","closed_at":null,"body":"os: windows 7 64bit\r\njava version: jdk1.8.0_45\r\n\r\nI didn't find a guide in order to understand which version of the vlcj library is compatible with which version of VLC.\r\n\r\nI need to open an rtsp h264 stream from a FOSCAM camera.\r\n\r\nthe only configuration let me open the stream is \r\nvlcj.3.9.0\r\njna.3.5.2\r\nvlc 2.1.2\r\n\r\nunfortunatelly with this version of vlc, after some minutes of streaming, something appens and the image freezes. ( I can reproduce the situation also using directly VLC).\r\nFor this reason I downloaded the VLC 2.2.1. With this version there is no freeze problem using VLC, but I'm not able to use vlcj with this version of VLC. \r\nThis is the log\r\n\r\n[Thread-2] INFO uk.co.caprica.vlcj.Info - vlcj: 3.9.0\r\n[Thread-2] INFO uk.co.caprica.vlcj.Info - java: 1.8.0_45 Oracle Corporation\r\n[Thread-2] INFO uk.co.caprica.vlcj.Info - java home: C:\\Program Files\\Java\\jdk1.8.0_45\\jre\r\n[Thread-2] INFO uk.co.caprica.vlcj.Info - os: Windows 7 6.1 amd64\r\n[Thread-2] INFO uk.co.caprica.vlcj.binding.LibVlcFactory - vlc: 2.2.1 Terry Pratchett (Weatherwax), changeset 2.2.1-0-ga425c42\r\n[Thread-2] INFO uk.co.caprica.vlcj.binding.LibVlcFactory - libvlc: D:\\vlc-2.2.1\\libvlc.dll\r\n[0000000000362980] core input error: open of `rtsp://admin:admin@192.168.0.106:88/videoMain' failed\r\n[0000000000362980] core input error: Your input can't be opened\r\n[0000000000362980] core input error: VLC is unable to open the MRL 'rtsp://admin:admin@192.168.0.106:88/videoMain'. Check the log for details.\r\n\r\nI tried to download also the vlcj-3.10.1 with the jna-4.1.0.\r\nbut using this libraries I receive an error:\r\n\r\n[Thread-2] INFO uk.co.caprica.vlcj.Info - vlcj: 3.10.1\r\n[Thread-2] INFO uk.co.caprica.vlcj.Info - java: 1.8.0_45 Oracle Corporation\r\n[Thread-2] INFO uk.co.caprica.vlcj.Info - java home: C:\\Program Files\\Java\\jdk1.8.0_45\\jre\r\n[Thread-2] INFO uk.co.caprica.vlcj.Info - os: Windows 7 6.1 amd64\r\n[Thread-2] INFO uk.co.caprica.vlcj.binding.LibVlcFactory - vlc: 2.2.1 Terry Pratchett (Weatherwax), changeset 2.2.1-0-ga425c42\r\n[Thread-2] INFO uk.co.caprica.vlcj.binding.LibVlcFactory - libvlc: D:\\vlc-2.2.1\\libvlc.dll\r\n[000000000030fdb0] core libvlc error: No plugins found! Check your VLC installation.\r\n[Thread-2] ERROR uk.co.caprica.vlcj.player.MediaPlayerFactory - Failed to initialise libvlc\r\nException in thread \"Thread-2\" java.lang.RuntimeException: Failed to initialise libvlc.\r\n\r\nThis is most often caused either by an invalid vlc option being passed when creating a MediaPlayerFactory or by libvlc being unable to locate the required plugins.\r\n\r\nat uk.co.caprica.vlcj.player.MediaPlayerFactory.<init>(MediaPlayerFactory.java:300)\r\n\tat uk.co.caprica.vlcj.player.MediaPlayerFactory.<init>(MediaPlayerFactory.java:259)\r\n\tat uk.co.caprica.vlcj.component.DirectMediaPlayerComponent.onGetMediaPlayerFactory(DirectMediaPlayerComponent.java:180)\r\n\tat uk.co.caprica.vlcj.component.DirectMediaPlayerComponent.<init>(DirectMediaPlayerComponent.java:112)\r\n\tat videosurv.live.Playervlcj$4.<init>(Playervlcj.java:250)\r\n\tat videosurv.live.Playervlcj.connect(Playervlcj.java:250)\r\n\tat videosurv.live.Playervlcj.run(Playervlcj.java:450)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n\r\n\r\nClearly the VLC used works normally. I checked and libvlc.dll and libvlccore.dll are present.\r\n\r\nThe playervlcj.java:250 is \r\n\r\n mediaPlayerComponent = new DirectMediaPlayerComponent(bufferFormatCallback) {\r\n            @Override\r\n            protected RenderCallback onGetRenderCallback() {\r\n                return new TutorialRenderCallbackAdapter();\r\n            }\r\n        };\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/caprica/vlcj/issues/comments/170713394","html_url":"https://github.com/caprica/vlcj/issues/454#issuecomment-170713394","issue_url":"https://api.github.com/repos/caprica/vlcj/issues/454","id":170713394,"user":{"login":"caprica","id":1385879,"avatar_url":"https://avatars.githubusercontent.com/u/1385879?v=3","gravatar_id":"","url":"https://api.github.com/users/caprica","html_url":"https://github.com/caprica","followers_url":"https://api.github.com/users/caprica/followers","following_url":"https://api.github.com/users/caprica/following{/other_user}","gists_url":"https://api.github.com/users/caprica/gists{/gist_id}","starred_url":"https://api.github.com/users/caprica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caprica/subscriptions","organizations_url":"https://api.github.com/users/caprica/orgs","repos_url":"https://api.github.com/users/caprica/repos","events_url":"https://api.github.com/users/caprica/events{/privacy}","received_events_url":"https://api.github.com/users/caprica/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T22:36:04Z","updated_at":"2016-01-11T22:36:04Z","body":"Quoting the first linked comment:\r\n>I used the vlcj \"MinimalTestPlayer\" [Java] with the URL exactly as you provided. I did not mess around with --rtsp-user switches.\"\r\n\r\nThe second linked comment shows an MRL with credentials, e.g.:\r\n\r\n>rtsp://admin:9999@1.2.3.4:8888/h264\r\n\r\nThat's what I used to successfully test this (on Linux).\r\n\r\nNo \"C\" code is needed."}}