Hi Gus,libmpeg2 itself can only parse an MPEG video elementary stream -- video only.
Within the MPEG-2 world, a stream that combines video and audio is an MPEG-2 systems stream -- either a transport stream or a program stream. You can demultiplex these with the mpeg2dec and extract_mpeg2 example programs that ship with libmpeg2.
They only pull out the video, but you can tweak them to do audio or a different stream. liba52 ships with extract_a52, which can pull out AC-3 audio from an MPEG system stream like like extract_mpeg2 does for video.
Best, Keith On Wed, 15 Jul 2009, Gus Issa wrote:
Hello, Does libmpeg2 decode MPEG files with audio in them? I know the library itself doesn't decode the audio but is there a way to get the audio data from the library since it is already parsing the MPEG file? Gus
------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge
_______________________________________________ Libmpeg2-devel mailing list Libmpeg2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmpeg2-devel