Video Compression Making  BIG  files  small
What is Video Compression <ul><li>Most video compression is lossy, i.e. it operates on the premise that much of the data p...
More about compression theory <ul><li>Video data contains spatial and temporal redundancy. </li></ul><ul><li>Spatial Data=...
What went wrong?
What was wrong with that video? <ul><li>Interlaced </li></ul><ul><li>Data rate - 300kbs </li></ul><ul><li>Key frame - ever...
Interlaced VS Progressive  <ul><li>NTSC = 29.97 interlaced frames of video per second </li></ul><ul><li>Interlaced=image i...
Interlaced compression artifacts
What is Data Rate? <ul><li>Data Rate is the number of bits that are conveyed or processed per unit of time </li></ul><ul><...
Data Rate <ul><li>Data rate greatly impacts quality of the video as well as size.  I usually start with the automatic sett...
Key frames <ul><li>In video compression, a key frame is a frame that contains the entire image </li></ul><ul><li>Differenc...
Key frames
Key frames <ul><li>More action needs more key frames </li></ul><ul><li>Running video looks better at a setting of every 60...
What is Frame Rate <ul><li>The frame rate is the number of frames per second displayed during the video.  </li></ul><ul><l...
Frame Rate <ul><li>Most camcorders record at 30fps </li></ul><ul><li>Progressive mode is usually 24fps </li></ul><ul><li>F...
Quality Settings <ul><li>The quality factor of encoded video streams is a rough measurement of video encoding quality expr...
Codec <ul><li>A video codec is a device or software that enables video compression and/or decompression for digital video....
Size  <ul><li>This greatly impacts file size and quality </li></ul><ul><li>Try 480x340 for 4:3 SD </li></ul><ul><li>480x27...
Audio Settings <ul><li>Always set to mono, at this level of compression you gain little from stereo </li></ul><ul><li>Enco...
Looking Good! <ul><li>Progressive </li></ul><ul><li>Data rate - Auto </li></ul><ul><li>Key frame - every 60f </li></ul><ul...
Looking Good!
Sample Video Comparison <ul><li>Interlaced </li></ul><ul><li>Data rate - 300kbs </li></ul><ul><li>Key frame - every 150f <...
What programs can I use? <ul><li>Sorenson Squeeze </li></ul><ul><li>Flash Media Encoder </li></ul><ul><li>Quicktime Pro </...
File Types <ul><li>Flash FLV </li></ul><ul><li>Quicktime MOV </li></ul><ul><li>Realplayer  .ra, .rax, .rv., .rvx, .rm, .rm...
Thank You For Coming <ul><li>Now for Examples </li></ul><ul><li>[email_address] </li></ul><ul><li>[email_address] </li></u...
Upcoming SlideShare
Loading in...5
×

Vste r2

277

Published on

