<div dir="auto">The streams does not exist in my AVFormatContext before they are detected and I do need the data. :)<div dir="auto"><br></div><div dir="auto">But the idea does carry an idea. Perhaps I can populate the stream before start, to avoid the problem?<div dir="auto"><br></div><div dir="auto">I am too noob in the ffmpeg source to figure out if/how its possible and I have not found any examples that does it.</div><div dir="auto"><br></div><div dir="auto">Alternatively I could perhaps hide the data as something else that will pass detection more smoothly.</div><div dir="auto"><br></div><div dir="auto">Jesper</div><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">tir. 9. jun. 2020 23.37 skrev KaptajnVom <<a href="mailto:thj@thj.dk">thj@thj.dk</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Perhaps you can ask libavformat to discard your custom data? <br>
<br>
fmt_ctx->streams[2]->discard = AVDISCARD_ALL;<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://libav-users.943685.n4.nabble.com/" rel="noreferrer noreferrer" target="_blank">http://libav-users.943685.n4.nabble.com/</a><br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank" rel="noreferrer">Libav-user@ffmpeg.org</a><br>
<a href="https://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer noreferrer" target="_blank">https://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br>
To unsubscribe, visit link above, or email<br>
<a href="mailto:libav-user-request@ffmpeg.org" target="_blank" rel="noreferrer">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".</blockquote></div></div></div>