|
From: Arne S. <ar...@sc...> - 2001-05-21 20:08:12
|
The mjpeg project has a decent de-interlacer. I wrote a brief article on this software on my website ( http://www.schirmacher.de/arne/dvgrab/index_e.html ), but I did not mention the de-interlacing functions. My understanding of the interlacing in DV is that every frame in DV is actually two interleaved video frames where every other row has been omitted. So a non-interlaced frame could be made by taking every other row and duplicating it in two consecutive rows (to retain the w/h ratio) into the destination buffer. I would like to have such a function in the libdv code. I could easily duplicate it in the Kino code, but if interlacing is a feature of DV, then libdv should have code to de-interlace it. I am not an mpeg expert at all, but I think that the mpeg code would compress de-interlaced frames better than interlaced ones, because the latter have more rough looking features which do not compress that good. But this is just a guess. Also, when saving a single frame the de-interlaced image would look much better. Maybe the two half frames can even be processed and overlaid with some existing image processing library. Arne -----Original Message----- From: David Bonneville Sent: Monday, May 21, 2001 2:35 PM To: lib...@li...; lin...@li... Subject: horrible frames Hi all, I have some problems when I use Frame::ExtractRGB() (dvgrab's code). I got some interlaced frames as you can see at http://www.idiap.ch/~bonnevil/images Do you have/know this problem ? I am also trying to use Frame::ExtractYUV() but it seems that I've not find the correct format yet. If somebody know it or has ever used it before, please tell me what to do. Thanks David _______________________________________________ mailing list lin...@li... http://lists.sourceforge.net/lists/listinfo/linux1394-devel |