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.

 

Go Back   Doom9's Forum > Video Encoding > High Efficiency Video Coding (HEVC)

Reply
 
Thread Tools Search this Thread Display Modes
Old 13th October 2021, 13:43   #1  |  Link
Fador
Registered User
 
Join Date: Apr 2017
Location: Tampere, Finland
Posts: 8
Kvazaar HEVC encoder license changed to 3-clause BSD

So after a long time of trying to get the permissions from my supervisors, we were able to convince them that the license change would be in order

New release v2.1 with the new BSD license:
https://github.com/ultravideo/kvazaa...ses/tag/v2.1.0

Hackernews post: https://news.ycombinator.com/item?id=28851307
Fador is offline   Reply With Quote
Old 13th October 2021, 18:54   #2  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,718
Thank you, it is always nice to see fellow Finns develop things

Are there any quality comparisons to competitors available somewhere?
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 13th October 2021, 19:39   #3  |  Link
Fador
Registered User
 
Join Date: Apr 2017
Location: Tampere, Finland
Posts: 8
Quote:
Originally Posted by Boulder View Post
Thank you, it is always nice to see fellow Finns develop things
Torille jne

Quote:
Originally Posted by Boulder View Post
Are there any quality comparisons to competitors available somewhere?
We have at least some limited comparisons with HM and x265, you can find the publications here with direct pdf links:
http://ultravideo.fi/#publications

Kvazaar 2.0 paper seems to be the latest, and I believe x265 also got some boost on performance after this:

A. Lemmetti, M. Viitanen, A. Mercat, and J. Vanne, “Kvazaar 2.0: fast and efficient open-source HEVC inter encoder,” in Proc. ACM Multimedia Syst. Conf., Istanbul, Turkey, June 2020.
[pdf]
Fador is offline   Reply With Quote
Old 16th October 2021, 14:47   #4  |  Link
rbauer
Registered User
 
Join Date: Sep 2010
Posts: 29
Hi.

I'm trying to test.

Could someone help me to how to transcode an mp4 file (x264 video and aac audio: I want to transcode the video stream only) to a kvazaar's hevc file?

I tried with

kvazaar -i input.mp4 --input-res 1528x940 -o output.hevc --preset slow --threads 4

no luck, the video is garbage (maybe because the encoder accepts files in yuv format only, right?).


Thanks
rbauer is offline   Reply With Quote
Old 16th October 2021, 18:54   #5  |  Link
Fador
Registered User
 
Join Date: Apr 2017
Location: Tampere, Finland
Posts: 8
Quote:
Originally Posted by rbauer View Post
no luck, the video is garbage (maybe because the encoder accepts files in yuv format only, right?).
Hi!

Kvazaar only supports yuv and y4m, supporting mp4 would mean that we would need to embed ffmpeg or similar, and we want to keep things simple =)

But you should be able to do it with the help of ffmpeg:
Code:
ffmpeg -i input.mp4 -an -f rawvideo -pix_fmt yuv420p - | kvazaar -i - --input-res 1528x940 -o output.hevc --preset slow --threads 4
Actually ffmpeg also has support for kvazaar but you have to compile it in separately, then you could do it like:

Code:
ffmpeg -i input.mp4 -c:a copy -c:v libkvazaar -kvazaar-params preset=slow output.mp4
Not sure if any binary distributions of ffmpeg include kvazaar at the moment..
Fador is offline   Reply With Quote
Old 16th October 2021, 20:58   #6  |  Link
rbauer
Registered User
 
Join Date: Sep 2010
Posts: 29
Many thanks Fador.
rbauer is offline   Reply With Quote
Reply

Tags
hevc. h.265

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:53.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.