Hello All,

            I am connecting to an IP camera via rtsp and decoding the live
video stream successfully. I have a couple of questions.

1. After reading a frame from av_read_frame, the AVPacket's pts value is
starting with 0, and incrementing as time   progresses.Is there a way to
make the library report the frame capture timestamp at camera in AVPacket's
pts position ?

2. When it comes to disconnections and reconnection's, avformat library
function calls are blocking everything in the application. I guess functions
like av_read_frame and av_open_input_file are blocking in nature for RTSP
even if AVFMT_FLAG_NONBLOCK is set.

         I would appreciate if anyone specifies the version in which the fix
for above is included.

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

Reply via email to