OK, my initial assumption was wrong.

"av_find_stream_info()" actually unblocks after it receives a certain number
of frames and then you can continue with the program execution. Since I was
recording 2 frames per second MJPEG video i takes a while to unblock so I
thought it never will. Silly me :)

But still, does it really need around 80 frames (for me) to analyze video
stream? Could i make it need less frames?


J.Hwan.Kim wrote:
> 
> Hi, everyone
> 
> I'm starting reading the ffmpeg source code for the first time.
> I have a difficulty in understaning the code of "av_find_stream_info()".
> Could you tell me what does the function,"av_find_stream_info()", do in
> detail?
> 
> Thanks in advance.
> J.H.Kim
> 
> 
> 
> 
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/av_find_stream_info%28%29-tp23478705p23502304.html
Sent from the libav-users mailing list archive at Nabble.com.

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

Reply via email to