logo Sign In

.: The X0 Project Discussion Thread :. (* unfinished project *) — Page 18

This topic has been locked by a moderator.

Author
Time
Don't get everyone started on another naming war Karyudo!

At home, I just call it HR Puffenstuff.
Author
Time
I just call it Huffy-U-V.

<span class=“Italics”>MeBeJedi: Sadly, I believe the prequels are beyond repair.
<span class=“Bold”>JediRandy: They’re certainly beyond any repair you’re capable of making.</span></span>

<span class=“Italics”>MeBeJedi: You aren’t one of us.
<span class=“Bold”>Go-Mer-Tonic: I can’t say I find that very disappointing.</span></span>

<span class=“Italics”>JediRandy: I won’t suck as much as a fan edit.</span>

Author
Time
Whenever I've had to read "huffyuv", in my head it sounds like "huffy-yuv", like a child saying the word "love".

Oh no, now I've contributed to another name discussion...

I used to be very active on this forum. I’m not really anymore. Sometimes, people still want to get in touch with me about something, and that is great! If that describes you, please email me at [my username]ATgmailDOTcom.

Hi everybody. You’re all awesome. Keep up the good work.

Author
Time
Hey guys! great job. The screenshots look fantastic! I'll doing a donation shortly. It won't be much, but hopefully enough to keep the progress (or pizza if you need it) going.

Author
Time
Thanks!

As much as I hate to give it up, too many laserdisc avatars was getting confusing, and seeing it is snowing here today for the first time in 40 years, I'll go with this guy. (so no, I haven't joined the Klan in case you were wondering)

When is someone going to fix the 'upload your own avatar' thingie?
Author
Time
I was curious why you guys are using HuffYUV instead of Lagarith. Lagarith gives both better compression (a smaller file) plus it is better quality. I was just testing three of the more popular lossless codecs, HuffYUV, Lagarith, and MSU, and Lagarith won hands down. MSU produces an even smaller file with no noticable difference in quality bewteen Lagarith and MSU, but MSU is really slow (for 550 frames it took about 12 minutes). The only down side is that Lagarith is slightly slower than HuffYUV. But when it comes to quality and size I would think you would be willing to sacrifice a bit of speed.
Author
Time
Originally posted by: Rebel11_38
Lagarith gives both better compression (a smaller file) plus it is better quality.
If both Lagarith and HuffYUV are lossless, then how can Lagarith be "better quality"?

MSU is really slow (for 550 frames it took about 12 minutes).

That should be excellent for capturing!

Yes, that's a very heavy dollop of sarcasm.

The only down side is that Lagarith is slightly slower than HuffYUV. But when it comes to quality and size I would think you would be willing to sacrifice a bit of speed.

The nice thing about HuffYUV is that it is very fast, which makes it very good for capturing. It's not an especially good archive format (because of its size), but it's a great capture format. Considering most people have never heard of Lagarith, and that MBJ has previously quoted figures around 1TB for his storage capacity, I don't think the X0 Project has gone wrong in choosing HuffYUV.
Author
Time
Lagarith offers excellent compression, the MSU Lossless Codec and FFV1 are the only codecs that I have come across that outperform Lagarith in terms of compression. I would recommend Lagarith for the following reasons however. Lagarith is able to operate in several colorspaces - RGB24, RGB32, RGBA, YUY2, and YV12. For DVD video, the compression is typically only 10-30% better than Huffyuv. However, for high static scenes or highly compressible scenes, Lagarith significantly outperforms Huffyuv.Lagarith is able to outperform Huffyuv due to the fact that it uses a much better compression method. Pixel values are first predicted using median prediction (the same method used when "Predict Median" is selected in Huffyuv). This results in a much more compressible data stream. In Huffyuv, this byte stream would then be compress using Huffman compression. In Lagarith, the byte stream may be subjected to a modified Run Length Encoding if it will result in better compression. The resulting byte stream from that is then compressed using Arithmetic compression, which, unlike Huffman compression, can use fractional bits to encode a symbol. This allows the compressed size to be very close to the entropy of the data, and is why Lagarith can compress simple frames much better than Huffyuv, and avoid expanding high static video. Additionally, Lagarith has support for null frames; if the previous frame is mathematically identical to the current, the current frame is discarded and the decoder will simply use the previous frame again.

