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.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264
Register FAQ Today's Posts Search

Reply
 
Thread Tools Search this Thread
Old 6th August 2006, 17:28   #1  |  Link
Shinn Asuka
Registered User
 
Join Date: Jan 2006
Posts: 2
need some help on getting better quality

im trying to c if i can get better quality on this cs:source clip. I'm using megui with HQ-Insane video profile and 3000 bitrate but it doesn't seem like the best i can do. I tried 5000 bitrate and it is about the same quality. Here's the clip.

http://rapidshare.de/files/28415205/x264.mp4.html

So i want to know what can i do to get perfect or better quality. Thx in advance ^_^
Shinn Asuka is offline   Reply With Quote
Old 6th August 2006, 22:05   #2  |  Link
Bumsfalara
Registered User
 
Join Date: Dec 2005
Posts: 5
What about the original uncompressed Video file?
__________________
German Boy -> Bad English :stupid:
Bumsfalara is offline   Reply With Quote
Old 7th August 2006, 00:23   #3  |  Link
BlackSharkfr
Registered User
 
Join Date: Dec 2005
Posts: 133
Let's see what the file says...
Quote:
core 49 svn-551M - H.264/MPEG-4 AVC codec - Copyleft 2005 - http://www.videolan.org/x264.html - options: cabac=1 ref=16 deblock=1:-2:-2 analyse=0x3:0x133 me=umh subme=7 brdo=1 mixed_ref=1 me_range=16 chroma_me=1 trellis=2 8x8dct=1 cqm=0 chroma_qp_offset=0 slices=2 nr=0 decimate=1 bframes=3 b_pyramid=1 b_adapt=1 b_bias=0 direct=3 wpredb=1 bime=1 keyint=250 keyint_min=25 scenecut=40 rc=2pass bitrate=3000 ratetol=1.0 rceq='blurCplx^(1-qComp)' qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 cplxblur=20.0 qblur=0.5 ip_ratio=1.40 pb_ratio=1.30
Try to check no-fast-pskip, i often have blocking with gaming footage if i don't use that option. i don't see anything else you could do...
You could also use a constant quality mode instead of bitrate ?
BlackSharkfr is offline   Reply With Quote
Old 7th August 2006, 01:24   #4  |  Link
Shinn Asuka
Registered User
 
Join Date: Jan 2006
Posts: 2
the uncompressed looks much better and BlackSharkfr i will try that asap
Shinn Asuka is offline   Reply With Quote
Old 7th August 2006, 01:53   #5  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 6,031
purely CG stuff - i.e. video game digital captures are hard to encode. The edges are too sharp, as most encoders are tuned for softer film or video. Add some noise and a bit of a blur, this will help things a lot.

Definatley check no fast p skip, and maybe try adaptive quantization (available in non SVN patched builds). This can help kill blocks even when you are saturating the codec with bitrate.

Also, try XviD with a good custom matrix.

My poor little P3-700 lappy cant handle your test clip for playback, but I can see the issues you are talking about when I scrub around.

Honestly it doesnt look too bad to me. I cant really tell, like I said, but again video game footage is a real bastard to get looking good.

You chose a good resolution, I think my suggestions may improve things.

Also, if you didn't know, a nice way to compare your source and encoded result (in an avisynth script):
Code:
a=directshowsource("source.avs")
b=directshowsource("result.mp4")
return stackVertical(a,b)
#or stackHorizontal(a,b) depending on the framesizes and your display resolution
I love this for real time comparisons.
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline   Reply With Quote
Old 8th August 2006, 11:40   #6  |  Link
alea35
Registered User
 
Join Date: Nov 2001
Posts: 22
could you please elaborate on adding noise and blur?
alea35 is offline   Reply With Quote
Old 11th August 2006, 08:05   #7  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 6,031
Sure!

To add noise, try addgrain - a google will send you to trbarry's site which has the dll and the documentation available.

To blur, the built in avisynth blur function is a basic way to go. Documentation on using this filter can be found in the AviSynth documentation.

I would imagine that adding grain after blurring would be preferable.

There may be other options that produce better results, but this is what I can think of off the top of my head

~MiSfit
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline   Reply With Quote
Old 11th August 2006, 09:25   #8  |  Link
foxyshadis
Angel of Night
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,549
Blur is ugly.

Capture, if possible, with the highest FSAA you can, that'll lessen the need to pound it with the blur() sledgehammer. Then try removegrain (mode 1 to 4, or 17) and/or DeGrainMedian, or one of the other denoisers on hard settings. That way you'll filter out most of the hard-to-see extra detail, and round the edges off so they aren't so hard on the codec. Visual quality should go way up. (You can also use the --nr setting in x264 to encode with, which works in a similar way.)

If you can't use FSAAx8, you'll need to use much stronger denoising to make up for it.
foxyshadis is offline   Reply With Quote
Old 11th August 2006, 20:59   #9  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 6,031
Great ideas. Running HL2 at 8xFSAA might not be practical, unless its a pre-recorded demo that can be re-rendered on demand.

How silly of me to not suggest RemoveGrain or DeGrainMedian. FFT3dgpu might be cool too, though that may be like killing a bug with a 500kt nuclear warhead...

~MiSfit
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline   Reply With Quote
Reply


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 23:12.


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