vlc

Embedding VLC plugin on HTML page

匿名 (未验证) 提交于 2019-12-03 03:03:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a html file ( getStream.html ) that takes a stream from a certain url and show it. The code is the following: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <title>Vids</title> <link href="main.css" rel="stylesheet" type="text/css" /> </head> <body onload='player("http://mystreamaddress:8080");'> <div id="player"> <object type="application/x

Python bindings for VLC

匿名 (未验证) 提交于 2019-12-03 02:20:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am on Windows, and I wish to use Python Bindings for VLC. I've already downloaded the module from https://github.com/geoffsalmon/vlc-python , and did as per the read me. But, still I'm stuck at importing the module. The error looks like this : Traceback (most recent call last): File "<pyshell#5>", line 1, in <module> import vlc File "c:\python27\python-vlc-1.1.2\vlc.py", line 173, in <module> dll, plugin_path = find_lib() File "c:\python27\python-vlc-1.1.2\vlc.py", line 150, in find_lib dll = ctypes.CDLL('libvlc.dll') File "C:\Python27\lib

Get frame from video with libvlc smem and convert it to opencv Mat. (c++)

匿名 (未验证) 提交于 2019-12-03 01:57:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: [UPDATED WITH PARTIAL ANSWER] Here is my code: void cbVideoPrerender ( void * p_video_data , uint8_t ** pp_pixel_buffer , int size ) { // Locking imageMutex . lock (); videoBuffer = ( uint8_t *) malloc ( size ); * pp_pixel_buffer = videoBuffer ; } void cbVideoPostrender ( void * p_video_data , uint8_t * p_pixel_buffer , int width , int height , int pixel_pitch , int size , int64_t pts ) { // Unlocking imageMutex . unlock (); Mat img = Mat ( Size ( width , height ), CV_8UC3 , p_pixel_buffer ); //cvtColor(img,img,CV_RGB2BGR); } int

VLC remotely control from C#

匿名 (未验证) 提交于 2019-12-03 01:38:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: i'm trying to control the VLC Media Player from C#. I tried getting a handle on the window with the FindWindow() command from .Net but as i found out the name of the window changes every time a file is played. The biggest problem i have is sending wm_commands to vlc..This approach worked with Winamp and Windows Media Player but with VLC it appears that it won't work. I read that VLC can be controlled from a browser but i don't whant that...i've seen in it's settings that it has some hot keys that can be called..but they can be changed and if

Open mp4 with libVLC and play it in OpenCV C++

匿名 (未验证) 提交于 2019-12-03 01:25:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I want to play video file, that i obtained from IP-camera (H264-codec) using libVLC and OpenCV, so i took the code from this post , then created project in VS 2010, and put my mp4 file into project folder ("5.mp4"). When i started it - i got this errors: main error: open of `5.mp4' failed main error: Your input can't be opened main error: VLC is unable to open the MRL '5.mp4'. Check the log for details. Here's my code: #include <vlc/vlc.h> #include <opencv2/opencv.hpp> #include <opencv2/highgui/highgui.hpp> #include <stdio.h> using namespace

Build VLC for Android project failed on Ubuntu 12.04

匿名 (未验证) 提交于 2019-12-03 01:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: 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

Compiling error of VLC for Android

匿名 (未验证) 提交于 2019-12-03 01:22:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: When I'm compiling VLC for Android according to this page , at the step of: sh compile.sh I get this error: For an ARMv6 device without FPU: $ export NO_FPU=1 For an ARMv5 device: $ export NO_ARMV6=1 If you plan to use a release build, run 'compile.sh release' VLC source found Building tools ./bootstrap: line 63: [: 6b: integer expression expected You are ready to build VLC and its contribs Building the contribs Generating EGL pkg-config file Generating GLESv2 pkg-config file Guessing build system... x86_64-redhat-linux Creating

How to disable VLCMediaPlayer error AlertView?

匿名 (未验证) 提交于 2019-12-03 01:18:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using VLCMediaPlayer class from the MobileVLCKit library to make an audio streaming application. My problem is that when error happens (e.g. incorrect stream url) it automatically alerts its own error message. In my case, I would like to disable that alert message and display my own one. 回答1: No need to remove this option from source! Simply pass the player option like this: NSArray *options = @[@"--extraintf="]; VLCMediaPlayer *player = [[VLCMediaPlayer alloc] initWithOptions:options]; 回答2: I solved this by going to VLCLibrary.m in the

Compile VLCKit on Mac OS 10.9

匿名 (未验证) 提交于 2019-12-03 01:17:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: 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

Play video using libVLC from memory in python

匿名 (未验证) 提交于 2019-12-03 01:11:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to make use of libVLC python bindings to play files after reading them into memory. I have the following code that reads a valid video file into the memory. I need to now play the video directly from the memory. import vlc File1 = open('vid.webm','rb') Axel = File1.read() Now i need to play the contents in Axel, how can I do this. Information on how to do this in C, Java etc too can help. Edit: Understood I will have to use the imem module but can't find any help regarding how to get it done. 回答1: to do this you have to use the