Git Product home page Git Product logo

Comments (6)

nextdracool avatar nextdracool commented on June 12, 2024

Checking the source code and WPF Interop problems reveals that this happens because the WPF VlcControl is just a HwndHost displaying the WinForms VlcControl. Rules for when problems occur can be found here
At the moment there does not seem to be a fix available.

A possible workaround would be to use the video_set_callbacks function from libvlc and some kind of custom rendering method. The nVLC project seems to have such a custom renderer using a D3DImage surface. Sadly it looks abandoned.

from vlc.dotnet.

wuzhenda avatar wuzhenda commented on June 12, 2024

yes,that's helpful

from vlc.dotnet.

kjeremy avatar kjeremy commented on June 12, 2024

Any general guidance on how to create a pure wpf control with vlc? I can take a stab at it...

from vlc.dotnet.

kjeremy avatar kjeremy commented on June 12, 2024

Specifically: how does the rendering happen and where would I use the video_set_callbacks (as an alternative to an existing call?) to alter the behavior?

from vlc.dotnet.

wuzhenda avatar wuzhenda commented on June 12, 2024

see this issue:
#12
and reference the repo:
https://github.com/higankanshi/xZune.Vlc

from vlc.dotnet.

jeremyVignelles avatar jeremyVignelles commented on June 12, 2024

Thanks for the great bug report, I've just created an issue to gather all issues related to this : #296

from vlc.dotnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.