Questions tagged [vlc]

VLC is a free and open source cross-platform multimedia player and framework that plays most multimedia files as well as DVD, Audio CD, VCD, and various streaming protocols. Use this tag only for programming-related questions about VLC.

See VLC (Video LAN) Media Player for more details.

Stack Overflow questions tagged VLC may have to do with:

  • Compiling VLC media player's source code and its underlying frameworks
  • Using VLC's underlying libraries (libvlc, VLCKit) inside your own programs
  • Scripting/automating VLC media player via a Bash script, Lua or other approaches
  • Controlling VLC media player via the command line and questions concerning the usage of available parameters
  • Encoding, transcoding or streaming through VLC media player's interfaces via scripts, command line or provided frameworks

Questions about LibVLC, the external programming interface for VLC Media player, should be tagged as well.

If your question is about the usage of the player (with no programming involved) ask your question at Super User and use their vlc tag

Resources

2637 questions
9
votes
2 answers

FFMPEG streaming error: Failed to update header with correct filesize and duration

I am trying to stream an mp4 to a vlc player on my local computer at ip address 127.0.0.1:48550, but am encountering this error. Failed to update header with correct duration. Failed to update header with correct filesize. I didn't have this…
Brindha Kanniah
  • 119
  • 1
  • 1
  • 7
9
votes
2 answers

Annotating videos using VLC

When watching videos using VLC, I sometimes want to "bookmark" a specific point (or range) and add a text comment for later reference. I realize I could have a word processor running and type in "filename.mov, second 2:17, note: blah blah blah",…
user354134
9
votes
1 answer

Why does PHP hang after writing 4096 bytes to a process started with proc_open?

For anyone wondering, after leaving it all for a couple hours it now works perfectly. I'm trying to pass a video file to VLC using PHP as a proof of concept for an upcoming project proposal for someone. I've managed to show it works by creating a…
9
votes
4 answers

How to install the VLC module in Python

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…
Rakesh Bhagam
  • 117
  • 1
  • 2
  • 9
9
votes
3 answers

C# VLC 1.1 Wrapper

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
  • 181
  • 1
  • 3
  • 6
9
votes
3 answers

VLC player doesn't play any video

I added the VLC plugin from COM Component, dragged it to my form, added two buttons to the form ("Play" and "Stop"), and wrote the following code: private void Form1_Load(object sender, EventArgs e) { axVLC.AutoPlay = false; …
HanifCs
  • 119
  • 3
  • 9
9
votes
1 answer

How to embed VLC in webpage

I am trying to embed a video into my HTML/ASP webpage using VLC. The box appears showing the VLC player in FireFox, but it won't play anything. This is what it looks like: Please tell me what I am doing wrong.. I've tried many different things.
Kryptos
  • 542
  • 2
  • 8
  • 18
9
votes
1 answer

Stream desktop over RTP using VLC with the lowest latency possible

I have been trying to figure out how to stream my desktop (over LAN) using VLC and to achieve the lowest latency possible (<100ms). The goal is to have another computer receive the stream and potentially play games while streaming (i.e playing game…
deken
  • 387
  • 2
  • 3
  • 12
9
votes
1 answer

Expand (extend) a video to an specific duration

Do VLC or FFmpeg (or AVconv) have any feature to force the duration of a video to a certain number of seconds? Let's say I have a... 5 minutes .mp4 video (without audio). Is there a way to have any of the aforementioned tools "expanding" the video…
Savir
  • 17,568
  • 15
  • 82
  • 136
9
votes
4 answers

Linux control a running vlc process through command line

is there any way to control an already running VLC player on ubuntu. For example, i am trying to start a vlc video full screen with a default audio. and then control the volume and other features through netcat or some other command remotely. is it…
Shrouk Khan
  • 1,440
  • 6
  • 27
  • 53
8
votes
1 answer

Constantly resizing .webm file

I've been messing with webm file headers (messing with the header data for file length etc.) and in the process I stumbled upon a webm that behaves weirdly. I reuploaded it here on webmshare. It constantly resizes itself which makes it hard to…
HilbertB
  • 352
  • 1
  • 2
  • 12
8
votes
1 answer

Mosaic of RTSP streams VLC 3.0.8

I found a way to properly show mosaic of streams from RTSP cameras on VLC 3.0.8 and wanted to share the solution: Write the following into a file # Comment the following line if you don't want to reset your VLM configuration del…
Nik
  • 630
  • 1
  • 6
  • 17
8
votes
0 answers

Is there a way to stream raw YUY2 from a webcam using VLC? (Error: Cannot create packetizer output (YUY2))

I have a webcam that supports two modes: compressed (MJPEG) and raw (YUY2). Now I need to stream a live feed to thin clients (slow CPU, some have a limited GPU), basically little IoT devices. These devices are in the same LAN, so bandwidth is no…
Joe
  • 6,758
  • 2
  • 26
  • 47
8
votes
3 answers

VLC dying when called from inside Java

I'm having a problem that, at this moment, I don't even know how to investigate properly. Any recommendations on how I can get more information are welcome and appreciated. My company sells a product with a WinXP PC at its core. One of the…
BlairHippo
  • 9,502
  • 10
  • 54
  • 78
8
votes
5 answers

Import Vlc module in python

I am trying to create a media player using vlc and python but it throws an Error which is No module named vlc. how to fix this?
Rajesh Rajendran
  • 144
  • 1
  • 1
  • 5