vlc

Does WPF WebBrowser support VLC ActiveX?

可紊 提交于 2019-12-11 15:24:13
问题 What I need is to open ANY Web page that has implemented VLC ActiveX under WPF WebBrowser. I just did a VERY simple page that works perfect under IE9/10. But when I open it there is no any VLC :( <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=9" /> <meta http-equiv="cache-control" content="max-age=0" /> <meta http-equiv="cache-control" content="no-cache" /> <meta http-equiv="expires" content="0" /> <meta http

How to use SDP-File with VLCJ

我怕爱的太早我们不能终老 提交于 2019-12-11 12:50:39
问题 i try to implement an application with java which displays a video stream. Actually i'am using VLCJ: https://github.com/caprica/vlcj The Problem i get an error when i try to connect to a video stream of a webcam: [052989d4] rtp demux error: unspecified payload format (type 96) [052989d4] rtp demux: A valid SDP is needed to parse this RTP stream. [052989d4] core demux error: SDP required [052989d4] core demux error: A description in SDP format is required to receive the RTP stream. Note that

Cannot open file properly in VLC with Python's os.execv or os.execl on Windows

南楼画角 提交于 2019-12-11 11:57:59
问题 I am working on a script that opens media files in VLC Media Player with one of the os.exec* methods. I am using Python v3.6 on Windows 10. VLC opens with an error stating that the file cannot be opened, however, the path to the file is also wrong. It shows the file's path starting with my home directory followed by the last portion of the file name separated by a space. Example: I have a video at the path D:\videos\SuperCoolVideo - Part1.mp4 VLC attempts to open this video at the path C:

Playing media with gwt

喜欢而已 提交于 2019-12-11 10:32:05
问题 I have a simple mail system developed with G.W.T and i am trying add a feature to play audio and video files if there is a video or audio file comes as an attachment. I have been trying bst player and HTML video tag to get work , but i can not play some video formats such as .avi, .mpeg ,.mpg and so on. What else can be done to play those kind of video formats? On the other hand, i am thinking of converting the video file in a java servlet then giving that url to player, but i do not know if

Vlc Check Stream Status

匆匆过客 提交于 2019-12-11 10:17:38
问题 I am using VLC to rebroadcast a stream and this side of things is working very well. After a few hours however, I need to re authenticate and re-request the stream. I have a script that simply needs to be run and this will handle the re-authentication and starting vlc. The problem I am having is how to figure out if the stream is no longer working. When using say: pidof vlc I get the pid of the process VLC. When checking top, I can see VLC running and consuming cpu. However, when I try to

Stream multicast media use Gstreamer and VLC

跟風遠走 提交于 2019-12-11 09:57:34
问题 I am writing an application streaming media file ( H264, fortmat I use now is *.MP4 ). I use Gstreamer with pipeline : gst-launch-1.0 filesrc location=/big_buck_bunny_720p_h264.mp4 ! qtdemux name=d d. ! h264parse ! rtph264pay config-interval=3 pt=96 mtu=1024 ! udpsink host=224.1.1.1 port=5000 And I use the following SDP file to receive stream: c=IN IP4 224.1.1.1 m=video 5000 RTP/AVP 96 a=rtpmap:96 H264/90000 In PC I can receive the stream and it playback normally. But now I want to receive

sout option in nVLC

心已入冬 提交于 2019-12-11 09:17:37
问题 I am trying to record a stream using nVLC in my C# application. nVLC is essentially a C# wrapper around libvlc. Is the sout option supported in libvlc? Below is my C# code but it does not save the file. Here's my code: `m_media = m_factory.CreateMedia<IMedia>("rtsp://<url>"); List<string> mediaOptions = new List<string>(); mediaOptions.Add(@"sout=""#std{access=file,mux=ts,dst=C:\Users\hp\CCTV\Videos\\video.mpg}"""); m_media.AddOptions(mediaOptions); m_player.Open(m_media); m_media.Parse(true)

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

Compiling error of VLC project in iOS

你离开我真会死。 提交于 2019-12-11 06:54:18
问题 I am trying to compile the VLC project for iOS, following the instruction step by step. git clone git://git.videolan.org/vlc-ports/ios.git sh buildAspenProject.sh -s -k 7.0 And I get this compiling error: cd builds/unix; /bin/sh ./configure '--without-png' '--prefix=/Users/change/Desktop/VLC_Library/ios/ImportedSources/vlc/contrib/i686-apple-darwin11-i386' '--build=i686-apple-darwin10' '--host=i686-apple-darwin11' '--target=i686-apple-darwin11' '--program-prefix=' '--enable-static' '--disable

How to close VLC gracefully using C#

北城以北 提交于 2019-12-11 06:26:27
问题 I am running a surveillance system, and wanting to record the video from some CCTV cameras to my PC. I can get the recording to occur using the VLC command line like this, vlc rtsp://*username*:*password*@192.168.1.60:554/ch01/0 --qt-start-minimized --sout=#transcode{ab=128,channels=2,samplerate=44100,scodec=none}:file{dst=D:\CCTV\Concord\2019_05_24\2019-05-24_2111_C1.mp4,no-overwrite} However I want to stop and restart the recording every half an hour so that I get files small enough that I