> > 2) Could it be that the timing formula (with av_rescale_q) is somehow > > causing this? > > > In theory, no... But the network can introduce some jitter, causing > problems. You can correct the timing formula to send a small amount > of packets "in advance" to compensate for some possible network jitter. > You can also modify it to "smooth" the output bitrate, so that your > stream can be more "ADSL friendly".
I just found something. When I disabled the timing, and started to send the encoded frames immediately, no more jumps occur. But: 1) I have more garbage pixels - a lot. 2) The delay is growing of course. I also should mention that I'm sometimes getting negative wait values (as high as 200 milliseconds), meaning I should have sent the frame long time ago. In this case I simply send the frame immediately. Could this be the reason? But how timing and missed frames are related? Regards. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
