Jorgen Lundman wrote > > Anyway, anyone have a nice example to pull out only the video, audio > and > spu stream that I want? It seems I have lots to learn about MPEG > packets.
My first reaction was, just use libavformat.... Then I realized what a mess it is to get everything right when using a separate mpeg demuxer (atleast one that doesn't parse NAV packets). So I must admit, it would be quite a nice idea to have a very basic mpeg demuxer in libdvdnav that only caters to the specifics of the dvd mpeg format. Things like discontinuities in the mpeg stream could be handled, and flushes of the demux context on VTS changes would be a whole lot easier to handle. Currently you sort of have to make libdvdnav temporarily EOF, to get libavformat to flush out any buffered data, then handle the event, and restart libavformat. Joakim _______________________________________________ DVDnav-discuss mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss
