6 Replies Latest reply: Jun 11, 2010 1:41 PM by frogmike RSS

    Exporting MJPEG Correctly

    frogmike Community Member

      I've done about 20 different exportations with different wrappers and codecs. And the best once I've managed to achieve so far is the FLV format, but of course that won't upload to Vimeo. Other problems with my ther exports include bad quality (artifacts, etc..), extra motion frames in quick movements shots, or they play laggily in WMP and quicktime player. I looked around for help, and I just honestly don't know what to do. What would work best to export my video? Its just over 3 minutes long, originally footage from a D90 in the dumb MJPEG AVI format, which I needed to download morgan to even play it properly to begin with. I have Premiere CS4, a good computer (8gb DDR3 ram, i5, GTS 250 1gb, SSD) and I'm still having trouble loading footage (without the help of the watermarking morgan), and trying to export it into something with good quality without going into the GBs of data. Average so far seems to be about 130mb for each export.

       

      So could anyone please advise to me (and probably several other), what the best setting would be to export something like this? Thank you.

        • 1. Re: Exporting MJPEG Correctly
          Stan Jones CommunityMVP

          What pixel size, par, and framerate are you exporting?  And same for the mjpeg that is your source?

           

          Most of my other thoughts are dependent on the first question.

           

          Have you looked at the vimeo recommendations?

           

          http://www.vimeo.com/help/compression

          • 2. Re: Exporting MJPEG Correctly
            frogmike Community Member

            1280x720, 24.00fps,data bitrate 39636 kbps

             

            a 20 second clip is 29mb big,

             

            This is the source

             

            I export to the same framerate, same frame size, square pixels, and try to keep the bit rate around 6.5 mbps

            • 3. Re: Exporting MJPEG Correctly
              Stan Jones CommunityMVP

              That should work.  But scenes with motion may be a problem.

               

              I suggest using a short bit (10-15 seconds) including some of what you have found is the most difficult, and follow the vimeo recommendations: mp4, h264, aac, 5000kbps (6500 is also probably okay), etc.

               

              Upload it and post the link.  Others may be able to comment on how it compares to similar footage.

               

              I don't know if the mjpeg requires any special handling, (e.g. field order), but it is probably no fields/deinterlaced you are exporting?

               

              You comment on the mjeg, and it makes me wonder about any problems you have just not resolved in using the mjpeg/morgan.

              • 4. Re: Exporting MJPEG Correctly
                frogmike Community Member

                The footage is progressive so nothing with interlacing.

                 

                So I should use H264 wrapper, and what codec? What quality settings? The footage is only  3 minutes long so It shouldn't exceed 250mb preferably.

                • 5. Re: Exporting MJPEG Correctly
                  Stan Jones CommunityMVP

                  Look at these again; they should answer all your questions.

                   

                  http://www.vimeo.com/help/compression

                   

                  The wrapper is mp4, but it is called H.264 about as much.  H.264 is the codec.  Quality is really datarate.  Remember mbps is not Mbps.  Vimeo is suggesting 5000 mbps (5Mbps).  I would start with CBR 5, but we know you have motion problems, so I would expect to end up with VBR.  There are a lot of choices; record all of what you have, but take the default if Vimeo doesn't specify otherwise.

                   

                  Then lets see what you have.

                   

                  Someone may offer their formula.

                   

                  I would also be posting on the Vimeo forums, asking what settings other D90 users are using for mjpeg footage.

                  • 6. Re: Exporting MJPEG Correctly
                    frogmike Community Member

                    Is it possible that I'm expecting too much out of the final package size? 3 minutes of 720p footage to be 150ish mb, does that sound right?

                     

                    I decided to abandon Vimeo unfortunately, because even embedding the video into another site meant you couldn't watch it in HD. I also decided to export to FLV\F4V with H264 Codec. The quality turns out great (not 100% but close) and is only 200mb in size. (Won't mention that Vimeo also doesn't take Flash formats, so I went with Youtube)