2009-01-26, 03:16 | Link #242 | |
Slower Than You
|
Quote:
When it comes to resizing, generally one of the spline or lanczos filters are the best, every encoder has their own preferance as a default (mine is spline36) but read up on the different filters and how the 'numbers' effect sharpness. If you're going for a wmv transcode though, resizing isn't really needed. E~ Last edited by Emess; 2009-01-26 at 03:19. Reason: forgot something~ |
|
2009-02-07, 18:55 | Link #244 |
Fansubber
|
I am encoding using AviSynth with meGUI, using two filters said to work well with anime. I used the preset x264: DVXA-SD-Anime_Toons HQ.
My AVS script looks like this: DirectShowSource("E:\Cooking Master boy\OP ED\[Cooking.Master.Boy][ED3][DVDRip][XviD.MP3](D001A18B).avi", fps=23.976, audio=true) toon() deen() The problem is, the results I'm getting from encoding does not match the preview I get when I load it into meGUI. It's as if the filters aren't being applied at all. Let me illustrate: This is the original video Spoiler:
Spoiler:
Spoiler:
What should I do? |
2009-02-07, 21:49 | Link #248 |
Fansubber
|
This is the DXVA-SD Anime_Toons HQ preset that I was using. It is indeed x264.
program --pass 2 --bitrate 1000 --stats ".stats" --level 3.1 --ref 8 --mixed-refs --bframes 3 --b-adapt 2 --direct auto --deblock 1:1 --subme 7 --trellis 2 --psy-rd 0.6:0 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --vbv-bufsize 14000 --vbv-maxrate 17500 --me umh --threads auto --thread-input --aq-mode 0 --progress --no-psnr --no-ssim --output "output" "input" In the last picture I posted, I set bitrate to 10000. I tested other filters in AviSynth that flip video horizontally, vertically, and play it in reverse. It works just as previewed. I have no idea why the AviSynth preview does not match the desired effects for the external filters (deen and toon). |
2009-02-07, 21:57 | Link #249 |
makes no files now
Join Date: May 2006
|
Some notes on the settings:
1) You could raise bframes, even to 16 (but something like 7-12 might be a sweet spot) 2) Raising reference frames to 10-12 wouldn't hurt either 3) subme 8 is a good idea too 4) Turning on aq might help, but always check with your own eyes 5) --partitions all Oh wait... do you really need DXVA compatibility (I get the feeling that doing the above is bound to break it in some way...)? :/ I'm not really sure what the problem could be with the second mentioned thing. I would suggest opening the script in a proper program, like VirtualDub or AvsP, to see whether it actually works. I myself haven't used MeGUI for ages now, so can't tell you whether it could be a bug or is just a matter of "you're doing it wrong". Maybe somebody else will be able to help you more in this matter.
__________________
|
2009-02-08, 05:40 | Link #252 |
Fansubber
|
@daiz:
Thanks for your recommendations. I'm afraid most of those settings is greek to me, which is precisely why I was using presets to begin with . @checkers: I do believe it was "said" circa 2004 or 2005 Those two functions took a lot of tracking down of filters and scripts. Avisynth at its current is sure unfriendly to noobs like me! At any rate, I will try one last time with meGUI, using the script settings you recommended. I used a preset called "Unrestricted 2pass Anime_Toons HQ". I didn't know what DVXA meant, actually, and was just doing it based on the default recommendations on the Doom9 forum. For your reference, the command line was: program --pass 2 --bitrate 1000 --stats ".stats" --ref 8 --mixed-refs --bframes 16 --b-pyramid --direct auto --deblock 1:1 --subme 7 --trellis 2 --psy-rd 0.6:0 --partitions all --8x8dct --me umh --threads auto --thread-input --aq-mode 0 --progress --no-psnr --no-ssim --output "output" "input" Spoiler for The preview looks like this::
Spoiler for The encoded file looks like this::
Which plainly shows that the external filters aren't having any effect. Perhaps I'm doing this the wrong way, or meGUI is doing this the wrong way. In any case, I'd like to test this with Virtualdub and see if avisynth is to blame. Could anyone possibly point me to a tutorial where AviSynth is used in conjunction with Virtualdub, as I have never done that before. Thanks, everyone. |
2009-02-08, 06:11 | Link #253 |
Part 8
IT Support
|
the problem is probably your renderer. I'm guessing that MPC is using something that works in a retarded way on your system (read: VMR*). Try changing it.
|
2009-02-08, 07:07 | Link #255 |
~Buri Buri!~
Fansubber
Join Date: Aug 2008
|
I want to burn an animated logo into a video file. My first problem is that when I open this script in VirtualDub (for testing purposes, I actually encode my videos in H.264 with MeGUI):
video = DirectShowSource("opening.avi").ConvertToRGB32 logo = ImageSource("%04d.png", start=1, end=9, fps=2,pixel_type = "rgb32") logo = ChangeFPS(logo, 29) Layer(video, logo, x=600, y=0) And I see the video opening, and the logo displays, but it only shows one image from the sequence. The images are from 0001.png to 0009.png (will increase in number as I use those 9 images just for testing). I am converting to RGB32 because the logo requires some transparency areas, so there will be no problem converting it back to YV12 (by the way, does it affect the video size if the video is in RGB32?) in VirtualDub, but what about MeGui, where I cannot do this, should I put an ConvertToYV12() at the bottom of the script? Will this affect the transparency of the logo? Thank-you in advance |
2009-02-08, 09:42 | Link #256 | ||
Excessively jovial fellow
Join Date: Dec 2005
Location: ISDB-T
Age: 37
|
Quote:
Quote:
no, you should never convert the base video to rgb32 to begin with so it shouldn't be necessary no
__________________
|
||
2009-02-11, 10:56 | Link #258 |
~Buri Buri!~
Fansubber
Join Date: Aug 2008
|
Started a thread of Doom9, and got it fixed, for anybody interested: http://forum.doom9.org/showthread.php?p=1248185
Also, was wondering if I can fix those "ghosts" in some of my videos, apparently the video was poorly encoded (not by me), and I don't have the source DVD or whatever Here is an example: Spoiler for :
Also, what should I do to fix those bouncing up and down videos? (they quite appear on older anime shows) This next shot from another video file shows that the video is a little bit fuzzy, any suggestions to improve sharpness? Also, any other suggestions? (just to improve the quality of the video) Spoiler for :
|
2009-02-11, 12:26 | Link #259 | ||
makes no files now
Join Date: May 2006
|
Quote:
Quote:
It looks sharp enough to me, actually even too sharp, but that is often subjective. If you really want to sharpen take a look at the WarpSharp package, and LimitedSharpenFaster which people seem to praise quite a lot.
__________________
|
||
2009-02-12, 10:20 | Link #260 | ||
~Buri Buri!~
Fansubber
Join Date: Aug 2008
|
Thank you for the reply
Quote:
Quote:
It seems that sharpening it didn't help solving the problem. If you would take a closer look to the two girls, at their sweat drops more precisely, you can see that the image is quite fuzzy in that area, and in other places it is too sharp, also, the colours seem to be wrong, any suggestions? |
||
Thread Tools | |
|
|