Lossless video compression - Now with less bytes!
- Torchlight
- Joined: Thu Dec 26, 2002 5:30 pm
- Location: Ames, IA
- Sir_Lagsalot
- Joined: Mon Jun 23, 2003 6:42 pm
"would there be any advantage over huffyuv to those with plenty of storage space?" If you have the space, Huffyuv will better for editing since it is faster. However, I found that premiere doesn't like codecs that expand video, so I ended up exporting a section of my most recent video (shameless plug!) http://www.animemusicvideos.org/members ... hp?v=35844 in Lagarith since Huffyuv would crash premiere on this scene (its at 1:04).
Additionally, if you have lengthy videos clips that are simple stuff like masks, text, etc, then Lagarith can provide a significant space savings while still having decent speeds.
"I wonder if more of the gain comes from the arithmetic coding or the selective RLE. Good ideas." They complement each other. The RLE reduces the size by a few percentage points normally, but also keeps the byte steam very compressible for the arithmetic coder.
Also, with converting to YUV, its not just the formula, for stuff like YUV2 you also have to match the method used to interpolate between the croma values. It might happen, paticularly if the codec catches on =)
"Can we see source?" If some one wants to, I'll let them, but it is huge mess. No comments, obtuse code, inline assembly in sections, depricated functions...
Additionally, if you have lengthy videos clips that are simple stuff like masks, text, etc, then Lagarith can provide a significant space savings while still having decent speeds.
"I wonder if more of the gain comes from the arithmetic coding or the selective RLE. Good ideas." They complement each other. The RLE reduces the size by a few percentage points normally, but also keeps the byte steam very compressible for the arithmetic coder.
Also, with converting to YUV, its not just the formula, for stuff like YUV2 you also have to match the method used to interpolate between the croma values. It might happen, paticularly if the codec catches on =)
"Can we see source?" If some one wants to, I'll let them, but it is huge mess. No comments, obtuse code, inline assembly in sections, depricated functions...
- Sir_Lagsalot
- Joined: Mon Jun 23, 2003 6:42 pm
- AbsoluteDestiny
- Joined: Wed Aug 15, 2001 1:56 pm
- Location: Oxford, UK
- Contact:
I'm certainly considering putting this in the AMVapp but my main concern with codecs used for archiving is their futur-proofness.
This codec is young so I'd be worried about future versions not being backwards compatible.
Otherwise I think it's great code and could really help out with transferring files in mutil creator projects
More colourspaces would rock though
This codec is young so I'd be worried about future versions not being backwards compatible.
Otherwise I think it's great code and could really help out with transferring files in mutil creator projects
More colourspaces would rock though
- Corran
- Joined: Mon Oct 14, 2002 7:40 pm
- Contact:
Yeah, Instead of converting the colorspace in AviSynth or enabling Full Processing Mode, I tried compressing using fast recompress in Vdub on an avs file in the YUV colorspace. The file would crash anything I put it in including windows explorer with the preview sidebar.AbsoluteDestiny wrote:More colourspaces would rock though
The HuffYUV with the YUV colorspace was almost 200 megs smaller than the Lagalith RGB encoded version.
The Lagalith encode was indeed 200 megs smaller than its RGB HuffYUV couterpart though.
- Zarxrax
- Joined: Sun Apr 01, 2001 6:37 pm
- Contact:
-
trythil
- is
- Joined: Tue Jul 23, 2002 5:54 am
- Status: N͋̀͒̆ͣ͋ͤ̍ͮ͌ͭ̔̊͒ͧ̿
- Location: N????????????????
- Sir_Lagsalot
- Joined: Mon Jun 23, 2003 6:42 pm
"Just curious, but how does that make a difference at the bit/byte-level perspective?" It doesn't. At the compression level though, alpha has information that needs to be preserved, while padding doesn't.
"I tried compressing using fast recompress in Vdub on an avs file in the YUV colorspace. The file would crash anything I put it in including windows explorer with the preview sidebar. " Attempting to compress like that shouldn't work, the codec should only accept RGB24 video to compress... something I'll look into.
"I tried compressing using fast recompress in Vdub on an avs file in the YUV colorspace. The file would crash anything I put it in including windows explorer with the preview sidebar. " Attempting to compress like that shouldn't work, the codec should only accept RGB24 video to compress... something I'll look into.
- Sir_Lagsalot
- Joined: Mon Jun 23, 2003 6:42 pm
