opencv - Port pipeline to gst-rtsp-server -
i'm trying wrap working sender side pipeline in gst-rtsp-serve
gst-launch-1.0 --gst-plugin-path=/usr/lib/x86_64-linux-gnu/gstreamer-1.0/ filesrc location=sample.mp4 ! decodebin name=mux mux. ! queue ! videoconvert ! edgedetect ! videoconvert ! x264enc ! rtph264pay ! udpsink host=127.0.0.1 port=5000 mux. ! queue ! audioconvert ! audioresample ! alawenc ! rtppcmapay ! udpsink host=127.0.0.1 port=5001
using complementary pipeline @ receiver side stuff work , i'm able send opencv processed stream, getting @ client side. wrong when try wrap part of pipeline in working example provided along gst-rtsp-server. infact, editing test-mp4.c , changing filesrc input pipelin
"filesrc location=%s ! qtdemux name=d " "d. ! queue ! videoconvert ! edgedetect ! videoconvert ! x264enc ! rtph264pay pt=96 name=pay0 " "d. ! queue ! rtpmp4apay pt=97 name=pay1 " ")"
the sender doesn't work anymore. on receiver side got 503 error since receiver unable sdp. iussue related missing bad plugin directory? set in main makefile problem still persists. guess sinche rtsp-server works if not edit line , pipeline works either.
thanks,
francesco
this looks issue pipeline have created. try running pipeline how on command line, add fakesink elements on end see if works:
gst-launch-1.0 filesrc location=%s ! qtdemux name=d d. ! queue ! videoconvert ! edgedetect ! videoconvert ! x264enc ! rtph264pay pt=96 name=pay0 ! fakesink d. ! queue ! rtpmp4apay pt=97 name=pay1 ! fakesink
at glance, looks you're demuxing media, not decoding video raw format edgedetect
element.
Comments
Post a Comment