OK, thanks for the reply. I try to implement it when I have time.

undefined via FreeRDP-devel <freerdp-devel@lists.sourceforge.net>
于2024年4月24日周三 17:30写道:

> Hi,
>
>
> accelerated encoding is currently not implemented (patches welcome).
>
> also the decoder needs some refinement, we had to deactivate it due to
> issues with different hardware limitations (alignments, ...) that need
> to be considered when activating it.
>
>
> regards
>
> Armin
>
> On 23.04.24 04:34, 黄取值 via FreeRDP-devel wrote:
> > Hi all
> >
> > I am a development engineer for a GPU manufacturer. Now I want to adapt
> our
> > GPU() to the freerdp project to provide hardware accelerated encoding and
> > decoding functions.
> >
> > Our target operating system is Linux, the target version of freerdp is
> > 2.2.0, and our GPU supports VAAPI. We try to start the rdp session by
> > running the freerdp server/client like this:
> >
> >
> > *freerdp-shadow-cli /port:8089 -auth*
> > *xfreerdp /gfx:avc420 10.10.20.102:8089 <http://10.10.20.102:8089>*
> > We see that the client's decoding uses our GPU for hardware acceleration
> > through vaapi; but for encoding, hardware acceleration is not used, and
> > software encoding (libx264) is used.
> >
> > Looking at the source code of freerdp (h264_ffmpeg.c), we can see that
> > there is a path to use vaapi for hardware acceleration in decoding
> > (libavcodec_decompress function), but there is nothing related to
> hardware
> > acceleration in encoding (libavcodec_compress function).
> >
> > So, my question is whether freerdp only supports decoding hardware
> > acceleration and does not support encoding hardware acceleration?
> >
> > _______________________________________________
> > FreeRDP-devel mailing list
> > FreeRDP-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/freerdp-devel
>
>
> _______________________________________________
> FreeRDP-devel mailing list
> FreeRDP-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freerdp-devel
>

_______________________________________________
FreeRDP-devel mailing list
FreeRDP-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to