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
23
votes
2 answers

VLC: How to Create a Genuine MP4 (not M4V) File?

At "File -> Convert/Stream" menu item, applying "Video - H.264 + mp3 (mp4)" profile will result in a file in m4v format instead of mp4! Now, changing the extension from m4v to mp4 will work on some devices, while others the audio will be…
Mozart
  • 735
  • 2
  • 6
  • 10
22
votes
2 answers

How to Convert Videos on VLC batch/CLI?

I need to do a mass-conversion of videos from a video recorder in the .mod format, to other file formats, e. g. .mp4. How and where can I find detailed specifications and information about VLC's various CLI options and commands, required for…
20
votes
4 answers

Play video file with VLC, then quit VLC

I am working on a simple Python script that is supposed to do something, then play a video file, and then do some more stuff. I am forced to do this on a Windows XP machine with Python 3.2.3 and VLC to play my video file. I am currently using this…
Florian
  • 579
  • 1
  • 10
  • 19
19
votes
3 answers

How to reduce the delay - VLC Streaming from a web cam

I am streaming video and audio from my web cam/microphone over UDP. When I view the stream (even on the same machine) there is a delay of about 4 seconds. I have tried setting the UDP Cache setting to 0, or 1 but it doesn't seem to help. I have…
Marc
  • 1,541
  • 2
  • 19
  • 29
19
votes
3 answers

Jump to a specific time in a file?

I'm trying to make a VLC script that checks if the "random" button is on, and if so when it jumps to a random file, instead of starting at time=0, it starts at a random time. So far, it's looking to me like it should be a playlist script and I can…
Paul
  • 10,381
  • 13
  • 48
  • 86
19
votes
10 answers

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 to libvlc.dll are both in my “PYTHONPATH” and “PATH”…
james
  • 343
  • 1
  • 2
  • 10
19
votes
2 answers

How do VLC and ffmpeg work together?

I compiled VLC from the source code and it works well. When I do ". / Vlc" vlc runs. I also compiled ffmpeg from source and it works well too. When I do "ffmpeg-i-f toto.flv mp3-vn-acodec copy new_toto.mp3", the file named "new_toto.mp3" is…
Toufik Moad
  • 343
  • 3
  • 4
  • 8
18
votes
2 answers

Does VLC media player have a C# interface?

Is it possible to read the track statistics(time, title etc) from a currently playing file in VLC play using a wrapper in a C# console application? does anyone have any recommendations for a wrapper to use?
Csharpz
  • 885
  • 4
  • 15
  • 25
18
votes
1 answer

Camera streaming using RTP from Android to PC

I'd like to write an application for Android for camera streaming to PC (H.263, MPEG_4). I found some libraries: sipandroid, jlibrtp. SIPandroid: RTP packets are streamed (wireshark catches it on PC well), but VLC can't play it. Jlibrtp: API is…
Naight
  • 181
  • 1
  • 3
18
votes
1 answer

Using VLC player activex within excel vba as a registration-free COM

Problem definition I have two usb microscope reading part and serial numbers. I want to control the display and recording of screen shots from Excel-VBA. I would like to try this using the supplied VLC active X component. I need the finish product…
Shodan
  • 1,065
  • 2
  • 13
  • 35
18
votes
3 answers

How to broadcast video stream on a LAN in real-time?

I'm trying to establish a system capable of broadcasting the screen capture of a pc to several other pcs on a LAN. So far I managed to install nginx on a Raspberry Pi with the rtmp module and I can stream using the Raspberry as a RTMP Server via…
Ryuu
  • 473
  • 2
  • 6
  • 11
17
votes
2 answers

Raspberry Pi : use VLC to stream webcam : Logitech C920 [H264 Video without transcoding + Audio + LED control] - SpyCam / BabyCam

I have a RaspberryPi and a Logitech C920 Webcam. I want to use these devices to work as a surveillance / babycam, i.e. : Stream audio + video over HTTP (or any other protocol) without cpu intensive video transcoding The C920 webcam is able to…
LoneWanderer
  • 3,058
  • 1
  • 23
  • 41
17
votes
1 answer

VLC command line batch file to rip audio CD

Anyone have a batch file to rip a CD using VLC player, so I don't have to rip one track at a time using the GUI?
user2574981
  • 191
  • 1
  • 1
  • 4
17
votes
2 answers

Stream file as RTSP using VLC

I need to create a server that can stream an mp3 file to another device. I am planning on using VLC. I looked at the VLC documentation and am confused about the way forward to do this. I found this link,…
Alexis
  • 23,545
  • 19
  • 104
  • 143
16
votes
2 answers

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 __init__(self): self.vlc = vlc.Instance() …
Ian Wetherbee
  • 6,009
  • 1
  • 29
  • 30