libvlc

How to use JVLC (Java bindings for VLC)?

…衆ロ難τιáo~ 提交于 2019-12-11 07:08:12
问题 I'm trying to use JVLC but I can't seem to get it work. I've downloaded the jar, I installed VLC and passed the -D argument to the JVM telling it where VLC is installed. I also tried: NativeLibrary.addSearchPath("libvlc", "C:\\Program Files\\VideoLAN\\VLC"); with no luck. I always get: Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'libvlc': The specified module could not be found. Has anyone made it work? 回答1: You can get that exception if the dll you are

VideoLan.Net: Play media backwards / Change playback speed?

旧巷老猫 提交于 2019-12-11 06:56:13
问题 I have been given a new requirement that I make the option available to play media files in reverse, and the option to be able to increase/decrease playback speed. The program with which I am working relies on VideoLan.Net to handle all our media playback needs, so the question I have is this: Using VideoLan.Net, is it possible to play media backwards, and is it possible to increase/decrease the playback speed? 回答1: vlc can not play media in reverse. With LibVLC it certainly is possible to

“unknown register alias” errors when building VLC for Android on a Mac

五迷三道 提交于 2019-12-11 05:41:27
问题 I'm trying to build VLC for Android on a Mac, but I get these errors: INSTALL libavformat/libavformat.a {standard input}: Assembler messages: {standard input}:146: Error: unknown register alias 'GP' clang38: error: assembler command failed with exit code 1 (use -v to see invocation) make[1]: *** [libavcodec/arm/ac3dsp_armv6.o] Error 1 make[1]: *** Waiting for unfinished jobs.... {standard input}: Assembler messages: {standard input}:446: Error: unknown register alias 'POUT' {standard input}

Progress dialog in LibVLC Android

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-11 05:28:21
问题 In my application am showing live video streaming, for that i have used LibVLC library. Everything is working properly. Before playing video i want to show progress dialog, because until video gets start LibVLC surface(black screen) appears, because of which user might think video is not loading. I tried to add progress dialog, which appears on video streaming start, but on LibVLC's EventHandler.MediaPlayerPlaying event I dismiss it assuming video gets started,but after this event for next 5

Qt 5 and LibVLC

人盡茶涼 提交于 2019-12-11 05:04:25
问题 I'm working on a project which involves receive, display and rebroadcast several local network video streams. LibVLC seems to be the way to go, I'd like to use it within Qt Creator/C++/OSX 10.12.1 and I also need the project to be compilable on some Windows 10 machines where I have Qt installed. I successfully tested some functionalities by installing the offical QT-LibVLC wrapper from projects.tano.si/vlc-qt. Unfortunately the wrapper lacks many LibVLC methods which are essential to my

Libvlc media player end reached weird behavior

牧云@^-^@ 提交于 2019-12-11 04:26:22
问题 I'm using libvlc with Qt and I noticed that when the media player reaches the end of the video it doesn't respond anymore to window resizing or "play" to restart the video, it just stop working and that is it. This is what happens if I try to resize when the media player reaches the end: Behavior while playing: Behavior after end reaches: It doesn't happen in the regular Vlc only on the library. Is there any configuration I'm missing or they do something in that situation that I'm not aware

How can I load a memory stream into LibVLC?

怎甘沉沦 提交于 2019-12-11 04:08:41
问题 I want to play a media file from a memory stream using LibVLC like so: //Ideally it would go like this: LibVLC.MediaFromStream = new MemoryStream(File.ReadAllBytes(File_Path)); Of course this is a very oversimplified version of what I want but hopefully it conveys what I am looking for. The reason being that I want there to be a good amount of portability for what I'm doing without having to track file locations and such. I'd rather have a massive clump of data in a single file that can be

What is the proper way to RTSP stream, transcode and save to file?

眉间皱痕 提交于 2019-12-11 03:18:02
问题 While showing the rstp-stream, we are trying to transcode, and record it to file for later use. VLC 2.1.1 seems to work when using vlc rtsp-stream :sout=#transcode{vcodec=mp1v,vb=700,scale=1}:duplicate{dst=display,dst=std{access=file,mux=asf,dst="C:\file.mpg"}}" This seems to be broken on VLC 2.2.4 Documentation on VLC's wiki seems outdated. 回答1: Discrepancies with the vcodec/mux pairing as well as using samplerate instead of vb seem to fix it. vlc rtsp-stream :sout=#transcode{vcodec=mp4v

vlcj:: Unable to load library 'libvlc' in 64bit OS

◇◆丶佛笑我妖孽 提交于 2019-12-10 18:44:32
问题 I am using 64 bit OS Windows 7 and i have 32 bit VLC versioned 1.1.8. I have added these libraries jna.jar platform.jar vlcj-1.1.5.1.jar I am not able to stream using jVlc public class HelloVLC { /** * @param args * @throws IOException */ public static void main(String[] args) throws IOException { // TODO Auto-generated method stub System.out.println( WindowsRuntimeUtil.getVlcInstallDir()); NativeLibrary.addSearchPath("libvlc", "C:\\Program Files (x86)\\VideoLAN\\VLC"); String media = "dshow:

How do you Fullscreen RTSP Stream in Android LibVLC?

江枫思渺然 提交于 2019-12-10 11:38:26
问题 I'm using mrmaffen's VLC-ANDROID-SDK to develop an RTSP streaming app. https://github.com/mrmaffen/vlc-android-sdk I've had a lot of success getting it working and running quite well, but the problem I'm having that I can't seem to shake is getting it to display the video feed in fullscreen on the SurfaceView, or even just in the center of the SurfaceView. This is what I get: http://s1378.photobucket.com/user/Jo_Han_Solo/media/Screenshot_20171214-125504_zps437k1kw2.png.html?filters[user]