[MPlayer-dev-eng] Mpeg2 Interlace
Ivan Kalvatchev
iive at yahoo.com
Sat Sep 22 19:42:56 CEST 2001
Hello Arpi
First i should say that i was wrong, the
postprocessing is not responsible for corruption of
interlaced Mpeg2. The reason is in rewrite that
removes mpeg2dec libvo. I cannot understand why you
have made it so. The mpeg2dec video_out is reentrant.
It has support for interlaced modes. Maybe you waned
more simplicity?
For now I send you a patch that completes your fix for
this (it's rem'ed). I don't like it too, but as I said
before it's better to work slow that not to work at
all.
In all cases even if vo_draw draws only odd/even
field, the result won't be so good, because xv or SDL
make one more copy of the whole frame( 2 times per
field).
Moreover it is possible to change draw_slice to use
field draw with minimum efforts. You should add one
flag. It fits perfectly because draw_slice is used
only by mpeg2.
Comments on current patch:
copy_slice - could be removed. First I lost my time to
make it work correctly. When I made it work I realised
that it could not be used to display output to the
screen because it follow decode process that is not
12345 but something like 1423.
The rest is like mplayer -pp 1 ... workaround, but
without postprocessing.
Best Regards
Ivan Kalvachev
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: decode.c.patch.gz
Type: application/x-gzip-compressed
Size: 503 bytes
Desc: decode.c.patch.gz
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20010922/95c12c9d/attachment.bin>
More information about the MPlayer-dev-eng
mailing list