I have been converting avi files with dvcodec into avi files with divx codec. I use virtualdub. I have noticed though that the divx file sizes I get after conversion with virtualdub are larger than the dvcodec files I started out with. Sometimes over twice as large. Am I doing something wrong? I open the file in Virtualdub and select fast recompress in the video menu, then select divx in the compression menu there. I select full processing in the audio menu and mpeg layer 3 in the compression menu there.
+ Reply to Thread
Results 1 to 24 of 24
-
-
Here is a screen shot of the properties of the dvcodec file I started with which was 711,816 KB in size
-
Here is a screen shot of the properties of the divx codec file that I created with virtualdub which is now 1,582,082 KB large
Notice that even though I chose mpeg layer 3 compression in the audio compression menu its saying the audio format is "PCM". Ihave no idea how that happened either.
-
Are you using same video bitrate in virtualdub? 121kbps. It is a very low bitrate for video....
-
Select Video->Compression, choose the DivX, click on Configure and under Rate Control Mode set the Bitrate.
-
Regardless of what Windows is telling you, the source files are not DV codec. DV only supports 720x480 NTSC, or 720x576 PAL. And it only supports one video bitrate 3600 kbps, not 121 kbps.
The reason your files are growing is because your output bitrate is higher than your source, both the audio and video. -
Thanks. So, ...
a) what are the files I have?
b) how do I set the output so that it is the same as my starting file?
for the file in my example how would I change the audio output to be the same as the source file? Use "direct stream copy" or use full processing and select the mpeg layer 3 under the compression menu? And if I do that which of the many formats in there should I choose.
and how do I change the video settings? go into the divx settings, and then select 121kps in the rate control box? -
PS I am converting these files to divx because divx files will play on my D-Link wireless media server. The original "dvcodec" files will not play. Picture, and even sound quality is not that important to me at this time. I am trying to save precious space in my hard drive, so I want to convert all the files that won't play, into a version that will play, so I can delete the originals. I want as small a file size as is possible so I can store as many of them as possible on my hard drive.
-
Originally Posted by maureensullivan
Originally Posted by maureensullivan
Originally Posted by maureensullivan
Originally Posted by maureensullivan
Originally Posted by maureensullivan -
So which is better for the audio (as in which will be the smaller file) using direct stream, or using the mp3 compression?
and how do I set the bitrate in the audio settings, I do not see a box like in the video setting to select the audio bitrate -
I do not understand your advice about the multipass. So I save the same file twice??
-
Originally Posted by maureensullivan
-
Yes, exactly like he described.
The first time you save, the program will spit out an output file, then a "profile" of the output to be used in the 2nd pass.
The 2nd time you save, after setting it to 2nd pass, it'll then give you the final output.
Depending on your CPU power, each pass can take several hours. -
OK I downloaded avicodec and used it to id the avi files I downloaded.
Here is the tech specs for avi files for my media player:
Supported Video Formats:
• MPEG 1 (up to 8Mbps)
• MPEG 2 (up to 8Mbps)
• MPEG 4 (ASP - Advanced Simple Profile)
• XVID (with MP3 and PCM)
• AVI (MPEG4 layer only, does not support uncompressed AVI)
The avi files I downloaded do not play in my media player. But when I use virtualdub to convert them to divx they do play.
here is what avicodec said about the 2 files I have been mentioning:
original file (does not play in media player)
File : 695 MB (695 MB), duration: 1:37:23, type: AVI, 1 audio stream(s), quality: 51 %
Video : 605 MB, 869 Kbps, 29.969 fps, 480*360 (4:3), MP42 = MS MPEG4 V2, Supported
Audio : 89 MB, 128 Kbps, 44100 Hz, 2 channels, 0x55 = MPEG Layer-3, Supported
divx file I made with virtual dub (does play in media player)
File : 1.50 GB (1.50 GB), duration: 1:37:23, type: AVI, 1 audio stream(s), quality: 74 %
Video : 562 MB, 806 Kbps, 29.969 fps, 720*480 (4:3), DX50 = DivXNetworks Divx v5, Supported
Audio : 982 MB, 1411 Kbps, 44100 Hz, 2 channels, 0x1 = PCM, Supported
It looks like the original file is MPEG version 4, so I wonder why it won't play.
Anyway since I know divx will play, I want to use virtual dub to create the smallest file size that will still ply in my plaer.
any insights? -
Or give Gordian Knot, with autoGK (which in turn controls VDub and other progs) as the front-end program to do the conversion for you. Load the video in question, and in AGK, set the fps you want (likely unchanged), resolution (probably stay auto or fixed 640), audio bitrate (there is an 'original' tickbox suggest you prob use that), target size (completed file)..Then preview to see if it will look right for you, then add job -> Start.
I suggest using AGK for the simplicity - for me even running conversions manually, with some good guides here I wasn't able to hit a proper two-pass target size for some reason..Found AGK way back when, and don't need to even worry about that anymore.
A few more things:
a) I believe it defaults to two pass encoding, so no changing there
b) Some of the stuff I mentioned above are in a 'hidden' settings menu (Ctrl-F9 combo iirc), but I suggest you *not* fiddle with those unless either know what you're doing and/or are willing to experiment (and waste some encode time)..For example, I have to use the hidden settings auto-crop tuning needs to fiddle with some HDTV capture conversions.
c) I know it's been mentioned before, but the Windoze properties panel (in my experience) it terribly inaccurate in it's file info..I personally use GSpot for that purpose...As mentioned VDub will tell you, but for me, importing 2-4+ GB .TS HD streams take too darn long in VDub.
d) I ramble a bit too much when I've just woken up not long ago and haven't had enough coffee yet...All this to pretty much say ause AGK, it's a nifty little program..
[edit] MS MPEG4 v2 - it my memory hazy or is that that crappy old pre-Divx/Xvid hacked M$ codec?..Anyway, to get a the same size, in whatever program(s) you end up using for the deal, try setting the same bitrates as Avicodec gave you..To shrink a bit more, you could try dropping the audio to 96k - although I wuoldn't suggest it..128k is the lowest I'd EVER go, below that it starts to sound really tinny in my experience..You could lower the video bitrate some, but I wouldn't do that unless you're either willing to take a quality hit, or resize down some to compensate (ie: down to 512x384 or something - keeps the same 4:3 ratio). -
You have an old, MPG4 file.
You are upsizing the video to 720x480.
You are getting completely uncompressed, PCM audio. This is causing your file size issue. Just look at the video and audio filesizes.
Your problem would have been prevented by a more complete understanding of the process. Correct procedures for this conversion are available in multiple Guides. There is no substitute for doing the basic reading which will give you a more complete knowledge of what you are attempting to do.
More complex procedures, even with complete, step-by-step instructions, will be much more difficult without an understanding of the basics of video. -
VirtualDub:
File -> Open Video File
Audio -> Direct Stream Copy (the default anyway)
Video -> Fast Recompress
Video -> Compression -> Divx (multipass first pass)
File -> Save as AVI
Video -> Compression -> Divx (multipass nth pass, set bitrate)
File -> Save as AVI. -
Since your player supports mp3, you should leave the audio alone (aka DirectStreamCopy). For video, Xvid looks like a good choice.
The "old MPEG4 v2" isn't a standard ISO MPEG4, it's Microsoft's very non-standard variant of it (they jumped the gun) which they tinkered with on the road to coming up with WMV (also non-standard MP4). So, it's gonna have to get changed.
Choice is to upsize or not? Depends on how your player plays it. It could automatically blow the 480x360 up to full screen, or not. If it does, your job is easier, just change the codec and the bitrate. Unfortunately, your original BR is a probably a little too low for great quality. You don't want to lose more, so you'll want the BR to be a little bit higher. I'd go ~1.2Mbps, which will give you a 38% increase in the size of the video stream (audio being the same). Make sure PAR is 1:1.
If your player DOESN'T support auto-blowing up smaller sizes, you should resize to 720x480, with NTSC PAR (0.9090909:1) and accordingly give it a slightly larger bitrate (say ~1.65Mbps).
All other encode choices (GOP, Q-matrix, etc) should be whatever you player supports best.
That's a good starting point, but you decide what works for you.
Scott -
Originally Posted by maureensullivan
This file you have looks like it is already converted, you just need to get it playing on your computer. It might be with an old mpeg4 codec but a conversion to divx isn't going to make the file that much smaller if you retain the quality the file has now. Yea I know it will be a little smaller, and it might look just as good (or bad) as it does now, but to go through all this conversion process for a few MB? Not me, Im toooo lazy. lol
I have never worked with MS MPEG4 V2 before (that I know of) so I just now created one. In VirtualDub I used ffdshow for compression then from inside ffdshow the MS MPEG4 V2 codec. The file plays fine in WMP and Media Player Classic.
Looking at the microsoft site I found this: http://support.microsoft.com/kb/899113
It appears I got MS MPEG4 V2 support in XP-SP2. Thanks Bill.
Wouldnt it easier to get the file to play? Who knows, might be fine as is.
Best of luck. -
Originally Posted by Scorpion King
Originally Posted by maureensullivan -
Originally Posted by maureensullivan
The original file is 695MB and 1:37:23. That looks like 7.15MB per minute. 2 cans and a string should work for that much.
And I guess I am also assuming that since the original files were encoded using MS Mpeg-4 V2 that the quality level is low (by todays standards) even at 869Kbps making it probably necessary to clean up the video, something that I feel is/might be difficult for someone new to video.
And I am assuming that in the real world a file that is 695MB just isn't that big anymore.
Good luck all.
edit: I am also assuming that for compatibilities sake ffdshow will always be around. -
Originally Posted by Scorpion King
http://www.dlink.com/products/?pid=318
And inadvertently referred to it as a server, not a player. -
Ok Thanks jagabo.
I still think the 2 cans and a string would work.
I'm gone.
Similar Threads
-
VirtualDub question on huge file sizes, and save to formats
By etbrown4 in forum Newbie / General discussionsReplies: 10Last Post: 30th Sep 2011, 04:27 -
How do you avoid motion lines in your ripped DVD file?
By metrosuperstar in forum DVD RippingReplies: 39Last Post: 18th Sep 2010, 16:04 -
Making XVID videos with VirtualDub: output files w/huge file sizes (~1GB+)
By maskingtape in forum Newbie / General discussionsReplies: 11Last Post: 4th Mar 2010, 23:50 -
VirtualDub Output Too Large
By solarblast in forum EditingReplies: 2Last Post: 26th Dec 2007, 20:30 -
Avisynth on Virtualdub too large
By mrcoolekin in forum EditingReplies: 6Last Post: 11th Aug 2007, 10:11