Log in

View Full Version : Use different resolutions in an avs?


Arcon
29th August 2005, 23:47
I'd like to encode two movies so that the result will fit on a dvd-r. i don't want to make two encodes with a size of 4.7gb / 2 because i doubt that the movies are similarly complex. instead i'd like to let xvid distribute the bitrate by handing it both movies as a single stream through one avs-file.

The problem i've got now is that both sources have a different resolution. so i'd like to encode frames 1...x in 2.35:1 and frames x+1...n in 1.85:1.

Is it even possible to include two sources with different specs? is it allowed/possible for an mpeg4 codec to change the resolution within one stream?

edit: If this looks more like an xvid- than an avs-problem, move me :)

mic
30th August 2005, 03:43
How about rendering each out as square pixel with letterbox as needed? Have one frame size and one aspect throughout?

Arcon
30th August 2005, 12:22
so you mean i should encode anamorphic and alter the aspect ratio afterwards? but then i have to encode at least one movie not fully cropped.

Didée
30th August 2005, 12:35
Simple way that always works:

Make one separate script for each movie. Make a 1st-pass for each script. Get the sizes of both 1st-pass'es (with koepi's statsreader), and calculate the according destination sizes for both 2nd-pass'es.

I hope the "rule of three" is still teached in school, nowadays? :D

Well, just in case it's not:

dest_size_1 = 4480*1024 / (1st_pass_size_1 + 1st_pass_size_2) * 1st_pass_size_1 [kB]

(Give a few MB less to be on the safe side.)

Arcon
30th August 2005, 12:40
Make one separate script for each movie. Make a 1st-pass for each script. Get the sizes of both 1st-pass'es (with koepi's statsreader), and calculate the according destination sizes for both 2nd-pass'es.
sounds good, i'll try that :)


I hope the "rule of three" is still teached in school, nowadays? :D
dunno, it's been some time since i was there (and no, i'm not notoriously ditching school ;))