Regarding gstreamer for rtmp streaming

sandeepjeevan sandeepjeevan at gmail.com
Fri Feb 8 04:41:45 UTC 2019


Hi ,

Can anyone help me how to rectify my command as i am new to gstreamer.I am
trying to stream my video.mp4 file 

gst-launch-1.0   filesrc location="/home/sandeep/C/Gstreamer/video.mp4" !
decodebin name=t   t. ! videoconvert ! x264enc bitrate=2000 ! queue ! flvmux
name=mux   t. ! audioconvert ! voaacenc bitrate=128000 ! queue ! mux.   mux.
! rtmpsink location="rtmp://127.0.0.1:1935/home/sandeep/live live=1"


output:---
------------------------------------------------------------------------------------------------------
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...

(gst-launch-1.0:7631): GStreamer-CRITICAL **: _gst_util_uint64_scale:
assertion 'denom != 0' failed

(gst-launch-1.0:7631): GStreamer-CRITICAL **: _gst_util_uint64_scale:
assertion 'denom != 0' failed
Redistribute latency...
WARNING: from element /GstPipeline:pipeline0/GstDecodeBin:t: Delayed linking
failed.
Additional debug info:
./grammar.y(506): gst_parse_no_more_pads ():
/GstPipeline:pipeline0/GstDecodeBin:t:
failed delayed linking some pad of GstDecodeBin named t to some pad of
GstAudioConvert named audioconvert0
Redistribute latency...
ERROR: from element
/GstPipeline:pipeline0/GstDecodeBin:t/GstQTDemux:qtdemux0: GStreamer
encountered a general stream error.
Additional debug info:
qtdemux.c(5520): gst_qtdemux_loop ():
/GstPipeline:pipeline0/GstDecodeBin:t/GstQTDemux:qtdemux0:
streaming stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list