Compression techniques
is it possible to compress videos audios text files using C.. if possible gimme some insights abt it...
[103 byte] By [
sriram.r] at [2007-11-19 19:44:40]

# 1 Re: Compression techniques
Yes it is.
Do you wish to use lossless or lossy compression?
# 2 Re: Compression techniques
MPEG and JPEG are two compression techniques. If you Google on either, you should be able to find a set of C API's and libraries that you can use.
Viggy
# 3 Re: Compression techniques
Do you want some already implemented libraries for that, or do you want to implement such tecniques by your self (e.g. for research purposes)?
In general:
For videos MPEG algorithms are used which, in general use motion detecion tecnhiques to encode the video stream.
For images the most widely used techinue is JPEG which uses DCT coefficients (Disrcete Cosine Transform) and other similar algorithms.
Audio encoding is achieved mostly by MPEG Audio Layer 3 (MP3) algorithms, which, in general use filtering techiques that compress the audio spectrum based on specific psychoacoustic properties.
All of the above algorithms are lossy. There are plenty of libraries for all of the above categories, in C, C++ and Java in the net.
Regards,
Theodore
# 4 Re: Compression techniques
For lossless compression the most popular formats are of course ZIP and RAR.
I think they use amongst others run-length-encoding (RLE) and Huffmann algorithm.
# 5 Re: Compression techniques
Also take a look at Ogg Vorbis, which is an open source lossy audio codec.
http://www.vorbis.com/
# 6 Re: Compression techniques
First up thanks a lot...Yes, Ofcourse i need these ideas for implementation of my own project...i'm running into an area where compression techniques are required.. I surfed thru' google and other search engines which r not providing the exact site for these details...Can u help me out in providing any new sites for this like the one mentioned as VORBIS...
# 7 Re: Compression techniques
Also i dont have any idea abt lossy or lossless compression..First i'll chk it out and then return back with some more queries...
# 8 Re: Compression techniques
is it possible to compress videos audios text files using CYou can write practically any application in any language. You could write it in Java if you desired.Also i dont have any idea abt lossy or lossless compression..So you shouldn't be concerned about the language to use, instead read up on the technological aspects of what you are trying to accomplish.
Regards,
Paul McKenzie