> What do you mean with this? Are the generated PTSs and DTSs wrong? I use
> libavcodec and libavformat for streaming and receiving MPEG4 video over 
> RTP,
> and everything seems to work well.

When rendering decoded image, decoded image gets more, and more distorted.
Especially if there is a movement in front of the camera.

But why does avcodec_decode_video() just decodes every other frame, when
all frames are correct? I don't think thats a intended behaviour, or am I 
missing something?

> Maybe you are seeing the usual decoding-order/display-order confusion?
> I had problems streaming video with B frames in the past, but that was
> caused by the fact that I was using DTSs as RTP timestamps (instead of 
> PTSs).
> Try to check if you are correctly handling the timestamps...

The info I got on timestamps is pretty thin.
Anywhere I can read something about it? Maybe some example how to check/set 
it?
Thanks.


Dario. 



ELMA Kurtalj d.o.o. (ELMA Kurtalj ltd.)
Vitezićeva 1a, 10000 Zagreb, Hrvatska (Viteziceva 1a, 10000 Zagreb, Croatia)
Tel: 01/3035555, Faks: 01/3035599 (Tel: ++385-1-3035555, Fax: ++385-1-3035599 )

Www:
www.elma.hr; shop.elma.hr

E-mail:
[EMAIL PROTECTED] ([EMAIL PROTECTED])
[EMAIL PROTECTED] ([EMAIL PROTECTED])
[EMAIL PROTECTED] ([EMAIL PROTECTED])
[EMAIL PROTECTED] ([EMAIL PROTECTED])
[EMAIL PROTECTED] ([EMAIL PROTECTED])
[EMAIL PROTECTED] ([EMAIL PROTECTED])
[EMAIL PROTECTED] ([EMAIL PROTECTED])

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to