the best way to compress a movie file...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • scdlcgs
    Gold Member
    Gold Member
    • Apr 2003
    • 134

    the best way to compress a movie file...

    what is the best way to compress a movie file, specifically an avi file? i always use virtual dub after my encoding, but lately i have had some problems...
    when i try to resize a film (720.340 to 512.296, 790 mb), i have used divx 5.05, divx, 5.03 and xvid... and every file that has result is bigger than the original one...
    i also tried with gordian knot... but there was no audio because i couldnt select any audio source...
    a little help in here...
    thanx for your atte.

    Scdlcgs
    Scdlcgs- Improving... Editing is my thing! Have patience...
  • Qyd
    Digital Video Technician
    Digital Video Technician
    • Oct 2002
    • 433

    #2
    Surpisingly enough, file size has nothing to do with frame dimensions, it's just a relation between <b>bitrate</b>, file size and length (time) of avi. Inbetween lies the quality.

    Comment

    • SKD_Tech
      Lord of Digital Video
      Lord of Digital Video
      • Jan 2003
      • 1512

      #3
      If it is larger you will need to decrease your bitrate. More than likely it was set higher than the original copy

      Comment

      • scdlcgs
        Gold Member
        Gold Member
        • Apr 2003
        • 134

        #4
        Is there a possibility to do a compression of an avi file with gordian knot? i tried before, but there was no audio... i dont know what to put in the audio source... a little help in here... thanx
        Scdlcgs
        Scdlcgs- Improving... Editing is my thing! Have patience...

        Comment

        • Qyd
          Digital Video Technician
          Digital Video Technician
          • Oct 2002
          • 433

          #5
          GK is a collection of programms aimed at ripping dvd's to avi format. If you just want to recompressan avi just use VirtualDub

          Comment

          • scdlcgs
            Gold Member
            Gold Member
            • Apr 2003
            • 134

            #6
            ive always used virtual dub, but recently i have had a problem, when i try to recompress an avi file created by gordian knot in virtual dub, it tells me that there is a problem with ther audio: "virtual dub has detected an improper vbr audio encoding (audio stream 1)..." and it asks me if i want to rewrite the header. This makes the audio to play in a different time to the video... why is this? do i have to do something else? thanx for your help...
            Scdlcgs
            Scdlcgs- Improving... Editing is my thing! Have patience...

            Comment

            • setarip
              Retired
              • Dec 2001
              • 24955

              #7
              Converting .AVIs with VBR-MP3 Audio

              Simply use NanDub (or VirtualDubMod) to save the audio stream as an Uncompressed PCM (WAV) file as follows:
              Load your original .AVI into NanDub
              Set "Video" to "Direct Stream Copy"
              Set "Audio" to "Full Processing Mode"
              From the "Audio" dropdown menu, select "Compression" - and choose "<No compression(PCM)>"
              From the "File" dropdown menu, select "Save WAV" (Enter a new filename with a ".WAV" extender).Click on "OK"
              Then set "Video" to "Direct Stream Copying"
              Then save the .AVI as a silent .AVI (set "Audio" to "No audio" after you've saved the WAV file).

              Then close NanDub and restart it
              Set "Audio" to "No audio"
              Load your silent .AVI
              Set "Video" to "Direct Stream Copying"
              Under "Audio" click on "WAV Audio" and load your .WAV
              Set "Audio" to "Full Processing Mode"
              From the "Audio" dropdown menu, select "Compression" and choose the appropriate .MP3 settings. Click on "OK"
              From the "File" dropdown menu, select "Save as AVI" and save your file with a new filename.
              Last edited by setarip; 7 May 2003, 03:26 AM.

              Comment

              • scdlcgs
                Gold Member
                Gold Member
                • Apr 2003
                • 134

                #8
                thanx for your reply setarip, ill try it and let you know...
                Scdlcgs- Improving... Editing is my thing! Have patience...

                Comment

                • setarip
                  Retired
                  • Dec 2001
                  • 24955

                  #9
                  "thanx for your reply setarip"

                  My pleasure ;>}

                  Comment

                  • SpikeSpiegel
                    Gold Member
                    Gold Member
                    • Apr 2003
                    • 141

                    #10
                    Hi!

                    If u really wanna have perfect results u should EVER use the dual pass (1st&2nd pass) of DivX5.05
                    VirtualDub is perfect for this kind of work, but if u also wanna erase imperfections of the source try to use TMPGEnc, the noise filter is better than 2dCleaner and SmartSmoother of VDub.

                    the bitrate depends only on the length of the film:

                    Bitrate(Kibit/s)= (#MB*1024*8)/(#seconds)

                    the resolution depends on the bitrate; to use high bitrates with low resolution and vice-versa is useless, so the perfect ratio between those is this:

                    (kBit/s * 1024)/(hight * width * fps)= K
                    K=0.15 for low-medium quality
                    K=0.20 for medium-high q
                    K>0.30 .....too much!

                    u can use GordianKnot to simplify calculations

                    Using these parameters everythig is possible....4example Pulp Fiction (147 MINUTES) on ONE CD!

                    Comment

                    • scdlcgs
                      Gold Member
                      Gold Member
                      • Apr 2003
                      • 134

                      #11
                      thanx for your suggestions spikespiegel, but what i dont know is how to put the audio source when i try to recompress an avi file in gordian knot... i did it once and there was no audio... if somebody knows, please tell me.
                      Thanx for your atte.
                      Scdlcgs- Improving... Editing is my thing! Have patience...

                      Comment

                      • SpikeSpiegel
                        Gold Member
                        Gold Member
                        • Apr 2003
                        • 141

                        #12
                        I know, i know, but if u use Nandub as Setarip said u should have no problem....well, honestly there could be a "little" problem: desynchronization
                        this is the reason why i never use VBR, but, anyway, there are some ways to fix any kind of desync, so don't worry!

                        I think u should care a little more about video: everytime u recompress an AVI u have a (relative) little loss of quality and u don't use those parameters the output file could have imperfections like dots or "macroblocks", expecially in "high-motion" scenes.

                        Good luck!

                        Comment

                        • SKD_Tech
                          Lord of Digital Video
                          Lord of Digital Video
                          • Jan 2003
                          • 1512

                          #13
                          Nandub accepts VBR with no sync problems so don't worry

                          Comment

                          • SpikeSpiegel
                            Gold Member
                            Gold Member
                            • Apr 2003
                            • 141

                            #14
                            <Nandub accepts VBR with no sync problems so don't worry>

                            True, but i was referring to the desync that is created in the moment u play the movie, expecially using slow CPUs and after seeking the video.
                            Most of the avi with VBR that i saw had this broblem, maybe it's just a coincidence, maybe ALL of them were not interleaved...

                            Comment

                            • UncasMS
                              Super Moderator
                              • Nov 2001
                              • 9047

                              #15
                              the avi container is known for certain troubles with VBR mp3 - the async problem has been reported more than once.

                              Comment

                              Working...