File size of .avi with VirtualDub

Discussion in 'DivX / XviD' started by stampid, Nov 12, 2009.

  1. stampid

    stampid Member

    Joined:
    Nov 12, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    11
    I have taken a video with my canon camera.

    Original file info:
    video size: 640x480 @ 30 fps
    Audio: 44100hz, 16bps, 1ch
    Length: 2min44sec
    bitrate: 15711kbps
    Size on disk: 308MB

    After processing it with VirtualDub, the file size on disk is 43MB. I think this is still huge.

    Here are the settings I applied:

    Video compression : Div 6.8.5 codec with full processing mode
    Audio: 16 kbit/s, 8kh Mono: MPEG Layer 3 with full audio processing mode.

    Is there a way to make this video to smaller size and keeping a decent quality close to the original.

    Thanks for your help
     
  2. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    What bitrate or Q value did you set in the Divx encoder ?
    Try setting it to Q=6 and see what you get. If it's still to big
    set it to Q=8.
     
  3. stampid

    stampid Member

    Joined:
    Nov 12, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    11
    Hi,
    I m not sure where to get this value.

    Here's what I have.
    [​IMG]
    [​IMG]

    I just tried converting a 145mb avi file from the camera to divx, and it gave me a 25mb file with those settings.

     
  4. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    Open the box where you see "rate control mode" and choose
    1-pass quality based. Then put 6 in the box and use it as a
    starting point.
     
  5. stampid

    stampid Member

    Joined:
    Nov 12, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    11
    Oh man,
    this is getting pretty hard.
    With your recommendations, I get a file 45.2MB

    What's wrong ? Is there something wrong with the audio codec. I don t have lame installed, i m just using the mp3 the lowest in the list 1kb/sec ....

    What to do ?
     
  6. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    Try encoding the file without the audio so you can get an idea
    of the size. Select Audio - no audio.
    You can try increasing the Q number and see what it does. Instead of 6,
    use 10 - it should give a much smaller file.

    An idea to gather more info is to open the resulting file in
    Virtualdub and use file/file info.
    Look at the video and audio bit-rates.
     
  7. stampid

    stampid Member

    Joined:
    Nov 12, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    11
    Here's the info from the converted file with sound.

    [​IMG]

    and with no audio i still get the same size around 45MB.
    Q = 6
    What the hell is going on here.
    Here's the screen when the video was processed.

    [​IMG]
     
  8. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    It's strange. For general usage, that range of Q values works quite
    well. Your file info shows a bit rate of 4868 kbps. It's very high.

    Try this . Open the Divx config box and hit "restore defaults".
    In the bitrate box type 600. Encode the file.

    What size do you get now? Check the bitrate in the file / file info to
    see if's close to 600 (it should be)
     
  9. stampid

    stampid Member

    Joined:
    Nov 12, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    11
    Hello,
    Here's the print screen of the video after the Restore to default settings

    [​IMG]

    Now the file is around 22MB and with no sound. Ok. So it went down.
    The bit rate is : 2956, which is very high.

    I put the Q at 8 after and got a file with 45MB again.

    How do i reduce the bitrate to 600 ?

    Thanks
     
  10. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    I'm beginning to think there is something wrong with your Divx install.
    Either reinstall it, or install Xvid and try that.
     
  11. stampid

    stampid Member

    Joined:
    Nov 12, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    11
    hello
    it works

    it made a file of 10.4MB with these settings
    thx

    [​IMG]

     
  12. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    I looked at this again and saw something I didn't notice earlier.
    You had "use presets to configure the encoder" checked. On mine,
    it's grayed out, since I'm using the community codec (free version)
    and that item is not unlocked.

    I suspect if you deselect that option, you'll be able to set the
    bit-rate accurately.
     

Share This Page