Hi all,<br><br>I have been working with GStreamer for awhile, but I am eager to understand more about what happens behind the scenes.<br><br>For example, when I execute this command:<br><br><i>gst-launch -e filesrc location=/dev/video0 ! queue ! mpegpsdemux ! mpegvideoparse ! mpeg2dec ! tee name=t ! queue ! x264enc ! mp4mux ! filesink location=test.mp4 t. ! queue ! ffmpegcolorspace ! jpegenc ! appsink</i><br>
<br>It will hang indefinitely on:<br><i><br>Setting pipeline to PAUSED ...<br>Pipeline is PREROLLING ...</i><br><br>And if all I do is add the queue element between jpegenc and appsink I get it to work properly:<br><br><i>Setting pipeline to PAUSED ...<br>
Pipeline is PREROLLING ...<br>Pipeline is PREROLLED ...<br>Setting pipeline to PLAYING ...<br>New clock: GstSystemClock</i><br><br>Now, it took me awhile to figure out that was what was wrong with the pipeline, but it got me very curious as to why that was the case. Is anyone able to provide some insight for me into the queue element and how it works? I would really appreciate it. <br>
<br>Thank you.<br><br>Kristofor<br>