• Login:

Welcome to the Xoom Forum - Motorola Xoom Forum.

Register ButtonIf this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

[HOW TO] Make your movie files smaller while keeping quality

This is a discussion on [HOW TO] Make your movie files smaller while keeping quality within the Motorola Xoom Video forums, part of the Motorola Xoom Extras category; Original article is located here: http://www.tools4movies.com/2012/05/tip-how-to-make-your-video-files-smaller/ On a regular basis, people ask me why video files end up being so large, and how they can ...

Results 1 to 8 of 8
Like Tree8Likes
  • 2 Post By dvdcatalyst
  • 1 Post By dvdcatalyst
  • 1 Post By dvdcatalyst
  • 1 Post By dvdcatalyst
  • 1 Post By Astrix
  • 2 Post By burnzz

Thread: [HOW TO] Make your movie files smaller while keeping quality

  1. #1

    Lightbulb [HOW TO] Make your movie files smaller while keeping quality

    Original article is located here: http://www.tools4movies.com/2012/05/tip-how-to-make-your-video-files-smaller/

    On a regular basis, people ask me why video files end up being so large, and how they can make them smaller so they can store more videos on devices such as the Amazon Kindle Fire, Apple iPad and the Galaxy Tab 10, all of which have limited storage space available and do not have a way to expand the memory by means of memory cards.

    In DVD Catalyst Newsletter 52, http://www.tools4movies.com/2012/04/...newsletter-52/ I wrote something small about this topic, but I am hoping that this article will be of a bit more help to you. Some parts of the newsletter will be merged into this article, so there is no need to read back through that.

    Before I start with the different techniques you can use to make your movies smaller, let me explain a bit more about what video and conversion actually is.
    As a child, you might have played with the corner of a notepad, drawing an image on each page, one slightly different from the next, and afterwards, flipping the pages fast made it look like a small cartoon.

    Video, like movies and TV shows, is nothing more than a collection of pictures shown in rapid succession. Making use of the limitations of the human eye, these images are changed at such a speed that we see this as motion.

    Similar as taking pictures on a digital camera, each individual picture of a movie, called a frame, takes up space. A picture consists of a lot of individual dots, and in order to show the picture in its full glory, the color for each of these little dots needs to be stored in the file. The larger the picture (resolution) the more pixels, and the larger the actual file.

    In order to make the pictures smaller, there are different picture formats, such as BMP, JPEG, GIF, PNG, TGA etc. Each of these formats uses different techniques to read (and store) the pixel information in a file. These formats offer different compression levels and even amount of colors, in order to store the data. Some formats store the color information for pixels in larger blocks, others use formula’s to store the data, and of course this results in smaller files than the formats that store each pixel individually, but it also means that some pixels do not contain the exact color information of the original, but something close to it.

    Similar as with images, there are different compression formats for video. DVDs use MPEG2, AVI files often use DIVX or XVID, and most MP4 files, such as the ones you can get from online stores like iTunes, contain AVC video.
    Each of these formats have their advantages and disadvantages. MPEG2 (DVDs), was created when the technology was not yet at the high performance parts we have now, and as a result it offers a low compression technique that works well on older hardware. AVC, the newest compression format, was created only recently, and as of such, it relies on a lot more “power” than MPEG2, but in return, it offers a lot better compression.

    Video compression in general works by storing differences between frames. So-called key-frames are images stored in their full glory, and then for a number of successive images, only the differences between the key-frame are stored. The bigger the difference between the key-frame and the following image (like fast-action scenes) the more data is required to store those differences, resulting in a larger file.

    Astrix and burnzz like this.

  2. # ADS

  3. #2
    Bitrate and Resolution:

    The main thing that affects the filesize is the video quality setting, or video bitrate.
    In order to store the differences between frames, there has to be enough data available. By using a low video quality setting, there might not be enough to store these differences, which will result in a lower quality video.

    The above screenshot shows screenshots of a video (The Avengers Trailer) converted at 1280x720 resolution, using 2 different quality settings. The right side, encoded using 5000Kbps, looks absolutely stunning, but for a 2 hour movie you are looking at a file of about 4500MB in size. The left side, the same movie converted using the same resolution, but at only 500Kbps.
    Now the movie will only take up about 500MB of space, but you can clearly see the difference in quality between the two videos.
    The 500Kbps was clearly not enough to actually store the information needed to recreate the image.
    The visual video quality is directly tied to this and the screen resolution. The higher the resolution of your videos, the more data is required to store information for the individual pixels. By lowering the screen resolution of your video file, you will get a better representation of your original video if you are using a low video bitrate setting.

    Now take this image.
    The center image is encoded using a lower screen resolution, 640x480, but still at the 500Kbps I used in the previous screenshot. Because of the lower resolution, there are less pixels that need data to determine their color information, so the lower resolution image actually looks a bit better that the higher-resolution image using the same settings (left side). Even when the lower-resolution video is upscaled to the same higher 1280x720 resolution (right side) it still looks considerably better than the blocky mess we had before.

    Of course it doesn't look as great as the one done at 5000Kbps (left side) but it is still watchable, even
    though it is only about 1/10th of the filesize, thus nearly 10x as many videos on the same amount of memory.
    So the first trick to use to make your videos smaller is by adjusting the screen size as well as the video quality setting.
    While this doesn't have any special calculations behind it, a basic rule of thumb you can use, as a minimum, the same video bitrate setting as the width of your video.

    320x240, about 380MB for a 2 hour movie.

    640x480, about 660MB for a 2 hour movie.

    1280x720 at 1280Kbps (right) and 5000Kbps (left).

    So far, we have learned that the video quality is greatly affected by the amount of data you specify to use (Bitrate/Kbps) and the amount of pixels (screen resolution) share that data. The higher the resolution, the more data is required, and by not using enough data, the video does not look as good.
    By reducing the amount of pixels (lowering the screen resolution) along with the video quality (Kbps) setting, we can keep the video sharp(ish) and reduce the file size a bit as well.
    Astrix likes this.

  4. #3

    Earlier I mentioned that video compression basically stores the differences between frames. Because movies have fast-moving and slow-moving scenes, the differences between frames are sometimes big, and sometimes small. A scene with someone talking doesn't take as much as a car chase or an explosion.
    You can compensate for this by adjusting the quality setting for different types of movies. For a romance movie, you could use a lower quality setting than that of what you would use for a fast action movie.
    This works OK, but what happens with fast-action scenes in a romance movie?
    Using the standard conversion method that almost all conversion tools use, a fixed bitrate setting is used. Slow scenes as well as fast moving scenes all get the same amount of data to share between the pixels that are different. As a result, during slow-scenes, the video will look great, but when you get to an action scene, the differences are too big to store, and you end up with a bad quality video.

    The above 2 screenshots are from the same (1280x720 1250Kbps) video, just different scenes. You can clearly see the difference in visual quality between the 2.
    So this is where a recently introduced new feature of DVD Catalyst 4 comes in. CRF.
    This magic trick actually adjusts the video quality setting depending on the amount of data is needed for it.

    If you click on the above image, taken from a big explosion scene in the avengers trailer

    You can see the difference between normal and crf conversion modes.
    Doing a bitrate compare of the 2 video files at the point of the above screenshot:
    Normal mode has a quality setting of 2335Kbps for this portion of the scene
    and CRF mode has 4750 Kbps, more than double, which, as you can see from the overall quality spread was nibbled away from the ending part of the trailer, which didn't need as much data.

    Unfortunately, while CRF is very handy in terms of getting a better looking video, it determines the quality based on a visual quality value representation between 16 and 32, with the lower the value resulting in better the quality (and the larger the file-size of course) During my own testing, I found that using a value of 20 to produce a visual quality nearly identical to that of the original video. Going lower will increase the quality a little but the difference between 16 and 20 is minimal, but between 20 and 24, the difference is quite big.

    More detailed information about CRF and how to use it can be found here:
    What is CRF? | Tools4Movies | DVD Catalyst 4

    Since CRF is a quality indication, it doesn't care about what screen-size you are using for your conversions. Unlike a fixed quality setting, using the same CRF on a high resolution or a low resolution conversion will not affect the visual look in terms of blocks and other quality issues,but of course, since it uses whatever it needs to create video using your selected quality, the higher the resolution the larger the file-size will end up.
    If we take the Iron Man 1 movie, and we convert it to be compatible with the NOOK color, and use a variety of different settings, this is what we end up with:

    Default NOOK color profile, 800Kbps, 854x480 - 857MB

    CRF 20, 854x480 - 2030MB

    CRF 24, 854x480 - 939MB

    CRF 28, 854x480 -552MB

    CRF 32, 854x480 - 337MB

    As you can tell from the zoomed portion of the thumb, you can see the difference in detail, and the sharpness of the lines.
    Astrix likes this.

  5. #4
    If we take the default NOOK color profile and only reduce the screen size a bit, to say 640x480, we end up with this:
    (original) 854x480, 800Kbps:

    (modified) 640x480,800Kbps:

    I scaled the videos to the same size when I made the screenshots, because that is how it is played on an actual device, and as you can tell from the lines in the zoom-image, the lower-resolution video, even though it is scaled up a bit, actually looks better than the higher resolution video converted using the same quality settings.
    Earlier I mentioned that, as a simple rule of thumb, you can use the width of the video as the quality setting to get acceptable results.
    640x480, 640Kbps:

    If you look at the images, and compare them with the default NOOK color settings, they are nearly identical. But, because we used a lower video quality setting for the conversion, the filesize did end up being less. The default NOOK color file was 857MB, the file size for the video above, the one converted at 640Kbps, was only 694MB, 160MB, or about 20% less in size, while it still looks virtually the same when you watch the video on your device.

    If we go lower:

    480x360, 800Kbps (same quality setting as the standard NOOK color profile, and thus similar in file-size)

    480x360, 480Kbps (the simple rule of thumb), resulting in 564MB (instead of 857MB, 35% smaller):

    Now if we combine the screen-size adjustment with a decent CRF value of 24, we get this:

    854x480, crf 24, 917MB:

    640x480, crf24, 588MB:

    480x272, crf24, 417MB:

    320x240, crf24, 275MB:

    Of course, the lower the resolution, the more detail is lost, but if you use a reasonable adjustment in screen resolution, you can save a fair amount of space while still maintaining a good quality video. Of course, as you can tell from the last screenshots, going too low will result in a noticable quality-loss, but, if you really want to store 4x as many movies on your device, it is possible.
    Personally, a small resolution change, going from something like 854x480 to 640x480 will give me enough (300MB in this case) room at a good quality.
    Astrix likes this.

  6. #5
    Super Moderator

    Member #
    Join Date
    Aug 2011
    729 times
    It's a bird
    Wonderful info here!

    You're Awesome Thumbsup!

  7. #6
    Quote Originally Posted by Astrix View Post
    Wonderful info here!

    You're Awesome Thumbsup!
    Thank you Astrix

    You are awesome too though.

  8. #7
    Xoom Conveyor
    Member #
    Join Date
    Jul 2012
    Amongst a plethora of golden rings!
    49 times
    Personally I use Handbreak, 1:Its open source 2:It handles decrypted TS files without any hassle 3:Fast reliable conversion 4:Fully functioning embed of multiple subtitle files in MKV format 5:Alows me to crop cut exs & last but not least it's FREE.
    HTC Desire - Rooted / S-off (dead) Galaxy Nexus i9250 - stock
    Motorola Xoom WiFi - Rooted TWRP EoS 3 nightlie 155 OC'd to 1.6
    Sony smart watch

  9. #8
    Xoom Informant
    Member #
    Join Date
    Apr 2011
    5 times
    Quote Originally Posted by Sonicaholic View Post
    & last but not least it's FREE.
    i've used handbrake. since i joined this forum, and read about dvdcatalyst and how the program was supported, i tried it.

    i have not used handbrake since, and don't regret the switch.
    dvdcatalyst and ggrant3876 like this.


