Log in

View Full Version : wrong output sizes with filters in MeGui


EuropeanMan
9th April 2007, 03:03
Here is my script dialogue from megui:

DGDecode_mpeg2source("C:\Users\Farooq Malik\Desktop\KRRISH\VIDEO_TS\VTS_02_1.d2v",cpu=4,info=3)
ColorMatrix(hints=true)
#Not doing anything because the source is progressive
crop( 0, 58, -2, -62)

Lanczos4Resize(720,304) # Lanczos4 (Sharp)
SetMemoryMax(1024)
MT("LimitedSharpenFaster(ss_x=1.0, ss_y=1.0, Smode=4, strength=150, overshoot=1)",3)
-----------

In bit-rate calc...2cd rip, xVid, AVI container, AC3 audio for 192kbs 6channel...

TOTAL size i put at 1395MB...

----------

Now I have about 3hrs left on encoding for the video...and project size is this so far...1450000 or so...this is nowhere NEAR my projected size for video around 1150MB! Audio is about 240MB already finished...

So what gives? This is the 2nd time I am doing this and first time it went over-size too! How do i fix this?

EuropeanMan
9th April 2007, 03:06
Here is log file so far:

Looking for job processor for job...
Processor found!
Starting job job1-1 at 12:14:29 PM
Starting preprocessing of job...
Preprocessing finished!
encoder commandline:
-i "C:\Users\Farooq Malik\Desktop\KRRISH\VIDEO_TS\Krrish.avs" -pass1 "C:\Users\Farooq Malik\Desktop\KRRISH\VIDEO_TS\Krrish.stats" -bitrate 915 -kboost 100 -chigh 30 -clow 15 -overhead 0 -nopacked -qtype 1 -closed_gop -imin 3 -imax 5 -pmin 3 -pmax 5 -max_bframes 2 -bvhq -bquant_ratio 162 -bquant_offset 0 -bmin 3 -bmax 5 -threads 2
successfully started encoding
Processing ended at 4:43:08 PM
----------------------------------------------------------------------------------------------------------

Log for job job1-1

xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003


Tot: enctime(ms) =4371190.00, length(bytes) = 1069627143
Avg: enctime(ms) = 17.37, fps = 57.56, length(bytes) = 4250
I frames: 3231 frames, size = 52224/168738091, quants = 2 / 2.00 / 2
P frames: 103954 frames, size = -7071/-735139512, quants = 2 / 2.00 / 2
B frames: 144434 frames, size = 11327/1636028557, quants = 3 / 3.00 / 3
N frames: 1 frames, size = 7/ 7
Trying to retrieve width and height from input header
Input colorspace is YV12
xvidcore build version: xvid-1.2.0-dev
Bitstream version: 1.2.-127
Detected CPU flags: ASM MMX MMXEXT SSE SSE2 TSC
Detected 2 cpus, using 2 threads.

----------------------------------------------------------------------------------------------------------
Starting postprocessing of job...
Job completed successfully and deletion of intermediate files is activated
Postprocessing finished!
Looking for job processor for job...
Processor found!
Starting job job1-2 at 4:43:08 PM
Starting preprocessing of job...
Preprocessing finished!

check
9th April 2007, 03:54
the projected size is in kilobytes, not megabytes ;)

EuropeanMan
9th April 2007, 04:02
I am NOT stupid enough NOT to know that...convert the projected size...to MB...and see what you get!

1416MB...that's MORE than the expected!!! WHY DON'T YOU USE YOUR BRAIN AND UNDERSTAND WHAT MY PROBLEM IS!

check
9th April 2007, 06:02
Your brain is obviously malfunctioning if you attack those who try to help. MeGUI simply assumes constant bitrate output, hence the inaccuracy.

ChronoCross
9th April 2007, 06:22
your limiting the quants between 3 and 5. that's why it's overshooting.

-imin 3 -imax 5 -pmin 3 -pmax 5 -bmin 3 -bmax 5

http://forum.doom9.org/showthread.php?t=92046

Read that and fix your xvid settings and you won't overshoot your small target size.

EuropeanMan
9th April 2007, 06:43
Thanks...sorry man...i went through 3 rips...all frustrating...so many hours wasted...

EuropeanMan
9th April 2007, 15:12
your limiting the quants between 3 and 5. that's why it's overshooting.

-imin 3 -imax 5 -pmin 3 -pmax 5 -bmin 3 -bmax 5

http://forum.doom9.org/showthread.php?t=92046

Read that and fix your xvid settings and you won't overshoot your small target size.

I have changed the min's to 2 and max's to 25.
Also changed the other settings as dictated by the link you gave me. The encoding is running right now...so I have about 9hrs left on that.

My next question, within that link it says I am able to view the log file generated by MeGUI within some software that came with the registered edition? But I don't see that in my files anywhere...Anyway, I am hoping this will work out...we'll see.

ChronoCross
10th April 2007, 06:36
I have changed the min's to 2 and max's to 25.
Also changed the other settings as dictated by the link you gave me. The encoding is running right now...so I have about 9hrs left on that.

My next question, within that link it says I am able to view the log file generated by MeGUI within some software that came with the registered edition? But I don't see that in my files anywhere...Anyway, I am hoping this will work out...we'll see.

not sure what your talking about. The megui log files are readable using a text editor or the megui windows post encoding. As for the stats file the only tool I can remember that does that is the stats viewer that comes with koepi's vfw version.