Compression ratios of MJPEG, MPEG1, MPEG2, MPEG4, H.263, and H.264

  • Permalink
  • submit to reddit
  • Email
  • Follow


Hello all,

I was currently given the task to see how many minutes/hours I could
record on varying sizes of CompactFlash disks (from 512MB to 12GB). The
resolution is 640 by 480 at a frame rate of 30 fps and a 24bit color
space. In order to figure out how much I could record for each
different codec I need to get a good idea of a decent compression ratio
for each codec. I hope someone can help :)


Reuven

0
Reply reuvenkishon (3) 1/18/2006 12:41:28 AM

See related articles to this posting


Reuven wrote:
> I was currently given the task to see how many minutes/hours I could
> record on varying sizes of CompactFlash disks (from 512MB to 12GB). The
> resolution is 640 by 480 at a frame rate of 30 fps and a 24bit color
> space. In order to figure out how much I could record for each
> different codec I need to get a good idea of a decent compression ratio
> for each codec. I hope someone can help :)

Shouldn't you be more interested in the bitrate for each of these codecs?

Cheers,
Nicholas Sherlock
0
Reply Nicholas 1/18/2006 3:45:17 AM

> I was currently given the task to see how many minutes/hours I could
> record on varying sizes of CompactFlash disks (from 512MB to 12GB). The
> resolution is 640 by 480 at a frame rate of 30 fps and a 24bit color
> space. In order to figure out how much I could record for each
> different codec I need to get a good idea of a decent compression ratio
> for each codec. I hope someone can help :)

the compression ratio does not only depend on the codec but on the 
quality level you select and the video itself ...

You could search for standard applications like DMB, DVB-[C|S|T|H] or
regular DVDs and average a bitrate commonly used in those standard 
applications ...

If your typical video is different then you can't say anything without 
your own compression tests on your typical source ...


bye,
Michael
0
Reply ISO 1/18/2006 9:13:39 AM

Thank you Michael.

I guess I'm showing my newbieness when it comes to digital video. I
thought it it was as simple as each codec having a range of compression
ratios, and of those compression ratios there was a range that provided
decent video (in between really bad and really good). The task is
proving harder then I initially thought. I will however search for t
hose standard applications you mentioned.

0
Reply Reuven 1/18/2006 4:50:14 PM

Reuven wrote:
> Thank you Michael.
> 
> I guess I'm showing my newbieness when it comes to digital video. I
> thought it it was as simple as each codec having a range of compression
> ratios, and of those compression ratios there was a range that provided
> decent video (in between really bad and really good). The task is
> proving harder then I initially thought. I will however search for t
> hose standard applications you mentioned.

Most codecs allow you to set your bitrate, which defines how much data 
is required for each second of video. Take your sample video, then for 
each codec, choose a bitrate that gives an acceptable quality. If there 
are no other restrictions, just pick the one with the lowest bitrate 
with acceptable quality.

Cheers,
Nicholas Sherlock
0
Reply Nicholas 1/18/2006 9:22:29 PM

Well, my DVD recorder can get 4 hours of good quality video at 640x480
resolution and very good quality, or 8 hours at lower quality. (The
quality difference isn't too noticeable on most live-action shows or
highly detailed anime, but becomes very noticeable and irrtating on
lower quality cartoons and live-action shows with a lot of solid
black.) Since DVD uses MPEG2, and has about 4.5G of space (single
sided/single layer), that gives you some idea of how MPEG2 performs.
You should still run your own tests though.

Is this project restricted to the formats you listed? What about
M-JPEG2000 (the JPEG2000 version of MJPEG), or DiVX/XViD?

0
Reply cypherswipe 1/19/2006 4:41:09 PM

OOPS. CORRECTION:
I was getting the resolution mixed up. The 4/8hr is at 320x240. It gets
1/2 hours at 640x480. There is little visible difference in quality
between the 1 hour setting and the 2 hour setting.

0
Reply cypherswipe 1/19/2006 4:46:11 PM

These links might help:
http://www.axis.com/documentation/whitepaper/video/video_compression.htm
http://en.wikipedia.org/wiki/Category:Video_codecs
http://en.wikipedia.org/wiki/Bit_rate
It looks as though MPEG4 is the most likely choice.

0
Reply cypherswipe 1/19/2006 6:05:26 PM

