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. |
![]() |
#1 | Link |
Registered User
Join Date: Aug 2013
Posts: 2
|
Avisynth + MeGUI 1080p to 720p 4:2:2 10bit
Hello
![]() I have some anime series with a lot of red color in 1080p, some are 10bit. I want to re-encode them to 720p in 4:2:2 10bit. In other encodes i used dfttest() and aSharp(). aSharp work only on YV12 luma. dfttest is very slow, but i like them both ![]() My AviSynth script is very simple. Code:
LoadPlugin("asharp.dll") LoadPlugin("dfttest.dll") <input> dfttest(sigma=24) ConvertToYV12() aSharp(1,2,-1) Lanczos4Resize(1280,720) Code:
FFVideoSource(input.mkv,fpsnum=60000,fpsden=1001) #Convert to Stack16 for processing Dither_convert_8_to_16() #Convert to 4:2:2 (if interlaced, SeperateFields and Weave must be used) #SeparateFields() w = Width()/2 h = Height()/2 u = UToY8().Dither_resize16(w, h, kernel="spline36", src_left=0, u=1, v=1) v = VToY8().Dither_resize16(w, h, kernel="spline36", src_left=0, u=1, v=1) YToUV(u, v, last) #Weave() #Convert to 10-bit and output Dither_quantize(10,reducerange=true) Dither_out() #Example command to save as v210 MOV for BM Shuttle playback #avs2yuv -raw -csp I422 output.avs - | ffmpeg -y -f rawvideo -pix_fmt yuv422p10le -s widthxheight -r framerate -i - -c:v v210 output.mov #For testing only (8-bit output) #DitherPost() (sorry if my english is bad) |
![]() |
![]() |
#3 | Link |
Registered User
Join Date: Aug 2013
Posts: 2
|
[link removed]
![]() Every sunrise, sunset and every red/orange/purple/pink haired character looks ugly. Edges near red are blocky. For example TTGL pic (Kamina's eyes, Simon's glasses, Yoko's bikini) This one looks terrible pic and pic pic pic pic (720p DHTV) HOTD this one looks ugly pic but this one is from the same file and looks normal pic Last edited by Guest; 15th May 2014 at 01:17. |
![]() |
![]() |
Tags |
avisynth, megui, x264, yuy2, yv12 |
Thread Tools | Search this Thread |
Display Modes | |
|
|