vlc

OpenCv + Gstreamer from an app, getting initial 30s delay

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-24 18:56:42
问题 So my application is exposing an RTP stream using new VideoWriter(pipeline-definition); The pipeline definition is: appsrc is-live=1 do-timestamp=1 format=3 stream-type=0 min-latency=0 max-latency=500000000 ! queue leaky=2 max-size-time=500000000 ! videoconvert ! video/x-raw ! x264enc ! h264parse ! rtph264pay config-interval=10 pt=96 ! udpsink host=127.0.0.1 port=9000 The problem I'm faced with is 30s delay in the stream when viewing it in VLC. No matter what I do, VLC is always 29-30s behind

How to fix crashing C in Windows 8.1?

烂漫一生 提交于 2019-12-24 16:29:21
问题 I'm using Code Blocks with MinGW Gcc. Compile build works fine but it crashes when I execute it to run: main.c: #include <stdio.h> #include <stdlib.h> #include <vlc/vlc.h> #include <vlc/libvlc.h> #include <windows.h> int main(int argc, char **argv) { libvlc_instance_t *vlc; vlc = libvlc_new (0, NULL); return 0; } Build log: -------------- Clean: Debug in rtsp (compiler: GNU GCC Compiler)--------------- Cleaned "rtsp - Debug" -------------- Build: Debug in rtsp (compiler: GNU GCC Compiler)----

Capture click event on the screen of vlc in tkinter

你。 提交于 2019-12-24 07:57:39
问题 I am running a stripped down version of the python-vlc example for tkinter on Windows 7 and Python 2.7. I am trying to register clicks onto the video screen itself, without any buttons or additional UI. However, no matter where I try to .bind() a listener, VLC appears to swallow all input and my callback function is never called. This is probably way too much code to post here, but at least it should run. Any help appreciated! #! /usr/bin/python # -*- coding: utf-8 -*- import vlc, sys, os,

Capture click event on the screen of vlc in tkinter

强颜欢笑 提交于 2019-12-24 07:57:01
问题 I am running a stripped down version of the python-vlc example for tkinter on Windows 7 and Python 2.7. I am trying to register clicks onto the video screen itself, without any buttons or additional UI. However, no matter where I try to .bind() a listener, VLC appears to swallow all input and my callback function is never called. This is probably way too much code to post here, but at least it should run. Any help appreciated! #! /usr/bin/python # -*- coding: utf-8 -*- import vlc, sys, os,

Unable to Set Subtitles with VLC for Android

感情迁移 提交于 2019-12-24 07:16:08
问题 I'm having trouble setting the subtitles location when starting the VideoPlayerActivity of VLC for Android. I am targeting API 27 and using a FileProvider to allow access to files. According to the documentation here, if you set the, "subtitles_location" extra, then you can provide the path of the subtitles file. Unfortunately, I can't seem to get this to work. I'm seeing that the, "Subtitles" menu item remains grayed out and downloading subtitles doesn't seem to change this state. When

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

Windows: start a new process hidden (no window)

爱⌒轻易说出口 提交于 2019-12-24 03:42:47
问题 I want to execute a 3rd party program (VLC in my case) without any window popping up in Windows. I am running my java program as a Windows service which works fine, but when I start VLC using Runtime.exec() then a window pops up, no matter what I do. There's command line arguments to VLC that prevent the GUI but then a black console pops up - not much better. So: Any idea how to start an external program from Java so that no visible window shows up? (It works just fine in Mac OS X and I

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

VLC player event catch

孤人 提交于 2019-12-24 02:39:07
问题 In my C# application i need to trigger some events when a VLC player (preferably) starts playback (a play button is pressed in VLC for example).Tried Windows Media Player classic with Microsoft Spy++ and observed messages that are sent when playback starts\repeats but i don't know how i could "catch" those messages in my C# code.So my question: is there any way to hook up to event in VLC (or WMP) and get notified about playback status (play, stop, start of repeat). My goal is to create a C#

How to install the VLC module in Python

心不动则不痛 提交于 2019-12-23 10:41:20
问题 I was trying to install VLC using PIP, but get the following error: pip install VLC Downloading/unpacking vlc Cannot fetch index base URL https://pypi.python.org/simple/ Could not find any downloads that satisfy the requirement vlc Cleaning up... No distributions at all found for vlc Storing complete log in C:\Users\rakeshb4\pip\pip.log 回答1: The packages vlc seems to have currently issues on pypi. However, you are on Windows and this package appears to be for MacOS only (based on description)