You can test with this software total video converter
http://www.effectmatrix.com

0
Reply Hanson 1/20/2006 2:02:07 PM

cypherswipe wrote:
> Is this project restricted to the formats you listed? What about
> M-JPEG2000 (the JPEG2000 version of MJPEG), or DiVX/XViD?

DivX implements MPEG-4 Part 2 Advanced Simple Profile.

XviD (DivX, backwards) implements MPEG-4 Part 2 Advanced Simple Profile
and MPEG-4 Part 10 (aka H.264, aka Advanced Video Coding).

http://en.wikipedia.org/wiki/MPEG-4_Part_2
http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC

Thus, DivX and XviD are not new formats.
0
Reply Grumble 1/23/2006 9:01:57 AM
comp.compression 4517 articles. 14 followers. Post

9 Replies
854 Views

Similar Articles

[PageSpeed] 42


  • Permalink
  • submit to reddit
  • Email
  • Follow


Reply:

Similar Artilces:

methods for better than h.264 compression ratio...
Dear All, We are starting an academic project to build a codec which should have much better compression ratios than h.264. Computational complexity of the new codec is assumed to be infinite for now. There must be methods that have been rejected for having high computational complexity. Any hints for us. Thanks in advance... On May 3, 9:53 am, recoder <kurtulmeh...@gmail.com> wrote: > Dear All, > We are starting an academic project to build a codec which should > have much better compression ratios than h.264. > Computational complexity of the new codec is assumed to b...

mshtml.h mshtmlc.h dimm.h dispex.h added
New version features those files. Many others missing? Just send me a list 0YfQtdGC0LLQtdGA0LMsIDEzINGB0LXQvdGC0Y/QsdGA0Y8gMjAxMsKg0LMuLCAyMjozMToxMyBV VEMrNCDQv9C+0LvRjNC30L7QstCw0YLQtdC70YwgamFjb2IgbmF2aWEg0L3QsNC/0LjRgdCw0Ls6 DQo+IE5ldyB2ZXJzaW9uIGZlYXR1cmVzIHRob3NlIGZpbGVzLiBNYW55IG90aGVycyBtaXNzaW5n PyBKdXN0IHNlbmQgbWUgYSBsaXN0DQoNCmlzIHdiZW1pZGwuaCBhZGRlZCB0b28/ ...

Codec H.261 or H.263
Hi, I am trying to find some companies which offer these codecs (mainly H. 261) for DSPs but it is very difficult, only H.264. Do you know any companies which currectly can offer them? Thanx Jajo ...

compression in H.264
hello all, i did an implementation in matlab for H.264 encoding and decoding (integer 4x4) = transform and quantization then the inverse, but i had one small problem with it when i used the blkproc(...,...,...,)i used Y = AXA place DCT,. anyone can write the code of quantization?thank you . julien <jose50@seznam.cz> wrote in message <23776078.1210022845905.JavaMail.jakarta@nitrogen.mathforum.org>... > hello all, > i did an implementation in matlab for H.264 encoding and decoding (integer 4x4) = transform and quantization then the inverse, but i had one small problem with ...

H.263 == MPEG4?
I am confused - is H.263 the video codec used in MPEG4 or is it not? -- % Randy Yates % "She's sweet on Wagner-I think she'd die for Beethoven. %% Fuquay-Varina, NC % She love the way Puccini lays down a tune, and %%% 919-577-9882 % Verdi's always creepin' from her room." %%%% <yates@ieee.org> % "Rockaria", *A New World Record*, ELO http://home.earthlink.net/~yatescr Randy Yates wrote: > I am confused - is H.263 the video codec used in MPEG4 or is it not? Randy, MPEG-4 is a collection o...

h. 264 compression overview
Can someone give me a basic overview of how h. 264 does motion prediction for video compression? To render intermediate frames, does it send motion parameters describing the change in motion from a previous frame? Or can it make a prediction based on the previous and next frames? Thanks... ...

Where's Wally ^H^H^H Tholen?
Oh, look! I've found Dickless Davie - http://www.livejournal.com/users/krautboy/243291.html He's with all his saucerhead friends. Half way down, still missing his penis. It even looks like him. And with all the fat chicks there, one of them has to be Sheila AKA Nightingale. Michael Baldwin Bruce wrote: > Oh, look! I've found Dickless Davie - > > http://www.livejournal.com/users/krautboy/243291.html > > He's with all his saucerhead friends. Half way down, still missing his > penis. It even looks like him. LOL! And the next geek down must be Dick. > ...

