logo       

TODO list for libmpeg2new.: msg#00041

video.xine.devel

Subject: TODO list for libmpeg2new.

Hi,

I thought I would just document here what still needs to be done to libmpeg2new before we have it functional enough to maybe replace the old libmpeg2 code.
The major difference between the libmpeg2new code and the old libmpeg2 code is that the libmpeg2new code uses the latest libmpeg2 api from http://libmpeg2.sourceforge.net

Currently, libmpeg2new can play a media stream without any problems.
If people want to test it, just go to the ./xine-lib/src/libmpeg2new and do make install. It just overrides the other libmpeg2 in the plugins directory.

Still TODO: -

1) The mpeg2_reset function does NOT work. (required for seeking)
2) CC - Closed caption support.

Regarding (1)
The libmpeg2 from libmpeg2.sf.net does not have a mpeg2_reset function, so I tried to add one.
I have managed to patch the libmpeg2 code so that it properly handles the image buffers, so that it allocates them and releases them correctly during normal play. This works fine for normal streams, DVD menus, DVD stills etc.
Seeking is still messy, with image breakups etc.
The mpeg2_reset function has two tasks: -
1) output any pending incomplete images as bad images and release all image buffers. (mostly done)
2) reset mpeg2 so that it starts looking for a new image in the stream.
I have not managed to get this working. If anyone can get the mpeg2_reset() function working in libmpeg2new it would be a great help.

Regarding (2).
I don't have any DVDs with CC on them, so cannot test it.

Once we have (1) working, we will be much more up to date with the libmpeg2 at libmpeg2.sf.net

Cheers
James



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise