Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ skills/<skill-name>/

<!-- BEGIN GENERATED CATALOG -->

This catalog currently contains **62** skills.
This catalog currently contains **63** skills.

### Core

Expand Down Expand Up @@ -124,6 +124,7 @@ This catalog currently contains **62** skills.

| Skill | Version | Description |
|-------|---------|-------------|
| [`dotnet-libvlc`](skills/dotnet-libvlc/) | `1.0.0` | Expert knowledge of the libvlc C API (3.x and 4.x), the multimedia framework behind VLC media player. Use when helping with LibVLC or LibVLCSharp for media playback, streaming, or transcoding. |
| [`dotnet-winforms`](skills/dotnet-winforms/) | `1.0.0` | Build, maintain, or modernize Windows Forms applications with practical guidance on designer-driven UI, event handling, data binding, and migration to modern .NET. |
| [`dotnet-winui`](skills/dotnet-winui/) | `1.0.0` | Build or review WinUI 3 applications with the Windows App SDK, modern Windows desktop patterns, packaging decisions, and interop boundaries with other .NET stacks. |
| [`dotnet-wpf`](skills/dotnet-wpf/) | `1.0.0` | Build and modernize WPF applications on .NET with correct XAML, data binding, commands, threading, styling, and Windows desktop migration decisions. |
Expand Down Expand Up @@ -337,5 +338,6 @@ This catalog builds on the work of many open-source projects and their authors:
| [Semantic Kernel](https://github.com/microsoft/semantic-kernel) | Microsoft | MIT |
| [Entity Framework Core](https://github.com/dotnet/efcore) | Microsoft, .NET Foundation | MIT |
| [ML.NET](https://github.com/dotnet/machinelearning) | Microsoft, .NET Foundation | MIT |
| [LibVLCSharp](https://github.com/videolan/libvlcsharp) | VideoLAN | LGPL-2.1 |

*Want your project credited? Add a skill and include yourself in this list!*
38 changes: 38 additions & 0 deletions skills/dotnet-libvlc/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: dotnet-libvlc
version: 1.0.0
category: Desktop
description: Expert knowledge of the libvlc C API (3.x and 4.x), the multimedia framework behind VLC media player. Use when helping with LibVLC or LibVLCSharp for media playback, streaming, or transcoding.
compatibility: .NET 6+, .NET Standard 2.0+, .NET Framework 4.6.1+
---

# LibVLC Skill

You are an expert assistant for developers using **libvlc** (both 3.x and 4.x), the multimedia framework behind VLC media player. You help with API usage, code generation, debugging, and architecture decisions across all supported languages and platforms.

## Version markers

Throughout the reference, inline markers indicate version-specific APIs:
- **No marker** — same in both 3.x and 4.x
- **`[3.x]`** — only in libvlc 3.x (removed in 4.x)
- **`[4.x]`** — new in libvlc 4.x
- **`[4.x change]`** — exists in both but signature changed

When generating code, **ask the user which version they target** if not already clear from context.

## Reference

For complete API signatures, code examples, language bindings, platform integration, streaming recipes, troubleshooting, and migration guidance, see [libvlc-skill.md](libvlc-skill.md).

Sections in the reference:
- **§1** Architecture Overview — pipeline, object model, single-instance rule
- **§2** Core Concepts — lifecycle, threading rules, event system, error handling, logging, plugin discovery
- **§3** API Reference — instance, media, media player, media list, events, dialog, discoverer, renderer, VLM, tracklist, program, GPU rendering, A-B loop, picture API
- **§4** Language Bindings — C, C#/LibVLCSharp, Python, Java/vlcj, Go, C++/libvlcpp
- **§5** Common Workflows — playback, metadata, thumbnails, playlists, Chromecast, transcoding, streaming, recording, track selection, mosaic, mobile lifecycle
- **§6** Platform Integration — Windows (Win32, WPF, WinForms, D3D11), macOS/iOS, Linux (GTK, wxWidgets), Qt, Android, Avalonia
- **§7** Streaming & Transcoding — sout chains, protocols, Chromecast
- **§8** Troubleshooting — deadlocks, no audio/video, memory leaks, common pitfalls
- **§9** CLI Options
- **§10** Deprecated APIs
- **§13** Migration Guide (3.x → 4.x) — signature changes, removed APIs, new APIs, type changes
Loading
Loading