[Libav-user] decoding two streams with two threads

lbj lbj137 at yahoo.com
Sun Feb 7 00:29:12 CET 2016


I have two threads simultaneously decoding two different h264 video streams. Each video stream has its own thread-safe contexts. For a given stream, when I seek (via av_seek_frame) specifically to a frame before i decode it, both videos are run fine. If I eliminate the seek then both videos run haltingly with frames out of sequence. Why must I explicitly seek to each frame in order to get them to play correctly concurrently? Individually a seek is not needed for each to run fine.  


Sent from my iPhone


Sent from my iPhone


More information about the Libav-user mailing list