Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
19th August 2016, 12:19 | #1 | Link |
Registered User
Join Date: Apr 2015
Posts: 7
|
HEVC multi-rate encoding for adaptive HTTP streaming
I haven't seen much talk about multi-rate encoding with HEVC. Basically, a single system which encodes one video at different bitrates to target adaptive bitrate streaming. The different bitrates can be achieved by encoding at different spatial resolutions, different signal qualities or different frame rates. Sharing information between the individual encoder processes can lead to an overall computational complexity reduction.
I have recently implemented a multi-rate encoding method for x265 based on a CU structure reuse from a high-quality encoding to speed-up lower quality encodings. I have also posted some results in a blog post. Depending on the configuration, the x265 multi-rate encoder can for example achieve an overall complexity reduction of 10% with no rate-distortion loss (even a very small improvement on average). Or achieve 20% complexity reduction with an average bitrate increase of 0.9%. Multicoreware has the so-called UHDkit https://x265.com/uhdkit-hevc-encoding-library/ There is also a white paper from Vanguard on the topic http://vanguardvideo.com/wp-content/...Whitepaper.pdf All in all, not so much details about the technical solutions. Is there some more open-source work on multi-rate out there? Do you know some other sources of information about the topic? My guess is that all major streaming providers are implementing such methods... |
23rd August 2016, 03:18 | #2 | Link | |
Registered User
Join Date: Jan 2010
Posts: 709
|
I'm not sure but how is it different from the analysis-mode of x265?
Quote:
__________________
powered by Google Translator |
|
25th August 2016, 13:34 | #4 | Link |
Registered User
Join Date: Apr 2015
Posts: 7
|
Yes, the implemented method is very similar to analysis-mode. The main difference is that the the reuse of the data stored in analysis-mode is not targeted at different representations, that is, different bitrates/different qualities.
As an example, I tried analysis-mode 1 on an encoding at QP 22, then analysis-mode 2 on encodings at QP 27, 32, and 37. The result is an increased bitrate (on average 5.8% at a given PSNR), and an overall encoding time decreased by 23%, compared to the same four representations without analysis-mode. On the contrary, if I use the implemented method, e.g. mr-mode 1 on QP 22, then mr-mode 2 on QPs 27, 32, and 37, I get for example 0.0% increased bitrate on average at a given PSNR and an overall encoding time decrease of 10%. Or if I use mr-mode 1 on CRF 22, then mr-mode 2 on CRF 27, 32, and 37, I get 0.9% average increase in bitrate and an overall encoding time reduction of 19%. These results are detailed in the blog post I mentioned earlier. So the benefit of the implement method is that the rate-distortion performance is better than with analysis-mode (in this specific scenario of having multiple representations at different qualities). |
25th August 2016, 19:11 | #5 | Link |
Guest
Posts: n/a
|
Hi Damjeux,
I'm sorry I didn't reply when you first informed us of your work on our development mailing list. We have a team that is also working on improving analysis save/load/refine, for a variety of interesting applications (not just multi-bitrate encoding). We would be interested in evaluating your contributions for possible inclusion in x265, but we would first need you to sign our Contributor License Agreement. If you would like to collaborate directly with our team, we would be happy to arrange a phone call to discuss. Thanks, Tom |
12th September 2016, 21:07 | #7 | Link | |
Compression mode: Lousy
Join Date: Mar 2009
Location: Hamburg, Germany
Posts: 72
|
Quote:
Does that work with x265 as well? |
|
13th September 2016, 07:57 | #8 | Link | |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,752
|
Quote:
Variants of the same frame size have a much smaller quality hit, more than made up for being able to boost up the --preset a notch due to perf savings. |
|
Tags |
adaptive http streaming, multi-rate |
Thread Tools | Search this Thread |
Display Modes | |
|
|