Comments (9)
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.
Thanks for the reply @akallabeth ,
check
libfreerdp/codec/h264_ffmpeg.c
currently there is a path forVAAPI
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:
FFMPEG
-> able to use hardware acceleration usingHANTRO VPU
when tested individuallyLIMA + MESA
-> able to provide smooth graphical rendering usingMALI450 GPU
overweston (wayland)
.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
)FREERDP
-> has support offfmpeg
but isn't using hardware acceleration. (bothwlfreerdp
&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.
@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.
Thanks for the reply @akallabeth,
Would like if you could help with the other questions mentioned above as well.
from freerdp.
- there is no
gstreamer
implementation inFreeRDP
(only the deprecatedTSMF
channel did use that) - rendering is up to the client (
xfreerdp -> X11
,sdl-freerdp -> SDL (X11 or Wayland)
)
from freerdp.
Hi @akallabeth,
I have got GPU
working with the opensource LIMA
driver provided by mesa
. Now the rendering is smooth and the cpu load isn't much as well. I tested it with glmark2-es2-wayland
and the overall performance is good.
But when I am playing any mp4 video, it plays using cpu and loads it up. Now if I use some older version supporting TSMF
, that can use gstreamer
, do you think it can help taking off the load from cpu? If not, what is advisable to play video without loading up the cpu too much?
from freerdp.
@S-Bhavin well, just as I told you, patch the file above for support of these accelerators?
and no, TSMF
is useless.
from freerdp.
Hi @akallabeth
I am willing to make changes in freerdp
to support ffmpeg
, but I am new at freerdp and ffmpeg so can you guide me with the changes (like macros or functions to be called to integrate ffmpeg with freerdp
) that are supposed to be made in order to achieve this.
Could really use some help for this modification.
from freerdp.
WITH_VAAPI
is already integrated with an option (although unstable)./libfreerdp/codec/h264_ffmpeg.c
already implement ffmpeg support, but that might need to be adjusted to utilize hardware accelerators- you might want to join our matrix channel (see https://freerdp.com for details) if you have further questions.
from freerdp.
Related Issues (20)
- Issue with /app Flag in FreeRDP 3.5.1 on Flatpak HOT 4
- wlfreerdp and sdl-freerdp crashing with segfault in plasma6 when connecting to windows11 HOT 6
- How to implement USB device redirection in wfreerdp? HOT 1
- Nightly builds segfaults on Ubuntu 22.04.4 HOT 5
- Card Reader/Writer Redirection as "low-level" USB device is not working HOT 8
- The master branch fails to compile with GCC 14.1 HOT 1
- Wiki Documentation update needed for CLI command options listing HOT 1
- Ubuntu 24.04 - xfreerdp2 works with the /app: option but xfreerdp3 does not HOT 1
- Compilation with jpeg-turbo and GCC14 requires changing in winpr/libwinpr/utils/image.c HOT 1
- TimeZoneIanaAbbrevMap.c requires patching to compile with GCC14 HOT 1
- FreeRDP-2.11.6 fails to compile with GCC-14: incompatible pointer types in unicode.c HOT 2
- Black Screen? HOT 6
- Build fails with trying to link shared lib to static gstreamer lib (fPIC) HOT 1
- 3.5.1 build fails with fPIC linker error HOT 2
- How to start Windows applications form Linux short cut?(Or does FreeRDP have this feature?) HOT 5
- 3.5.1 build fails with fPIC linker error HOT 1
- kerberos doesn't work in FreeRDP3 HOT 3
- --from-stdin does not work in xfreerdp3 HOT 1
- Could not capture all the windows desktop dialog in server side HOT 2
- TestWinPRUtils "TestBacktrace" fails on 32-bit arm HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freerdp.