Hi, I did not work with the DEMUX_SKIP flag, but i belive it is better to copy the content of a mpeg-container into a separate audio buffer. Normaly you need to read the PES-Headers in a MPEG-PS-Packet and look for a 0xCX or 0xEX - Flag in the header. Then read the length of a PES Header and work with the content of that PS-Packet. I think the DEMUX_SKIP skips to much and your audio-buffer is dirty then. If you need more infos of working with audio demuxing i can help you with some code (if you like).
regards, Sven Am Montag, 12. März 2007 22:57 schrieb holy hans: > Hello friends, > > I want to demux the audio from the mpeg2 file. Currently i am using the > data which comes under DEMUX_SKIP flag into a file. Now using vlc i tried > to play the audio file and fortunately it played successfully but there is > some noise coming with that. > > My problem is that i cannot run audio demuxer first, both demuxer has to > run simaltaneously. Thus its very hard for me to use audio demuxer > seperately. > > Hope to some suggestions.. > > Thank You. > > Regards, > Ankur. > > > --------------------------------- > Be a PS3 game guru. > Get your game face on with the latest PS3 news and previews at Yahoo! > Games. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Libmpeg2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmpeg2-devel
