LibVLCSharp issueshttps://code.videolan.org/videolan/LibVLCSharp/-/issues2021-08-25T06:40:15Zhttps://code.videolan.org/videolan/LibVLCSharp/-/issues/498Make EnsureVersionsMatch configurable2021-08-25T06:40:15ZMartin FinkelMake EnsureVersionsMatch configurableShould default to true but would be useful to have it configurable, for testing purposes.Should default to true but would be useful to have it configurable, for testing purposes.https://code.videolan.org/videolan/LibVLCSharp/-/issues/449Add more precise timer for progress bar scenarios2021-05-25T07:26:30ZMartin FinkelAdd more precise timer for progress bar scenarios### Problem to solve
Some users request a more stable/precise progress bar.
libvlcsharp could offer some doc, a sample and/or an helper to facilitate this.
### Intended users
Anyone who wants finer time based data.
### Proposal
htt...### Problem to solve
Some users request a more stable/precise progress bar.
libvlcsharp could offer some doc, a sample and/or an helper to facilitate this.
### Intended users
Anyone who wants finer time based data.
### Proposal
https://github.com/videolan/vlc/blob/0090bfdc2647ae2a4f003617ab5c411c17ce7db7/src/player/timer.c#L474
### Documentationhttps://code.videolan.org/videolan/LibVLCSharp/-/issues/369When chromecasting from UWP transcoded video has poor quality2020-11-24T07:13:12ZAleksey VlasenkoWhen chromecasting from UWP transcoded video has poor quality<!---
Please read this!
Before opening a new issue, make sure to search for keywords in the issues
filtered by "bug" label and verify the issue you're about to submit isn't a duplicate.
If this is a question please ask on StackOverflow...<!---
Please read this!
Before opening a new issue, make sure to search for keywords in the issues
filtered by "bug" label and verify the issue you're about to submit isn't a duplicate.
If this is a question please ask on StackOverflow: https://stackoverflow.com/questions/tagged/libvlcsharp.
--->
### Summary
<!-- Summarize the bug encountered concisely -->
Whenever I'm trying to cast video that requires transcoding from UWP, video has bad quality on TV.
I tried setting '--sout-chromecast-conversion-quality=', but as far as I can tell it doesn't have any effect on quality.
### Minimal project and steps to reproduce
https://github.com/vlasenkoalexey/LibVLCSharp.UWP.Sample_chromecast
### Does it work on other plaforms? Does it work with the official VLC apps?
<!-- Paste any relevant logs - please use code blocks (```) to format console output,
logs, and code as it's very hard to read otherwise. -->
Observe same issue on VLC from Windows Store.
### Environment
<!-- Please complete the following information. -->
- OS: Windows
- Version 10
- Device: Laptop x86
- LibVLC version and architecture VideoLAN.LibVLC.UWP/3.3.0
- LibVLCSharp version 3.4.6https://code.videolan.org/videolan/LibVLCSharp/-/issues/365LibVLC loading refactoring for macOS2020-09-08T15:40:42ZMartin FinkelLibVLC loading refactoring for macOS### Problem to solve
To be able to use libvlc builds from official releases, we need to be able to load and P/Invoke dynamic libvlc macOS builds.
Currently, it's all statically linked together in a `libvlc.dylib` binary. The libvlc bui...### Problem to solve
To be able to use libvlc builds from official releases, we need to be able to load and P/Invoke dynamic libvlc macOS builds.
Currently, it's all statically linked together in a `libvlc.dylib` binary. The libvlc builds from vlc.dmg are organized similarly to the libvlc windows ones (plugins folder, lib folder, share folder).
### Intended users
macOS users.
### Proposal
There are a few challenges...
- We need to perform this refactoring while not breaking existing platforms (netcore and mono).
- We need to perform this refactoring while keeping the current platform versions number supported (i.e. any netcore version).
mono/cocoa support is fine, issue is with netcore.
Problems are two fold:
- To be able to re-use the current P/Invoke code, we need to keep the dllimport statements as they are currently. In theory, one could load manually the dylib, and all further dllimport calls would look at the currently loaded dynamic librairies before trying a new dlopen to perform the dlsym. That's the theory anyway https://github.com/libgit2/libgit2sharp/blob/7fc4be5193dbdd08538b4b150332b5a73770e0f6/LibGit2Sharp/Core/NativeMethods.cs#L40
However, that's not what I observe. And for the netstandard/netcore build, that means the dlopen call argument is different on mac and windows (`@rpath/libvlc`/`libvlc`) and it should not.
- Even when using the non standard `@rpath/libvlc` dlopen argument and setting the correct `VLC_PLUGIN_PATH`, `libvlc_new` returns null.
https://github.com/mfkl/libvlcsharp/commits/mac-libvlc-loading
https://github.com/mfkl/libvlc-nuget/blob/mac-loading-rework/build/VideoLAN.LibVLC.Mac.targets
### Documentation
Just the cherrypicking enabling whenever this works.https://code.videolan.org/videolan/LibVLCSharp/-/issues/252[UWP] Memory leakage2020-11-02T23:22:25Zrudoc[UWP] Memory leakage### Summary
Disposing of LibVLC components is not complete
### Minimal project and steps to reproduce
[Minimal project](https://github.com/rudoc/LibVLCSharp.UWP.Sample.git)
Example is based on UWP sample provided. I've copied MainPage ...### Summary
Disposing of LibVLC components is not complete
### Minimal project and steps to reproduce
[Minimal project](https://github.com/rudoc/LibVLCSharp.UWP.Sample.git)
Example is based on UWP sample provided. I've copied MainPage and made cross links between two.
Pages to be navigated by clicking hyperlinks to each other in the center of app window.
Every iteration of video appearing will eat some memory.
### What is the current *bug* behavior?
increasing memory consumption by application at each videoview initialization.
### What is the expected *correct* behavior?
about constant memory allocation for an app
### Environment
OS: Windows 10 x64
Version 1809
Device: DELL XPS 15 9560
VideoLAN.LibVLC.UWP 3.2.0
LibVLCSharp version 3.3.1https://code.videolan.org/videolan/LibVLCSharp/-/issues/215Transcoding with h264 Video Codec Fails2020-09-10T14:12:23ZTony WilkeyTranscoding with h264 Video Codec Fails### Summary
<!-- Summarize the bug encountered concisely -->
Transcoding video from an input to a file using the h264 codec fails with these error messages.
*****************
libVLC:[Error] avcodec:cannot find encoder H264 - MPEG-4 A...### Summary
<!-- Summarize the bug encountered concisely -->
Transcoding video from an input to a file using the h264 codec fails with these error messages.
*****************
libVLC:[Error] avcodec:cannot find encoder H264 - MPEG-4 AVC (part 10)
*** Your Libav/FFmpeg installation is crippled. ***
*** Please check with your Libav/FFmpeg packager. ***
*** This is NOT a VLC media player issue. ***
libVLC:[Debug] main:Buffering 13%
libVLC:[Debug] main:no encoder modules matched
libVLC:[Error] stream_out_transcode:cannot find video encoder (module:any fourcc:h264). Take a look few lines earlier to see possible reason.
*********************
<!-- How one can reproduce the issue - this is very important -->
Example repo of UWP project
https://github.com/groovykool/libVLC-Transcode.git
Press "Play".
View log box output errors
wait a few seconds press "Stop"
<!-- What actually happens -->
no transcoded output
### What is the expected *correct* behavior?
Transcoded video is saved in a file.
The transcoding options work in the VLC client.
### Relevant logs and/or screenshots
****************
libVLC:[Error] avcodec:cannot find encoder H264 - MPEG-4 AVC (part 10)
*** Your Libav/FFmpeg installation is crippled. ***
*** Please check with your Libav/FFmpeg packager. ***
*** This is NOT a VLC media player issue. ***
libVLC:[Debug] main:Buffering 13%
libVLC:[Debug] main:no encoder modules matched
libVLC:[Error] stream_out_transcode:cannot find video encoder (module:any fourcc:h264). Take a look few lines earlier to see possible reason.
*********************
### Environment
<!-- Please complete the following information. -->
- OS: Windows 10
- Version 1903
- Device: PC
- LibVLC version and architecture 3.0.4 Vetinari
- LibVLCSharp version Nuget 3.2.1
### Possible fixes
libVLC compile options?