Author Topic: Suggestions on Settings  (Read 5623 times)

anand

  • Newbie
  • *
  • Posts: 2
Suggestions on Settings
« on: July 14, 2012, 04:02:26 AM »
Hi Guys,

I'm new to Avidemux, and read the documentation for Mpeg-4 AVC, trying to figure out the best settings. I have a video to upsize, with original video details as follows:

General
Complete name                    : C:\Documents and Settings\Owner\Desktop\video.flv
Format                                  : Flash Video
File size                                : 42.7 MiB
Duration                               : 20mn 45s
Overall bit rate                     : 287 Kbps


Video
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L5.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 9 frames
Codec ID                                 : 7
Duration                                 : 20mn 45s
Bit rate                                 : 245 Kbps
Width                                    : 512 pixels
Height                                   : 290 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 15.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.110
Stream size                              : 37.4 MiB (88%)

Audio
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : HE-AAC / LC
Codec ID                                 : 10
Duration                                 : 20mn 45s
Bit rate                                 : 31.6 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 44.1 KHz / 22.05 KHz
Compression mode                         : Lossy
Stream size                              : 5.09 MiB (12%)

Settings applied are as follows:

Video: MPEG-4 AVC
Rate Control: CRF Single Pass, High Quality: 0
Maximum Constant Rate Factor: 1
Fast First Pass: DESELECTED
Frametype Lookahead: 61 Frames

Motion Estimation Method: Uneven Multi Hexagonal
Subpixel Refinement: 10
Maximum Motion Vector Search Range: 64
Loop Filter Strength 5, Threshold 6
Maximum Frame Reference: 16
Maximum Consecutive B Frames: 6
Adaptive B Frame Decision: Optimal

Analysis Trellis Quantization: Always On
Psychovisual Rate Distortion Optimisation: 10.00
Psychovisual Trellis: 10.00
Noise Reduction: 200

Quantizer Curve Compression: 60%
Variance AQ: Autovarian AQ
Strength: 1.50

Filters
Resample fps: 30.00, Blend 1
Mplayer Resize: 512 x 290 -> 720 x 408 (Bilinear)
Forced Postprocessing: Filter Strength 5, Quantizer 20
Mplayer eq2: Contrast 1.19, Saturation 1.05
Fluxsmooth: Spatial 255, Temporal 255

Audio
AC3 Aften
Resampling: 48000
Dynamic Range Compression: Selected

Format: MKV

The video is located here: https://www.youtube.com/watch?v=ZPcKgWhHTN0
This is the video with the above settings.

I've tried my best to read the documentation and tweak whatever setting i could think of, but i'm still getting some nasty blocks, and cant seem to get the video quality just right.

Would appreciate any advise from the experts here. I know the settings above seem quite overboard, please do advise what i should do.

Thank you








Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
Re: Suggestions on Settings
« Reply #1 on: July 14, 2012, 07:37:13 AM »
Check the worst parts in VLC with original video in full screen. If the artifacts show there, there is no way this will disappear with upscaling. The limitations are: you never get video better then its source. Magic has its limitations.
If the original does not has these artifacts, that you blow up in upscaling. Make test video with these affected parts and test with these to improve the upscaling.
Setting a quality greater then the original source makes no sense. The quality loss is already there and will not improve.
Use preview window, it might give you indication of what you will get.
In short upscaling dvd to blu-ray use quality settings of the dvd, if web based video use these quality settings.
You are nearly doubling picture size and frames (creating images in between from image before and image after). The less info is available, the more difficult it becomes to have this image computed.
There are no universal settings, try default settings, see what it produces.
Try to find better source material to start with, if this exists.

Just my idea(s)
« Last Edit: July 14, 2012, 07:38:54 AM by Jan Gruuthuse »

anand

  • Newbie
  • *
  • Posts: 2
Re: Suggestions on Settings
« Reply #2 on: July 16, 2012, 02:42:50 AM »
Hello Jan,

Thank you for replying to the post. I will try what you have suggested.