Video compression with Xvid codec

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • limitless
    Junior Member
    Junior Member
    • Jan 2007
    • 5

    Video compression with Xvid codec

    Hi I'm not sure if im posting in the right place because i just registered on this site so... please inform me if i should list the question elsewhere.

    My problem is that Im trying to change the resolution of this avi file with virtualdub but in order to do that, I need to use the "Full process" mode in order to enable the filter "resize", after resizing and saved my new avi to a new file, i want to recompress the avi with xvid.

    Under xvid video compression options it lets u select the desired bitrate, i've set my desired video bitrate to 169 kbps but and audio to direct stream, but after compression my video becomes 30 something kbps?

    what did i do wrong?

    Thanks in advance
  • anonymez
    Super Moderator
    • Mar 2004
    • 5525

    #2
    welcome to the forum

    but after compression my video becomes 30 something kbps?
    what indicates this?
    "What were the things in Gremlins called?" - Karl Pilkington

    Comment

    • limitless
      Junior Member
      Junior Member
      • Jan 2007
      • 5

      #3
      reply to anonymez

      hi thanks for the welcome, right click the avi and go to Properties it'll tell u the bit rate, I see it says 30 something kbps in the avi property yet i set my desired bitrate to 169 during the compression process ( in virtualdub, Video - Compression - xvid codec)

      the reason i want to re-compress the video is because after changing the resolution, my 2 minute video with 5xx(H) by 3xx(V) resolution became 1.2 gb big, and in its properties it does not say bitrate no more, and i believe this indicates that the video is un-compressed, thus obviously i would want to compress it to contain it with a 15-20mb file.
      Last edited by limitless; 8 Jan 2007, 07:16 PM.

      Comment

      • anonymez
        Super Moderator
        • Mar 2004
        • 5525

        #4
        I see it says 30 something kbps in the avi property yet i set my desired bitrate to 169 during the compression process ( in virtualdub, Video - Compression - xvid codec)
        that's windows media shell extension's info. i'm not sure how it calculates video bitrate, but it's incorrect. use something like mediainfo or virtualdub's file info for a more accurate value. your video is at 169kbps as you intended.
        "What were the things in Gremlins called?" - Karl Pilkington

        Comment

        • celtic_druid
          Digital Video Expert
          Digital Video Expert
          • Dec 2005
          • 514

          #5
          Think you will find that the figure in properties should actually read kB since it appears to be the combined data rate in kiBytes not bits.

          (169+128)*1000/1024*8=36kB

          Comment

          • anonymez
            Super Moderator
            • Mar 2004
            • 5525

            #6
            just took a look, it also gives the "data rate" under the "video" headline, which most people would assume includes only video bitrate
            "What were the things in Gremlins called?" - Karl Pilkington

            Comment

            • limitless
              Junior Member
              Junior Member
              • Jan 2007
              • 5

              #7
              Hi Celtic Druid, when i set the desired bitrate in xvid codec to 169 + original audio at 128, your formula have almost calculated the exact bitrate that was shown under the properties of the avi (properties from right clicking the avi), the actual bitrate shown was 37, but i think your formula is 100% correct !! or if i change it to (169+128)/8 = 37 exactly what i got!
              however, i target for 169 kB/s *i know its BYTE now*, i changed the formula to
              (X+128) / 8 = 169kB
              X= 1224 kb *bits*
              after reset the desired bitrate value during compression to 1224, it yield out 146kB in the avi's properties (a 23kB difference), i rechecked Xvid status after the compression (attached picture), it says Avg kbps magically became 1015 instead of the 1224 i have set. what went wrong??
              if i plug in the 1015 it indeed yield out around 146kB bitrate
              (1015+128) / 8 = 143kB, but didnt i set it to 1224?

              and anonymez i see only "frame rate" under video headline, no "data rate" tho
              Attached Files
              Last edited by limitless; 9 Jan 2007, 11:55 AM. Reason: forgot to attach image

              Comment

              • varunb
                Trying my experiments in the dark.
                • Dec 2005
                • 79

                #8
                In order to confirm the bitrate of your avi, just open it In VirtualDub -> go to 'File' menu -> select 'File Information'. The dialog boxthat appears will show u the exact video & audio bitrate used by the avi.

                Comment

                • limitless
                  Junior Member
                  Junior Member
                  • Jan 2007
                  • 5

                  #9
                  video stream data rate "1058 kbps 0.43% overhead" lol, its still different than what i have set

                  Comment

                  Working...