Page 1 of 1

Remove Theora, add NVenc...

Posted: Thu Jun 16, 2016 6:23 pm
by K@mpfH@mster
Hey guys,

now that VP9 is available in nightly builds, I would like to suggest again to remove Theora from the list, it is an outdated Encoder. Also I would like to see GPU encoding from AMD and NVIDIA. I have read, that speed and quality (NVenc h265 is at same quality like x264 medium, but with 200 fps) improved much. Also, not everyone has a QuickSync compatible card. AMDs Zen will be released soon and the Intel E processors doesnt have a GPU.

It would be a good alternative for fast encoding with acceptable quality.

Could you please sort the video codec list and put MPEG2 and Mpeg 4 at the end, x265 and x265 at the beginnin and VP codecs in the middle.

THX

Re: Remove Theora, add NVenc...

Posted: Thu Jun 16, 2016 8:12 pm
by Woodstock
A search for "NVENC" comes up with several recent topics on this, with "GPL-compatible patches welcome" mentioned. There was also a recent one (April) comparing the NVENC developer kit code to software encoding.

Re: Remove Theora, add NVenc...

Posted: Thu Jun 16, 2016 8:14 pm
by Deleted User 11865
Not sure what's the licensing status of NVENC right now; with NVIDIA's header updates it became LGPL-compatible, but I'm not sure about the GPL.

Re: Remove Theora, add NVenc...

Posted: Fri Jun 17, 2016 10:23 pm
by K@mpfH@mster
Hi, it would be very nice if you could check and integrate it, also AMD encoding.

Re: Remove Theora, add NVenc...

Posted: Tue Jun 21, 2016 7:57 pm
by K@mpfH@mster
Hi, sorry for the double post, but I found out that the software Xmedia Recode has support for NVenc and I made my own test. I encoded the trailer from "How to train a dragon" video only with 2pass 800kbit to 1600x900. I have an Nvidia 750ti + i3-4150 + 8GB ram

n264 hq: 115 sek (11,7mb)
Image

x264 slow: 248 sek (12,2mb)
Image

Like you se NVenc is much faster, looks better (in most scenes) and also creates a smaller size.

Re: Remove Theora, add NVenc...

Posted: Tue Jun 21, 2016 8:48 pm
by mduell
I don't watch movies as still images.

Re: Remove Theora, add NVenc...

Posted: Tue Jul 19, 2016 3:27 am
by Djfe
yeah but the likeliness that just one decoded image out of the movie looks this bad...
but as churchill said: I only believe in statistics that I doctored myself

@Kampfhamster
If you have an intel e processor, then you usually don't need the hardware encoding, because the CPU ist faster and has higher quality, atleast that's the last state I heard around here
not sure how good Intel QSV is right now on the newer CPUs (6700k)

generally I would like to see nvenc support as well
but there are license problems as the others said already
and the devs see other features as more important/useful and don't want to work on stuff that they don't use themselves, which is legitimate

about theora: as long as it doesn't force the devs to do much more work, my opinion is: why not leave it in?
it's still an open source codec and much more so than VP8 and VP9
I personally would bring this up, once daala/netvc is out ^^

in the end the decision should be up to the devs when to remove theora support

Re: Remove Theora, add NVenc...

Posted: Fri Jul 22, 2016 9:48 pm
by K@mpfH@mster
Hi, I found this posting here: http://ffmpeg.org/pipermail/ffmpeg-deve ... 84730.html
Nvidia finaly decided to put a propper MIT license on their nvenc header, so it can be included, removing any external dependencies for nvenc and making it no longer require the non-free flag.

Don't know if this licence is enough to be free for handbrake, but perhaps you can check it. THX

Re: Remove Theora, add NVenc...

Posted: Sun Jul 24, 2016 1:19 pm
by Salem874
Would love to see this added also..

Re: Remove Theora, add NVenc...

Posted: Sun Aug 14, 2016 3:28 pm
by bucaneiro
it's not that good for x265. And if you gonna compare still images from movies don't use CG, ANIME... use movement scenes. It's when a codec must interpret a lot of information.

Re: Remove Theora, add NVenc...

Posted: Sun Aug 14, 2016 7:49 pm
by Djfe
http://slhck.info/articles/crf
CRF in a nutshell

The way constant quality encoding is usually done, it keeps up a constant quality by compressing every frame of the same type the same amount. In tech speak, that’s maintaining a constant QP (quantization parameter). The quantization parameter defines how much information to “throw away” from a given block of pixels.

Constant Rate Factor, on the other hand, will compress different frames by different amounts. It does this by taking motion into account.

The eye perceives more detail in still objects than when they’re in motion. Because of this, a video compressor can apply more compression (drop more detail) when things are moving, and apply less compression (retain more detail) when things are still. Subjectively, the video will seem to have higher quality.
And now I'm curious what you mean by "it" ^^ (what's not good for x265?)

Re: Remove Theora, add NVenc...

Posted: Thu Aug 18, 2016 6:45 pm
by K@mpfH@mster
Hi, here I have found an articel for amd alternative for hardware encoding, it is open source too now
http://www.golem.de/news/adavanced-medi ... 22781.html

Re: Remove Theora, add NVenc...

Posted: Thu Aug 18, 2016 7:27 pm
by Djfe
The code is (sadly) completely new, does only support windows/isn't Plattform independent and it's in such an early stage that you cannot encode in HEVC, yet.
So maybe at a later stage, when the project has matured enough and if a developer takes interest in it.
Right now it's not usable.

Re: Remove Theora, add NVenc...

Posted: Thu Aug 18, 2016 7:57 pm
by Deleted User 11865
Anything is "usable" unless proven otherwise; the more important question is developer interest and *time* :)

Re: Remove Theora, add NVenc...

Posted: Fri Aug 19, 2016 8:14 pm
by s55
Ok, just so everyone is clear where things are at.

Nvidia NVEnc: We are not interested in adding this, but if someone adds support in libav and provides a minimalist patch to update HandBrakes libav warpper to encode this correctly, it's something we'll look at.

AMD VCE: We've had patches for some time now, but will not be commiting these until upstream libav accepts the patch submitted to them.

Theroa: We'll consider what we want to do with it after the 1.0 release. It's not causing us any problems right at the minute so we are in no rush to remove it.