CUDA = chunky video?

Discussing about advanced video encoding techniques including GPU encoding, distributive encoding and segmental encoding. Topics are not limited to MediaCoder.
Post Reply
DarioD
Amateur
Amateur
Posts: 13
Joined: Mon Sep 14, 2009 5:08 pm

CUDA = chunky video?

Post by DarioD » Sun Nov 14, 2010 4:48 am

Hi, all. :)
Whenever I encode with the CUDA encoder, the video comes out chunky, no matter what my H.264 settings are. Am I doing something wrong? It's as if CUDA is getting its settings from somewhere else.

(my video card is the nVidia GTX 260)
Thanks!
Last edited by DarioD on Wed Nov 24, 2010 10:49 am, edited 2 times in total.

DarioD
Amateur
Amateur
Posts: 13
Joined: Mon Sep 14, 2009 5:08 pm

Re: CUDA = chunky video?

Post by DarioD » Wed Nov 24, 2010 10:48 am

Anyone?

rosenhauer
Beginner
Beginner
Posts: 1
Joined: Fri Dec 31, 2010 3:26 am

Re: CUDA = chunky video?

Post by rosenhauer » Fri Dec 31, 2010 3:30 am

It seems that when using CUDA it ignores the "Video" settings and just does some low quality default setting.

So until this is fixed CUDA is worthless for me.

Jamesbond007
Amateur
Amateur
Posts: 12
Joined: Sun Nov 29, 2009 9:57 pm

Re: CUDA = chunky video?

Post by Jamesbond007 » Thu Apr 07, 2011 9:45 pm

I just installed Mediacoder 2011 R1 5100 on a system using Intel Core 2 Quad Q9550 and a GTS450 video card and tested the conversion of a 720p MKV file to MP4 using CUDA and x264 encoders (CPU). It is quite obvious to me that even though using CUDA used just one quarter of time to convert the video file versus using CPU (9 minutes vs 36 minutes), the quality of the video converted using CUDA was noticeably worse than that converted using CPU.

Although this is to be expected given what I have read elsewhere about tests done on CUDA vs CPU encoding, it is still disappointing when I saw the result in person.

I will test again later after my planned upgrade to Sandy Bridge later this year as Mediacoder 2011 apparently already supported using Quick Sync. I shall see if Quick Sync will give faster encoding speeds without suffering from the quality problems with CUDA encoding now.

AnonCrow
Modest
Modest
Posts: 136
Joined: Tue Aug 04, 2009 9:36 pm

Re: CUDA = chunky video?

Post by AnonCrow » Thu Apr 07, 2011 11:23 pm

To really change the quality of CUDA encodes, I find that one needs to go to CUDA advanced options and enter the desired QP levels for I/P/B frames there -
something like 16/18/22 for high bitrates , upto maybe 25/28/31 for low bitrates (barely acceptable quality)

kwreid
Beginner
Beginner
Posts: 9
Joined: Sat Jun 13, 2009 1:50 pm

Re: CUDA = chunky video?

Post by kwreid » Mon Apr 18, 2011 5:23 pm

This is a regression from the previous build.

I was using the iPod 64bit version build 5016 and updated to 5100 and I noticed the same effect when using CUDA. Using my previous version I had no such quality issues.

DarioD
Amateur
Amateur
Posts: 13
Joined: Mon Sep 14, 2009 5:08 pm

Re: CUDA = chunky video?

Post by DarioD » Mon Jun 18, 2012 7:31 pm

[thread resurrection] Is a fix for this on the way? :) I'd really like to encode via CUDA.
AnonCrow wrote:To really change the quality of CUDA encodes, I find that one needs to go to CUDA advanced options and enter the desired QP levels for I/P/B frames there -
something like 16/18/22 for high bitrates , upto maybe 25/28/31 for low bitrates (barely acceptable quality)
Thanks, but everything comes out the same. :( I'm clicking "Save" after changing the numbers, and trying random other ones as well. Am I missing something? Encoding Preset = Custom, and Bitstream Profile = Baseline.

AnonCrow
Modest
Modest
Posts: 136
Joined: Tue Aug 04, 2009 9:36 pm

Re: CUDA = chunky video?

Post by AnonCrow » Mon Jun 18, 2012 8:39 pm

DarioD wrote:[thread resurrection] Is a fix for this on the way? :) I'd really like to encode via CUDA.
Encoding Preset = Custom, and Bitstream Profile = Baseline.
At least use Main or High profile instead of Baseline.
Dynamic GOP, Cabac and most importantly deblocking enabled ?
IDR period ? 15 is really the minimum, 10-20 times your FPS could be better, unless you need a short keyint for compatibility reasons (blu-ray).
How many B-frames (2-5 would be reasonable, 8 for animated video, anything over 10 is an overkill) ?
Try some extreme QP values; like 1 for all three.
What's the mediainfo detailed info , bitrate, fps, resolution like on an encoded video ?

DarioD
Amateur
Amateur
Posts: 13
Joined: Mon Sep 14, 2009 5:08 pm

Re: CUDA = chunky video?

Post by DarioD » Mon Jun 18, 2012 9:37 pm

Woot, it all started working as soon as I increased the IDR period. :D (MediaCoder's regular Video Bitrate slider also affects quality again.) Thanks a lot!

Update: Actually, the IDR setting 200,000 seems to give the least "trail" behind moving objects, at least in 720p, 60fps videos encoded at super low-quality. :D (In high-quality renders, it's almost impossible to tell the difference between any settings.)
Update 2: ...and it makes occasional blotches on faces. :D Well, back down to 300, which seems like the best balance for these particular clips, right now.

AnonCrow
Modest
Modest
Posts: 136
Joined: Tue Aug 04, 2009 9:36 pm

Re: CUDA = chunky video?

Post by AnonCrow » Mon Jun 18, 2012 10:27 pm

DarioD wrote:Update: Actually, the IDR setting 200,000 seems to give the least "trail" behind moving objects, at least in 720p, 60fps videos encoded at super low-quality.
A 200k keyint is crazy, with 60 fps material that would mean only one keyframe about every 55 and a half minutes.

Post Reply