6/27/11
1:14 am

MacMost Now 571: Compressing Video With MPEG Streamclip

If you have produced a video in iMovie and the file size is too large, you can use a free program called MPEG Streamclip to compress it with little loss of quality. The key is to use .mp4 with h264 compression and then adjust the bit rate to get the right trade-off of file size versus quality.

Video Transcript
Hi, this is Gary with MacMost Now, on today's episode let's use MPEG stream clip to compress video. So we get asked this question a lot, you create a video in iMovie and you end up with a file that's just too big. Maybe it's over the size limit for a service you're uploading the video to, maybe you need to send it to somebody or maybe or maybe you need to put it onto a disk and it's just too large. Well you can use a free program called MPEG stream clip to compress the video even more than what it's compressed to when it comes out of iMovie. So here I'm running MPEG streamclip and on my desktop I have a video i'ts actually an episode of MacMost Now, directly ecported from iMovie. If I select it, and get info on it you can see that the file size is 139 "megs" and I want to make it a little bit smaller without losing too much quality. So I'm going to start by dropping the video into MPEG streamclip and it'll apear in there, than I just simply go to file and one of the export options, now I want to export to MPEG-4 for the most compatibility and IO get this window here that has all the different options. So I want to use the H 264 compression, that's pretty standard now. The next three settings here are all about quality, so you're trading speed at which you can process the video for quality, so if you have all the time in the world to make a video you might as well crank it up to 100%, turn on Multipass turn on B-Frames. If you're in a little bit of a rush, or you want to try out some different compression rates you may want to have it a little bit lower. Now some of the transitions, some of the special effects from iMovie won't look as good with these settings so probably in your final video you want to crank it all the way up. So, the most important setting here is Limit Data Rate, this is where you can actually make your file smaller. You check that, and you get to set a kilobits per second, so lets set it at say, 2000 and you can see here on the right it gives me the approximate size of the video. Now all these other settings really don't affect it they're all about quality, this is saying exactly how much space per second of a video that it's going to use. So in this case 72 "megs" is about half the size of my original video, I can make it even smaller, make it about 40 "megs" by making it 1000 kilobits per second. So, could experiment with this to find the right file size. Another setting you want to pay attention to is sound, you want to leave it at MPEG-4 AAC, you may want to play with whether you want stereo or mono, if it's just a voice or some general audio, you may want to switch it to mono and you may want to actually decrease the rate here. These are equivalant to the settings for mp3 files actually. So, this will significantly cut a few more megabytes off by just having mono at half the kilobits per second and if it's just voice that might be fine. Now, I can't stress how much the quality settings affect the compression time. For instance, if you have a long video and a slower iMac you may end up taking hours to compress the video. Whereas if you set the compression level down and turn off the quality settings you can do it in just minutes. You could experimient with the rest of the settings if you like but those are the primary ones. Then you just Make MP4 and give it a file name and location, and it will begin to export the video out. Alright now that I'm done, I've got the original here which you can see is 139 megs and th enew version here which is advertised is just over 36 megs I can compare them by opening them both in QuickTime player so, this is the new one and I can scrub along it and see some of the quality there of the screenshots, quality of the video with me in it and then I could compare that to the original one and you can see there's not too much of a difference, there is going to be a quality difference but I get a lot smaler file size this way than with the original. now, I do recomend a lot of experimentation. You have to figure out how much quality you want to sacrifice for the file size. One thing you may want to do is make up a very small sample movie, like maybe just about 10 seconds of the video and export that from iMovie and try a whole bunch of settings for bitrates, for quality levels inside of MPEG streamclip and find which one you want you can use MPEG streamclip's presets to save that as a preset and you can use that over and over again while making you're videos. So I hope you like this look at compressing video with MPEG streamclip, till next time this is Gary with MacMost Now.

