I'm trying capture live Camera from rtsp source and playback on VLC player,
I'm able to capture video from IP camera via rtspsrc gst-launch-1.0 rtspsrc location=rtsp://admin:admin@10.0.0.206/h264 ! rtph264depay ! h264parser ! flvmux ! filesink location=filename.flv Here I'm able capture from rtsp src and dumping to local disk with filesink and it's working properly. Now I'm trying dump the video on rtsp-server and playback live capture on VLC player and I'm following below mentioned method but not able to create socket I have installed and build gst-rtsp-server successfully, while running example test-launch program with gstreamer command i.e $ ./test-launch --gst-debug=4 "(rtspsrc location=rtsp://admin:admin@10.0.0.206/h264 ! rtph264depay ! h264parser ! rtph264pay name=pay0 payload=96)" debug logs are throwing an error in server side as below, 0xccb8c0 INFO GST_INIT gstmessage.c:127:_priv_gst_message_initialize: init messages 0xccb8c0 INFO GST_INIT gstcontext.c:84:_priv_gst_context_initialize: init contexts 0xccb8c0 INFO GST_PLUGIN_LOADING gstplugin.c:317:_priv_gst_plugin_initialize: registering 0 static plugins 0xccb8c0 INFO GST_PLUGIN_LOADING gstplugin.c:225:gst_plugin_register_static: registered static plugin "staticelements" 0xccb8c0 INFO GST_PLUGIN_LOADING gstplugin.c:227:gst_plugin_register_static: added static plugin "staticelements", result: 1 0xccb8c0 INFO GST_REGISTRY gstregistry.c:1727:ensure_current_registry: reading registry cache: /home/dev2/.cache/gstreamer-1.0/registry.x86_64.bin 0xccb8c0 INFO GST_REGISTRY gstregistrybinary.c:621:priv_gst_registry_binary_read_cache: loaded /home/dev2/.cache/gstreamer-1.0/registry.x86_64.bin in 0.000173 seconds 0xccb8c0 INFO GST_REGISTRY gstregistry.c:1583:scan_and_update_registry: Validating plugins from registry cache: /home/dev2/.cache/gstreamer-1.0/registry.x86_64.bin 0xccb8c0 INFO GST_REGISTRY gstregistry.c:1685:scan_and_update_registry: Registry cache has not changed 0xccb8c0 INFO GST_REGISTRY gstregistry.c:1762:ensure_current_registry: registry reading and updating done, result = 1 0xccb8c0 INFO GST_INIT gst.c:807:init_post: GLib runtime version: 2.48.2 0xccb8c0 INFO GST_INIT gst.c:809:init_post: GLib headers version: 2.48.2 0xccb8c0 INFO GST_INIT gst.c:810:init_post: initialized GStreamer successfully 0xccb8c0 INFO rtspmountpoints rtsp-mount-points.c:327:gst_rtsp_mount_points_add_factory: adding media factory 0xcd1c10 for path /test 0xccb8c0 ERROR rtspserver rtsp-server.c:924:gst_rtsp_server_create_socket:<GstRTSPServer@0xcd1af0> failed to create socket 0xccb8c0 ERROR rtspserver rtsp-server.c:1284:gst_rtsp_server_create_source:<GstRTSPServer@0xcd1af0> failed to create socket 0xccb8c0 ERROR rtspserver rtsp-server.c:1324:gst_rtsp_server_attach:<GstRTSPServer@0xcd1af0> failed to create watch: Error binding to address: Address already in use stream ready at rtsp://10.0.0.41:554/test I am using *ubuntu 16.04 LTS *gstreamer version-1.2.4 *gst-rtsp-server version-1.2.3 can anyone help me in sorting this error Thank you in advance -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
===========================================
create watch: Error binding to address: Address already in use stream ready at rtsp://10.0.0.41:554/test ============================================== port number 554 was already in use. please check your localhost port Stephen -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |