<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 08.11.2016 14:30, qw wrote:<br>
<blockquote
cite="mid:1ba5878a.e0f2.158442273fd.Coremail.applemax82@163.com"
type="cite">
<div
style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
<div>hi Marlon Mirchevski,</div>
<div><br>
</div>
<div>How to submit my solution/update for the ticket issue?</div>
<br>
<div>Thanks!</div>
<div><br>
</div>
<div>Regards</div>
<br>
Andrew<br>
<br>
在 2016-11-08 18:28:19,"Marlon Mirchevski"
<a class="moz-txt-link-rfc2396E" href="mailto:net@point.com.mk"><net@point.com.mk></a> 写道:<br>
<blockquote id="isReplyContent" style="PADDING-LEFT: 1ex;
MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"> On
27.10.2016 13:01, qw wrote:<br>
<blockquote
cite="mid:54f8d888.ea54.15805cd39e9.Coremail.applemax82@163.com"
type="cite">
<div
style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
<div>Hi,</div>
<div><br>
</div>
<div>ffmpeg 2.8.6 is used to develop application, which
reads rtmp stream and does some video processing.
'AVIOInterruptCB interrupt_callback' is used to avoid
indefinite waiting if there is no avpackets in network.
But it doesn't work, and avformat_open_input() waits
forever. My source code is shown as follows:</div>
<div><br>
</div>
<div>
<div>static int decodeInterruptCb(void *p)</div>
<div>{</div>
<div> return 1;</div>
<div>}</div>
</div>
<div><br>
</div>
<div>AVFormatContext *pIfmtCtx;</div>
<div>
<div>pIfmtCtx->flags |= AVFMT_FLAG_NONBLOCK;</div>
<div>pIfmtCtx->interrupt_callback.callback =
decodeInterruptCb;</div>
<div>pIfmtCtx->interrupt_callback.opaque = NULL;</div>
</div>
<div><br>
</div>
<div>avformat_open_input(&pIfmtCtx, pInRtmpUrl, NULL,
NULL);</div>
<div><br>
</div>
<div>callback function is set that intends to return
immediately, Why avformat_open_input() still waits for
indefinite time?</div>
<div><br>
</div>
<div>Is there something wrong with the usage of ffmpeg
lib?</div>
<div><br>
</div>
<div>Thanks!</div>
<div><br>
</div>
<div>Regards</div>
<div><br>
</div>
<div>Andrew</div>
</div>
</blockquote>
I think ticket #5615 have the same/similar problem.<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://trac.ffmpeg.org/ticket/5615">https://trac.ffmpeg.org/ticket/5615</a><br>
<br>
If that is, please bump/update it.<br>
Thanks<br>
</blockquote>
</div>
<br>
</blockquote>
Register account on <a class="moz-txt-link-freetext" href="https://trac.ffmpeg.org/register">https://trac.ffmpeg.org/register</a><br>
Here's some reading, nothing special: <a class="moz-txt-link-freetext" href="https://trac.ffmpeg.org/">https://trac.ffmpeg.org/</a><br>
And you can submit/update a bug trac.<br>
-- <br>
<br>
</body>
</html>