Re: [mpeg2-dev] unable to decode properly

2009-07-15 Thread Keith Winstein
Hi Gus, If I had to make a wild guess, you're trying to play an MPEG-2 system stream (a transport stream or program stream). sample2.c only works on an MPEG-2 video elementary stream -- the raw video that is multiplexed into the system stream. Does the file play back properly with mplayer o

Re: [mpeg2-dev] MPEG files with audio

2009-07-15 Thread Keith Winstein
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 ex

[mpeg2-dev] unable to decode properly

2009-07-15 Thread Gus Issa
Hello, I have ported libmpeg2 to a small project running on 200Mhz ARM9. I must say it runs really fast, about 100 frames/sec for 320x240! The only problem I am having is errors in the generated frames. The pictures has too many little squares in it. They are randomly placed and of different si

[mpeg2-dev] MPEG files with audio

2009-07-15 Thread Gus Issa
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-- En