The trade-off for this improved compression is speed. On a single processor system, Lagarith is significantly slower than Huffyuv on typical video. For me, Lagarith tends to encode at about half the speed Huffyuv does. Additionally, the decode speed is slower than the encode speed; this is due to the nature of Arithmetic compression and the prediction algorithm. Fortunately, for the situations where the codec offers the most advantages over Huffyuv, the speed difference between the two tends to decrease, and Lagarith can be much faster for simple video. For multiple processor systems, Lagarith 1.3.0 can take advantage of additional processors; while Huffyuv cannot. On such systems Lagarith may be faster than Huffyuv.

This codec was build using the Huffyuv source as a template, and uses some Huffyuv code, most notably the routine to upsample YUY2 video to RGB. The function for upsampling YV12 to YUY2 was taken from AviSynth.


- Taken from the Lagarith homepage.

As far as looking better, I can't explain why it does, but...it does. Using similar settings for each codec, I get a lot aliasing on straight lines when using HuffYUV, especially noticable on the 20th century FOX logo. With Lagarith and the same settings, I don't get that, and I get a smaller file to boot.
Author
Time
Hmm... you're still talking in terms of 'encode' and 'decode' -- what's your source? If it's anything but a 720 x 480 @ 29.97fps analogue capture, then I suspect your arguments are moot. There is just no way I could cap with Lagarith on my computer. If it's half the speed of HuffYUV but only 30% (at best) smaller, then for the task at hand it really doesn't sound as though it's the right tool.

I'd be interested to see some comparison caps of the jagginess you mention. Can ya post a couple of examples?
Author
Time
Also, what program are you using to capture with.
Lossless codecs should not look any different if using the same colourspaces, unless of course the codec or capture system has a bug, or is using a LUT during capture and mapping the pixels differently.
I'd be interested in a side by side compariosn, noting what program and card you used for the captures.

Also, if you could convert a logarith video to huffyuv (once again keeping the colourspaces indentical) and see if the degradation still occurs.

I'd be very surprised if they are different unless one does some preprocessing that the other doesn't, but it would be good to know.

The reason we chose huffyuv is it is
a) lossless
b) Stable
c) Fast
d) Capable of RGB and YUV/YIQ colourspaces

It is important when capturing such massive files that you don't drop a single frame.
Author
Time
Actually if you could cap the same few frames RGB uncompressed, huffyuv and lagarith, and post a frame here or e-mail me them or whatever, and we can run a script over them to point out the differences if any.
That would be great - if there is a problem with the 'lossless' codecs, it would do us all a favour to know about them.
Author
Time
Why is it that Tatooine and the moon above it look completely different between the two shots?

I used to be very active on this forum. I’m not really anymore. Sometimes, people still want to get in touch with me about something, and that is great! If that describes you, please email me at [my username]ATgmailDOTcom.

Hi everybody. You’re all awesome. Keep up the good work.

Author
Time
The transfer on the French discs is framed differently to the DC version, there is quite a lot of Tatooine missing off the bottom of the screen. Also the colours are not as saturated.

I think the main thing to note is that although there seem to be more stars in my PAL version, there is also a load more chroma noise (some of the black space is blue-ish). And that shot from the X0 is the raw cap before any processing, whereas mine is from the finished DVD (both jpgs have been resized to the correct AR).

Guidelines for post content and general behaviour: read announcement here

Max. allowable image sizes in signatures: reminder here

Author
Time
I'll see what I can do about sending you some screen caps Laserman. I'm no savant at video work, so there is a chance that I am doing something wrong. However, I have fiddled with Huffyuv a lot and I cannot get it to match the quality of Lagarith. Maybe you can point out where I'm taking a wrong turn if any.

Zion -