VSTE

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
277
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
13
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • -Video compression refers to reducing the quantity of data used to represent video images and is a straight forward combination of image compression and motion compensation -There are no magic settings that fit all projects. Major factors that dictate the need and amount of compression depend on your delivery method and your audiences connection speed and hardware. As well the content within the video has a major factor on compression settings.
  • . Video compression, like data compression, is a tradeoff between disk space, video quality and the cost of hardware required to decompress the video in a reasonable time. However, if the video is over compressed in a lossy manner, visible (and sometimes distracting) artifacts can appear.
  • Similarities can thus be encoded by merely registering differences within a frame (spatial) and/or between frames (temporal). Spatial encoding is performed by taking advantage of the fact that the human eye is unable to distinguish small differences in color as easily as it can changes in brightness and so very similar areas of color can be &amp;quot;averaged out. With temporal compression only the changes from one frame to the next are encoded as often a large number of the pixels will be the same on a series of frames. Interframe compression uses one or more earlier or later frames in a sequence to compress the current frame, while intraframe compression uses only the current frame, which is effectively image compression
  • There is no simple answer to these settings unfortanityly. Different video requires different styles of compresion. There is always a trade off of somekind. Depending on your audience may change your technique
  • NTSC was designed to utilize the limited bandwidth into homes for broadcast video, this standard was developed around 1950 and slightly modified for color in the 1960’s. This standard will cease to be used in Feb 2009 due to advancements in Digital video. Interlaced shows odd lines then even lines sequentially and human eyes combine the two fields into one image. @ 29.97 Progressive scan takes more bandwidth, every frame is shown in it’s entirety which is closer to film in nature. All video should be de-interlaced before compressing. The reason being is when you lower frame rates on the video Interlaced images will show artifacts
  • This should be an example of Compressing but leaving it interlaced
  • I n telecommunications and computing, data rate is the number of bits that are conveyed or processed per unit of time. The bit rate is quantified using the &apos;bits per second’ ‘kilobites per second’
  • Make the size of the video smaller to compensate and gain some quality If video won’t play smoothly maybe data rate is too high.
  • This example is keyframe every 5 frames
  • Adjusting by halfs because of the complexities involved with figuring out which frames to drop
  • Size the video is going to be on the screen not the size of the file.
  • Transcript of "Vste r2"

    1. 1. Video Compression Making BIG files small
    2. 2. What is Video Compression <ul><li>Most video compression is lossy, i.e. it operates on the premise that much of the data present before compression is not necessary. </li></ul><ul><li>For example, DVDs use a video coding standard called MPEG-2 that can compress ~2 hours of video data by 15 to 30 times while still producing a picture quality that is generally considered high quality for standard-definition video </li></ul><ul><li>Video Compression is a trade off between video quality, disk space, and hardware needed for decompression </li></ul>
    3. 3. More about compression theory <ul><li>Video data contains spatial and temporal redundancy. </li></ul><ul><li>Spatial Data= Difference within frames </li></ul><ul><li>Temporal Data = Difference between frames </li></ul><ul><li>Interframe vs intraframe compression. </li></ul>
    4. 4. What went wrong?
    5. 5. What was wrong with that video? <ul><li>Interlaced </li></ul><ul><li>Data rate - 300kbs </li></ul><ul><li>Key frame - every 150f </li></ul><ul><li>Frame rate - 15fps </li></ul><ul><li>Quality Settings - High </li></ul><ul><li>Codec - H.264 </li></ul><ul><li>Size Ratio 480 x 360 - 4:3 </li></ul><ul><li>2MB Original-165MB </li></ul>
    6. 6. Interlaced VS Progressive <ul><li>NTSC = 29.97 interlaced frames of video per second </li></ul><ul><li>Interlaced=image is broken into odd and even lines </li></ul><ul><li>Progressive scan means every frame is the entire image </li></ul>
    7. 7. Interlaced compression artifacts
    8. 8. What is Data Rate? <ul><li>Data Rate is the number of bits that are conveyed or processed per unit of time </li></ul><ul><li>Data rate is synonymous with bit rate. </li></ul><ul><li>While often referred to as &quot;speed&quot;, Data rate does not measure distance/time but quantity/time </li></ul><ul><li>Data rate includes video and audio combined </li></ul><ul><li>Video(300kbs) + Audio(128kbs)= </li></ul><ul><li>Total Data Rate(428kbs) </li></ul>
    9. 9. Data Rate <ul><li>Data rate greatly impacts quality of the video as well as size. I usually start with the automatic settings built into most current programs. Rule of thumb 300kbs for med-high bandwidth streaming 100kbs for dial up. </li></ul><ul><li>-Some computers cannot handle higher data rates </li></ul><ul><li>-Think about how your audience will retrieve your video and let the software do the work </li></ul>
    10. 10. Key frames <ul><li>In video compression, a key frame is a frame that contains the entire image </li></ul><ul><li>Difference frame or in-betweens contain only important info to fill in the gaps between Key Frames </li></ul><ul><li>Think of an image of a person walking in front of a wall. To show motion only the person needs to be redrawn as the wall stays the same. </li></ul>
    11. 11. Key frames
    12. 12. Key frames <ul><li>More action needs more key frames </li></ul><ul><li>Running video looks better at a setting of every 60 frames </li></ul><ul><li>Fish still looks good at every 150 frames </li></ul><ul><li>Always adjust key frames when compressing </li></ul>
    13. 13. What is Frame Rate <ul><li>The frame rate is the number of frames per second displayed during the video. </li></ul><ul><li>More frames do not necessarily make the video look better, due to the limitations of the human eyes and brain to process all of the data </li></ul><ul><li>Basically, a frame is the same as a still picture </li></ul>
    14. 14. Frame Rate <ul><li>Most camcorders record at 30fps </li></ul><ul><li>Progressive mode is usually 24fps </li></ul><ul><li>Film is 24fps </li></ul><ul><li>NTSC is 29.97fps and Pal is 24fps </li></ul><ul><li>Adjust by halfs 30-15fps 24-12fps </li></ul>
    15. 15. Quality Settings <ul><li>The quality factor of encoded video streams is a rough measurement of video encoding quality expressed in bits per pixel. </li></ul><ul><li>Most programs let you adjust compressor quality </li></ul><ul><li>Start low and work up </li></ul>
    16. 16. Codec <ul><li>A video codec is a device or software that enables video compression and/or decompression for digital video. </li></ul><ul><li>Co = Compressor / Dec = Decompressor </li></ul><ul><li>Most widley used codec currently for video is H.264 (MPEG4 Ver10) </li></ul><ul><li>Other examples, H.261, MPEG-1 thru 4, H.263, DivX, Xvid, WMV and the list goes on and on </li></ul>
    17. 17. Size <ul><li>This greatly impacts file size and quality </li></ul><ul><li>Try 480x340 for 4:3 SD </li></ul><ul><li>480x270 for 16:9 HD </li></ul><ul><li>NTSC is 640x480 </li></ul>
    18. 18. Audio Settings <ul><li>Always set to mono, at this level of compression you gain little from stereo </li></ul><ul><li>Encode using AAC </li></ul><ul><li>Set to 22.050khz </li></ul><ul><li>Set target bit rate to 48kbs </li></ul>
    19. 19. Looking Good! <ul><li>Progressive </li></ul><ul><li>Data rate - Auto </li></ul><ul><li>Key frame - every 60f </li></ul><ul><li>Frame rate - 15fps </li></ul><ul><li>Quality Settings - Med </li></ul><ul><li>Codec - H.264 </li></ul><ul><li>Size Ratio 480 x 360 - 4:3 </li></ul><ul><li>8.6MB Original 165MB </li></ul>
    20. 20. Looking Good!
    21. 21. Sample Video Comparison <ul><li>Interlaced </li></ul><ul><li>Data rate - 300kbs </li></ul><ul><li>Key frame - every 150f </li></ul><ul><li>Frame rate - 15fps </li></ul><ul><li>Quality Settings - High </li></ul><ul><li>Codec - H.264 </li></ul><ul><li>Size Ratio 480 x 360 - 4:3 </li></ul><ul><li>2MB Original-165MB </li></ul><ul><li>Progressive </li></ul><ul><li>Data rate - Auto </li></ul><ul><li>Key frame - every 60f </li></ul><ul><li>Frame rate - 15fps </li></ul><ul><li>Quality Settings - Med </li></ul><ul><li>Codec - H.264 </li></ul><ul><li>Size Ratio 480 x 360 - 4:3 </li></ul><ul><li>8.6MB Original 165MB </li></ul>
    22. 22. What programs can I use? <ul><li>Sorenson Squeeze </li></ul><ul><li>Flash Media Encoder </li></ul><ul><li>Quicktime Pro </li></ul><ul><li>Compression is built into ,most major editing packages I.E. Final Cut, I-movie, Adobe Premier </li></ul>
    23. 23. File Types <ul><li>Flash FLV </li></ul><ul><li>Quicktime MOV </li></ul><ul><li>Realplayer .ra, .rax, .rv., .rvx, .rm, .rmx, .rmj, .rms </li></ul><ul><li>Windows Media Formats .asf, .wma, .wmv, .wm </li></ul>
    24. 24. Thank You For Coming <ul><li>Now for Examples </li></ul><ul><li>[email_address] </li></ul><ul><li>[email_address] </li></ul><ul><li>www.k12albemarle.org </li></ul>
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×