On 07/27/2012 02:34 PM, James Walker wrote:
avplay 'rtsp://username:[email protected]/axis-media/media.amp?tcp' Are you sure there is no latency in udp? or is it just that there are so many errors that you don't even know what the latency is like? A common culprit is multithreaded encoding/decoding; If you have 8 cores, then it will insert an 8 frame delay (one per frame). You should be able to disable it by setting the coding context "thread_type" field to 0 before opening the codec. Also, avplay tries to analyze the first few seconds of a stream and/or buffers them - so make sure you give everything 5-10 seconds to converge. |
_______________________________________________ libav-api mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-api
