Digital Video Forums  

Go Back   Digital Video Forums > Video File Formats > AVI, DivX/Xvid

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 9 Jul 2002, 05:38 PM   #1
Junior Member
Junior Member
 
Join Date: Jul 2002
Posts: 7
Default Strange small Divx video file size

Hi all!

I have a new strange problem:
I'm using FlaskMPEG XiS 3.0e for conversion and Divx 5.02 Pro (add).
It's not the first time that I do a conversion (I did a lot),
But here is my problem:

Trying do convert the movie Stalingrad "Enemy at the gates".
I using Divx Calculator for estimate the Bitrate
- Lenght : 125m39s
- Audio mp3 file: 149 Mo
- 2 CD (then, I want a video file of 1251 Mo)

The Divx Calculator give me 1395 kbps.

When I convert the movie (options QP, GMC and BE enabled) in 2-pass with 1395 kbps.

My video file do 758 Mo !!! (and not 1251 Mo!!!)

Then I do a test: I use 2000kbps... and my video file do ... 754 Mo..

I play the video file.... and the quality seem very good...

I try with another movie "American Beauty", and I have the same prolem: undersie divx file.

Where the problem ????
Gugus is offline   Reply With Quote
Old 9 Jul 2002, 06:18 PM   #2
Digital Video Specialist
Digital Video Specialist
 
Join Date: Nov 2001
Location: Germany (NRW)
Posts: 770
Default

If you are using a low res like 512x216 or 400x300 or a reduced framerate and the video dosen't contain a lot of motion/noise this could happen. Maybe 650MB allready gives the best possible DivX-quality. If you want a bigger filesize maybe you can use a higher res.
__________________
don't trust in guides
benderman is offline   Reply With Quote
Old 9 Jul 2002, 06:45 PM   #3
Junior Member
Junior Member
 
Join Date: Jul 2002
Posts: 7
Default

I'm using 640 X 480 of base resolution (after crop it change a little).
I don't chage the framerate (25fps).

