Log in

View Full Version : DVD-RB doesn't check RESIZE commands in Filter Editor


Susana
5th May 2005, 23:55
Hello,

This is my first post (although I've been reading this forum long time ago), I hope not the last, :)
Well, I was testing the Resize to Half D1 option, but I saw it used BilinearResize, which is not very precise. So, I decided to use the Filter Editor and include the LanczosResize(352,576) avisynth command. However, DVD-RB did not change the "width" parameter in REBUILDER.ECL, so the video was recoded that way really badly..., i.e, width should have been 352, but it was 720.

This is not obviously a bug in DVD-RB, but my question is: ¿Why does it use the bilinear, and not other more accurate command, or why does it not check te use of this kind of commands?

Thanks.
Best Regards.

onesoul
6th May 2005, 17:44
Hello Susana

First let me say that at reducing size, as to half d1, you won't get better results with lanczosresize, so if I were you I would stick with the default resizer (if you were increasing size then lanczosresize or even the script IIP() by Didée would be better). Be warned that reducing to half d1 you will loose much of the original sharpeness so use it with care.

But if you really want to change it to lanczosresize you will have to edit each generated avs file (corresponding to the previously selected half d1 in dvd-rb) and change it with notepad (ex: find and replace) or rb-opt.

Cheers

Susana
6th May 2005, 19:30
Thanks onesoul for the reply,
Originally posted by onesoul
Be warned that reducing to half d1 you will loose much of the original sharpeness so use it with care.

When the bitrate is low (let's say < 2.50 MBps ), would not be better to reduce to half d1 ?
Originally posted by onesoul
But if you really want to change it to lanczosresize you will have to edit each generated avs file

Yeah, I often do it, mainly to modify CCE parameters.

onesoul
6th May 2005, 19:39
Originally posted by Susana
When the bitrate is low (let's say < 2.50 MBps ), would not be better to reduce to half d1 ? It depends on the source but generally yes. I suppose we're tallking about extras anyway, which aren't as important as main feature.

Susana
6th May 2005, 19:54
Originally posted by onesoul
I suppose we're talking about extras
No, I always remove extras. I talk about the main movie, usually when its length is higher than 2.5 hours.

onesoul
6th May 2005, 20:11
Originally posted by Susana
No, I always remove extras. I talk about the main movie, usually when its length is higher than 2.5 hours. In that case I don't recommend hald d1 at all, it will ruin the pleasure of seeing the movie. Are you sure you get only 2.5mbps average in a movie only with or without menu? Are you removing dts sound or other useless tracks?
I calculated the bitrate for a 2,5h movie with sound track of 400mb, that would be around 3,5mbps which should be enough for a full d1.

mrslacker
6th May 2005, 20:16
My 2 cents: I have never come across a disc that required something as drastic as resizing the movie to half d1. I have done many long movies and never had unacceptable full res quality, especially nothing that would benefit from half resolution. Half D1 is a sure way to avoid macroblocking when bits are short, but it's such a pitty. :(

Try a slower encode, add passes, select the highest quality encoding mode, smooth the frames a little (maybe deen for starters), try other blanking methods, use motion2still (MenuShrink) on your menus, blank the credits, use a low bitrate quant matrix, increase VBR_bias, etc., anything but destroying the movie by halving the resolution. It sort of defeats the purpose of the backup. Again, that's my 2 cents. Best of luck.

onesoul
6th May 2005, 21:21
I agree with mrslacker except for the part of using deen which I find to ruin picture too much. I prefer more gentle smoothing as undot (or removegrain(mode=1) more accurate atm), fluxmoosthst or vaguedoinser. As decoding postprocessing, I started playing with blindpp and deblock (these functions are part of dgdecode although the current supported version has blindpp only which is already excellent) with very good results.

wmansir
6th May 2005, 21:41
Actually, you don't have to manually edit every .avs. If you ALWAYS want to use Lanczos instead of bilinear you can just overload it via a macro in your AVS plugin folder.

Just create a text file with the .avsi extension in your AviSynth "plugins" folder. Put in something like this:

Function BilinearResize(clip clip, int V, int H){
clip.LaczosResize(V,H)
}


Personally, I used this to replace the built-in bilinear filter with FastBilinearResize plugin.

mrslacker
6th May 2005, 22:58
Good recommendations onesoul. If speed is a concern, which it is for me, Unfilter(-5,-5) or variants would be a good choice. Note that undot will get you very little in terms of compressibility. Spatial-temporal (3D) filters like fluxsmoothST, as onesoul mentioned, will be exra helpfull at lowering the statistical information content of the movie, helping to produce a higher "quality" picture at a lower bitrate.

Thanks for the tip wmansir! As a bit of an AviSynth noob, I wasn't sure what would happen if you overloaded methods.

Susana
6th May 2005, 23:21
mrslacker: I have never come across a disc that required something as drastic as resizing the movie to half d1.
Just 2 examples:
"Gone with the wind" - 3637.1 MB for main movie video, 3:31:30 h = 2404 kbps
"Ben-Hur" - 3650.8 MB for main movie video, 3:29:14 h. = 2439 kbps
onesoul: I calculated the bitrate for a 2,5h movie with sound track of 400mb, that would be around 3,5mbps which should be enough for a full d1.
Sorry, when I said "usually when its length is higher than 2.5 hours", I should have said "higher than 3 hours". I keep 2 audio streams, and indeed, with 5.1 sound, I recode from 384 or more kbps to 224 kbps (in this cases, I use sonic foundry soft encode, and dvdreauthor & scenarist, prior to dvdrebuilder).
wmansir: Actually, you don't have to manually edit every .avs.
Yes, I read you in other post.

Thanks a lot for everything

onesoul
6th May 2005, 23:21
Thanks wmansir, I had no idea that it could be done :eek:
Btw would it be possible to use such a function to detect if converttoyuy2(interlaced=true) is used or not and to replace for whatever you want?

mrslacker
7th May 2005, 06:26
Originally posted by Susana
Just 2 examples:
"Gone with the wind" - 3637.1 MB for main movie video, 3:31:30 h = 2404 kbps
"Ben-Hur" - 3650.8 MB for main movie video, 3:29:14 h. = 2439 kbps
Sorry to keep this thread afloat unnecessarily, but...

Wow! Sometimes you just have to bite the bullet, and split to two discs!:rolleyes:

Susana
7th May 2005, 07:37
Sorry to keep this thread afloat unnecessarily, but...I have to answer back:
Originally posted by mrslacker
Wow! Sometimes you just have to bite the bullet, and split to two discs!:rolleyes:
It's quite the opposite: those dvd's were in 2 discs,... but I enjoy reauthoring almost as much as I do watching films, ;)

Rockas
7th May 2005, 09:42
OT:It's quite the opposite: those dvd's were in 2 discs,... but I enjoy reauthoring almost as much as I do watching films,

Can you tell me your secret? (it's so rare to find a girl insterested on reauthoring)... if you have a secret please tell me so I can tell it to my wife... maybe that way she won't bug me about the time I spend on the computer!!! :D