User User name Password  
   
Saturday 21.12.2024 / 21:03
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > archived forums > divx / xvid > problems encoding an exact avi file size
Show topics
 
Forums
Forums
problems encoding an exact avi file size
  Jump to:
 
Posted Message
kmart
Junior Member
_
9. July 2002 @ 05:25 _ Link to this message    Send private message to this user   
I originally posted this on the DVD ripping board, before I realized it didn't belong there. I apologize.

I have one DVD, and I've been practicing on it for nearly a week now, and I can't seem to get it right. Once I figure out what I'm doing, I figure I'll subscribe to netflix and try to rip 3 - 4 movies a week.

Using the afterdawn 16:9 guide, I finally ripped and encoded a very nice and very watchable version of gattaca last night. I have no complaints about the quality. The movie is 1h 46m 25s long, and the audio quality is a 160 kbps mp3. In DVTool, I set it that the file size should be 1350 MB, so it could easily fit on 2 CDs. After cropping, the resolution is 640x272. According to DVTool, if I want a file of that size with those parameters, I should encode it at approximately 1570 kbps (I forget exactly what the number was).

Thing is, when I woke up this morning and came to check it, the file was 767 MB, which is too big for a single CD. Now the fact is, this is the best looking divx rip I've ever seen, and I'm very happy with the results, so you might ask why I want it to be 1350 MB. Well, it's too big for 1 CD, so I might as well use 2 full CDs to store it, and get better visual quality, instead of using 2 nearly half empty CDs.

I checked the numbers myself. 1570 kbps * 107 min * 60 sec/min * 1 byte/8 bits = 1.25 gigabytes, and with the ~125 MB sound file, it should be under 1400 MB to fit onto two CDs.

So I set the bitrate to what DVTool told me it should be, I checked the numbers, and DVTool seems right...so why is the resulting avi file only 767 MB?

Any help will be appreciated.

BTW, here are the details, in case any of it's important:

I used Smart Ripper to rip the DVD, DVD2AVI as a frame server, VFAPI Convert, to convert the .d2v into a pseudo-avi, CDex to convert the wav into a "wav-wrapped mp3 file" with the Lame encoder, then finally, I used Virtual Dub to encode the video with divx 5, in two passes. When I played it in DVD2AVI (the ripped .vob files) for the first few frames it said the video was interlaced, but after that it said progressive. Despite the fact that it said progressive, I added a deinterlace filter anyway, because when I looked at the video in virtual dub, the frames looked interlaced (when looking at a single frame during motion, it's pretty obvious when it's interlaced). Other than adding the deinterlace filter (blend frames) I followed the afterdawn 16:9 guide word for word.

This message has been edited since posting. Last time this message was edited on 9. July 2002 @ 10:24

DoctorB
Suspended due to non-functional email address
_
17. July 2002 @ 07:47 _ Link to this message    Send private message to this user   
Bit rate Calculaters are not exact. When encoding it does not use the same bitrate through out the movie because some seens requirer a higher bit rate or a lower bit rate. The bit rate given is the average of the movie. May be try a different bit rate calculator some may be better than others

All Your Base Are Belong to Us
kmart
Junior Member
_
17. July 2002 @ 08:00 _ Link to this message    Send private message to this user   
Bitrate calculators might not give the right answer because of variable bitrates, but a bitrate calculator is a very simple thing, and all bitrate calculators will give the same result. 200kB/s * 10 secs = 2000 kB. All calculators will tell you the same thing. They just calculate the numbers, it doesn't matter what coded you're using.

That being said, DivX 5 apparently only goes up to a certain bitrate. If it determines that using a higher bitrate won't increase video quality, it won't go above that bitrate.
afterdawn.com > forums > archived forums > divx / xvid > problems encoding an exact avi file size
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2024 by AfterDawn Ltd.

  IDG TechNetwork