And Stalingrad is a War film (with lot's of action).
Gugus is offline   Reply With Quote
Old 9 Jul 2002, 08:49 PM   #4
khp
The Other
 
khp's Avatar
 
Join Date: Nov 2001
Location: Online
Posts: 2,161
Default

Try doing a 1-pass qualitybased encoding at 100%. If it comes out significantly larger than the files you produced, then something is wrong.

Or if you can, try running the attached script, on the second pass logfile, the one called analyse.log, not the firstpass logfile.
To run the script you will need to get the ActivePerl perl interpreter from www.activestate.com , place the file analyse.pl in the same directory as the analyse.log file, and double click analyse.pl.
This will create a file called second_pass_stats.log, post this here.
Attached Files
File Type: zip analyse2.zip‎ (1.4 KB, 109 views)
__________________
Donate your idle CPU time for something usefull.
http://folding.stanford.edu/

Last edited by khp; 5 Nov 2002 at 02:53 PM
khp is offline   Reply With Quote
Old 9 Jul 2002, 11:01 PM   #5
Junior Member
Junior Member
 
Join Date: Jul 2002
Posts: 7
Default

Ok I download and will try it.
Thanks
Gugus is offline   Reply With Quote
Old 11 Jul 2002, 06:42 AM   #6
Junior Member
Junior Member
 
Join Date: Jul 2002
Posts: 7
Default

Hi !
Here is the log file.
Where I could found documentation for understand this log file ?
Attached Files
File Type: zip second_pass_stats.log.zip‎ (345 Bytes, 96 views)
Gugus is offline   Reply With Quote
Old 11 Jul 2002, 08:20 AM   #7
khp
The Other
 
khp's Avatar
 
Join Date: Nov 2001
Location: Online
Posts: 2,161
Default

Quote:
Originally posted by Gugus
Hi !
Here is the log file.
Great, the log file states that all frames were encoded using quantizer 2, which means that the movie is encoded at maximum quality, with the current settings. So unless you got some obvious defects in the video, I think you should be happy with this.

But because B-frames are encoded with doubled quantizers, you might get better quality by encoding without B-frames, at the cost of a much bigger file of course.

Quote:
Originally posted by Gugus

Where I could found documentation for understand this log file ?
Nowhere !

I'am sorry, it's just something I put together, trying to trackdown some undersizeing problems. Writeing documentation hasn't been a high priority for me.

The file just states the total number of frames, and the total number of I-frames,P-frames, and B-frames.

It then goes on to tell how many frames were encoded at each quantization level, for both I,P,B-frames and all of them combined.
And of course also calculates the average quantizer.

Last edited by khp; 11 Jul 2002 at 08:41 AM
khp is offline   Reply With Quote
Old 11 Jul 2002, 09:23 AM   #8
khp
The Other
 
khp's Avatar
 
Join Date: Nov 2001
Location: Online
Posts: 2,161
Default

You can find an explanation of I,P, and B-frames here

http://forum.doom9.org/showthread.php?s=&threadid=19436

And quantizers are explained here

http://forum.doom9.org/showthread.php?s=&threadid=21397

and in many other threads in this forum, and http://forum.doom9.net, and http://forums.divx.com
khp is offline   Reply With Quote
Old 11 Jul 2002, 01:05 PM   #9
Member
Member
 
Join Date: Apr 2002
Posts: 73
Default

Whats FlaskMPEG XiS 3.0e?
jagarus is offline   Reply With Quote
Old 11 Jul 2002, 04:00 PM   #10
Junior Member
Junior Member
 
Join Date: Jul 2002
Posts: 7
Default

Thanks for your answer khp !
Jagarus, FlaskMEPG Xis 3.0e is a version witch support YV12 and YUY2 encoding.
You could found it here:
http://www.digital-digest.com/dvd/do...flaskmpeg.html
Gugus is offline   Reply With Quote
Old 13 Aug 2002, 01:55 AM   #11
Super Member
Super Member
 
Glanz's Avatar
 
Join Date: Aug 2002
Location: Tennessee
Posts: 204
Default

ok i did the same thing here is my log file what can u tell me about it
i as well am getting bad quality on my movie i tried to reinstall divx 5.02 but that didnt work i put in a 2 cd size file and around 1200 kbps and it comes out around 400 mb and like 300 kbps which looks bad can u maybe help me
Attached Files
File Type: txt second_pass_stats.txt‎ (599 Bytes, 189 views)
Glanz is offline   Reply With Quote
Old 13 Aug 2002, 03:14 AM   #12
khp
The Other
 
khp's Avatar
 
Join Date: Nov 2001
Location: Online
Posts: 2,161
Default

OK

This is very strange. According to the log, your file is nowhere near maximum quality, At maximum quality the file would probably be about 50%-70% larger (just a guess).

At the end of the analyse.log file there are two numbers marked progress and expected, could you post these. In the analyse log file these, numbers are noted for each frame, I'd like to know the numbers for the very last frame. This will tell us how close to the desired filesize the codec thought it was when it finished the movie.

To force the codec to produce higher quality you could do a quality based encoding at 100%. But of course you don't have any filesize prediction that way.
khp is offline   Reply With Quote
Old 13 Aug 2002, 03:26 AM   #13
Super Member
Super Member
 
Glanz's Avatar
 
Join Date: Aug 2002
Location: Tennessee
Posts: 204
Default

i hope this is the right one
Attached Files
File Type: txt new text document.txt‎ (60 Bytes, 233 views)
Glanz is offline   Reply With Quote
Old 13 Aug 2002, 03:27 AM   #14
Super Member
Super Member
 
Glanz's Avatar
 
Join Date: Aug 2002
Location: Tennessee
Posts: 204
Default

how would i do a quality based encoding in gknot do u know what i mean ?
Glanz is offline   Reply With Quote
Old 13 Aug 2002, 03:31 AM   #15
khp
The Other
 
khp's Avatar
 
Join Date: Nov 2001
Location: Online
Posts: 2,161
Default

Dammit I missed something...

your encoding must be well an truely messedup.

The frame count is only 13107, only about 10 minutes of video.

Could it be that the first pass is aborted prematurely ?. Could you post you _GKnot.log file.

Could you try running the encoding in virtualdub manually. Load the avs file that GKnot created into virtualdub set video->fast recompression, and configure the codec in video->compression, you will have to set both the first and second pass manually.
khp is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




All times are GMT +10. The time now is 03:25 AM.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright © 1999 - 2018 Digital Digest

Visit DivXLand   Visit dvdloc8.com