Hi, I recently started working with gstreamer, and I am trying to make a video pipeline where you can watch the video while it is being recorded from a live source (an ip camera). I got something to work, but I do not know why it works. I should start off with I am using the prebuilt windows binary version 1.11.2 of gstreamer. The problem I am facing is that setting async-handling to true on the autovideosink causes everything to work, but if it is set to false, the pipeline is frozen and never starts. I got to this solution from this Stack Overflow answer: http://stackoverflow.com/a/8532148/5125564 However the documentation: States that it should only be used if the bin subclass is modifying the state of its children on its own, which I don't think autovideosink does. I just want to make sure
I am not doing anything wrong that will come to bite me later.
Here is a gst-launch
command line to recreate the situtation (this command line
works). gst-launch-1.0.exe --gst-debug-level=3 uridecodebin uri=<a class="moz-txt-link-freetext" href="rtsp://">rtsp://{username}:{password}@{ip_address} ! queue ! tee name=t ! autovideosink async-handling=true t. ! x264enc ! mp4mux ! filesink location=C:\\GStreamerTests\\taco123.mp4 And I get this output: Setting pipeline to PAUSED ...
However, if I change async handling from true to false (or just remove it because the default is false). I get this command line (this command line does NOT work): gst-launch-1.0.exe --gst-debug-level=3 uridecodebin uri=<a class="moz-txt-link-freetext" href="rtsp://">rtsp://{username}:{password}@{ip_address} ! queue ! tee name=t ! autovideosink async-handling=false t. ! x264enc ! mp4mux ! filesink location=C:\\GStreamerTests\\taco123.mp4 And I get this output: Setting pipeline to PAUSED ... Then nothing happens until i ctrl+c the process. Any feedback is welcome. Thanks in advance! Cheers, Michael. -- This message has been scanned for viruses and dangerous content by E.F.A. Project, and is believed to be clean. _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |