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.

VLC Media player is a widely used media player these days. To integrate the VLC media player in your application libVLC is used. You can embed libVLC into your application to gain audio/video playing features.

Bindings

The original library is written in C (the SDK is provided with VLC media player), but several bindings exist:

1047 questions
6
votes
0 answers

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 function which is videopostrender doesn't get…
Vikrant singh
  • 433
  • 1
  • 7
  • 25
6
votes
1 answer

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 and seek forward without any problem. But when I…
seleciii44
  • 1,529
  • 3
  • 13
  • 26
6
votes
3 answers

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,dst=~/Desktop/Recording.mp3}" However I need to…
DevtelSoftware
  • 183
  • 2
  • 9
6
votes
1 answer

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, I set: export ANDROID_ABI=x86 and then compiled…
Richard Bender
  • 1,124
  • 1
  • 10
  • 22
6
votes
1 answer

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.1 and finally run "Build Everything". But build…
Julien Chevet
  • 513
  • 5
  • 12
6
votes
2 answers

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 capabilities, but i didn't found any tutorial or…
Kumar Vivek Mitra
  • 33,294
  • 6
  • 48
  • 75
6
votes
1 answer

libvlc stream part of screen

I want to stream a part of screen using vlc library. I wrote a small example: #include #include #include int main(int argc, char**argv) { libvlc_instance_t * inst = libvlc_new(argc, argv); …
KoVadim
  • 707
  • 1
  • 7
  • 22
5
votes
0 answers

How to resolve missing variant arch:common for a dependency using Android.bp?

Originally, the dependency was included inside the Android.mk file for Android 9. This module would compile and run with no build errors. When migrating to Android 11, the dependency "libvlc" must be added to the Android.bp static_libs. …
Naman Jain
  • 321
  • 5
  • 21
5
votes
4 answers

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. For this purpose I use libVLC library that gives…
some.birdie
  • 2,259
  • 4
  • 24
  • 28
5
votes
0 answers

Snapshot using vlc (to get snapshot on RAM)

I was planning to use the vlc library to decode an H.264 based RTSP stream and extract each frame from it (convert vlc picture to IplImage). I have done a bit of exploration of the vlc code and concluded that there is a function called…
Saurabh Gandhi
  • 351
  • 5
  • 21
5
votes
2 answers

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 slider to update, it's quite glitchy (jumping every…
aescript
  • 1,775
  • 4
  • 20
  • 30
5
votes
4 answers

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 use JMF. Here are my questions: 1) can JMF be…
aadi
  • 51
  • 1
  • 2
5
votes
1 answer

libVLC function media_player_new() throws Segmentation Fault

media_player_new() throws segmentation fault. import vlc ins=vlc.Instance() player=ins.media_player_new() Here is where it crashes: Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 libvlc.dylib 0x000000010059aa78…
gok
  • 1,137
  • 1
  • 9
  • 30
5
votes
1 answer

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) inst = libvlc_new (1, myargs); where myargs just…
Paul Andrews
  • 125
  • 1
  • 7
5
votes
0 answers

Get raw video frames from MPV (callback or render to specific memory address)

There is mpv player which is a fork of old MPlayer. It can be built as library and has API to render video frames to many video outputs such as OpenGL surface, Direct3D, SDL and others. I am trying to use this library in my current project to decode…
serg.v.gusev
  • 501
  • 4
  • 13
1 2
3
69 70