VideoHelp Forum
+ Reply to Thread
Results 1 to 6 of 6
Thread
  1. Anonymous543
    Guest
    hlo there is there anyone here will explain how audio and video compression works?

    suppose i have a raw audio file which is recorded at 8 bit per sample/bitdepth and 44,100hz containing only 1 channel
    so its bitrate will be around 352.8kbit/s i guess

    so if i compress and rencode this file with libopus codec at 128kbit/s
    then what data will be removed from raw audio??
    bit depth and sample rate will remain same?



    for video i dont know the formula of calculating raw video
    Quote Quote  
  2. Go read some books about information theory, signal processing, and data compression.

    Start with:

    https://en.wikipedia.org/wiki/Discrete_cosine_transform
    https://en.wikipedia.org/wiki/Motion_estimation
    https://en.wikipedia.org/wiki/Entropy_encoding
    Last edited by jagabo; 9th Jan 2022 at 10:23.
    Quote Quote  
  3. Originally Posted by kirito View Post
    hlo there is there anyone here will explain how audio and video compression works?
    Perhaps somebody may be brave enough to start describing coding methods - but this is very wide topic where having strong math background may be necessary to explain priniciples.

    Originally Posted by kirito View Post
    then what data will be removed from raw audio??
    This is associated with many factors - but mostly lossy audio compression will try to exploit human audio system characteristic - some signals are masked, some signals less audible, some signals not absolutely necessary to be present in reconstructed spectrum.

    Originally Posted by kirito View Post
    bit depth and sample rate will remain same?
    sample rate yes, bit depth not necessarily


    Originally Posted by kirito View Post
    for video i dont know the formula of calculating raw video
    bits per pixel (components number * bitdepth) * number pixels * number lines * number frames
    Quote Quote  
  4. Anonymous543
    Guest
    Originally Posted by pandy View Post
    Originally Posted by kirito View Post
    hlo there is there anyone here will explain how audio and video compression works?
    Perhaps somebody may be brave enough to start describing coding methods - but this is very wide topic where having strong math background may be necessary to explain priniciples.

    Originally Posted by kirito View Post
    then what data will be removed from raw audio??
    This is associated with many factors - but mostly lossy audio compression will try to exploit human audio system characteristic - some signals are masked, some signals less audible, some signals not absolutely necessary to be present in reconstructed spectrum.

    Originally Posted by kirito View Post
    bit depth and sample rate will remain same?
    sample rate yes, bit depth not necessarily


    Originally Posted by kirito View Post
    for video i dont know the formula of calculating raw video
    bits per pixel (components number * bitdepth) * number pixels * number lines * number frames
    So video/audio codecs targets that data which humans can't detect easily ,and remove them?
    Quote Quote  
  5. Originally Posted by kirito View Post
    So video/audio codecs targets that data which humans can't detect easily ,and remove them?
    This is foundation of the lossy coding - remove information which anyway will be probably not important (normally not perceived) for 99.99% of humans (average listener/watching person).
    Quote Quote  
  6. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    ...Or remove more data, which will be noticeable, but the loss might be considered acceptable for those circumstances.


    Scott
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!