Log in

View Full Version : pls help me to improve


rpsh
18th August 2012, 05:49
am riping a dvd now.....
but facing som quality issues.......
check my sample and codec details.......

General
Format : Matroska
File size : 1.95 GiB
Duration : 3h 5mn
Overall bit rate : 1 506 Kbps
Encoded date : UTC 2012-08-18 01:40:31
Writing application : mkvmerge v5.6.0 ('Kenya Kane') built on May 27 2012 16:44:04
Writing library : libebml v1.2.3 + libmatroska v1.3.0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.0
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 3h 5mn
Nominal bit rate : 1 308 Kbps
Width : 720 pixels
Height : 352 pixels
Display aspect ratio : 2.045
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.172
Writing library : x264 core 125 r2200 999b753
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=300 / keyint_min=29 / scenecut=40 / intra_refresh=0 / rc=2pass / mbtree=0 / bitrate=1308 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00
Language : English

when it comes to close up shots ......d quality is perfect.......but in long shots......der is a loss of sharpness n quality......


closeups
http://img812.imageshack.us/img812/215/vlcsnap00011nz.th.png (http://img812.imageshack.us/i/vlcsnap00011nz.png/)

long shots
http://img854.imageshack.us/img854/8648/vlcsnap00015yn.png (http://imageshack.us/photo/my-images/854/vlcsnap00015yn.png/)

LoRd_MuldeR
18th August 2012, 15:42
Nobody will be able to help you, unless you describe what exactly is your goal and what exactly you tried so far!

For example what: What tools did you use? Why filters did you apply? Why are you re-encoding at all?

BTW: You could simply rip your DVD to an ISO file or an MKV file without re-encoding, which would give you the best possible quality...

poisondeathray
18th August 2012, 16:43
Frame rate : 29.970 fps


maybe you're deinterlacing it ? that would explain loss in sharpness and quality

hello_hello
18th August 2012, 19:52
You appear to be resizing "down" when encoding. DVDs don't use square pixels, so if you encode using square pixels (as you've done) the video needs to be re sized.

There's basically two ways to do it. A 16:9 NTSC DVD has a 720x480 resolution but displays as 16:9, which gives it a display aspect ratio, when converted to square pixels, of 854x480. That's resizing by increasing the width without reducing the height. The alternative, which is the way you've done it, would be to keep the original width (720) while reducing the height, so you'd end up with 720x404. Naturally the second method has the potential to lose you some detail because you've reduced the vertical resolution from 480 pixels to 404.

The third way, which is the way I do it (it's referred to as anamorphic encoding), is to encode using the same resolution as the DVD (720x480) while setting the aspect ratio to 16:9 (same as the original DVD). The video is re-sized to 854x480 on playback (same as the original DVD), but whether you encode that way would depend on the player you're using and whether it'll display the video correctly.

In your example above the black bars were removed when encoding, but the same principle applies. I think if you'd re-sized by increasing the width rather than by reducing the height, you'd have ended up with something like 854x416 instead of 720x352.

Also, while the bitrate seems adequate for the resolution, you might be better off using a quality based method of encoding rather than picking a bitrate or file size. A CRF value of around 18 to 20 should give you very good results.

manono
19th August 2012, 09:26
Yeah, movies aren't 29.97fps. We haven't seen your script. You're starting with Indian garbage DVDs (aren't you?) and the output quality will never be any good anyway. Even your close-up picture looks like smoothed over mush to me. You said to check your sample, but pictures aren't samples. A short ten second sample from the source (one with steady movement) and another from the output (and from the same section) would be much better.