Dear All, As I looked on gstreamer-devel forum the only reason that is mentioned is the need of queue after tee, which is placed in this pipeline.I am having the following pipeline I start and stop it multiple times, and sometimes it fails to start after being stopped. It Hangs on this log: "waiting in preroll for flush or PLAYING". I have attached the log file, appsrc name=videoSrc format=3 stream-type=0 ! video/x-raw, format=(string)UYVY, width=1920, height=1080 ! nvvidconv name=videoConvert0 ! video/x-raw(memory:NVMM), format=I420 ! tee name=t ! queue ! omxh264enc name=h264enc0 ! video/x-h264, stream-format=avc ! matroskamux streamable=true ! filesink name=videoPath0 location=vid_es_fifo_0 t. ! queue ! nvvidconv name=videoConvert1 ! video/x-raw(memory:NVMM), width=1920, height=1080 ! omxh264enc name=h264enc1 ! video/x-h264, stream-format=avc ! matroskamux streamable=true ! filesink name=videoPath1 location=vid_es_fifo_1 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel mylog129.txt (4M) Download Attachment |
Dear all, Thanks in advance,Attached please find the snippet that I am running and facing the "waiting in preroll for flush or PLAYING" log. On Tue, Mar 28, 2017 at 2:46 PM, mehdi semsarzadeh <[hidden email]> wrote:
-- Mehdi Semsarzadeh
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel scripttobesenttogstreamer.cpp (5K) Download Attachment |
In reply to this post by msemsar
On Tue, 2017-03-28 at 14:46 -0400, mehdi semsarzadeh wrote:
> Dear All, > I am having the following pipeline I start and stop it multiple > times, and sometimes it fails to start after being stopped. It Hangs > on this log: "waiting in preroll for flush or PLAYING". > As I looked on gstreamer-devel forum the only reason that is > mentioned is the need of queue after tee, which is placed in this > pipeline. > I have attached the log file, > Thanks for your help > > > appsrc name=videoSrc format=3 stream-type=0 ! video/x-raw, > format=(string)UYVY, width=1920, height=1080 ! nvvidconv > name=videoConvert0 ! video/x-raw(memory:NVMM), format=I420 ! tee > name=t ! queue ! omxh264enc name=h264enc0 ! video/x-h264, stream- > format=avc ! matroskamux streamable=true ! filesink name=videoPath0 > location=vid_es_fifo_0 t. ! queue ! nvvidconv name=videoConvert1 ! > video/x-raw(memory:NVMM), width=1920, height=1080 ! omxh264enc > name=h264enc1 ! video/x-h264, stream-format=avc ! matroskamux > streamable=true ! filesink name=videoPath1 location=vid_es_fifo_1 any buffer. videoPath0 does. h264enc1 gets buffers but it doesn't look like it the muxer before it gets any buffers. So I'd expect there to be something wrong in the encoder element here, for which there is unfortunately not that much debug output in your log. Which platform is this on, which code is the omxh264enc based on? -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (981 bytes) Download Attachment |
Thanks Sebastian for answering my question, It is on NVIDIA TK1 platform and I have attached the snippet of source code.$ ag "h264enc1\:sink" mylog129.txt | ag "stream-start" 9165:0:05:26.048170281 22386 0x6f70c0 LOG GST_PADS gstpad.c:4729:gst_pad_push_event_unchecked:<capsfilter38:src> sending event 0x9a804b40 (stream-start) to peerpad <h264enc1:sink> 9166:0:05:26.048188615 22386 0x6f70c0 DEBUG GST_EVENT gstpad.c:4985:gst_pad_send_event_unchecked:<h264enc1:sink> have event type stream-start event: 0x9a804b40, time 99:99:99.999999999, seq-num 1853, GstEventStreamStart, stream-id=(string)cfad77d0d1ad3cedc4628ed812655089, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, group-id=(uint)7; 9173:0:05:26.048317863 22386 0x6f70c0 LOG GST_PADS gstpad.c:4571:store_sticky_event:<h264enc1:sink> stored sticky event stream-start $ ag "h264enc1\:src" mylog129.txt | ag "stream-start Nothing! $ ag "h264enc0\:sink" mylog129.txt | ag "stream-start" 9056:0:05:26.046121139 22386 0xa0103b80 LOG GST_PADS gstpad.c:4729:gst_pad_push_ 9058:0:05:26.046143722 22386 0xa0103b80 DEBUG GST_EVENT gstpad.c:4985:gst_pad_send_ 9071:0:05:26.046345720 22386 0xa0103b80 LOG GST_PADS gstpad.c:4571:store_sticky_ $ ag "h264enc0\:src" mylog129.txt | ag "stream-start" 16181:0:05:27.768692738 22386 0x9a8038f0 LOG GST_PADS gstpad.c:4571:store_sticky_ 16186:0:05:27.768845903 22386 0x9a8038f0 LOG GST_PADS gstpad.c:4729:gst_pad_push_ 16220:0:05:27.769657310 22386 0x9a8038f0 DEBUG GST_PADS gstpad.c:3378:push_sticky:< 16239:0:05:27.769979056 22386 0x9a8038f0 DEBUG GST_PADS gstpad.c:3358:push_sticky:< 16616:0:05:28.315091380 22386 0x9a8038f0 DEBUG GST_PADS gstpad.c:3358:push_sticky:< 17242:0:05:28.331527267 22386 0x9a8038f0 DEBUG GST_PADS gstpad.c:3358:push_sticky:< On Fri, Mar 31, 2017 at 5:39 AM, Sebastian Dröge <[hidden email]> wrote: On Tue, 2017-03-28 at 14:46 -0400, mehdi semsarzadeh wrote: -- Mehdi Semsarzadeh
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel scripttobesenttogstreamer.cpp (5K) Download Attachment |
Free forum by Nabble | Edit this page |