View Full Version : dvd to HD
fenomeno83
1st December 2006, 19:14
Can I get a better resolution from dvd(720x576)?For example frame from 720x576 to 1280x720!
I read this:http://www.thedeemon.com/VideoEnhancer/
Sharktooth
2nd December 2006, 03:30
you cant restore details if they were removed.
upsizing a video is not a good idea. what you see on that site is all marketing BS... and the picture examples are indeed fakes.
giandrea
2nd December 2006, 05:08
Can I get a better resolution from dvd(720x576)?For example frame from 720x576 to 1280x720!
I read this:http://www.thedeemon.com/VideoEnhancer/
Well, you can get a better playback quality of your PAL 720x576 video on an HD TV if you use some software scaler instead of the built in hardware scaler (your graphic card's, or your TV's).
For example MPlayer can use several software scalers, but this works during playback. Re-encoding a video at a higher resolution is something that you shouldn't do definitively!
I will give you an example command line for mplayer.
mplayer inputfile.mpg -vf scale=-2:720 -sws X
where X can be:
0 fast bilinear
1 bilinear
2 bicubic (good quality) (default)
3 experimental
4 nearest neighbor (bad quality)
5 area
6 luma bicubic / chroma bilinear
7 gauss
8 sincR
9 lanczos
10 natural bicubic spline
This will upscale your clips to 720p or 720i using the selected software scaler. You can see for yourself what is the best quality, but I recommend lanczos or bicubic spline (9 or 10).
fenomeno83
2nd December 2006, 10:29
I understand.but is there a real better quality?
foxyshadis
2nd December 2006, 11:12
Since most people can't play something resized to 1080p in realtime, it might make sense to encode. But it's more sensible to upscale partway and just let the video card deal with the rest, particularly if you're using a renderer that can use bicubic. If you have a high enough bitrate it actually does look much sharper; otherwise, all it does is highlight the artifacts more clearly.
Also spending 8-16 hours of encoding on a 2 hour movie you're only going to watch once a year really isn't the best use of one's time... not that it stops me, but I have I love of tweaking.
Sharktooth
2nd December 2006, 12:53
I understand.but is there a real better quality?
no...
KoD
2nd December 2006, 14:06
fenomeno83, if you take a small gif avatar like those from foxyshadis or Sharktooth and upsize it, do you think the upsized gif will have more detail than it originally had ?
That's the same with upsizing from 720x576 to whatever.
If you want a more elaborate explanation, study the law of thermodynamics. (interesting how everything is realted to physics, isn't it ?)
neuron2
2nd December 2006, 15:12
If you want a more elaborate explanation, study the law of thermodynamics.
Can you elaborate on that please? I don't see the connection.
Dust Signs
2nd December 2006, 15:51
I think he means that some processes are irreversible, p.e. removing details from a higher resolution video and shrinking it ;) I think that's the connection.
Dust Signs
giandrea
2nd December 2006, 16:07
I understand.but is there a real better quality?no...
Actually in a certain sense... yes.
If you are going to display your video on a high res display there will be upscaling at a certain point of the video chain. You can use a better scaler and get a better upscaled picture quality, but clearly you can't add back information to the picture.
Try using nearest neighbour and bicubic and see the difference, and you get what I mean...
If you need an example I can post pictures :)
fenomeno83
2nd December 2006, 19:33
post picture please
Sagittaire
2nd December 2006, 19:57
no...
no .... ???
1) Visual example 64*36@1024*576
Source with simple zoom:
http://multimediacom.free.fr/Video/Original.PNG
Source with high quality resize:
http://multimediacom.free.fr/Video/Interpolation.PNG
Source with high quality resize and pre-process:
http://multimediacom.free.fr/Video/PP.PNG
2) Metric example:
source A at 1920*1080
source B at 720*576
I make Resize 720*576@1920*1080 with pointresize (simple zoom) for source B and I make metric test with source A. I make Resize 720*576@1920*1080 with Lanszos or spline (high quality interpolation) for source B and I make metric test with source A. The metrics for Lanczos will always very better (by far) than pointresize.
3) Real encoding example with DVD source:
Classic DivX encoding at 640*352 (12500 Ko)
http://multimediacom.free.fr/Video/volver_DVDRipp_Classic.avi
Overesize H264 encoding at 1280*720 (12500 Ko)
http://multimediacom.free.fr/Video/volver_DVDRipp_720p.mp4
Overesize H264 HQ encoding at 1280*720 (30000 Ko)
http://multimediacom.free.fr/Video/volver_DVDRipp_720p_HQ.mp4
SeeMoreDigital
2nd December 2006, 20:01
Quite some time ago, Soulhunter experimented at generating 1024x576 (square pixel) MPEG-4 encodes from 720x576 (non square pixel) MPEG-2/DVD sources.
The perceived image quality was actually very good. Fast panning motion sequences did seem improved. So it would appear something in the viewers brain was being deceived, on a favourable basis.
That said, and as Sharktooth already pointed out, you can't create extra detail from an image once it's been removed (despite what you see on CSI). So re-sizing 720x576 sources to 1280x720, would not be worth the effort!
Cheers
giandrea
2nd December 2006, 21:51
I am considering a common case where I can see clearly the difference in the scaling algorithm. I won't consider 480p to 720p because most eyes won't notice the difference between the different scalers because the scaling factor is low. Instead I will consider a PAL CIF (352x288) image upscaled to 720p for an HD display.
I upscaled it with mplayer with all the software scalers.
The results are in this file (http://motoriweb.com/public/resize_comparison.zip). The number in the file names correspond to the software scaler according to this table:
0 fast bilinear
1 bilinear
2 bicubic (good quality) (default)
3 experimental
4 nearest neighbor (bad quality)
5 area
6 luma bicubic / chroma bilinear
7 gauss
8 sincR
9 lanczos
10 natural bicubic spline
You can see clearly wich is worst in quality (4.png nearest neighbor), and to my eyes the best algorithms are bicubic (2.png), lanczos (9.png) and bicubic spline (10.png).
sincR has some color distortion and strange artifacts...
Sagittaire
3rd December 2006, 14:21
Metric order with Avisynth:
pointresize
bilinearresize
bicubicresize
splineresize
lanczosresize
lanczos4 and spline36 done very similar metric result but spline36 done little more natural result for my eyes.
SeeMoreDigital
3rd December 2006, 14:29
Sagittaire,
With reference to your three "upscaled" images.... Where's your source image?
Sagittaire
3rd December 2006, 14:39
Sagittaire,
With reference to your three "upscaled" images.... Where's your source image?
Well it's very simple, first image is simple 64*36@1024*576 pointresize interpolation. If you want source you make reverse 1024*576@64*36 pointresize interpolation.
SeeMoreDigital
3rd December 2006, 15:02
Well it's very simple, first image is simple 64*36@1024*576 pointresize interpolation. If you want source you make reverse 1024*576@64*36 pointresize interpolation.You're missing the point!
You can't demonstrate the benefits of using up-scaling filters if you are not prepared to provide a source (starting point) image. People at the very least need to see a proper comparison with "before" and "after" images!
Sharktooth
3rd December 2006, 19:05
well... on black and white materials you can interpolate and get "some" results... on more complex frames you cant get back details if they're no longer there.
all you can get is a more pleasing look... but no improvement at all in details and however the standard DVD resolution is already enough to smooth out the pixels "squareness"...
examples:
http://www.webalice.it/f.corriga/resizetest/werewolf_orig.jpg - orignal image
http://www.webalice.it/f.corriga/resizetest/werewolf_small.jpg - sized down image
http://www.webalice.it/f.corriga/resizetest/werewolf_nn.jpg - nearest neighbor upsize
http://www.webalice.it/f.corriga/resizetest/werewolf_bl.jpg - bilinear upsize
http://www.webalice.it/f.corriga/resizetest/werewolf_bc.jpg - bicubic upsize
http://www.webalice.it/f.corriga/resizetest/werewolf_bcs.jpg - bicubic sharp upsize
none of the upszied image have more details than the small picture... and imho they dont even look better.
scharfis_brain
3rd December 2006, 19:22
if the source is blurred (typical for DVD) you only can fake detail and edge definition using some algorithms like EDI or ELA.
but for highly aliased sources you may percieve a big gain in resolution when taking previous and futur frames into the calculation:
http://home.arcor.de/scharfis_brain/samples/schock.png
Sharktooth
3rd December 2006, 19:28
yes, but this is not likely done in realtime...
what videoenhancer does seems just a sharp resizing... (probably lanczos4 or something).
but however you can get those kind of results only on very low resolutions sources.
DVD is already too "high-res" to spot the "smooth" upsizing effect unless you have a 200 inches TV and you're upsizing from 720x**** to 8192x****.
Sagittaire
3rd December 2006, 19:53
With high textured image if you want:
Source 1920*1080
http://multimediacom.free.fr/Video/image2_1920x1080.PNG
Source 720*576
http://multimediacom.free.fr/Video/image2_720x576.PNG
Source 720*576@1920*1080
http://multimediacom.free.fr/Video/image2_720x576@1920x1080.PNG
1920*1080@720*576@1920*1080 is simply like make blur for original source.
HD SAP or HD TV make always 720*576@1920*720 interpolation for SD source (like DVD).
High Quality interpolation is always better for eyes.
Sharktooth
3rd December 2006, 19:58
so, where's the gain in upsizing? it looks exactly the same to me and maybe more blurry than the original 720 source image...
the 1920 source is clearly much better than both 720 source and the upsized images.
SeeMoreDigital
3rd December 2006, 20:04
I don't understand which image is the source?
Sharktooth
3rd December 2006, 20:06
the source is the first image
it was sized down (image)
and then sized up (third image)
SeeMoreDigital
3rd December 2006, 20:14
the source is the first image
it was sized down (image)
and then sized up (third image)Well, in my opinion what Sagittaire is doing is a ridiculous way of going about things. And proves absolutely nothing!
The original poster was interested in up-scaling from 720x576 to 1280x720.
Come on Sag, if you want to prove your point, show us what you can do within the parameters of fenomeno83's original question?!
Sharktooth
3rd December 2006, 20:16
There's nothing to do unless you want to add artificial details.
giandrea
3rd December 2006, 20:24
none of the upszied image have more details than the small picture... and imho they dont even look better.
Certainly this is obvious. But I think that the question at this point is:
if I MUST upscale the image (because I'm going to show it full screen on an HDTV panel) what is the best method of upscaling?
Because that is what our friend fenomeno83, and anyone who is going to watch a DVD on an HDTV, must do: upscale. :)
Unless you are going to see your DVD at its original resolution with black borders all around to pad the frame size to your HDTV... O_O
Sagittaire
3rd December 2006, 20:43
so, where's the gain in upsizing? it looks exactly the same to me and maybe more blurry than the original 720 source image...
the 1920 source is clearly much better than both 720 source and the upsized images.
You are sure for that:
Source 1920*1080
http://multimediacom.free.fr/Video/image2_1920x1080.PNG
Source 720*576
http://multimediacom.free.fr/Video/image2_720x576.PNG
Source 720*576@1920*1080 simple zoom
http://multimediacom.free.fr/Video/image2_720x576@1920x1080_zoom.png
Source 720*576@1920*1080
http://multimediacom.free.fr/Video/image2_720x576@1920x1080.PNG
Well, in my opinion what Sagittaire is doing is a ridiculous way of going about things. And proves absolutely nothing!
The original poster was interested in up-scaling from 720x576 to 1280x720.
Come on Sag, if you want to prove your point, show us what you can do within the parameters of fenomeno83's original question?!
... lol
1) If you want make 720*576 encoding you must make 720*576 resizing with the master.
2) My example is simple spacial interpolation. For video like DVD, high quality SAP upscaler can use spatio-temporal interpolation with motion vector interpretation. I will make demo if you want ...
SeeMoreDigital
3rd December 2006, 20:56
I will make demo if you want ...It's not what I want... It's what the thread poster wants!
On a personal note. I'm able to scrutinise 720x576, 1280x720 and 1920x1080 still images or video on my high-def capable display!
Sagittaire
3rd December 2006, 21:13
The original poster was interested in up-scaling from 720x576 to 1280x720.
Can I get a better resolution from dvd(720x576)?For example frame from 720x576 to 1280x720!
I read this:http://www.thedeemon.com/VideoEnhancer/
YES ... !!!
Spatial interpolation is possible
Temporal interpolation is possible
Spatio-Temporal interpolation with MV interpretation will done really good result
Sharktooth
3rd December 2006, 21:34
bah.. i cant see those "very good" results.
if details were removed they're no longer there. you can interpolate but you cant reconstruct what's missing. Period.
And yes, im sure.. the first image looks better. Also the 720x picture looks better than the sized up images too coz one is "blocky" (due to the nearest neighbor resizing and pixels stretching) and the other is "blurry".
Sagittaire
3rd December 2006, 21:49
bah.. i cant see those "very good" results.
http://home.arcor.de/scharfis_brain/samples/schock.png
........... ?????
if details were removed they're no longer there. you can interpolate but you cant reconstruct what's missing. And yes, im sure.. the first image looks better. Also the 720x picture looks better than the sized up images too coz one is "blocky" (due to the nearest neighbor resizing) and the other is "blurry".
Well you see neighour resizing for SD TV (simply because there are ~720*576 pixels) and you see high quality resizing for HD TV upscaling.
Interpolation create better gradiant and done better PSNR (pixel by pixel comparison). You can use high quality pre-process like sharpenig too ...
demo with spacio-temporal interpolation in progress ...
Sharktooth
3rd December 2006, 22:02
once again that image is not a dvd resolution image...
also interpolation cant create better PSNR coz it alters its pixels.
scharfis_brain
3rd December 2006, 22:09
if a dvd resoluted image would be aliased that much, it would work the same.
shon3i
3rd December 2006, 23:40
I not want to compare two different things, but will be same if i use 44khz audio and upsample to 96khz, and add some haronics above 22khz in all channels, this file will be sound much better that 44khz, but real different than real 96khz source, and much whorse.
You can postprocess, audio and video and make this things, but that is very bad.
guada2
4th December 2006, 00:56
[QUOTE]once again that image is not a dvd resolution image...
also interpolation cant create better PSNR coz it alters its pixels.
True.
But, i have some questions.
- upscaling is not a "good idea", but why some materials use it today? (DVD to SD or DVD to HD or SD to HD)
- what chips are more interesting for a real upscaling?
Mustang / DCDi + or Mustang / SI
Bye.
Sagittaire
4th December 2006, 01:24
once again that image is not a dvd resolution image...
With DVD resolution if you want:
Simple zoom 720*576@1920*1080 pointresize (X4)
http://multimediacom.free.fr/Video/image2_720x576@1920x1080_Pointx4.png
High quality 720*576@1920*1024 interpolation (X4)
http://multimediacom.free.fr/Video/image2_720x576@1920x1080_Lanczosx4.png
Original source (X4)
http://multimediacom.free.fr/Video/image2_720x576@1920x1080_sourcex4.png
Speak about that will all SAP builder like Pionner, Denon, Sony, Philips ... with high quality upscaling.
also interpolation cant create better PSNR coz it alters its pixels.
It's false ... and it's really simple to prove that. You must compare 576p@1080p Pointresize (image with simple zoom without interpolation), Bilinear, Bicubic, Spline and Lanczos with original 1080p source and PSNR will be more and more better ...
In fact for eyes quality for SD@HD interpolation is always between SD@HD resize without interpolation (point resize or simple zoom) and original HD, metric confirm always that.
foxyshadis
4th December 2006, 01:32
Sagittaire, would it be possible to edit those enormous images out into links, please? ;_;
Sharktooth, what you miss in stating the obvious, that no new detail is be brought out, is that there is more detail within most smaller images than bilinear can bring out, more than spline36 can bring out, and enough that it's possible to create higher resolution upsizes with near-perfect results (although I'll admit the tools we have aren't all perfect). It's possible to stretch the information further than you'd expect, though compression, denoising, and so on remove some. By considering temporal you have enormous amounts of additional information.
Given that most systems will use a bilinear upsize, which is an extremely bad way of taking advantage of the existing detail, it can be useful. Bicubic is generally barely good enough for a 720p upsize, imho, and only lanczos/spline are watchable for even higher resolutions. Since I don't actually have a 1920x1080 or 1920x1600 anything, the only way I can test is on a friend's, where the difference is astonishing. If I was going to watch something encoded well on a regular basis, like a favorite movie, I'd spend an inordinate amount of time pre-encoding it.
One of the problems with temporal information is that encoders are also doing their best to remove all temporal redundancy, whereas for upsizing the more you have, the better. So if there's heavy ringing around an edge on the first frame and it hardly moves, it'll have the same ringing until the next keyframe.
IgorC
4th December 2006, 01:45
I not want to compare two different things, but will be same if i use 44khz audio and upsample to 96khz, and add some haronics above 22khz in all channels, this file will be sound much better that 44khz, but real different than real 96khz source, and much whorse.
You can postprocess, audio and video and make this things, but that is very bad.
My apologize for offtopic.
Well. Resampling 44 -> 96 khz shouldn't give any gain in audio quality. Only in very strange and odd cases.
But you can postprocess audio with dithering (I don't like this word "dither". There is nothing to do with dirt and not clean stuff. What it makes it approximate better the digital sound to human audio perception). http://en.wikipedia.org/wiki/Dithering
I just try in foobar:
8 bit - ugly
8 bit + dither - very good quality boost
16 bit - normal quality
16 bit + dither - sometimes sounds better
And if you have 24 bit soundcard there is no need to dither source just enabled 24bit decoding in sets. It sounds better but you need to have a good acoustic system to able to hear improvement
Sagittaire
4th December 2006, 02:01
And here Spatio-temporal interpolation with Motion Vector prectiction and high quality sharpening:
Harry Potter II 720*576*25@1280*720*50
http://multimediacom.free.fr/Video/HPIV_Interpolation.mp4
Interpolation can recreate pixel and can recreate complete frame with MV analyse.
Sharktooth
4th December 2006, 02:48
Interpolation can recreate gradients... not details...
IgorC
4th December 2006, 02:54
In theory temporal interpolation can recreate details from neighbour frames basing on motion vector analys. It's what Sagi trying to say.
Sharktooth
4th December 2006, 02:58
if details are removed in one frame they're removed also in neighbour frames...
the neighbour frames are at the same resolution...
the more the details the more the upscaling becomes useless.
obviously if the high res source is smooth and poor of details the upscaling can become similar...
for example, get some white noise and downscale it (let's say 33%) then upscale it to the original res with the best method you can think of.
it wont be any better... it will also loose a lot of luma info...
the resulting image would be like "blurred".
IgorC
4th December 2006, 03:07
if details are removed in one frame they're removed also in neighbour frames...
But it doesn't mean that exactly the same details were removed from all frames. Only strange case is if all frames are identical.
Sharktooth
4th December 2006, 03:09
well if the original res is not able to show subpixel details (at that res), then they're lost.
there's no way to get them back.
IgorC
4th December 2006, 03:21
well if the original res is not able to show subpixel details (at that res), then they're lost.
there's no way to get them back.
That's true. An enourmous part of details are lost. But there is still some percent of details that can be restored from motion. In motion the objects don't loose excatly the same pixel data.
I know that's not a good sample but think in I and B frames.
Sagittaire
4th December 2006, 05:38
the resulting image would be like "blurred".
Simply if you compare with the 1080p original source. But 576p@1080p interpoled image will have always better perceptual quality than the 576p image with really better details level. In fact perceptual quality for high quality 576p@1080p interpolation will be always between 576p source and 1080p source.
Sharktooth
4th December 2006, 14:53
Yes, if you watch your movie at 5cm from the screen...
akupenguin
4th December 2006, 17:23
Simply if you compare with the 1080p original source. But 576p@1080p interpoled image will have always better perceptual quality than the 576p image with really better details level.
It's not possible to compare 576p with 1080p. If you're viewing the two videos under the same conditions (i.e. same viewable area), then the 576p was upscaled too. So you're just comparing one scaling algorithm with another. Maybe one of the algorithms is in software while the other is built into your video card or even the physical properties of your crt, but either way it's scaling.
So the right question to ask is: which scaling algorithm looks best, and should it be applied before or after compression. Not whether to scale.
if details are removed in one frame they're removed also in neighbour frames...
the neighbour frames are at the same resolution...
True if and only if the content is properly band-limited.
But if it's aliased (all interlaced content is, and some badly(?) made progressive content), then the limited resolution may remove different information in neighboring frames. This makes it ugly to watch with a simple scaler (even lanczos), but otoh it makes it theoretically possible to recover some of that information with a smart temporal scaler.
Sagittaire
4th December 2006, 20:02
It's not possible to compare 576p with 1080p. If you're viewing the two videos under the same conditions (i.e. same viewable area), then the 576p was upscaled too. So you're just comparing one scaling algorithm with another. Maybe one of the algorithms is in software while the other is built into your video card or even the physical properties of your crt, but either way it's scaling.
Well compare 576p and 1080p with same area is possible (video projector for example) and in this case for same area 1080p will be visualy better than upscaled 576p@1080p and upscaled 576p@1080p will be better than 576p.
So the right question to ask is: which scaling algorithm looks best, and should it be applied before or after compression. Not whether to scale.
In fact the initial question is what is the best way ...
1) 576p DVD -> 1080p hardware upscaling
2) 576p DVD -> 1080p software upscaling -> 1080p reencoding
shon3i
4th December 2006, 21:29
1) 576p DVD -> 1080p hardware upscaling
2) 576p DVD -> 1080p software upscaling -> 1080p reencodingWhat you use in you samples here
Which script you use in encoding, because this results to me looks good. Like you say 576p@1080p looks better than 576p
foxyshadis
4th December 2006, 21:40
Well compare 576p and 1080p with same area is possible (video projector for example) and in this case for same area 1080p will be visualy better than upscaled 576p@1080p and upscaled 576p@1080p will be better than 576p.
That's just another form of scaling! Being analog, it can't really be classified as nearest neighbor or bilinear, but its effects fall somewhere in between them. Sort of similar to a hermite scaler onto a very high-resolution field. Any way you put it, comparing two things of the same size that come from different sizes, compares the processing to get them there (even if the sum total of the processing is lens distortion).
fenomeno83
7th December 2006, 10:47
????????????
Now I have confusion in my head!:D
Sagittaire please post your steps to get a HD movie from Dvd movie
SealTooGreat
29th December 2006, 03:54
What about blind deconvolution for improving image details?!
576p->1080p->blind deconvolution->final video
or
576p->blind deconvolution->upscale->1080p
I've seen pretty amazing result what blind deconvolution can do to poor_detail/blurry picture: http://math.nist.gov/mcsd/highlights/blinddeconvolution.html
foxyshadis
29th December 2006, 04:15
You can't really use deconvolution on compressed images/video to maximum effect, they really require raw, uncompressed source. If you try, you end up with DCT artifacts overpowering the content. However, if you really want to try it, download SAR (http://www.general-cathexis.com/) and toss a few screencaps at it. Otherwise, you can try limitedsharpen and seesaw, plus some combination of eedi2 and lanczos. (Like Multiswar and my EKG, and the original prototype in IIP.) LimitedSharpen is actually fairly similar to deconvolution, as you can see if you turn the strength all the way up.
chadamir
29th December 2006, 20:14
People do this all of the time with their htpcs using ffdshow with a dvd. I've never seen anyone want to do it with an encode though. The reason people bother is that their tvs are going to do a shitty job if they don't upscale it no matter what or their computer can do a better one. It's more of an effort to preserve detail than the hope of gaining any.
reepa
30th December 2006, 03:32
Upscaling can be useful in many circumstances. For example, if you have standard definition video, it will look better upscaled on a high-definition display than 1:1 pixel-mapped on a standard definition display, because on a HD display the physical pixels are smaller.
The same kind of goes for audio. You can convert 44.1KHz audio directly to analog and filter it before outputting it to the speakers, but you require a very steep filter to remove all the frequencies above 22.05KHz and pass all below that. Or, you can digitally resample ("upscale") to 88.2KHz (double the original sampling rate because integer resampling is easy), convert to analog, and use a simpler analog filter.
However, postprocessing video and then re-encoding it doesn't sound very useful since the disadvantages (compression artifacts, time) outweigh the advantages (better scaling algorithm).
Also, deconvolution is something totally awesome. Especially the blind variety.
PS: it should be obvious that upscaled doesn't match something that originally has a better resolution (upscaled SD vs HD for example).
PS2: this isn't based on mathematical knowledge, but when resampling, it should be done by a large amount. For example, 1280x720 to 1366x768 is bad (damn those LCD televisions!), 720x576 to 1920x1080 is less bad. Another example is older Creative sound cards: they resample everything to 48KHz (most music is 44.1KHz), which is considered bad.
PaulKroll
30th December 2006, 09:23
Even assuming a series of frames could be used to extract out some details, given the right algorithm, you still have the problem with the source. Any MPEG (1/2/4/name it) stream gets part of its compression by not duplicating areas of the frame that are the same in a previous or later frame. You'd end up with an image that had large, blocky sections that were still blurry, relative to the suddenly detailed sections.
Use something other than bilinear to upscale, sure, or a sharpener or a script like IIP meant to do a whole lot of processing on a piece of video. That can look considerably better than the original DVD, depending on your taste and how much time you'll put into it. (But it can look worse, too.)
Incidentally I downloaded and ran the "Video Enhancer" version of VirtualDub, rendering out a video using its "Super Resolution" to quadruple a video's res to 1440/960. Comparing it with an avisynth'd Lanczos4Resize'd version, it looks pretty much like they're identical. Except VE is drinking CPU for No Good Reason (it took a LONG time to render).
foxyshadis
30th December 2006, 12:14
PS2: this isn't based on mathematical knowledge, but when resampling, it should be done by a large amount. For example, 1280x720 to 1366x768 is bad (damn those LCD televisions!), 720x576 to 1920x1080 is less bad. Another example is older Creative sound cards: they resample everything to 48KHz (most music is 44.1KHz), which is considered bad.
All modern soundcards resample to 48/24 (or 96/24 at the pro end) before the A/D, including Creative's current X-fi. The real reason it was considered bad was that Creative's implementation was shamefully poor, all the way from AWE32 to Audigy, and it wasn't until X-fi that they got their act together. After all, we've had SSRC doing near-perfect conversions between 44<->48 for movies for years now, and M-Audio and other audio cards the same in hardware.
Video and audio sampling isn't really comprable, because of differences in band-limiting and filtering, but how much you resample doesn't really make a difference, if done properly. If you were to upscale 10% and then downscale back to the original, you'd be hard pressed to spot the difference, although each of the algorithms have their peculiar artifacts that get more obvious the more you expand/contract. The main reason to stick to small sizes is to keep from enlarging artifacts (existing and algorithmic) too much.
I personally think modified blind deconvolution is a neat trick that, like x264's esa option, other much faster methods should strive toward, rather than seeing it as a real solution.
Morte66
30th December 2006, 15:10
PS2: this isn't based on mathematical knowledge, but when resampling, it should be done by a large amount. For example, 1280x720 to 1366x768 is bad (damn those LCD televisions!), 720x576 to 1920x1080 is less bad.
Agreed. Resizing 720x576 to 1280xNNN on my old monitor, I had to use Lanczos to get acceptably low artefacts. Resizing to 1920xNNN, I'm OK with Bicubic. It seems that the bigger the target, the thinner the artefacts get spread. Eventually they look like fairly innocuous random noise instead of fairly annoying structured artefacts.
reepa
30th December 2006, 19:02
but how much you resample doesn't really make a difference, if done properly. If you were to upscale 10% and then downscale back to the original, you'd be hard pressed to spot the difference, although each of the algorithms have their peculiar artifacts that get more obvious the more you expand/contract.
I still think the contrary. Here's a simple experiment: create an image with a small checkerboard pattern (every other pixel black, every other white). It basically has the highest possible detail a given image can have. Resize it with your favorite algorithm by a small amount (upscale by 120% for example) and a larger amount (upscale by 170% for example). You'll probably notice that the image that was resized by a small amount has beat patterns, while the other image has none.
Larger upsampling should also help with audio. The larger the upsampling, the wider the passband of the analog filter can be, meaning less unwanted phase shift, emphasis, and unwanted harmonics. Upsampling from 44.1KHz to 48KHz allows for a 3.9KHz passband, while upsampling from 44.1KHz to 88.2KHz allows for a 44.1KHz passband. Here's how I understand digital to analog conversion (please correct me if I'm horribly wrong):
http://www.freeimagehosting.net/uploads/dafcb1e156.png (http://www.freeimagehosting.net/)
*.mp4 guy
31st December 2006, 07:49
The reason that happens to the image isn't because of the resizer, its because you are taking a square peg and trying to fit it in a round hole, as it were -> the problem isn't that the resizer messed up the image, its that your original image can't be stored at the destination resolution without artifacts, your image isn't representative of normal content, the highest possible quality resize you can get with it is with point resizing to double the resolution, a technique that looks awful on any normal image.
reepa
31st December 2006, 19:47
The reason that happens to the image isn't because of the resizer, its because you are taking a square peg and trying to fit it in a round hole, as it were -> the problem isn't that the resizer messed up the image, its that your original image can't be stored at the destination resolution without artifacts
I think that proves my point about the amount of resizing having an effect (a negative effect if difference between the source and the target sizes is too small).
your image isn't representative of normal content
Obviously, but I'm showcasing the worst possible scenario. A bit like when testing speakers you usually do a frequency sweep and measure it even though few songs actually contain a frequency sweep.
*.mp4 guy
1st January 2007, 07:32
I think that proves my point about the amount of resizing having an effect (a negative effect if difference between the source and the target sizes is too small).
I don't think you completely understood what I was saying, unless you are exactly doubling the resolution you get distortion since your input image is incapable of being stored losslessly at your destination resolution, however this should never be an issue with normal content as long as it doesn't have any aliasing in it, if there is aliasing, then there will be some noticible loss when resizing to anything but a multiple of 2 of the original resolution. Basically you get distortion during resampling if the original image had more spatial resolution crammed into it then it could actually hold (IE nearest neighbor downsizing) your image has the absolute maximum spatial detail that can be represented in an image of its size, no advanced filtering will know what to do with it (try compressing it with jpeg to get a good example of this, jpeg works great on normal images, but it will have a fit with yours and to a lesser extent any image with aliasing)
akupenguin
1st January 2007, 08:40
Actually, your example compresses quite well in jpeg. Checkerboard is one of DCT's basis-vectors, so there's only one nonzero coefficient per block, and no particular artifacts. :)
*.mp4 guy
1st January 2007, 10:07
If you say so...
dots.bmp(103KB) (http://img242.imageshack.us/img242/9195/dotsky2.png)
dots.jpg(103KB) (http://img234.imageshack.us/img234/4701/dots2hn6.jpg)
I have to say I never realised that bitmaps had superior compression and image quality compared to jpg.... When a bitmap can outperform jpeg in perceptual image quality, while being the same size I would say its a fair assumption that it performs poorly in this context.
[edit] imageshack recompressed the bmp image to a png, so you will just have to take my word that a monochrome bitmap of that image is 103KB.
I made a mistake in my last post, its not every multiple of 2 of the original resolution that is lossless, its any integer multiple of the original image.
foxyshadis
1st January 2007, 11:22
That's not a checkerboard pattern:
png (250b) (http://foxyshadis.slightlydark.com/random/checker.png)
jpg (15k) (http://foxyshadis.slightlydark.com/random/checker.jpg)
j2k (600b) (http://foxyshadis.slightlydark.com/random/checker.jp2)
The funny part is that the j2k compressor is smart enough to find and use the checkerboard pattern as it should, whereas most jpeg implementations are too dumb to check for the optimal pattern. They all use essentially the same quant matrix, as well; jpeg encoders are pretty rudimentarily developed overall.
*.mp4 guy
1st January 2007, 12:02
That's not a checkerboard pattern:
png (250b) (http://foxyshadis.slightlydark.com/random/checker.png)
jpg (15k) (http://foxyshadis.slightlydark.com/random/checker.jpg)
j2k (600b) (http://foxyshadis.slightlydark.com/random/checker.jp2)
The funny part is that the j2k compressor is smart enough to find and use the checkerboard pattern as it should, whereas most jpeg implementations are too dumb to check for the optimal pattern. They all use essentially the same quant matrix, as well; jpeg encoders are pretty rudimentarily developed overall.
I realise that (now), I used that pattern because it exhibits the same effects when being resized as reepa's example and I already had made it (to test monitor resolution on crts), I had forgotten that it wasn't a strict checkerboard pattern, however my point about jpeg doing badly on images of that type, is, I beleive still valid. akupenguin is of course right in theory, though even your ideal checkerboard pattern seems to have given the jpeg encoder a lot of trouble. I should have double checked my pattern when I got such bad results from jpeg; though the results on the true checkerboard pattern backup my point to a lesser degree.
I think the problem is the non-finite accuracy of jpeg dct->idct algorithms it causes errors at higher quants that should theoretically be lossless if perfect accuracy was achieved, H264's "quasi dct" transform would probably do much better since it has finite accuracy, in my experience H264 does do much better on patterns of this nature then previous mpeg standards.
[edit]
actually the only checkerboard pattern that jpg will handle correctly isn't an exact checkerboard, it fades at the edges, only the center has maximum contrast, I'm not sure about h264, I don't have a visual reference for its individual coeficients. visual representation of individual dct coeficients (http://img216.imageshack.us/img216/231/dctcoeficientsct5.png).
Also, foxyshadis your checkerboard has incorrect polarity, the first pixel should be white not black.
foxyshadis
1st January 2007, 13:38
Doesn't actually matter. A maximum 64th coefficient will render either correctly based on whether the DC coefficient is black or white. And with the 64th at maximum it should saturate enough that there's no fading at the edges. If the DC was grey you might be able get away with lower strength on correct polarity, but after huffman it'd be the same size anyway. (I don't know the exact point that sample images are at, probably around half, otherwise all jpeg blocks would fade to grey at block edges.)
Anyway, sorry for turning this away from resizing. As mp4 guy says, there's a huge difference between resizing from aliased images and more normal antialiased video/images - like some audio tends to jam it up to the nyquist limit and requires special handling, whereas in songs with a 16khz lowpass there's not as much difference between various resample methods. (Until you create junk up there with post-processing.)
A much better test of image resamplers is text overlay, which is usually the first thing to go fuzzy if the resizer isn't up to the task. It's very rare to see a resizer cause beat frequencies (unless you do a lot of print scanning), but very common to degrade text and line art.
*.mp4 guy
1st January 2007, 13:45
@ foxyshadis: doh, I should have realised that about the dc coeficient =/
To get back on topic, here is a preliminary test with multiswar v2, there are still some bugs to be worked out (the blinking line on the left, which is related to masking, and a color shift caused by one of the sharpening functions).
Heres the script, Ill list the dependancies and parameters when its finnished.
# MultiSWAR - Multi Step Warping And Resizing - V2 alpha1
#
#
Function MultiSWAR(Clip Clp,Int"DestX",Int"DestY",Int"StepRatio",Int"Sharpen", float "ssm", int "dblur", float "thr", float "dthr", int "smode", int "esharp", float "ss", int "sthresh", float "sstrength", int "sthresh2", float "sblur")
{
OX = m(16,Clp.Width)
OY = m(16,Clp.Height)
DestX = Default(DestX, OX*2)
Desty = Default(Desty, OY*2)
Stepratio = Default(Stepratio, 3)
Sharpen = Default(Sharpen, 20)
SSm = Default(SSm, 2)
dblur = Default(Dblur, 5)
thr = Default(thr, 1)
dthr = Default(dthr, 0.1)
smode = Default(smode, 4)
esharp = Default(esharp, 0)
ss = Default(ss, 1)
sthresh = Default(sthresh, 1)
sstrength = Default(sstrength, 0.8)
sthresh2 = Default(sthresh2, 255)
sblur = Default(sblur, 1)
Clp.Spline36Resize(OX+round(OX/StepRatio/4)*4,OY+round(OY/StepRatio/4)*4)
OXo = OX+round(OX/StepRatio/4)*4
OYo = OY+round(OY/StepRatio/4)*4
o = last.converttoyv12()
s = o.aWarpSharp(Depth=4, Blurlevel=1, cm=0)
ss = s.spline36resize(OX*SSm, OY*SSm)
Nodetail = ss.tbilateral(diameterl=dblur, diameterc=3, sdevl=thr, sdevc=thr)
mask1 = subtract(ss, NoDetail)
mask2 = mask1.levels(55, 1, 127, 0, 255, false).levels(127, 1, 255, 0, 127, false).levels(0, dthr, 127, 0, 255, false)#.blur(1)
mask3 = mask1.invert.levels(55, 1, 127, 0, 255, false).levels(127, 1, 255, 0, 127, false).levels(0, dthr, 127, 0, 255, false)#.blur(1)
mask4 = maskedmerge(mask3, mask2, mask3).spline36resize(OXo, OYo)#.undot.degrainmedian(mode=3)
lines = s.LimitedSharpenfaster(Smode=Smode, soft=8, strength=sharpen, overshoot=Esharp, SS_X=1.25, SS_Y=1.25, lmode=1).DCTFun4b(Sthresh,Sthresh).FrFun7(Sstrength,Sthresh2,Sthresh2)
detail1 = o.gaussianblur(vary=sblur, varc=sblur)
detail2 = subtract(o, detail1).invert
detail3 = subtract(o, detail2)
maskedmerge(detail3, lines, mask4)
return (width < destx) ? MultiSWAR(DestX, DestY, StepRatio=StepRatio, Sharpen=sharpen, ssm=ssm, dblur=dblur, thr=thr, dthr=dthr, smode=smode, esharp=esharp, ss=1, sthresh=sthresh, sstrength=sstrength, sthresh2=sthresh2, sblur=sblur) : spline36resize(destx,desty)
}
function m(int r, float x) {return(x<16?16:int(round(x/float(r))*r))}
and heres the script used for the example
Setmemorymax(768)
import("D:\Media\Plugins\my functions\MultiSWAR_V2.avs")
MPEG2Source("D:\rips\trailer\Trailer.d2v", cpu=0, idct=4).crop(0, 60, 0, -64)#.spline36resize(720, 304)
MultiSWAR(stepratio=4, sharpen=20, thr=0.5)#thr might not match what I used, I went through a lot of testing
#I recomend splitting the script in half at this point, run the first half, then feed its output into the second half (this provides a large speedup since otherwise the script becomes ram limited)
source = last.ttempsmooth()
backward_vec2 = source.MVAnalyse(isb = true, delta = 2, pel = 2, overlap=4, sharp=2, idx = 1, truemotion=true)
backward_vec1 = source.MVAnalyse(isb = true, delta = 1, pel = 2, overlap=4, sharp=2, idx = 1, truemotion=true)
forward_vec1 = source.MVAnalyse(isb = false, delta = 1, pel = 2, overlap=4, sharp=2, idx = 1, truemotion=true)
forward_vec2 = source.MVAnalyse(isb = false, delta = 2, pel = 2, overlap=4, sharp=2, idx = 1, truemotion=true)
source3 = source.MVDegrain2(backward_vec1,forward_vec1,backward_vec2,forward_vec2,thSAD=400,idx=1)
source3.gradfun2db(1.5)
Heres the result (http://www.megaupload.com/?d=9EKNF3HR), of the script, I'm presently uploading the source, I'll edit a link in once its done.
[edit]heres the source link (http://www.megaupload.com/?d=QS2DV1V8)
[edit2] Looks like yousendit requres registration to download now, I have uploaded the file to a different site and updated the links
Chainmax
3rd January 2007, 22:58
Sharktooth: could you include three resizes: one made with EEDI2, Spline36 and LimitedSharpenFaster, one made with foxyshadis's EKG and one made with *.mp4 guy's MultiSWAR?
scharfis_brain: aah, the Gabriel Knight "Making Of" video :). I remember Didée saying it could be sped up a lot, too bad this awesome function was never developed further :(.
Sharktooth
4th January 2007, 03:57
Those resize algos are pretty slow. Since quality encodes dont use resizing (anamorphic) i cant see why i sould include such resize algos (assuming you want those resizes in megui).
Chainmax
4th January 2007, 10:15
What I meant is to include them in the werewolf comparison you made in post #19. I'd like to see how they'd look compared to the other ones you made.
Sharktooth
5th January 2007, 14:53
Ah... btw the werewolf is a picture...
Chainmax
7th January 2007, 14:17
I assumed as much, it's just that I'd like to see how EKG and MultiSWAR stack up against the resizers you used in that comparison.
DewAsmara
8th January 2007, 04:49
Hi all,
I am not to familiar with those technical explanation, but for me, it shows quite different between DVD 720*576 resolution with upscale at 1280*xxx resolution. But there is something to notice, whether use software or hardware, it's best way to use both of them if have to feed in higher resolution display, example I convert my DVD to DivX HD at 1280*xxx and also set my VGA card at 1440*900 to feed my monitor at 1440*900 resolution. It works quite detail (at least in my eyes) but its only works if I use DVI connection, as its quality down a lot if using analog D Sub. One thing to remember to keep resolution at its original aspect ratio example if 2.35:1 then let it at that way. Changing that only result in terrible pictures. Another is feeding 1280*xxx upscale material from PC to 1280*768 LCD HDTV using D-Sub like my LG only result in the same way with direct connection using DVD player with component cable (almost no difference), as some TV really have good DCDi Faroudja chipset.
Budget DVD upscale player show not much result compare to TV internal upscale engine (use HDMI connection), some even much worst. Buy High End upscale DVD player like Pioneer DV-989AV also not a wise choice if your Plasma/LCD below 40 inch, so think carefully before decide to upscale either hardware or software.
Just fyi, I have been watch upscaling DVD using PS3 in a shop when I am back vacation to my country, it is really shocking, as quality is quite different if running BD from PS3. So don't expect too much with upscale :p
Single
9th January 2007, 01:09
I think there is a special case with anamorphic DVD source and the way the video comes to TV.
If you play anamorphic DVD-Video via plain TV analog conection or via any other connection that can transmits only 576 lines per frame to tv that owns higer than 576 horisontal lines resolution then you will have much worse quality despite any smart upscaling or any other enhancers in tv than the case if you use upscaling right after decoding and before transmitting signal to your tv via high resolution connection.
I hope i write this right way in english. :)
marcobrd
28th January 2007, 18:45
And here Spatio-temporal interpolation with Motion Vector prectiction and high quality sharpening:
Harry Potter II 720*576*25@1280*720*50
http://multimediacom.free.fr/Video/HPIV_Interpolation.mp4
Interpolation can recreate pixel and can recreate complete frame with MV analyse.
sagittaire (and scharfis_brain), could you please show us some examples of tools and step to get a "Spatio-temporal interpolation with Motion Vector prectiction" resizing? because i think the results you showed in this thread are very impressive. i think this was done with avisinth.. do you use iip?
do you use bobbers like mvbob to get this harry potter example at 50fps? i'm very interested to 576@720 conversion. thank you very much!
marcobrd
8th April 2007, 20:51
nothing to say? :)
scharfis_brain
8th April 2007, 20:56
i'm very interested to 576@720 conversion.
just
-bob-deinterlace to 50fps using mcbob() (if video is interlaced)
- then resize using gentle limitedsharpen()
every thing else is just not useful
the other 'impressive' (16x120 to 640x480) stuff I presented some time ago was only possible due to the H.E.A.V.Y. aliasing (i.e. flickering) present in the source.
DVD sources generally aren't aliased. In contrary they commonly are severely blurred. So some dehalo-limitedsharpen combo may be appropriate.
marcobrd
9th April 2007, 13:12
thank you very much! :thanks:
DmitryPopov
28th May 2007, 17:19
Sorry, I've seen this thread too late.
you cant restore details if they were removed.
upsizing a video is not a good idea. what you see on that site is all marketing BS... and the picture examples are indeed fakes.
These words are just an example of not understanding super-resolution. None of the pictures on that site are fakes. Everyone can download the low res files (there are links on the site) and the program, try it and get the same results.
Now I'm proud to say that version 1.5 has been released with much better SR quality.
There is an objective comparion of different upsizing methods, including bicubic, lanczos, lanczos+sharpen and several commercial solutions. Look at PSNR digits and the pictures, get sample files, try it for yourself - everyone's invited to test and see.
http://www.thedeemon.com/articles/video_upsize_methods_comparison.html
My method is definately not Lanczos+sharpen, as it was supposed here, you can clearly see the difference in provided details and sharpness.
Some explanations how super-resolution works are given here:
http://www.thedeemon.com/articles/what_is_super_resolution.html
Hellworm
3rd June 2007, 21:00
In the special case of video material upscaling with "additional" details can theoretically be done, if the image is in motion. That's because in the case of moving objects there are captured multiple images at different sub-pixel positions of the object. Combining the information of multiple images allows to increase the resolution. There is a program that allows to test this kind of upsizing: ALE (http://auricle.dyndns.org/ALE/)(though not with video material but only with multiple still images)
It really works, but the improvement is not that big. And its slooooow!!
Edit: realized that I answered to the first page and missed the 4 after that.
eupec
2nd July 2007, 23:47
A simple question: if the source is an *anamorphic* pal dvd 720x576 (video aspect ratio ~1.81 excluding black borders) and I "resize" via avisynth filtering to an upper resolution, lets' say 856x472 it's a mistake because I add data (by interpolation or other way) which wasn't existent before resizing OR it makes sense?
Thank you :)
Eupec
*.mp4 guy
3rd July 2007, 00:10
Unless the screen you are displaying it on is 856x472, it was a mistake.
eupec
3rd July 2007, 00:33
Unless the screen you are displaying it on is 856x472, it was a mistake.
Thank you for reply:)
Suppose I've got a screen at this resolution; it's because I feed the screen with a video at its own resolution, so the screen don't have to scale internally?
Eupec
*.mp4 guy
6th July 2007, 05:31
yes, essentially; all video will be rescaled to the resolution of your screen on playback, in some cases (mostly lcd televisions) this is done by the screen, however it is usually done by the video card. Both ATI and nVidia use a simple bicubic kernel, so its pretty easy to get much better looking video by, for example, using ffdshow to rescale the video to your screens resolution with high tap lanczos, on playback. Obviously if your source is a blury mess or severly frequency limited already it doesn't matter what type of resizing you use.
patrick_
30th September 2007, 10:41
Another question: Can you improve image quality doing only horizontal upscaling?
The source in question is a DVD with anime content. It's pal so has a resolucion of 720x576 (anamorphic). We're compressing this video using x264 into a MP4.
Will results improve when upsizing to 1024x576? Or is it better to maintain the original resolution and to set PAR within the MP4.
In case upsizing is better, what algoritm should be used?
All programs support PAR? MPC does.
Thanks in advance.
Dark Shikari
30th September 2007, 10:42
Another question: Can you improve image quality doing only horizontal upscaling?
The source in question is a DVD with anime content. It's pal so has a resolucion of 720x576 (anamorphic). We're compressing this video using x264 into a MP4.
Will results improve when upsizing to 1024x576? Or is it better to maintain the original resolution and to set PAR within the MP4.
In case upsizing is better, what algoritm should be used?
All programs support PAR? MPC does.
Thanks in advance.
Since upscaling it will require more bitrate, I would think the extra bitrate given to the original file, without upscaling, would give more of a quality improvement than the very slight improvement given by the Lanczos upscaling.
*.mp4 guy
30th September 2007, 13:40
Since upscaling it will require more bitrate, I would think the extra bitrate given to the original file, without upscaling, would give more of a quality improvement than the very slight improvement given by the Lanczos upscaling.
Thats only true, If all you use is lanczos, or if you aren't resizing to your screens exact resolution, for example:
bicubic-neutral (http://img221.imageshack.us/img221/1492/bicubicwv7.png)
fancy-slow (http://img218.imageshack.us/img218/8858/slowof5.png)
Obviously personal preference, and specific usage conditions play a big role in determining if slower-then-realtime interpolation is a good idea, but it can be much better looking then on-playback interpolation.
patrick_
30th September 2007, 18:58
Thanks for responding.
The video will not be reproduced on a 1024x768 screen. So whatever method will be used, it must be resized when reproducing.
So will pre-coding resizing results in a better result? It means that the video will be resized twice. Without pre-coding resizing it will only be resized once.
*.mp4 guy
30th September 2007, 22:22
Well, You still haven't iven enough information to answer that question adequately. The answer depends upon, 1- how good the resizer you are going to use is (if your just using lanczos or spline, your better of not ressizing) 2- how much compression you need to achieve (if you are, for instance trying to fit a full length movie on a cd, upsizing is always a bad idea).
patrick_
30th September 2007, 22:46
Interesting point. Fitting a full length movie on a cd isn't a problem with superb quality. You can easilly convert Frequency to a 500MB H.264 with hardly any loss in quality. <those 500MB is from memory, maybe it's 550 don't remember for sure
Of course it depends a lot on the movie, you can't do that with most movies.
I just finished converting Akira and it's only 877MB. It's the best version I know of on internet. I must admit that I did take out almost all noise (without losing details, and restored sharpness) - with noise size would be 1280MB. Resultion is 720x400. Source is progresive PAL (but for some reason the DVD said it's interlaced)
I only use x264 with maximum processing settings. (with StaxRip)
My question isn't related directly to the conversions I do. It's just about a simple discusion with another fansub. They upsize to 1024x576 to maintain the 576 lines, but I don't know what filters they use (unlike I do, they don't share their scripts). They use 233MB with 5.1 sound for about 23 minutes.
In my conversions I do never try to fit a video on a cd or a season on a DVD. I use a constant quality (55% - StaxRip).
That's also the second point of our discusion. They (like everyone over here) convert all episodes to the same amount of MBs. It's obvious that episodes with less movement don't need the same bitrate, so they're just wasting space. BTW I think most English-language fansubs do the same thing.
Getting back to your response, can you give me the name of some real good resizers? (including comercial ones). Also I'm interested in a (comercial) deinterlacer with a quality similar to the Faroudja of my proyector.
Trahald
30th September 2007, 22:57
I've been doing dvd->hd recently (480p->1080p) i have just been doing 4tap lanczos. the result is better than the on the fly resizer, but obviously not as good as true hd.
@*.mp4 guy
What resizing routine did you use for your fancy-slow png. what was the source size?
*.mp4 guy
1st October 2007, 01:08
@ patrick
Try mcbob for a deinterlacer, its free, but its the best one I know of, better then Faroudja imo, but very slow. You might also want to brush up on the forum rules.
@Trahald
The source was the Animatix dvd (NTSC), so 704*360 ( I think I downsized to 704*304, then upsized from there for the slow resizer, to save time; I don't know becuase I processed a short clip form the animatrix a while ago, and the screenshot is from that) the bicubic upscale was run on the full 704*360px (I just did the bicubic upscale today, to give a reference). The resizer I used is an unrealeased version of lanczosmtplus, an avisynth script based high quality upsizer I wrote.
patrick_
1st October 2007, 11:16
Thanks I'll have a look at mcbob (right now I was using Yadif).
But.... can't seem to find a download link. I've found some v0.3 avs, but that's all. Nothing else. I guess there must be some oficial download. Can you please give me a link?
Didée
1st October 2007, 12:40
Yes indeed, a dingy Avisynth script, that's all.
"Official" Link to MCBob v0.3c: >clickme (http://home.arcor.de/dhanselmann/_stuff/MCBob_v03c.avs)<
"Official" Thread for MCBob: >clickme (http://forum.doom9.org/showthread.php?t=124676)<
Inofficial "how-MCBob-was-born" thread: >clickme (http://forum.doom9.org/showthread.php?t=117025)<
In case that smells like rummage - feel free to remit plenty of $$$ to me. The results will appear much more worthy after that. :D ;)
patrick_
1st October 2007, 13:10
Thank you for the links.
BTW ever thought of creating a zip with all filters requiered? (just like mvbob). Would be much easier than spending a lot of time searching for all required plug-ins. (or at least some comments in the avs with directions where to download every plugin).
As you're the writer, I have another question, Can I mirror the download? (actually I don't want to mirror it, but have it within a zip as explained before).
patrick_
1st October 2007, 13:29
I noticed that mvbob dobles the framerate. Does mcbob do the same thing? If so, what's the best way to reduce the framerate without losing all the effors done by the deinterlacer.
Thought about ChangeFPS, but I'm not sure about how much quality will be lost.
Didée
1st October 2007, 16:14
I noticed that mvbob dobles the framerate. Does mcbob do the same thing?
Sure, since that's what a bob filter is supposed to do.
If so, what's the *cough* way to reduce the framerate without losing all the effors done by the deinterlacer.
SelectEven() / SelectOdd() will do.
Note, I'm not sure you need MCBob at all ... mp4guy suggested it, you asked for a link - and here we are.
BTW ever thought of creating a zip with all filters requiered?Thought about: yes. Conclusion drawn: I'll never do.
(With minor exaggeration) - If I'd do so for all of my functions & for each of their possible variants, I would end up like putting the same handful of plugins in one hundred different packages, just in slightly changing combinations.
Why not go a step further and bundle Avisynth into every package, for the interested not-yet users of Avisynth?
Or another step ahead, bundle a Windows OS for the Mac & Linux users?
My functions are cooking recipes. The ingredients are available at the usual places ... baker, butcher, supermarket.
Period.
As you're the writer, I have another question, Can I mirror the download? (actually I don't want to mirror it, but have it within a zip as explained before).
Sure you can. But if you do, please remember you have to maintain the package. Instead of asking "hey, where to get all those plugs?", soon it would sound like "the package contains [this] in v9.0.378 and [that] in v4.73.11b, but there are v9.9.703 and v4.73.22e available!! Which are better to use? Are they safe? What's the difference? Why is your package so old, I ultimately need the new ones!" ...etc.pp.blablabla.
See?
=> baker, butcher, supermarket. ;)
patrick_
1st October 2007, 16:40
My users won't ask about newer versions. I'm just creating some basic templates to convert DVD -> H.264/MP4. Most of them don't know how to use AviSynth. All work is done by StaxRip.
But anyways, I'll maintain the package, because I usually upgrade to stable new versions.
Thanks for helping.
Fizick
20th October 2007, 19:07
patrick_,
if you will include some filter dll (licensed under GNU GPL) to zip, do not forget include also its source codes, gnu gpl license file, and note about authors it in your distribution. ;)
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.