On Fri, May 13, 2011 at 08:13:50AM -0400, Ronald S. Bultje wrote:
> Hi,
> 
> On Fri, May 13, 2011 at 6:17 AM, Aditya Game Programmer
> <[email protected]> wrote:
> > Input #0, mpeg, from 'tv5.mpg':
> >   Duration: 00:02:58.72, start: 0.500000, bitrate: 4162 kb/s
> >     Stream #0.0[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s
> >     Stream #0.1[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR
> > 16:15 DA
> [..]
> > [mpeg2video @ 1915FE30] ac-tex damaged at 33 22 //--what is ac-tex? how to
> 
> Most likely you didn't parse full video frames from the mpeg system
> stream packets, where one packet doesn't necessarily equal one video
> frame or one audio "frame". Show us your code. :-).

The code he posted a few days ago used av_read_frame() and that
does the needed parsing

but i agree seeing the lastest code would help.


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Rewriting code that is poorly written but fully understood is good.
Rewriting code that one doesnt understand is a sign that one is less smart
then the original author, trying to rewrite it will not make it better.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to