Questions tagged [libvlc]

LibVLC is the external programming interface of the VLC media player. It is used to embed VLC into other applications or frameworks.

libvlc
Filter by
Sorted by
Tagged with
44 votes
2 answers
5k views

android libvlc multiple surface problems

I would like to know if is possible to use two Surface views in the same layout and view the content of both of them at the same time. In future, I would make use of a Grid-view of video-view, where ...
tulkas85's user avatar
  • 1,115
39 votes
7 answers
60k views

How to embed VLC media player to my Android App

Is there a way to embed VLC media player to Android Application? I have several issues: 1) I have a video streaming Camera (from RTSP) and I cannot play its stream on my regular videoview panel (...
fercis's user avatar
  • 621
28 votes
2 answers
34k views

How to Pause/Resume a process in Linux

I record my program until it closes. Start Command: cvlc screen:// --screen-left=0 --screen-top=0 --screen-width=1280 --screen-height=960 --screen-fps=30 \ --sout '#transcode{vcodec=mp2v, vb=800, ...
Duke's user avatar
  • 922
22 votes
5 answers
17k views

Saving a stream while playing it using LibVLC

Using LibVLC, I'm trying to save a stream while playing it. This is the python code: import os import sys import vlc if __name__ == '__main__': filepath = <either-some-url-or-local-path> ...
Sarfaraz Nawaz's user avatar
20 votes
10 answers
45k views

FileNotFoundError: Could not find module 'libvlc.dll'

Using Python 3.8.0, 64 bit OS: Windows 10 Pro, Version 10.0.15063 Build 15063, 64 bit VLC, 3.0.8 Vetinari, 64 bit Have installed Python VLC Bindings through PIP The path to VLC and the direct path ...
james's user avatar
  • 353
16 votes
2 answers
8k views

VLC Python EventManager callback type?

I'm having trouble attaching an event handler to tell when a song has finished playing when using the VLC Python bindings. The event_attach function is complaining about the callback type. def ...
Ian Wetherbee's user avatar
16 votes
0 answers
5k views

Canonical low-latency settings for VLC for Android (3.0+)

I've recently started using libVLC in an Android application with the intent of replacing a commercial SDK that we're paying a lot for, but not seeing the results that we'd hoped for. The application ...
SJoshi's user avatar
  • 1,906
14 votes
2 answers
3k views

How do I determine the number of planes and bytes per pixel of a certain chroma?

I am using LibVLC and want to render the video pixels in memory so I will be able to take a snapshot of a frame without getting the video drawn in a window (as is the default). If I understand ...
AardvarkSoup's user avatar
  • 1,071
14 votes
2 answers
3k views

VLC syntax to transcode and stream to stdout?

Goal: I am trying to use VLC as a local server to expand the video capabilities of an app created with Adobe AIR, Flex and Actionscript. I am using VLC to stream to stdoutand reading that output from ...
spring's user avatar
  • 18.2k
13 votes
0 answers
10k views

FFmpeg vs Libav vs libVLC vs Gstreamer as of 2018 [closed]

I am trying to do some video processing on real time. I was beginning to try the FFmpeg, but I saw this question: Why would I choose Libav over FFmpeg, or is there even a difference? Which further ...
Dharma's user avatar
  • 2,523
11 votes
2 answers
22k views

Where to download libvlc? [closed]

I can't find where to download libvlc. In fact I already use it in a Windows application I'm developping but I don't remember where I got it and wanted to have a more recent version and the licence ...
Entretoize's user avatar
  • 2,182
11 votes
2 answers
5k views

Develop with LibVLC for android on Windows

I've struggled to even get a demo application running with Android-LibVLC. I can only find documentation for linux and can't get the application to run on my device (although it compiles). When I ...
Nick Cardoso's user avatar
  • 21.2k
11 votes
1 answer
2k views

How can I script video playback with output to multiple screens?

Background I'm attempting to craft a simple video playback script for a small cinema that automates the playing of videos and control of the projector, sound and lighting systems. I have two video ...
julienj's user avatar
  • 307
10 votes
1 answer
5k views

MobileVLCKit fails while compiling

I am trying to use MobileVLCKit for iOS in my application. I followed steps given @ Building the Framework for iOS. I have set deploymet target to iOS 7 in my Xcode 5. I used command ./...
Yogi's user avatar
  • 3,578
10 votes
1 answer
7k views

How to add a seekbar in VLC dot net forms in c# windows forms application

I need to add a custom seekbar / trackbar as you may say in c# windows forms. But the issue is there is almost no documentation on vlc dot net forms library. I need to know how to add a custom seekbar ...
prem pattnaik's user avatar
10 votes
2 answers
3k views

Streaming Library VLC Android

Currently we are developing an Android application for streaming. We are looking for an alternative library, because the VLC library isn't finished yet. We currently used the Vitamio library, but it ...
Trebor's user avatar
  • 101
10 votes
0 answers
4k views

Using libvlc for multi-format video playback inside an Electron app

I have an idea for a media player GUI, which I'd like to build using Electron (because it's a tool I know well; I realise it's not for everyone). I could do this easily using an HTML <video> ...
callum's user avatar
  • 36k
10 votes
0 answers
2k views

MobileVLCKit iOS Camera roll video "VLC is unable to open the MRL" error

I have integrated MobileVLCKit Version: 2.2.2 in my iOS project. Having trouble playing the local videos from Camera Roll. Videos from document directory and streaming are working fine though. I am ...
atulkhatri's user avatar
  • 11.1k
10 votes
1 answer
7k views

Is it possible to get precise timestamps for frames in video file from VLC?

I’m looking to use VLC as the foundation for a video player within my application written in C# (since VLC is one of the few players that can properly decode the format I’m working with), but the ...
Regs's user avatar
  • 341
9 votes
1 answer
4k views

How do I get libvlc_media_player_get_time() to return a more accurate result?

With libvlc, how do I get libvlc_media_player_get_time() to return a more accurate result? With 60fps video the value it returns is only updated a few times per second at most. Is there any way to get ...
Roland Rabien's user avatar
9 votes
4 answers
7k views

Delphi XE2 : How can I play video files with firemonkey

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 ...
user1046588's user avatar
9 votes
3 answers
15k views

C# VLC 1.1 Wrapper [closed]

Does anyone know about a C# VLC 1.1 Wrapper? I've found some wrappers for older versions of VLC (haven't tried them yet), but none for the new version. So if you know of any, please post them.
MorgoZ's user avatar
  • 181
7 votes
1 answer
10k views

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

[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 *)...
grll's user avatar
  • 1,077
7 votes
1 answer
3k views

VLCJ without installing VLC

I'd like to ship a self-contained java app using vlcj and read the SAQs (http://code.google.com/p/vlcj/wiki/SAQ) which suggested this was possible if one ships all of the shared objects or DLL's for ...
user1505631's user avatar
7 votes
1 answer
2k views

Using libVLC for Android on windows platform

I'm trying to explore libVLC for Android that's why setting up VLC android project on windows 7 but i'm facing problems. When i import the project and setup all helping libraries and try to compile ...
Umar Qureshi's user avatar
  • 6,045
7 votes
1 answer
553 views

VLCMobileKit does not play RTSP video

VLCMobileKit cannot open RTSP streaming video. Here is the code: override func viewDidAppear(_ animated: Bool) { super.viewDidAppear(animated) DispatchQueue.main.async { // Create `...
Dhiraj Das's user avatar
7 votes
2 answers
2k views

libvlc and dbus interface

I'm trying a to create a basic media player using libvlc which will be controlled through dbus. I'm using the gtk and libvlc bindings for python. The code is based on the official example from the ...
Vlad Balmos's user avatar
  • 3,392
6 votes
1 answer
6k views

Compile VLCKit on Mac OS 10.9

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....
Julien Chevet's user avatar
6 votes
3 answers
13k views

Reduce delay when playing rtp stream with libvlc on Android

I am using LibVLC version 3.0.0 to play incoming mpeg2ts stream over rtp on Android. The code is the following: SurfaceView playerView; //Initialized somewhere before LibVLC libVlc = new LibVLC(...
Mikhail's user avatar
  • 3,736
6 votes
3 answers
10k views

How to enable the experimental AAC encoder for VLC and record AAC sound from the microphone?

I managed to record mp3 with VLC 2.1.5 on MacOSX 10.9.2 by using this command: ./VLC -vvv qtsound://AppleHDAEngineInput:1B,0,1,0:1 --sout "#transcode{acodec=mp3,ab=128}:standard{access=file,mux=mp3,...
DevtelSoftware's user avatar
6 votes
1 answer
7k views

libvlc stream part of screen

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) { ...
KoVadim's user avatar
  • 727
6 votes
4 answers
2k views

http adaptive streaming

Is there any open source streaming solution supports Http Adaptive Streaming? Based on my research VLC is not supporting adaptive streaming. I am not sure about Darwin Streaming Server. Any ideas?
Ananth Duari's user avatar
  • 2,869
6 votes
2 answers
5k views

Playback video in slow motion in android

- I am working on a project which needs to play video in slow motion. - I am well aware that Android doesn't provide these functionality. - I found PVPlayer Engine and libVLC which possessed these ...
Kumar Vivek Mitra's user avatar
6 votes
2 answers
15k views

play audio to only one speaker left/right from commandline using libvlc

Is it possible to make vlc play audio to only one of the speakers left/right from commandline ?
jacob's user avatar
  • 1,417
6 votes
2 answers
3k views

Python VLC - get position polling rate work arounds

Im using Python VLC to build a custom playback app in pyqt. I have painted a nice custom slider to track along with the video, but hit a bit of an annoying problem. No matter how often I tell my ...
aescript's user avatar
  • 1,825
6 votes
1 answer
2k views

libvlc_media_player_set_position fails when seeking backward

I'm using libvlc 3.0.0 (I've also tried 2.2.0) to capture frames from a h264 encoded mp4 file (does not include sound, only video frames) on Windows 7 with Visual Studio 2012. I can play, pause, stop ...
seleciii44's user avatar
  • 1,539
6 votes
0 answers
335 views

React Native and Android module with libVLC - "Can't load vlcjni library"

I have React Native application that is implementing native Android module. In this module I have libVLC implemented and everything is working correctly. Unfortunately after importing this module to ...
sgozdzik's user avatar
6 votes
0 answers
704 views

video gets stuck when its seeked back (C++) (QT) (libvlc)

I am using libvlc to play video on my GUI Application using QT 4. When I seek forward the video it works fine, but when I seek back the video, it gets stuck I mean frame doesn't change and my callback ...
Vikrant singh's user avatar
6 votes
1 answer
1k views

Building LibVLC for x86

I've been trying to use LibVLC for Android and I followed the instructions at https://wiki.videolan.org/AndroidCompile and got it to work perfectly for ARM. However, when trying to compile it to x86, ...
Richard Bender's user avatar
5 votes
1 answer
21k views

A simple C program to play mp3 using libvlc

I am an average C/C++ programmer. Recently I took a project to make a media player with a smart playlist that will work like Zune's SmartDj. I have decided to use libvlc for playing. I have never ...
user1263375's user avatar
5 votes
4 answers
10k views

Using QWidget::update() from non-GUI thread

Sometimes my application crashes in QWidget::update() that is performing in non-GUI thread. I am developing an application in which receives video frames from remote host and display them on QWidget. ...
some.birdie's user avatar
  • 2,269
5 votes
4 answers
9k views

which is better? JMF or VLCJ. especially for streaming youtube videos

I am an average java developer and i am trying to come up with a browser that is developed entirely in java. I want that my browser must be able to play youtube videos, and for that i was planning to ...
aadi's user avatar
  • 51
5 votes
1 answer
6k views

How to monitor VLC media player on Windows 7 using Python?

I want to know what's currently playing on VLC media player (Windows 7) using Python 2.7. Just knowing the details of the track/video is sufficient. Research: I came to know that VLC media ...
Sahil's user avatar
  • 315
5 votes
3 answers
23k views

Create a videoplayer with the LibVLC for android

I am trying to creat a video player for an android app with the last LibVLC. The problem is that I don't know how this lib works and I can't find sample to help me (as it is say here https://...
leykan's user avatar
  • 389
5 votes
1 answer
6k views

LibVLC tutorial without SDL?

I am trying to write a video frame by frame to a *.yuv file and found this tutorial about rendering a video into an SDL surface. Now I'm not exactly sure how to use this code without the SDL library....
user2273364's user avatar
5 votes
1 answer
5k views

libvlc Android: unable to play HTTP network streams

I'm currently facing an issue trying to play network stream using VLC for Android. I have basically followed this guide, https://wiki.videolan.org/AndroidCompile/, cloned the repo and built: ...
fasteque's user avatar
  • 4,329
5 votes
3 answers
6k views

Vlc.DotNet - Not able to set the volume before playing an audio

I downloaded the Vlc.DotNet project from Github and have been adding more functionalities to its Sample Forms application. Everything goes fine, except on thing: I noticed that every time I start the ...
Lucas Loss's user avatar
5 votes
1 answer
4k views

libvlc: how to snap a frame at any time

Now my method is: libvlc_video_set_callbacks //set the lock,unlock,display callback functions libvlc_media_player_set_position //goto the snap time libvlc_media_player_play //start playing then in ...
coollofty's user avatar
  • 349
5 votes
1 answer
9k views

libvlc - simple C++ streaming

This should be the classic simple error which I can't really find.. I am using libvlc from a VS2010 C++ project. I followed these steps to record from a webcam and streaming it through RTSP: 1) ...
Paul Andrews's user avatar
5 votes
2 answers
4k views

LibVlc android cant load libs

I tried to run the example of libvlc.I compiled the vlc to android and copy the sdk library to the project as they wrote. https://bitbucket.org/edwardcw/libvlc-android-sample and I recive this error ...
Alon's user avatar
  • 2,919

1
2 3 4 5
22