Comments: 32 Responses to “MacMost Now 571: Compressing Video With MPEG Streamclip”

    Imacer99
    6/28/11 @ 11:05 pm

    Gary what is a good normal size to send a video through email to compress. Or any other to send through would be appreciated.

      6/29/11 @ 2:15 am

      In my opinion there is no good compression setting to send video via email. Video is just too large for email. You will either run into message size limits on one end or the other, or just make your recipient mad when they have to download a huge file on their end.
      Instead, use a service like DropBox to upload the file. Then send them a link.
      Or, better yet, upload to something like YouTube and send them a link. Make it private if you like.

    Imacer99
    6/29/11 @ 2:30 pm

    Thank you, so much once again. Thanks for sharing your great video’s with us. Learned so much from you….

    Kit Furey
    7/10/11 @ 3:29 pm

    Thank you for sharing your expertise, Gary! I’m “new” to video. My question is this: does the mp4 format you’ve compressed in MPEG Streamclip equate to “flv” that my web person says I need in order to upload to a WordPress site?

      7/10/11 @ 7:10 pm

      No. FLV is a special file format that is used by a Flash movie (SWF) to play back videos. An FLV by itself isn’t good for anything. Not sure why your “web person” said to create an fly unless he or she has already created an SWF Flash movie for video playback. So I’ll refer you back to them for specific instructions.

    Mr Anthony Cotton
    10/31/11 @ 3:10 pm

    I am new to this. I used a free converter called Flv Crunch,and i converted it to MP4. The Film was Waterloo,but when i came to watch it,there was just a thin strip of the film,and it was filmed in Panavision. I used the Flv Crunch Converter and i changed the sizes bigger,but it came out smaller,and i had another go,but it just seemed to get smaller. I know this is ABC stuff to you. Can you tell me how i can make it bigger like the original Gary

      10/31/11 @ 4:31 pm

      I’m not familiar with that piece of software. I’d contact the maker for support.

    Mr Anthony Cotton
    11/1/11 @ 10:49 am

    What i wanted to know was i made number`s higher so to me common sense says it should have made the picture size bigger. Any way thanks Gary.

    chuck
    1/11/12 @ 4:35 pm

    hello gary. as usual learned a lot. I have a macbookpro running lion. my question regarding MPEG STREAMCLIP. .

    you mention utube in your answer to (Imacer99 6/29/11). will i need the BETA Version of MPEG STREAMCLIP to up load to UTUBE? On the squareD site i read that a MAC user needs to buy a copy of MPEG STREAMCLIP beta version 1.9.3b7 which is compatible with utube.
    If I use VIMEO would MPEG STREAMCLIP 1.9.2 should work for me?

    Thanks

      1/11/12 @ 5:28 pm

      You don’t need to use MPEG Streamclip to upload to YouTube or Vimeo. Just use it to compress your video. Then use the YouTube or Vimeo web-based interface to upload your video.

    chuck
    1/11/12 @ 8:12 pm

    Thank you, And a double thanks for your super fast reply.
    with gratitude,
    chuck

    Sammy
    1/30/12 @ 10:07 pm

    You are awesome Gary!
    Thanks so much for posting this.
    You’ve saved me lots of time and energy.

    Kasey
    4/18/12 @ 11:37 pm

    I use this all the time for videos and DVD’s that I get and need to convert somehow. Simple interface and free. Gary is great and knows his stuff.

    Molly Cutrone
    5/24/12 @ 4:04 pm

    Hi Gary, I have compressed my Canon 60D 23.98fps footage to ProRes422 w/ MPEG Stream Clip. All of the compressed footage is much larger than the original raw file though. Is that supposed to happen?

      5/24/12 @ 6:32 pm

      Probably. ProRes422 is simply a higher quality than your original. So don’t use it. Use something like MP4 with h264.

        Molly Cutrone
        5/24/12 @ 11:23 pm

        Thanks Gary!

    Alex
    6/14/12 @ 11:13 am

    Hey Gary,

    Great tutorial. I have a question though. I am trying to send a video over the internet for download unsing MPEG Streamclip. I exported it as a quicktime from mpeg and then send it but it seems to be unreadable by the downloader? Do you have any suggestions for me? Would an Mp4 be more readable? and if i send that mp4 as a quicktime will the downloader still be able to see it?

    In a bit of a bind. Advice is greatly appreciated.

    Thanks,

    Alex

      6/14/12 @ 11:44 am

      MP4 is just a file type that can contain many different things. But it is a file type recognized by lots of computers, so I would use it in this case. Create an mp4 file with standard settings. But aren’t you doing that now?

    Jack
    6/19/12 @ 9:44 pm

    Hey there, one question. I recently made a time lapse video out of about 650 frames and the resulting file was a 3.7GB Quicktime. When I try to play it in Quicktime (or other players such as VLC and MPlayerX) it can’t seem to handle the high quality pictures or perhaps the frame rate (20fps). Would compressing the video using the method you describe in this video fix this? Or do I need to try something different? Thanks for your help.

      6/20/12 @ 7:53 am

      650 frames and it is 3.7GB! What software are you using to make the video? Perhaps you should try a different export setting. Otherwise, sure, try MPEG Streamclip (why not try it?)

        Jack
        6/20/12 @ 10:34 am

        I used a program called Time Lapse Assembler. Each of the frames is an 18MP jpeg, so maybe that’s why the video is so large? I did try MPEG Streamclip, but it comes up with an error every time I try. Not sure what’s going wrong at this point.

          6/20/12 @ 10:35 am

          I would go back to that Time Lapse Assembler and try exporting with better options.

            Jack
            6/20/12 @ 7:28 pm

            Success! Thanks for your help!

    Jason
    6/26/12 @ 7:27 pm

    can I compress my uncompressed MPEG back into an MPEG? I’m trying the burn clips to DVD. Also I’m following this video but my videos are not being compressed. Please help me!

      6/27/12 @ 1:55 am

      All MPEG videos are compressed. You can re-encode them (kind of like unpacking a suitcase and then packing it again) using this method to get a different file size and/or video quality.
      But if your goal is to make a DVD, that isn’t the right approach. You should use a DVD creation tool (iDVD, etc) — the video needs to be re-encoded again to use DVD format. See http://macmost.com/imovie-export-settings-for-dvd.html

    Peter Pappas
    8/17/12 @ 7:07 pm

    Hi Gary,

    I’m creating an iBook with iBookAuthor using many old public domain videos from Internet archive. I need to convert them from mp4 into m4v and IBA is fussy about the m4v files it accepts. (FYI – Handbrake doesn’t create m4v that IBA will accept.)

    I’m also trying to compress file size to keep the iBook as small as possible. I’ve been experimenting with Compressor with some success. Any other ideas you have?

      8/17/12 @ 7:12 pm

      Sorry, I haven’t tried to make an iBook, let alone one with video. I’d just find out the specs and stick to those. MPEG Streamclip should do it, but I’m sure Compressor will too. Just experiment to get the settings right for your project.

    Jeffrey Mogavero
    11/23/12 @ 9:52 am

    Gary just a superb application with MPEG4 streamclip!!!! Question can audio be applied to existing audio and how. Great job your awesome

      11/23/12 @ 10:22 am

      So you want to change the audio in a video? You would use an editing tool for that — like iMovie or Final Cut. GarageBand can do it too if you know how.

    brigitte
    1/14/13 @ 2:22 pm

    Thank you so much for this :)

    G Sanchez
    2/10/13 @ 1:52 am

    Gary, thanks for your post. I use the GoPro (which makes videos in .mp4) but to best view them I compress them into .mov files (at 100%). Im rather new to mpeg streamclip and 3.8G files become 13G files…do you have any recommendations for settings to maintain the quality of 2.7k (24f/s) video so its not so huge? Ill experiment, but thanks for your help!

      2/10/13 @ 9:30 am

      Create an mp4 file with h264 compression. Try setting it at about 5000kbps to start.

Comments Closed.