<div dir="ltr">At first glance this looks like this should work.  It might be a thread deadlocking issue:  When faced with issues like this I start adding queues all around my pipeline and it gets past the deadlock.<div><br></div><div>If you use a --gst-debug-level=3 parameter you might catch a hint about the underlying problem.  If you observe a failure of state transition (e.g. the pipeline won't switch from READY to PAUSED) then I have seen that happen when using the mingw build of gstreamer (it happens rarely in specific cases) in which case you should try using the MSVC binaries on Windows or switching to Linux.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 30, 2019 at 9:07 PM Brian Dilley <<a href="mailto:bdilley@penguinpimps.com">bdilley@penguinpimps.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I'm learning GStreamer and wondering why the following doesn't work:<div><br></div><div><br></div><div><span style="color:rgb(34,35,31);font-family:"Source Sans Pro",Helvetica,sans-serif;font-size:15.12px;white-space:pre-wrap;background-color:rgb(247,247,247)">filesrc location=/some/test.flv caps=video/x-flv ! flvdemux name=d
    d. ! queue ! mux.
    d. ! queue ! mux.
 </span><span style="color:rgb(34,35,31);font-family:"Source Sans Pro",Helvetica,sans-serif;font-size:15.12px;white-space:pre-wrap;background-color:rgb(247,247,247)">flvmux name=mux </span><span style="color:rgb(34,35,31);font-family:"Source Sans Pro",Helvetica,sans-serif;font-size:15.12px;white-space:pre-wrap;background-color:rgb(247,247,247)">! filesink location=/some/output.flv</span><br></div><div><span style="color:rgb(34,35,31);font-family:"Source Sans Pro",Helvetica,sans-serif;font-size:15.12px;white-space:pre-wrap;background-color:rgb(247,247,247)"><br></span></div><div><span style="color:rgb(34,35,31);font-family:"Source Sans Pro",Helvetica,sans-serif;font-size:15.12px;white-space:pre-wrap;background-color:rgb(247,247,247)"><br></span></div><div><font color="#22231f" face="Source Sans Pro, Helvetica, sans-serif"><span style="font-size:15.12px;white-space:pre-wrap;background-color:rgb(247,247,247)">I'm confused because the </span></font><span style="color:rgb(34,35,31);font-family:"Source Sans Pro",Helvetica,sans-serif;font-size:15.12px;white-space:pre-wrap;background-color:rgb(247,247,247)">flvdemux</span><font color="#22231f" face="Source Sans Pro, Helvetica, sans-serif"><span style="font-size:15.12px;white-space:pre-wrap;background-color:rgb(247,247,247)"> creates identical pads (caps-wise) to what the flvmux accepts... yet it  fails saying that it was unable to connect them.</span></font></div><div><font color="#22231f" face="Source Sans Pro, Helvetica, sans-serif"><span style="font-size:15.12px;white-space:pre-wrap;background-color:rgb(247,247,247)"><br></span></font></div><div><font color="#22231f" face="Source Sans Pro, Helvetica, sans-serif"><span style="font-size:15.12px;white-space:pre-wrap;background-color:rgb(247,247,247)">I've tried this as well with no luck:

</span></font><span style="color:rgb(34,35,31);font-family:"Source Sans Pro",Helvetica,sans-serif;font-size:15.12px;white-space:pre-wrap;background-color:rgb(247,247,247)">filesrc location=/some/test.flv caps=video/x-flv ! flvdemux name=d
    d.audio_00 ! queue ! mux.
    d.video_00 ! queue ! mux.
 </span><span style="color:rgb(34,35,31);font-family:"Source Sans Pro",Helvetica,sans-serif;font-size:15.12px;white-space:pre-wrap;background-color:rgb(247,247,247)">flvmux name=mux </span><span style="color:rgb(34,35,31);font-family:"Source Sans Pro",Helvetica,sans-serif;font-size:15.12px;white-space:pre-wrap;background-color:rgb(247,247,247)">! filesink location=/some/output.flv</span><font color="#22231f" face="Source Sans Pro, Helvetica, sans-serif"><span style="font-size:15.12px;white-space:pre-wrap;background-color:rgb(247,247,247)">
</span></font></div><div><span style="color:rgb(34,35,31);font-family:"Source Sans Pro",Helvetica,sans-serif;font-size:15.12px;white-space:pre-wrap;background-color:rgb(247,247,247)"><br></span></div><div><span style="color:rgb(34,35,31);font-family:"Source Sans Pro",Helvetica,sans-serif;font-size:15.12px;white-space:pre-wrap;background-color:rgb(247,247,247)"><br></span></div><div><span style="color:rgb(34,35,31);font-family:"Source Sans Pro",Helvetica,sans-serif;font-size:15.12px;white-space:pre-wrap;background-color:rgb(247,247,247)">what am i missing here?</span></div><div><span style="color:rgb(34,35,31);font-family:"Source Sans Pro",Helvetica,sans-serif;font-size:15.12px;white-space:pre-wrap;background-color:rgb(247,247,247)"><br></span></div></div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div>