Remove Ads


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Similar Threads

  1. Replies: 2
    Last Post: 03-04-2012, 02:08 PM
  2. keeping it in the family
    By twowheelz in forum Motorola Xoom General Discussion
    Replies: 2
    Last Post: 09-20-2011, 09:47 AM
  3. Keeping apk's After Install
    By Kamau in forum Motorola Xoom Apps
    Replies: 6
    Last Post: 08-11-2011, 08:25 AM
  4. CNN App Keeping Xoom Awake
    By nonstop in forum Motorola Xoom Apps
    Replies: 2
    Last Post: 08-10-2011, 11:05 AM
  5. Smaller playback screen area?
    By lowanbing in forum Motorola Xoom Video
    Replies: 5
    Last Post: 07-24-2011, 05:59 AM

Search tags for this page

how to convert large video files into smaller ones

how to convert video to smaller size without losing quality

how to keep movie files small for posting online
how to make a large video file smaller
how to make a video file size smaller without losing quality
how to make a video smaller without losing quality
how to make large video files smaller
how to make video file size smaller without losing quality
how to make video file smaller without losing quality

how to make video files smaller without losing quality

how to make video size smaller online

how to make video size smaller without losing quality

how to save a large video file to smaller resolution
lowest video quality in dvdcatalyst

make video size smaller online

make video smaller without losing quality
make your video smaller online
save video files smaller
video how make file smaller
what is a good bitrate for keeping movie files small
Click on a term to search for related topics.

Tags for this Thread