-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > So I'm a total nublet. I was using the subversion build of the library > (First time using subversion too) and didn't realize that this doesn't > always mean the most stable build of the project. Just so happened that it > was not stable and hence I couldn't compile it. > I DLed the buxfix release and then I got compilation with sample2.c To > work. Also I noticed that mpeg2dec is the driver exe to run the main > conversions in and the sample test bed main function doesn't seem to do > anything in it's basic form. > > As for PPM output that is my next trouble. I am getting garbled, > pink/black pixels as my output images all looking quite awful. I have no > clue how to demultiplex the video before I put it in (or even what that > means), but I saw that as a response to David Liu's query post. Perhaps > there is a clue on how one goes about "demultiplexing" a video before > inputting it? Bottom Line: How do I get clear images out of this sample2.c? > Thanks in advance to whomever answers.
You can use libmpeg2 for decoding a simple MPEG2 video stream. Such video streams have no audio and they are not muxed. Muxingdemuxing are operations to create/read audio/video streams. Audio is presented sincronously with video streams, so dividing in chunks audio and video streams, you can read both audio and video streams sequentially from a file/network stream/whataever... MPEG specify some muxed streams. Specification codes are: - - MPEG2 program stream: ISO/IEC 13818-1 (most diffused) - - MPEG2 transport stream: ISO/IEC 13818-1 (used for network streams) - - MPEG v1: ISO 11172-1 (old standard MPEG1, wich specify audio and video, such as MP3) The program stream is able to store (muxing) 16 video streams and 32 audio streams (this standard is used over DVDs... multilunguage and multiview DVDs :) ). Transport stream is quite complex, I have no clue about take advantage from it... Before using the libmpeg2, you should demux video streams from a multiplexed stream, following the above specifications... This is not an easy task, but if you don't mind about all informations provided by these standards, you can skip them quite easily, getting "directly" all streams wanted... Good work -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFy5aOKK3BAIBUkxERAlvxAJ4jrN8JrLRmumq4CLd+TginJQv0HACgl4N2 whoMg4lM6lwTomo3gyKqNHc= =ZrP5 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Libmpeg2-devel mailing list Libmpeg2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmpeg2-devel