xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 4 years ago

Last modified 16 months ago

#2046 assigned task

normalize speed and quality for all codecs

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 4.2
Component: encodings Version: 2.4.x
Keywords: Cc:

Description (last modified by Antoine Martin)

Not sure which one should be the baseline, or even if having a reference codec makes any sense: some codecs are just less efficient and so we will have to sacrifice speed or quality to get closer to the baseline.

But clearly they are too far out at the moment: as per ticket:2029#comment:18, vp8 uses 10x more bandwidth than x264 using the same settings.

We also need to define some typical content that we want to use for calibrating and create some compression test scripts for different values. (speed x quality means quite a few pictures of varying quality will be produced)
Then ideally we can use an impartial observer to rank the output without any prior knowledge of the settings used for each.

Bearing in mind that different codecs are used for different content (ie: video when we detect it), at different sizes (ie: no webp at low res), at different quality settings (ie: more jpeg at low quality setting), that those heuristics may still change (#2044), etc

Maybe line them up first using the encoding latency so it will always take the same amount of time to compress an image at the same speed setting? Or match the compression ratio instead... or quality...

Change History (5)

comment:1 Changed 4 years ago by Antoine Martin

Description: modified (diff)
Status: newassigned

comment:2 Changed 3 years ago by Antoine Martin

Milestone: 3.14.0

Milestone renamed

comment:3 Changed 3 years ago by Antoine Martin

Milestone: 4.04.1

comment:4 Changed 20 months ago by Antoine Martin

Milestone: 4.14.2

comment:5 Changed 16 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2046

Note: See TracTickets for help on using tickets.