<HTML><BODY><div><div><br>Hi.</div><div> </div><div>There was a bug in my pipe (hence WARN messages) and now my approach starts somehow work</div><div>(<a href="https://gist.github.com/sharov-am/78949b8866235ca14112818385893152">https://gist.github.com/sharov-am/78949b8866235ca14112818385893152</a>). Given fps=15, code in gist</div><div>generate jpeg images for 1 sec., namely 14 images, and then start looping forever. Here is some dbg messages:</div><div><div><div> </div><div><em>Step START msg</em></div><div><em>[cnt=0] time = -1, pos = -1, def =-1, bytes = -1</em></div><div><em>===NEW STEP EVENT RAISE=====</em></div><div><em>Step START msg</em></div><div><em>[cnt=1] time = -1, pos = -1, def =-1, bytes = -1</em></div><div><em>===NEW STEP EVENT RAISE=====</em></div><div><em>Step START msg</em></div><div><em>Step DONE msg</em></div><div><em>[cnt=2] time = 132000000, pos = -1, def =0, bytes = -1</em></div><div><em>===NEW STEP EVENT RAISE=====</em></div><div><em>Step START msg</em></div><div><em>Step START msg</em></div><div><em>Step DONE msg</em></div><div><em>//skipped</em></div><div><em>[cnt=12] time = 804000000, pos = -1, def =0, bytes = -1</em></div><div><em>===NEW STEP EVENT RAISE=====</em></div><div><em>Step START msg</em></div><div><em>Step START msg</em></div><div><em>Step DONE msg</em></div><div><em>[cnt=13] time = 871000000, pos = -1, def =0, bytes = -1</em></div><div><em>===NEW STEP EVENT RAISE=====</em></div><div><em>Step START msg</em></div><div><em>Step START msg</em></div><div><em>Step DONE msg</em></div><div><em>[cnt=14] time = 938000000, pos = -1, def =0, bytes = -1</em></div><div><em>===NEW STEP EVENT RAISE=====</em></div><div> </div><div>As you may notice, time is changing but everything else not. More over, on 15 iteration</div></div></div><div> </div><div>var result = pipeline.QueryPosition(Format.Buffers, out var pos);</div><div> </div><div>return false and Error message in console:</div><div> </div><div> ERROR videodecoder gstvideodecoder.c:2016:gst_video_decoder_src_query_default:<d3d11h264dec0> query failed</div><div> </div><div>and it starts looping forever… So, what I’m doing wrong, why it handles only 1 sec. of video and then stuck? How can I advance stream to next frames?</div><div> </div><div>Thanks in advance.</div></div></BODY></HTML>