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. |
![]() |
#21 | Link | |
Banned
Join Date: Feb 2009
Posts: 136
|
Quote:
|
|
![]() |
![]() |
#22 | Link |
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Yes, I took your "original.png" frame, loaded it up + did YV12 conversion and resize to 720x480 DVD dimensions. Then I processed it with my script.
Edit: I made an edit two or three times, check my post once more and you'll see the full script.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
![]() |
![]() |
#23 | Link | |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,393
|
Quote:
So, what you are finding is that after encoding with x264 you have detail loss compared to the not-encoded upscaled source. Congratulations for finding that encoding with a lossy codec may cause losses. Not a problem with Avisynth's resizers.
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
|
![]() |
![]() |
#24 | Link |
Banned
Join Date: Feb 2009
Posts: 136
|
... Did I not just say "without the resize in place, with purely the h264 encode, the problem isn't as prominent and just as much is removed as in the encode of the other guy that I showed. The little bit removed by the h264 isn't the problem."? If you're going to be a smart-ass, then don't respond at all. The x264 codec didn't create any problems. It is only after the video is processed with the resize that the problem occurs.
|
![]() |
![]() |
#26 | Link |
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
What Didee is pointing out is that it's pointless to resize before encoding unless you're doing it in a smart way (See my script before: NNEDI is -MUCH- better for upscaling anime than any built in resizer.) Only reason you should upscale is if you're planning on doing high quality upconvert, like NNEDI, which is too slow for real time.
Edit: By the way for that script you need: NNEDI, Toon, aWarpSharp, LimitedSharpenFaster (and MaskTools, RemoveGrain), AAA, and dfttest.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. Last edited by Sagekilla; 15th February 2009 at 23:00. |
![]() |
![]() |
#27 | Link | |
Banned
Join Date: Feb 2009
Posts: 136
|
Quote:
|
|
![]() |
![]() |
#28 | Link |
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
If you read what I said, I'm saying doing a straight resize (MPEG2Source("...").Spline16Resize(1360,768)) is pointless. Unless you do processing, keep it at 720x480. If you use the script I posted, which actually cleans it up and does a proper resize, then yes it is worthwhile. But if you're doing 720x480 --> 1360x768, don't even bother. You're just wasting bits.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
![]() |
![]() |
#29 | Link | |
Banned
Join Date: Feb 2009
Posts: 136
|
Quote:
|
|
![]() |
![]() |
#30 | Link |
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
This page should help: http://avisynth.org/warpenterprises/
I listed necessary plugins in my post a few clicks up.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
![]() |
![]() |
#31 | Link | |
Banned
Join Date: Feb 2009
Posts: 136
|
Quote:
|
|
![]() |
![]() |
#32 | Link | |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,393
|
Quote:
Puzzling together: Picture#1: DVD source 720x480, resized to 1360x768 in mpc Picture#2: DVD source 720x480 -> encoded @ 720x480 by x264vfw, single pass @ 3000kbps -> resized to 1360x768 in mpc Picture#3: DVD source 720x480 -> resized to 1360x768 in Vdub -> encoded @ 1360x768 by x264vfw, single pass @ 3000kbps -> displayed in mpc Picture#4: DVD source 720x480 -> resized to 1360x768 in Avisynth -> encoded @ 1360x768 by x264vfw, single pass @ 3000kbps -> displayed in mpc Reason why #2 looks better than #3 and #4: The upscales #3 and #4 have three times as much pixels as #2. With 3000kbüs, x264 can retain much more detail when encoding the 720x480 source. When encoding the upscales at 3000kbps, more detail is lost because of the lower relative bitrate. There're more points when compairing #3 and #4 ... Vdub's default for bicubic resize is 0.0/0.75 ("sharp"), default for Avisynth's bicubicresize is 0.33/0.33 ("soft"), which will surely affect the result. Moreso since Vdub's resize/encoding chain involves colorspace conversions. Moreso since the settings of x264 are unknown. Endso for thy tone killed my mood.
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) Last edited by Didée; 15th February 2009 at 23:59. |
|
![]() |
![]() |
#33 | Link | |
Banned
Join Date: Feb 2009
Posts: 136
|
Quote:
And thanks, I have a better understanding now of the differences between VDubMod and AVISynth in terms of the bicubic resize. The rest I sorta figured. I'm going to try with a really high bitrate and see what happens. By what you said, it also makes sense now how filtering can help the resize. I guess I'll figure something out. And yeah, sorry for the previous message but you sorta deserved it. You indirectly called me an idiot for no reason... But whatever, doesn't matter. Thanks for the info. |
|
![]() |
![]() |
#34 | Link | |
Didée Fan
Join Date: Feb 2006
Location: Canada
Posts: 1,079
|
Quote:
|
|
![]() |
![]() |
#36 | Link | |
Didée Fan
Join Date: Feb 2006
Location: Canada
Posts: 1,079
|
Quote:
It has a hidden pattern in the moving part. This hidden pattern is revealed by efficient use of resizing and sharpening. It has a ntsc and pal, and progressive and interlaced version. Try barious encodes and see which method you try gives you results you like! ![]() |
|
![]() |
![]() |
#39 | Link | |
Registered User
Join Date: Dec 2002
Location: UK
Posts: 1,673
|
Quote:
![]() btw, a "fair" test would be something like const. quality VBR - or just checking the output of AVIsynth in Vdub before encoding to find out where the problem is. EEDI2 or NNEDI can make great upsizers for animation. With "simple" line drawing style like that, you might be able to get it so good that a casual viewer thinks it started out in HD. Cheers, David. |
|
![]() |
![]() |
#40 | Link | |
Banned
Join Date: Feb 2009
Posts: 136
|
Quote:
Umm, but I dunno, I think that the test I did is fair enough. What I can try doing is encoding it with the resize, but now, with a lossless codec. That should prove that the problem is the resize if the issue remains right? But even so, if there ends up not being a problem that way, the issue would be the combination of the resize and the x264 codec, not just the codec itself - considering that the codec itself doesn't create the issue. |
|
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|