Results 1 to 8 of 8

Thread: Lossless vs. Lossy

  1. #1
    Member
    Join Date
    May 2012
    Location
    United States
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lossless vs. Lossy

    If you were streaming something real time which do you think would be faster?


    Sending out a lossless compressed package...

    OR

    Decompressing the lossless compressed package then recompressing it as lossy?

    ALSO

    In this you can split the lossless compressed package in 2 so if it is faster to decompress then recompress would it be faster to...

    split the lossless package then do to seperate recompressions

    OR

    split the lossy compressed package in 2 and send it out? (This way the quality is minimally degraded)


    Thank you
    Last edited by WillatSMU; 7th May 2012 at 23:36.

  2. #2
    Member
    Join Date
    May 2012
    Location
    United States
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Help

    Does anyone have any idea or experience with this?

  3. #3
    Administrator Shelwien's Avatar
    Join Date
    May 2008
    Location
    Kharkov, Ukraine
    Posts
    3,134
    Thanks
    179
    Thanked 921 Times in 469 Posts
    There's no specific answer, it depends on the circumstances.
    If you have a slow network and lots of computing power, then recoding could be faster.

  4. #4
    Member
    Join Date
    May 2012
    Location
    United States
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Their would be a processor exclusively dedicated to altering the compressed packages but the network speed will vary greatly. Also they are in an MP4 format so I know that will play a large role in this, sorry for excluding this information.

  5. #5
    Member
    Join Date
    May 2012
    Location
    United States
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Or can you manipulate the original package without decompressing by dropping the pixel density which essentially turns it into lossy but saves the overhead of decompression? Would this be faster?

  6. #6
    Member
    Join Date
    Jun 2009
    Location
    Kraków, Poland
    Posts
    1,471
    Thanks
    26
    Thanked 120 Times in 94 Posts
    Ogg Vorbis provides bitrate peeling, but its results were very bad the time I checked.

    JPEG2000 does hierarchical coding and "ordinary" JPEG has progressive mode (though software/hardware unable to decode progressive JPEGs is not rare) so dropping the bigger layers from hierarchy or late scans from progressive images would be roughly equal to dropping the pixel density.

    I'm not an expert in lossy compression but I think there are at least few popular formats which support something like hierarchical coding, ie better approximations of source signal is obtained by decoding the worse approximation and then improving the result using additional data.

    On the other hand, I haven't heard of anything serious and competitive that supports converting from lossless to lossy without decoding.

  7. #7
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,497
    Thanks
    733
    Thanked 659 Times in 354 Posts
    afair, wavpack has lossless=lossy+correction mode

  8. #8
    Member
    Join Date
    May 2007
    Location
    Poland
    Posts
    85
    Thanks
    8
    Thanked 3 Times in 3 Posts
    Yes, and there is LossyWav which also has possibility of creating correction file.

Similar Threads

  1. WebP (lossy image compression)
    By Arkanosis in forum Data Compression
    Replies: 62
    Last Post: 12th April 2019, 18:45
  2. terminology: the line between lossy and lossless
    By willvarfar in forum Data Compression
    Replies: 2
    Last Post: 28th December 2011, 22:20
  3. One lossy BMP format that failed by a lot!
    By toi007 in forum The Off-Topic Lounge
    Replies: 0
    Last Post: 29th June 2011, 00:53
  4. Lossy 3D Object transformation
    By EwenG in forum Data Compression
    Replies: 13
    Last Post: 24th February 2011, 14:29
  5. BMF is not binary lossless NOR pictore lossy
    By SvenBent in forum Data Compression
    Replies: 4
    Last Post: 23rd August 2009, 12:54

Posting Permissions

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