libvlc

libvlc stream part of screen

此生再无相见时 提交于 2019-12-30 02:26:21
问题 I want to stream a part of screen using vlc library. I wrote a small example: #include <iostream> #include <cstdlib> #include <vlc/vlc.h> int main(int argc, char**argv) { libvlc_instance_t * inst = libvlc_new(argc, argv); libvlc_vlm_add_broadcast(inst, "mybroad", "screen://", "#transcode{vcodec=h264, venc=x264,vb=0,scale=0, acodec=mpga,ab=128,channels=2, samplerate=44100}:http{mux=ffmpeg{mux=flv}, dst=:7777/}", 0, NULL, 1, 0); libvlc_vlm_play_media(inst, "mybroad"); std::cout << "ready" <<

Device Capture with VLCJ

核能气质少年 提交于 2019-12-25 08:57:10
问题 I'm trying to use VLCJ for video capture with webcams (USB & IP) dshow:// & rtsp://192.168.1.4:554/live.sdp works like a charm with VLC 2.0.1 x64 Windows 7. but nothing works with VLCJ 2.1.0 examples Java SE 1.7 x64 RTSP error : [000000000fefed58] main demux error: corrupt module: C:\Program Files\VideoLAN\VLC\plugins\demux\liblive555_plugin.dll [000000000059a4d8] main input error: open of `rtsp://192.168.1.4:554/live.spd' failed [000000000059a4d8] main input error: Your input can't be opened

JNLP Webstart Launch Issue

試著忘記壹切 提交于 2019-12-25 07:27:16
问题 I have a requirement to dynamically extract the content of a Jar file to a local directory. Remaining part of application will use these content. Everything working well in my eclipse development environment. However following peace of code returns null when it comes into JNLP launch. InputStream stream = VLCLibManager.class.getClass().getClassLoader().getSystemResourceAsStream("XXX.jar"); I already did following : Manifest file of JAR that contains VLCLibManager.class updated with proper

VLC Api with C++ - linker error for .lib (even when I've added it to my VC++ project)

守給你的承諾、 提交于 2019-12-25 07:01:11
问题 I wanted to compile the sample C++ program that uses VLC Api, according to the https://wiki.videolan.org/LibVLC_Tutorial/, with my Visual Studio 2012 on Windows 7 x64 (I work with x86 anyway). In order to obtain a .lib file, I've followed: https://wiki.videolan.org/GenerateLibFromDll/. I had some problems at the start, but finally I got (I've noticed the warnings): And I do have my libvlc.lib created. I've moved it to the folder with my main.cpp , added the path to Project -> VC++ Directories

Delphi XE2: firemonkey playing video with libvlc?

懵懂的女人 提交于 2019-12-25 01:27:22
问题 I am still trying to play video on firemonkey using directx api with libvlc! I have played video using by different way already but I want to play video on directx surface. please looked this link first : http://forum.videolan.org/viewtopic.php?f=32&t=82618 someone write a delphi code about how to use libvlc on directx and that code working well, but this code is pure directx code. I want to integrate this code to firemonkey! How can I do it with firemonkey library(I know for windows

compilation issue : libvlc exception t is missing

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 15:00:39
问题 I'm trying to mix Qt and libVLC , I've downloaded libs, tried some tutorials, but I always stop on the same error and I can't find any solution in Google... Here's the compilation output error: unknown type name 'libvlc_exception_t'; did you mean 'libvlc_event_t'? I'm running MacOS 10.8.4 EDIT : the libvlc_exception_t is not even documented on LibVLC Doc 回答1: That's why : doc/ChangeLog-2010: The libvlc_exceptions have been removed from libvlc. 来源: https://stackoverflow.com/questions/17088910

Android LibVLC options do not work

谁都会走 提交于 2019-12-24 12:07:00
问题 I am working with streaming RTSP using LibVLC. I have it working where I can view the stream, but the latency is set to the default ~2seconds. On the Ubuntu Desktop I can launch vlc with the following options to improve the latency greatly: $ vlc -vvv rtsp://192.168.2.1:1234 --network-caching=50 --clock-jitter=0 --clock-synchro=0 however, when I add these options to LibVLC, there is no positive effect: ArrayList<String> options = new ArrayList<>(); options.add("-vvv"); options.add("--network

start recording stream on button click with VLC dot net library

大城市里の小女人 提交于 2019-12-24 08:24:08
问题 i have got a win form application that stream video from a ip camera... i use a lib that is already avaliable.. lib site VideoLan DotNet for WinForm, WPF & Silverlight 5 in order to stram the video i do this: string path = "rtsp://****:****@192.168.5.223/profile2/media.smp"; LocationMedia media = new LocationMedia(path); vlcControl1.Media = media; vlcControl1.Play(); what i want now is to save the stream to a file on a button click, i mean , the video is playing, and then i press the button

which function does VLC use to open a video file?

ⅰ亾dé卋堺 提交于 2019-12-24 07:15:39
问题 i`ve downloaded a video file and recorded the packet arrival time. and i want to use VLC to play the video according to the time i record. which function and how should i call to do it in the VLC source code? i mean usually which functions VLC use to play video when we press the button to open a video file? because there are so many files and functions in its source tree. thank you very much. 回答1: You can just link to libVLC and call functions in it. http://wiki.videolan.org/LibVLC_SampleCode

fatal error C1083: Cannot open include file: 'Carbon/ Carbon.h': No such file or directory

自作多情 提交于 2019-12-24 03:35:08
问题 I'm getting the above error when trying to install libvlc: C:\>easy_install vlc Searching for vlc Best match: vlc 0.0.1 Adding vlc 0.0.1 to easy-install.pth file Using c:\python27\lib\site-packages Processing dependencies for vlc Searching for appscript Reading https://pypi.python.org/simple/appscript/ Best match: appscript 1.0.1 Downloading https://pypi.python.org/packages/source/a/appscript/appscript-1.0.1. tar.gz#md5=6447b3bef966613bb5ddaedfe32c4558 Processing appscript-1.0.1.tar.gz