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 on a normal Linux x86 machine? You might try playing with mpeg2dec and the "-s0" option to see if it's a program stream that you need to extract the video from.

Or can you post one of these files to the Web? We can take a look and tell you what's going on if you do that.

Best,
Keith

On Wed, 15 Jul 2009, Gus Issa wrote:

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 sizes. It looks like just if I was receiving a bad MPEG file
but I know my file is fine because I tried many files of different
settings and I always get same thing (MPEG1 and MPEG2)
 
I am outputting a 16bit RGB to my display and using sample2.c file.
 
Any hints on what am I doing wrong or what file is responsible for this
error would really help me. I tried standard and ARM motion_comp files
and standard and ARM idct files but I always get the same results so I am
assuming the error is not in motion or in idct?! I do not know anything
about video compression.
 
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

Reply via email to