Andrey,

Please post foo.mpg somewhere we can get to it as well, please. We need 
that to see if it's a valid MPEG-2 video elementary stream. Just the first 
10 megabytes is enough.

Just to emphasize: libmpeg2 decodes MPEG-2 video elementary streams 
(streams that can contain video only). If the stream is multiplexed inside 
a different kind of stream (like an MPEG-2 program stream or transport 
stream, which can both include multiple video streams and audio streams), 
you'll need to extract the video stream you want first before handing it 
off to libmpeg2.

The demo "mpeg2dec" program has rudimentary support for this with the -s 
and -t options.

Thanks,
Keith

On Fri, 25 Dec 2009, Andrey Chinkov wrote:

> Hi.
> I have done the following steps consistently:
> 
> 1) Download libmpeg2-0.5.1.tar.gz, unpack it;
> 
> 2) Execute in terminal:
> 
> ./configure --enable-static --disable-shared
> make
> make install
> 
> 3) Launch "mpeg2dec foo.mpg"
> 
> In the output window a saw malformed image (see attached
> libjpeg2_malformed_image.jpg).
> 
> MY QUESTIONs ARE:
> 
> - Perhaps someone has already met with this problem? How did you solve
> it?
> - Whether the developers tell me how to solve this problem with the
> malformed image?
> 
> Thanks in advance.
> 
> 
>

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Libmpeg2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmpeg2-devel

Reply via email to