[Libav-user] av_buffersink_get_frame_flags always returns EAGAIN

Philippe Gorley philippe.gorley at savoirfairelinux.com
Wed May 2 20:47:13 EEST 2018


I'm implementing multi input filters in our application. Every call to 
av_buffersink_get_frame_flags returns EAGAIN, even if I push all the 
frames to my buffer sources beforehand.

I've written an example of what I'm doing here: 

I'm generating dummy video frames, downsizing one of them and then 
overlaying it over the other.

I think the problem might be linked with the NaN value in this log: 
[Parsed_overlay_1 @ 0x2429f80] n:1.000000 t:0.000000 pos:nan 
x:230.000000 xi:230 y:170.000000 yi:170

Any help on what I'm doing wrong is greatly appreciated.


Philippe Gorley
Free Software Consultant | Montréal, Qc
Savoir-faire Linux

More information about the Libav-user mailing list