Hello,
using gstreamer-1.10 I have been trying several version of pipeline to decode an RTSP stream that starts as a webrtc connection. ffprobe reports stream as Duration: N/A, start: 0.128000, bitrate: N/A Stream #0:0: Audio: aac (LC), 48000 Hz, stereo, fltp Stream #0:1: Video: h264 (Constrained Baseline), yuv420p, 512x288 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 90k tbn, 60 tbc using variations of the following pipeline GST_DEBUG=3 gst-launch-1.0 -e rtspsrc location=rtsp://xxx.xxx.xxx.xxx:1935/alpha/Stream1 \ ! decodebin name=decode \ decode. \ ! x264enc bitrate=512 speed-preset=6 \ ! video/x-h264, profile=baseline \ ! queue ! mp4mux name=mp4mux ! filesink location=file.mp4 \ decode. ! avenc_aac bitrate=96000 ! aacparse ! queue ! mp4mux. I get the following errors 0:00:00.299416405 7705 0x7f0d48001e80 WARN default grammar.y:510:gst_parse_no_more_pads:<decode> warning: Delayed linking failed. 0:00:00.299435518 7705 0x7f0d48001e80 WARN default grammar.y:510:gst_parse_no_more_pads:<decode> warning: failed delayed linking some pad of GstDecodeBin named decode to some pad of GstX264Enc named x264enc0 WARNING: from element /GstPipeline:pipeline0/GstDecodeBin:decode: Delayed linking failed. Additional debug info: ./grammar.y(510): gst_parse_no_more_pads (): /GstPipeline:pipeline0/GstDecodeBin:decode: failed delayed linking some pad of GstDecodeBin named decode to some pad of GstX264Enc named x264enc0 0:00:01.296295371 7705 0x7f0d6402a8f0 WARN basesrc gstbasesrc.c:2951:gst_base_src_loop:<udpsrc3> error: Internal data stream error. 0:00:01.296324999 7705 0x7f0d6402a8f0 WARN basesrc gstbasesrc.c:2951:gst_base_src_loop:<udpsrc3> error: streaming stopped, reason not-linked (-1) what is the correct pipeline to decode this stream? thanks Art _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Thu, 2016-11-17 at 17:37 +0000, art vanderhoff wrote:
> > using variations of the following pipeline > > GST_DEBUG=3 gst-launch-1.0 -e rtspsrc > location=rtsp://xxx.xxx.xxx.xxx:1935/alpha/Stream1 \ > ! decodebin name=decode \ > decode. \ > ! x264enc bitrate=512 speed-preset=6 \ > ! video/x-h264, profile=baseline \ > ! queue ! mp4mux name=mp4mux ! filesink location=file.mp4 \ > decode. ! avenc_aac bitrate=96000 ! aacparse ! queue ! mp4mux. > > I get the following errors > > 0:00:00.299416405 7705 0x7f0d48001e80 WARN default > grammar.y:510:gst_parse_no_more_pads:<decode> warning: Delayed > linking failed. > 0:00:00.299435518 7705 0x7f0d48001e80 WARN default > grammar.y:510:gst_parse_no_more_pads:<decode> warning: failed delayed > linking some pad of GstDecodeBin named decode to some pad of > GstX264Enc named x264enc0 > WARNING: from element /GstPipeline:pipeline0/GstDecodeBin:decode: > Delayed linking failed. > Additional debug info: > ./grammar.y(510): gst_parse_no_more_pads (): > /GstPipeline:pipeline0/GstDecodeBin:decode: > failed delayed linking some pad of GstDecodeBin named decode to some > pad of GstX264Enc named x264enc0 > 0:00:01.296295371 7705 0x7f0d6402a8f0 WARN basesrc > gstbasesrc.c:2951:gst_base_src_loop:<udpsrc3> error: Internal data > stream error. > 0:00:01.296324999 7705 0x7f0d6402a8f0 WARN basesrc > gstbasesrc.c:2951:gst_base_src_loop:<udpsrc3> error: streaming > stopped, reason not-linked (-1) > > > what is the correct pipeline to decode this stream? Check the debug logs for details. Caps are most likely incompatible, and you might e.g. need to insert a videoconvert element before the encoder. -- 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 |
Free forum by Nabble | Edit this page |