PDA

View Full Version : Mjpeg


pieter1976
30th August 2004, 11:46
I have a idea of improving mjpeg.
With the normal mjpeg encoding 8x8 dct blocks are created at the same position every time. What if you changed the start position for every frame wouldn't that give a better moving image?

With the start position I mean then x,y point.



x
-------|---
|
|
y- *ooooooo
| oooooooo
oooooooo
oooooooo
o8x8dcto
oooooooo
oooooooo
oooooooo

* = start position







The 8x8 dct block patterns should be less visible.
This is when the start position is randomly.

I haven't tested it yet but I think it should have a positive effect.
Can this be tested with a avisynth script?

Joe Fenton
1st September 2004, 00:25
You mean like Floyd-Steinberg dithering in printing? Hmm, might make it look better. Certainly won't do anything for the compression. You might try a few of the printer dither algorithms like Floyd-Steinberg. You can google for them.

pieter1976
17th September 2004, 22:59
I tested the new Mjpeg methode with x and y offsets.
Here are the results (http://home.zonnet.nl/pieterboots/compare.zip)

I see some more detail in my version.