H.264/MPEG4 AVC
hi is there anyone working on H.264/MPEG4 part10 AVC .I am currently working on that project. Can contact me on kotharisaransh@ymail.com ...

H monografia H
site Monografia express auxilia estudantes e profissionais na prepara��o de suas pesquisas. Temos uma equipe preparada para o desenvolvimento de monografias e projetos de monografia para a conclus�o de cursos de gradua��o, p�s-gradua��o e especializa��o. Tamb�m desenvolvemos a formata��o de monografias de acordo com as normas da ABNT (Associa��o Brasileira de Normas T�cnicas) ou conforme as regras de sua Faculdade/Universidade. Os servi�os s�o desenvolvidos por profissionais altamente capacitados...

OT: Great! Another Raghead^H^H^H^H I mean "American" makes threats
http://abcnews.go.com/WNT/story?id=206661 What a joke. If he was really an American he might actually show his face, instead of hiding behind a tablecloth wrapped around his head, like all the other Muslim terrorists these days. ...

Pimp Bft^H^H^H your favourite game from 2010 here...
http://www.cyberstratege.com/magazine/blog/2010/12/01/lauriers-2010-vote-des-lecteurs/2/ Translation for the non-Quebec speakers: http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&sl=fr&tl=en&u=http%3A%2F %2Fwww.cyberstratege.com%2Fmagazine%2Fblog%2F2010%2F12%2F01%2Flauriers-2010-vote-des-lecteurs%2F2%2F On 9 dec, 12:08, "Vincenzo Beretta" <reckallNOS...@hotmail.com> wrote: > http://www.cyberstratege.com/magazine/blog/2010/12/01/lauriers-2010-v... Already did that last week - forgot to post the l...

Conflicting typedef with winnt.h, windef.h and winbase.h
Hi While compiling my application that needs "windows.h" there are some typedef redefinition errors redefinition at winnt.h( line 207) typedef void *HANDLE redefinition at windef.h( line 143) typedef unsigned char BYTE redefinition at windef.h( line 141) typedef unsigned long DWORD #define INVALID_HANDLE_VALUE -1 redefinition at winbase.h(55) #define INVALID_HANDLE_VALUE (HANDLE)-1 The DLL that links to my application needs the following typedefs at the moment declared at my_include.h As stated in User Manual --> My Definition (working and handling data perfect but without ...

Pimp Bft^H^H^H your favourite game from 2010 here...
http://www.cyberstratege.com/magazine/blog/2010/12/01/lauriers-2010-vote-des-lecteurs/2/ Translation for the non-Quebec speakers: http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&sl=fr&tl=en&u=http%3A%2F %2Fwww.cyberstratege.com%2Fmagazine%2Fblog%2F2010%2F12%2F01%2Flauriers-2010-vote-des-lecteurs%2F2%2F On 9 dec, 12:08, "Vincenzo Beretta" <reckallNOS...@hotmail.com> wrote: > http://www.cyberstratege.com/magazine/blog/2010/12/01/lauriers-2010-v... Already did that last week - forgot to post the l...

h.264 or mpeg 4 or 263
HI I wonder whether the reference code of this coders is freely available? And where would that be? Bubu u can finf H.263 and mp4 on helixcommunity.org The code section is down and expected to be up soon. H.264 might be difficult to get as people are a bit slow in coding and even slower in sharing!! can't help u more than that but hope u get the code soon. cheers, prakash bubu_1313@yahoo.co.uk (bubu) wrote in message news:<6a61c4e7.0402261536.5901932f@posting.google.com>... > HI > I wonder whether the reference code of this coders is freely available? > > And wher...

better video compression than h.264 in the market?
Hi All, Is there anything better than h.264 in the market? In terms of bandwidth. Could be a academic project or a professional product/algorithm. Thanks ...

