vlc

How to process VLC UDP stream over OpenCV

折月煮酒 提交于 2019-11-28 12:22:34
问题 I was able to receive/view UDP h264 packets through VLC command line (i.e. VLC --network-caching 0 --demux h264 udp://...) I am planning on processing those frames through OpenCV algorithms. However, I can't seem to find a way to send the VLC frames over to my Python OpenCV script. Is it possible to pipe VLC stream output to be processed through Numpy in a separate script? I have previously tried directly streaming to OpenCV by using its VideoCapture function, but for some reason, the video

Import Vlc module in python

孤人 提交于 2019-11-28 11:52:14
问题 I am trying to create a media player using vlc and python but it throws an Error which is No module named vlc. how to fix this? 回答1: I had a same issue. You should try sudo pip install python-vlc 回答2: Install $ sudo pip install python-vlc Then you can import the python module import vlc 回答3: There is also python-vlc https://pypi.python.org/pypi/python-vlc/1.1.2 Download the .tar.gz file into your project and unzip it. Once unzipped, run: python setup.py install This will install the python

VLC搭建RTSP服务器

牧云@^-^@ 提交于 2019-11-28 11:06:15
实时流协议 RTSP 是在实时传输协议的基础上工作的,主要实现对多媒体播放的控制。用户对多媒体信息的播放、暂停、前进和后退等功能就是通过对实时数据流的控制来实现的。 而这些播放控制功能的实现不仅需要多媒体播放器, 同时还需要实时流协议。实时流协议是通过请求报文和响应报文的交互实现的,请求报文和发送报文。 下面我们来再详细的介绍一下它的搭建。 参看:VLC搭建RTSP服务器的过程 一、VLC搭建RTSP服务器的过程 服务器搭建: 第一步,打开VLC 第二步:在媒体下拉菜单下!有一个子菜单“串流”如图所示: 点击“串流”子菜单 弹出一个窗口!如下图所示。 添加一个你要串流的本地文件,我刚才传给你的那个长一点的文件。 第三步,会出现如下的界面: 第四:点击下一步 第五步:在下拉框内部,选择”rtsp”,然后点击右边的“添加”按钮,出现如下图片 注意:红框内部的两个蓝色的地方需要修改:一个是缺省的端口号5544!可以不改。 另外一个是URL的上下文,我这边写的是1! 加入你的本机IP地址是192.168.1.1.188,则产生的rtsp串是:“rtsp://192.168.1.188:5544/1”. 注意一点!在红框下面有一个“激活转码”复选框不要选中! 第六步:点击“下一个”按钮。出现如下界面: 该图,可以不做任何修改,如果不需要组播。直接点击“串流”按钮即可! 会出下如下图: 注意

Compile VLCKit on Mac OS 10.9

最后都变了- 提交于 2019-11-28 07:49:49
I'm trying to compile VLCKit on Mac OS 10.9 following this wiki : https://wiki.videolan.org/VLCKit/ I have clone git://git.videolan.org/vlc-bindings/VLCKit.git then open VLCKit.xcodeproj in Xcode 5.1 and finally run "Build Everything". But build failed with thoses issues : Run VLC configure PhaseScriptExecution bootstrap /Users/myname/Library/Developer/Xcode/DerivedData/VLCKit- bktcaifqrsqwbodqlfdqgsmkkdeb/Build/Intermediates/VLCKit.build/Debug/Run\ VLC\ configure.build/Script-631A90420D5A007D0014A2CE.sh cd /Users/myname/Documents/PhcDev/VLCKit /bin/sh -c \"/Users/myname/Library/Developer

Delphi XE2 : How can I play video files with firemonkey

爱⌒轻易说出口 提交于 2019-11-28 03:12:41
问题 I want to make a mediaplayer application using with firemonkey but I can't see any component for videoplayer :( I was trying to integrate VLC (VideoLAN player) to firemonkey but the firemonkey controls don't have window handle. How can I make or find a videoplayer component ? thanks 回答1: In addition to VideoLab we also offer a much cheaper BasicVideo. The libraries are also free for non commercial purposes. MAC and iOS FireMonkey versions are in development at the moment, and will be

Build VLC for Android project failed on Ubuntu 12.04

。_饼干妹妹 提交于 2019-11-28 01:07:12
I want to work on the VLC for Android project. So first I need to compile this project, I follow all the steps on https://wiki.videolan.org/AndroidCompile/ but when I do the sh compile.sh -a armeabi-v7a at the end I have this error: contribs: make failed Error:Execution failed for task ':libvlc:buildDebugARMv5'. > Process 'command './compile-libvlc.sh'' finished with non-zero exit value 1 I am working with Android Studio. Update So I have download a ubuntu 12.04 vm and I have build the VLC android project on it. The same error appear but it told me also that my gettext was to old and it should

how to control VLC by java

隐身守侯 提交于 2019-11-27 22:31:59
I want to run a program called VLC in java and control it while running, for example if user clicked on ❚❚ or ►► button, I do a specific suitable action. I run VLC by this code : try { Runtime rt = Runtime.getRuntime(); Process p = rt.exec(VLCProgramAddFile + " udp://@:" + listeningPort); OutputStream out = p.getOutputStream(); InputStream in = p.getInputStream(); p.waitFor(); System.out.println("End of VLC"); } catch (Exception e) { System.out.println("error in running VLC"); } I have heard about Java bindings, but I don't know how does it work for this job. You are probably looking for VLCJ,

How does vlc.py play video stream?

可紊 提交于 2019-11-27 14:04:54
问题 I want to use vlc.py to play mpeg2 stream http://wiki.videolan.org/Python_bindings. There are some examples here: http://git.videolan.org/?p=vlc/bindings/python.git;a=tree;f=examples;hb=HEAD When I run the examples, it just can play video file, I want to know is there any examples to play video stream ? 回答1: According to this Pastebin entry, linked to in this mailing list, it can be solved using a method like this: import vlc i = vlc.Instance('--verbose 2'.split()) p = i.media_player_new() p

VLC record webcam and stream to chrome linux

随声附和 提交于 2019-11-27 13:50:17
I am currently looking for how to accomplish what I have been told is possible. I was told that we would be able use vlc to stream a webcam in linux which would allow for the following: Recording the stream to the local machine for a later upload. Play the stream as it's recording using Chrome's HTML5 video capabilities. Send a start and stop command from the web for the vlc recording. I have been researching this for quite some time and haven't been able to find a viable solution. I am able to record video using VLC already with the following vlc v4l2:// :v4l2-dev=/dev/video0 :v4l2-width=640

Does VLC media player have a C# interface?

寵の児 提交于 2019-11-27 11:58:26
Is it possible to read the track statistics(time, title etc) from a currently playing file in VLC play using a wrapper in a C# console application? does anyone have any recommendations for a wrapper to use? There is an .Net Interface to VLC and Vlc.DotNet . There is an implementation on CodePlex. DMediaPlayer - Simple VLC frontend. Hope this is what you are looking for... Also there is Vlc.DotNet The project have all you need and it is compatible all versions of VLC >= 1.1 You can find samples on site. 来源: https://stackoverflow.com/questions/7382793/does-vlc-media-player-have-a-c-sharp