PDA

View Full Version : MJPEG okay for interlaced content?


PlazzTT
14th August 2004, 06:21
Hi,

I need to record two hours from an analogue source tomorrow, and I don't have a big enough hard drive to record with huffYUV (it would need about 70GB).

The source is going to be interlaced, so is it still okay to use an MJPEG codec? Wouldn't there be JPEG artifacts on the interlace lines, and possibly confuse the de-interlace filter I use later?

Also, how much of difference do the different YUV2 compression methods in huffyuv make, in terms of speed and filesize? Would my 2GHz PC be fast enough to encode 768x576 video in the "Predict median (best)" mode? How much smaller would the file be compared to "Predict left (fastest)" mode?

John.

JoeShrubbery
14th August 2004, 06:29
Most mjpeg codecs have an interlaced mode you can set, so that shouldn't be a problem. Even if the particular mjpeg codec you'll be using lacks this option for some reason, I imagine at the highest quality settings it shouldn't be an issue.

Wilbert
15th August 2004, 13:11
Most mjpeg codecs have an interlaced mode you can set, so that shouldn't be a problem.
An interlaced mode is only important when capping to YV12. For YUY2, it doesn't matter whether it's enabled or not.

trevlac
16th August 2004, 15:18
Here is a decent article about some details of mpeg and dv compression.

http://www.adamwilt.com/DVvsMJPEG.html

I would think properly picking an interlaced option would give you better mjpeg compression (a smaller file). So it would matter for that. It's possible that you loose some info if you don't pick frame vs field compression. But the color subsample thing Wilbert pointed out, probably makes the biggest difference.