GithubHelp home page GithubHelp logo

Comments (7)

akallabeth avatar akallabeth commented on May 29, 2024

check libfreerdp/codec/h264_ffmpeg.c
currently there is a path for VAAPI support in there, but there might be a flag missing for other accelerators.

from freerdp.

S-Bhavin avatar S-Bhavin commented on May 29, 2024

Thanks for the reply @akallabeth ,

check libfreerdp/codec/h264_ffmpeg.c currently there is a path for VAAPI support in there, but there might be a flag missing for other accelerators.

Which flag for other accelerators?? because the only flag that I can see in libfreerdp/codec/h264_ffmpeg.c is WITH_VAAPI
With reference to h264_ffmpeg.c, does it mean the implementation of freerdp requires vaapi for hardware acceleration or there is another way around for other hw accelerators?

I am using lima driver provided by mesa for the support of MALI450 gpu.
If I have to work with vaapi will there be any role of lima and mesa? If yes, what is the dependency?

Basically I have following pieces working with me:

  1. FFMPEG -> able to use hardware acceleration using HANTRO VPU when tested individually
  2. LIMA + MESA -> able to provide smooth graphical rendering using MALI450 GPU over weston (wayland).
  3. Gstreamer -> able to use HANTRO VPU for video rendering. (gstreamer pipeline :- gst-launch-1.0 filesrc location=/home/root/BBB-720p-30-fps.mp4 ! qtdemux ! v4l2slh264dec ! waylandsink fullscreen=true)
  4. FREERDP -> has support of ffmpeg but isn't using hardware acceleration. (both wlfreerdp & xfreerdp).

Am I missing something in configuring freerdp or in understanding?

I want to integrate these individual pieces to get FREERDP to somehow work with hardware acceleration. Any possibilities to accomplish this using aforementioned components?? OR some other way around??

from freerdp.

akallabeth avatar akallabeth commented on May 29, 2024

@S-Bhavin there is currently only the VAAPI version implemented in that file, but others can be added.
you might check the source of the FFMPEG tools on how to do that.

from freerdp.

S-Bhavin avatar S-Bhavin commented on May 29, 2024

Thanks for the reply @akallabeth,
Would like if you could help with the other questions mentioned above as well.

from freerdp.

akallabeth avatar akallabeth commented on May 29, 2024
  • there is no gstreamer implementation in FreeRDP (only the deprecated TSMF channel did use that)
  • rendering is up to the client (xfreerdp -> X11, sdl-freerdp -> SDL (X11 or Wayland))

from freerdp.

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.