Code Monkey home page Code Monkey logo

Comments (5)

SuRGeoNix avatar SuRGeoNix commented on July 26, 2024

Nice catch, thanks I will check this on the next commit. I need to double check that it does not affect the rest of the code and is also compatible with FFmpeg 's DirectX device! (Did you validate that it was using hardware acceleration with Success? Just press key 'h' to see if it was successful)

from flyleaf.

pubpy2015 avatar pubpy2015 commented on July 26, 2024

Hi,

Hardware acceleration (ON) failed

from flyleaf.

SuRGeoNix avatar SuRGeoNix commented on July 26, 2024

Yep, not sure if that's is just the format of the video tho, or the change of DirectX features

from flyleaf.

pubpy2015 avatar pubpy2015 commented on July 26, 2024

This is directX feature. I am testing same video source on several PCs.

from flyleaf.

pubpy2015 avatar pubpy2015 commented on July 26, 2024

Original source code will create an exception:
Exception Info: SharpDX.SharpDXException
at SharpDX.Result.CheckError()
at SharpDX.Direct3D11.Device.CreateVertexShader(IntPtr, SharpDX.PointerSize, SharpDX.Direct3D11.ClassLinkage, SharpDX.Direct3D11.VertexShader)
at SharpDX.Direct3D11.VertexShader..ctor(SharpDX.Direct3D11.Device, Byte[], SharpDX.Direct3D11.ClassLinkage)
at SuRGeoNix.Flyleaf.MediaRenderer.Initialize()
at SuRGeoNix.Flyleaf.MediaRenderer.InitHandle(IntPtr)
at SuRGeoNix.Flyleaf.MediaRouter.InitHandle(IntPtr, Boolean)
at SuRGeoNix.Flyleaf.Controls.FlyleafPlayer.Initialize()
at SuRGeoNix.Flyleaf.Controls.FlyleafPlayer.OnParentChanged(System.Object, System.EventArgs)
at System.Windows.Forms.Control.OnParentChanged(System.EventArgs)
at System.Windows.Forms.ContainerControl.OnParentChanged(System.EventArgs)
at System.Windows.Forms.Control.AssignParent(System.Windows.Forms.Control)
at System.Windows.Forms.Control+ControlCollection.Add(System.Windows.Forms.Control)
at System.Windows.Forms.Form+ControlCollection.Add(System.Windows.Forms.Control)
at SuRGeoNix.FlyleafPlayer.FrmMain.InitializeComponent()
at SuRGeoNix.FlyleafPlayer.FrmMain..ctor()
at SuRGeoNix.FlyleafPlayer.Program.Main()

from flyleaf.

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.