Lagartith is nowhere as slow as MSU. MSU is about 15 times slower than Huffyuv. In my experience with Lagarith it is only about 2-3 minutes slower than Huffyuv. Of course, that tme grows with teh bigger the project. And as far as compression, I think the Lagarith homepage underestimates the compression. I find ithe results to be about half the size of anything that Huffyuv does.
Author
Time
Quit bragging Moth3r or give us an NTSC version.

Dr. M

Author
Time
Originally posted by: Rebel11_38
Zion -

Lagartith is nowhere as slow as MSU. MSU is about 15 times slower than Huffyuv. In my experience with Lagarith it is only about 2-3 minutes slower than Huffyuv. Of course, that tme grows with teh bigger the project. And as far as compression, I think the Lagarith homepage underestimates the compression. I find ithe results to be about half the size of anything that Huffyuv does.


My only point was that it wouldn't make a good real-time capture codec. The only way it would be of use to us was if it reduced the file size considerably and didn't alter the video quality.

My Projects:
[Holiday Special Hybrid DVD v2]
[X0 Project]
[Backstroke of the West DVD]
[ROTS Theatrical DVD]

Author
Time
Oooh sexy...
"Give us all your money and a tank of gas. We're taking this bird to Cuba" ~Stimpy
Author
Time
Damn these lack of avatars,

Moth3r, there is an astounding amount of video noise in that PAL image, but it does show how much promise a PAL capture will have if we can get a clean go at it - and we *are* working on it.
To get rid of the noise in the starfield, you can pretty much do it just by setting your black point to a portion of the video noise. Here is your same PAL shot from your capture with a different black point set. Original image followed by image with a different black point.

http://www.mudgee.net/ot/moth-008-crs.jpg

http://www.mudgee.net/ot/moth3r.jpg
Now it is set a little too high, but you could go somewhere in between and wipe out 80% of the noise and still get nearly all of the stars.


OK guys, as Zion said, there is another screenshot up on the x0project.com website, a little bit of Leia this time.
Remember to click through and take a look at the larger 100% sized images, as the one on the page is reduced in size.


Author
Time
Damn....that's a sweet change.

<span class=“Italics”>MeBeJedi: Sadly, I believe the prequels are beyond repair.
<span class=“Bold”>JediRandy: They’re certainly beyond any repair you’re capable of making.</span></span>

<span class=“Italics”>MeBeJedi: You aren’t one of us.
<span class=“Bold”>Go-Mer-Tonic: I can’t say I find that very disappointing.</span></span>

<span class=“Italics”>JediRandy: I won’t suck as much as a fan edit.</span>

Author
Time
Originally posted by: Doctor M
Quit bragging Moth3r or give us an NTSC version. I wouldn't call drawing attention to the amount of video noise in my transfer "bragging". I think I made a fair comparison. But for the record, if Moth3r V2.0 ever appears, it will be anamorphic NTSC.
Originally posted by: zion
I don't want to say too much at this point, but the possibility of getting X0-like quality out of PAL is being explored. Originally posted by: Laserman
... it does show how much promise a PAL capture will have if we can get a clean go at it - and we *are* working on it.
Care to elaborate on what exactly you are working on? As I see it, the best mainstream PAL player was the 2950 (not miles ahead of the D925, but has reported better build quality, less noise and a less-tortuous signal path). This is the player I would like to get for my next version.

However, perhaps some of the smaller "videophile" companies manufactured high-spec PAL-compatible players. A thread over on avforums.com mentions the Theta players and the Voyager if it supports PAL laserdiscs looks like the kind of thing that could get somewhere close to X0 quality. Am I getting warm?
Originally posted by: Laserman
To get rid of the noise in the starfield, you can pretty much do it just by setting your black point to a portion of the video noise. Here is your same PAL shot from your capture with a different black point set.
That's a great tip and excellent looking shot thanks LM. The brightness on my TV was probably set this way, because the noise did not look anywhere near as bad when watching on the TV.

Guidelines for post content and general behaviour: read announcement here

Max. allowable image sizes in signatures: reminder here