Windows Screws Up UNIX and Linux by De^H^H^H^HGN
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Windows Newlines Will Kill Your Linux Scripts ,----[ Quote ] | What’s going on is that you really do have a | fatal error in your code, and it’s an error | that you can’t see. In fact, it’s invisible. | The error is that you have uploaded a file that | you created on a Windows machine. `---- http://hackingthevalley.com/2011/06/21/windows-newlines-will-kill-your-linux-scripts/ Cancer in your shell, cancer on the Web... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk4DDfQACgkQU4xAY3RXLo48cACdGI9aRcuc3vaJfmS+pp4...

Replacing vga.h with zackvga.h to run vga.h functions
In October 2006 far too many Linuxes lack the easy to program for vga.h This zackvga.h is designed to replace vga.h and use XWindows to implement vga.h functions. end of header long comment */ // beginning of zackvga.h // copyright 2006 by Eric Matteson // Permission is granted to copy this source // code zackvga.h and to publish it on the Internet // and to use it at least for non profit use. // this header file requires wgslater.c to help // vga.h functions run on Linux XWindows // This zackvga.h for XWindows is written by // Hollywood scriptwriter Eric Matteson. // this is zackvga.hxw on fl...

And another XP SP3 Beta^H^H^H^HVista review
http://www.dailytechnobabble.com/2006/12/12/10-days-with-windows-vista-ultimate-edition/ Nothing we didn't know already, but worth mentioning all the same: "Windows Vista is by no means a small upgrade, but you won't find any major functionality features or groundbreaking technology that you can see. What you will find is lots (and I mean LOTS) of tiny changes and improvements that sometimes help but often confuse you if you are as accustomed to Windows XP as I was." So it's actually more like XP SP3 than a new OS - at least from the user's point of view....

The apocal^H^H^H World in Flames to be released in a couple of weeks
Hi, No, it's not April Fool's - the official word is that World in Flames will be released shortly Looking forward to the Road to Moscow announcement next month :) Greetz, Eddy Sterckx I, for one, will buy it. No, I'm not crazy, I simply loved the boardgame, and recently I'm re-discov= ering the pleasure of playing PBEM. Paradox SOMEHOW managed to bring HoI III in a playable state (no more the B= ismarck attacking Pearl Harbor *alone* - which is a pity IMHO). I admire th= eir effort, and some mods are really good, but we are still talking about a= game...

filter to convert video stream from MPEG2 to H.264?
Hi, I've been tasked with finding a solution for this. The video camera will be generating MPEG2 output. It needs to be compressed to H.264, via a filter and then sent across the Internet. I have not been able to find a suitable filter for this purpose though. Does anyone know if one is available? Thanks, S ...

Code for matlab H.264 MPEG4 Part10 AVC
Hello everyone, Can anyone please tell me from where can i get the matlab source code for H.264/MPEG4 part10 AVC . Thanks Saransh "Saransh Kothari" <kotharisaransh@ymail.com> wrote in message <h1isfp$253$1@fred.mathworks.com>... > Hello everyone, > Can anyone please tell me from where can i get the matlab source code for H.264/MPEG4 part10 AVC . > Thanks > Saransh you're joking, in the matlab forum? if you want some real, fast code head over to the doom9 forum and get source code for x264/mpeg4 there are a f...

Where can I find <X11/Intrinsic.h>,<X11/Xlib.h>,<X11/Xatom.h>,<X11/Xutil.h><unistd.h>include files
I have a problem with these files. #include<unistd.h> #include<X11/Intrinsic.h> #include<X11/Xlib.h> #include<X11/Xatom.h> #include<X11/Xutil.h> Could someone please tell me where to find these files? Thanks in advance for any help that you can give me!! Yours Sincerely, May mmz@alexandria.cc (May) wrote in news:cfcc3917.0311231944.13209842 @posting.google.com: > I have a problem with these files. > > #include<unistd.h> > > #include<X11/Intrinsic.h> > ...

strings.h or string.h
Hi, While using sting related functions in a c++ program which header file one should use. strings.h or string.h thanks shankha On May 5, 9:07=A0am, shankha <shankhabaner...@gmail.com> wrote: > Hi, > While using sting related functions in a c++ program which header file > one should use. > strings.h or string.h #include <string> /s shankha wrote: > While using sting related functions in a c++ program which header file > one should use. > strings.h or string.h Sting related functions would be found in 'bee.h' or 'wasp.h', and some in '...

About H.264
Dear all, In H.264, there is a emulation_prevention_byte 0x03 being added when the bit pattern 0x000000, 0x000001, 0x000002, 0x000003. Would there be someone that can tell me why it needed to be added for 0x000000 and 0x000002. Thank a lot in advance. Regards, clover ...