VideoHelp Forum
+ Reply to Thread
Results 1 to 13 of 13
Thread
  1. I want to resize a 720p video ( Anime ) to 480p, but the output gets pixelated ( some kind of blocks ).
    Can anyone help me with this?
    What i did was, simply change the height and width values ( 1280x720 » 848x480 DAR 1.767 )


    Ps : I'm using meGUI
    Quote Quote  
  2. Use more bitrate?
    Quote Quote  
  3. The source (1280x720) Overall bitrate is 1808kbps, and i'm using 1000kbps(848x480). Is that the problem ?
    Btw, the source is h264, and i'm using lanczos4 (sharp) to resize.
    Quote Quote  
  4. Does the source have problems already ? like noise or macroblocking ?

    Try using a higher bitrate as suggested , or use some denoising filters to lower your bitrate requirement , or use a softer resize (sharp, detailed content will require more bitrate)

    What encoding settings ?

    Why the arbitrary 1000kbps ? Do you need a specific filesize ?
    Quote Quote  
  5. No problems with the source. ( see the attachments )
    My encoding settings are :

    program --preset fast --pass 2 --bitrate 1000 --stats ".stats" --deblock 2:2 --bframes 6 --b-adapt 2 --b-pyramid strict --ref 8 --qpstep 7 --ipratio 1.0 --pbratio 1.0 --ratetol 2.0 --rc-lookahead 40 --aq-strength 1.5 --merange 32 --me umh --direct temporal --nr 500 --subme 7 --partitions all --psy-rd 0.80:0 --output "output" "input"

    I don't want a file bigger than 250/280mb. Only bigger if it's really necessary.
    Any recommendation for the denoising filter ?

    Ps: I'm not using ffdshowdecoder on encode
    Image Attached Thumbnails Click image for larger version

Name:	Output file.png
Views:	314
Size:	265.1 KB
ID:	2816  

    Click image for larger version

Name:	Video Source.png
Views:	315
Size:	478.2 KB
ID:	2817  

    Last edited by Enkidu; 27th Jul 2010 at 10:05.
    Quote Quote  
  6. This looks like corruption , or you disabled deblocking (in the decoder), or a weightp error

    What software and decoder are you using for playback and to take screenshots ?

    Did you disable deblocking in the decoder ?

    What happens if you play the output file in another player eg. mpchc, smplayer ?

    Where does the "blocking" occur? every frame? or only on dark scenes ?
    Quote Quote  
  7. Those are encoding or decoding errors, not bitrate problems.
    Quote Quote  
  8. This screenshots were taken on VLC Player. I have CCCP as decoder.
    If i play the file on mpchc i get the same quality.
    The blocking is only on dark scenes, and high motion scenes. (sometimes but very rare on bright scenes)

    Ps: currently uninstalling all codecs, and installing only cccp and core avc
    Quote Quote  
  9. If you are using coreavc, make sure it's v2.0 or newer, there is a documented bug with weightp that causes very similar errors to that screenshot above

    What version of x264.exe ?

    If you try --weightp 0 , do you still get the errors in the encode ?

    For trouble shooting for now , I would reduce the qpstep (the quantizer might be making too large of a jump), and not use the nr for x264 (better filters in avisynth anyways)

    If you still can't get it sorted out after sorting out your codecs/decoders , post a sample of the source, smallest possible that can replicate those errors with your given settings
    Quote Quote  
  10. I will try with that settings and tell you the results.
    Can i use this denoising filter instead of the x264 nr ? #DeGrainMedian(limitY=2,limitUV=3,mode=1)
    I'm using MEgui 3.0.5
    Quote Quote  
  11. For now, during troubleshooting, I wouldn't use any denoising filter. These errors are serious , and you want to not confound your analysis with other variables. Once you get it sorted out, then you could tweak your settings/filters. I didn't mention above, but it could also be hardware issue. I've seen this corruption with a bad memory stick , and unstable overclock before too. If your system is overclocked, reset to default for now.

    What version of x264.exe are you using? If it's not current update it from x264.nl

    Also post your avs script

    If you can, encoding only small sections that consistenly give you reproducible errors , so you don't waste time. You could use Trim() in your script for example, to encode a section , until you figure out what's going on

    I'm using MEgui 3.0.5
    Use something newer. 0.3.5.6 is current as of today . Your x264.exe version might be outdated as well - there are frequent releases that fix lots of issues.
    Last edited by poisondeathray; 27th Jul 2010 at 11:30.
    Quote Quote  
  12. If you're using DXVA decoding be sure to use DXVA compatible settings when you encode.
    Quote Quote  
  13. Problem is solved .

    This was the changes i made :

    1 - Update x264
    2 - weightp 0
    3 - qpstep 4

    My Avs script :

    DirectShowSource("D:\Azureus\[Zero-Raws] Seikimatsu Occult Gakuin - 01 RAW (TX 1280x720 x264 AAC).mkv", fps=23.976, audio=false, convertfps=true)
    #deinterlace
    #crop
    Spline36Resize(848,480) # Spline36 (Neutral)
    #denoise

    My encoding settings :

    program --preset fast --pass 2 --bitrate 1200 --stats ".stats" --deblock 2:2 --bframes 6 --b-adapt 2 --b-pyramid strict --ref 8 --weightp 0 --ipratio 1.0 --pbratio 1.0 --ratetol 2.0 --rc-lookahead 40 --aq-strength 1.5 --merange 32 --me umh --direct temporal --subme 7 --partitions all --psy-rd 0.80:0 --output "output" "input"



    Thanks for all your help ;D
    Image Attached Thumbnails Click image for larger version

Name:	Test 1.mkv_snapshot_00.01_[2010.07.27_20.16.24].jpg
Views:	380
Size:	25.8 KB
ID:	2827  

    Click image for larger version

Name:	Test 1.jpg
Views:	363
Size:	168.3 KB
ID:	2828  

    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!