[winswitch] Fedora33 xpra h264 encoding support not working
Terry Barnaby
terry at beam.ltd.uk
Wed May 26 14:17:50 BST 2021
On 26/05/2021 13:56, Michael Cronenworth via shifter-users wrote:
> On 5/26/21 7:43 AM, Antoine Martin via shifter-users wrote:
>> For the sake of completeness, this is not 100% accurate: ffmpeg can be
>> built under the GPL license and without the nonfree codecs.
>> xpra's ffmpeg encoder which we are discussing in this thread can be
>> enabled without those.
>> Whether that's practical or not is another question.
>
> You're being extremely pedantic. Let's back up.
>
> Sure, it can. Will anyone package and ship it in Fedora that way? No.
> Besides the enormous effort to strip out the patented code the handful
> of codecs that would remain wouldn't make it useful. Disabling the
> codecs at build time is not enough if we want to be pedantic.
>
>> There's a lot more to this than just the patented codec issue:
>> https://github.com/Xpra-org/xpra/wiki/Distribution-Packages
>
> I think you missed my point. I was not saying "package the Fedora
> version into RPMFusion" -- I was saying take your (xpra.org) packages
> and ship them in RPMFusion.
> _______________________________________________
> shifter-users mailing list
> shifter-users at lists.devloop.org.uk
> https://lists.devloop.org.uk/mailman/listinfo/shifter-users
As a slight aside to this. My "dnf install xpra" from the Fedora33
repositories + rpmfusion + fedora-cisco-openh264 repositories does in
fact have h264 and h265 support. So I presume the Fedora33 standard
ffmpeg is being extended to support h264 by "plugin" h264 packages from
those external repos. I'm not sure it supports hardware vaapi h264/h265
though.
Actually I see that the Fedora33 xpra is using xpra-codecs-freeworld
from rpmfusion.
I presume with those hardware codecs the license is with the hardware ?
xpra encoding
codecs and csc modules found:
* csc_cython :
/usr/lib64/python3.9/site-packages/xpra/codecs/csc_cython/colorspace_converter.cpython-39-x86_64-linux-gnu.so
* csc_libyuv :
* csc_swscale :
/usr/lib64/python3.9/site-packages/xpra/codecs/csc_swscale/colorspace_converter.cpython-39-x86_64-linux-gnu.so
* dec_avcodec2 :
/usr/lib64/python3.9/site-packages/xpra/codecs/dec_avcodec2/decoder.cpython-39-x86_64-linux-gnu.so
* dec_jpeg :
* dec_pillow :
/usr/lib64/python3.9/site-packages/xpra/codecs/pillow/decoder.py
* dec_vpx :
/usr/lib64/python3.9/site-packages/xpra/codecs/vpx/decoder.cpython-39-x86_64-linux-gnu.so
* dec_webp :
* enc_ffmpeg :
/usr/lib64/python3.9/site-packages/xpra/codecs/enc_ffmpeg/encoder.cpython-39-x86_64-linux-gnu.so
* enc_jpeg :
* enc_pillow :
/usr/lib64/python3.9/site-packages/xpra/codecs/pillow/encoder.py
* enc_vpx :
/usr/lib64/python3.9/site-packages/xpra/codecs/vpx/encoder.cpython-39-x86_64-linux-gnu.so
* enc_webp :
* enc_x264 :
/usr/lib64/python3.9/site-packages/xpra/codecs/enc_x264/encoder.cpython-39-x86_64-linux-gnu.so
* enc_x265 :
/usr/lib64/python3.9/site-packages/xpra/codecs/enc_x265/encoder.cpython-39-x86_64-linux-gnu.so
* nvenc :
codecs versions:
* avcodec2 : 58.91.100
* cython : 4.1
* ffmpeg : 58.91.100
* numpy : 1.19.4
* pillow : 7.2.0
* swscale : 5.7.100
* vpx : 1.9.0
* x264 : 160
* x265 : 3.4
Terry
More information about the shifter-users
mailing list