Log in

View Full Version : spruceup improper resolution


schmiddj
24th September 2006, 00:35
This is actually a question about both encoding and authoring, but I figured I ought to post it in authoring since the error message is coming from Spruceup.

I've got a video with the peculiar resolution of 624x352, and I'm simply trying to encode it correctly and load it into spruceup for authoring. Following the guide for resizing video to dvd format online, I get an avisynth file that looks something like this:

addborders(0,58,0,60)
bicubicresize(720,362,0,0.5)

but my preffered encoder, HCgui, rejects it, saying "height not a multiple of 16"

So I try again:

addborders(0,56,0,56)
bicubicresize(720,368,0,0.5)

This time it works, outputting an .m2v file, but now spruceup gives me an error message when loading it essentially saying the resolution of the media asset is not dvd video compliant. Doing the math including the borders, the avisynth file does indeed output a video of 720x480, but spruceup still rejects it. Any ideas? Thanks in advance.

bigotti5
24th September 2006, 06:52
Assuming your source has par 1:1 you should use

ColorBars(624,352)
bicubicresize(720,366,0,0.5) #resize first
addborders(0,57,0,57) #then add borders

schmiddj
25th September 2006, 01:39
I'm getting an error message in HC saying "no YV12 color space, add ConvertToYV12() to script."

What's the "colorbars()" command for?

bigotti5
25th September 2006, 07:52
What's the "colorbars()" command for?

:D ...should not appear here...damned copy and paste

(btw. it creates a colorbars movie in specified resolution)

schmiddj
26th September 2006, 02:46
Ahh, it's alright - however you figured out those numbers, they worked.

I'm curious; I thought AviSynth couldn't accept odd number border lines. Is this not true? Plus, I don't know why HC didn't give me a "height not a multiple of 16" error . . .

Anywho, thanks for the help!

bigotti5
26th September 2006, 04:04
however you figured out those numbers, they worked

Not really familiar with NTSC, but the active area that forms the 4:3 frame is ~711x480 (9 pixels overscan) so 720,366 should be correct and not 720,362

I don't know why HC didn't give me a "height not a multiple of 16" error . . .

in your script you add borders before resizing
1. source is 624x352
2. addborders(0,56,0,56) results in 624x464
3. bicubicresize(720,362,0,0.5), so 624x464 is resized to 720x362
->362 is not a multiple of 16

the way should be

1. source is 624x352
2. bicubicresize(720,366,0,0.5),results in 720x366
3. addborders(0,57,0,57) results in 720x480
->480 is a multiple of 16