vlc

Automate VLC media player configuration, playback control, and verification via Python.

185|14|Updated Jan 6, 2026
One-click install
npx skills add https://github.com/xlang-ai/CUA-Gym --skill vlc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vlc
Source: https://github.com/xlang-ai/CUA-Gym/tree/main/.claude/skills/vlc
Command: npx skills add https://github.com/xlang-ai/CUA-Gym --skill vlc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires subprocess, requests, xml.etree.ElementTree, librosa, cv2, imagehash, Pillow, ffmpeg, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the configuration, control, and verification of VLC media player state, streamlining setup and reward generation processes for agents.

Core Features & Use Cases

  • VLC Configuration: Programmatically configure VLC settings using vlcrc.
  • Media Control: Automate playback, pausing, and seeking within VLC.
  • Verification: Verify VLC playback state, media configuration, and subtitle settings.
  • Use Case: For agents like setup-gen and reward-gen, automate the setup of media playback environments and verify the correctness of the media player's configuration and playback state.

Quick Start

Use the vlc skill to play a video file '/path/to/video.mp4' and set the volume to 100.

Frequently Asked Questions about vlc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate VLC media player configuration using Python?

Automate VLC media player configuration by programmatically modifying vlcrc files using Python. This approach streamlines setup generation for media playback environments, allowing agents to automatically apply necessary settings without manual intervention.

Can I verify VLC playback state and subtitle settings with Python automation?

Verify VLC playback state, media configuration, and subtitle settings using Python. The verification process checks the media player's current state to ensure correctness for reward generation agents in RLVR training environments.

Do I need FFmpeg installed to use Python for VLC media control?

FFmpeg is optionally required for media operations when automating VLC media player control with Python. Core dependencies include subprocess, requests, xml.etree.ElementTree, librosa, cv2, imagehash, and Pillow for full playback and verification functionality.

What's the best way to automate video playback and seeking in VLC for RLVR training?

Automate video playback, pausing, and seeking in VLC using Python subprocess calls. This method applies directly to RLVR training environments, serving setup-gen and reward-gen agents by controlling media player states programmatically.

How does Python media verification work with librosa and cv2 for VLC playback?

Python media verification uses librosa for audio analysis and cv2 for video frame processing to validate VLC playback state. Combined with imagehash and Pillow, these libraries verify media configuration correctness and subtitle settings during automated operations.

Why use vlcrc file modification for VLC setup automation instead of direct API calls?

VLC setup automation uses vlcrc file modification via xml.etree.ElementTree to configure settings persistently. This method ensures reliable configuration states for reward generation agents, bypassing transient API states by writing directly to the configuration file.