Hi, I am trying to stream a live video from IP camera to remote client (Like Microsoft Edge browser) using HLS protocol.My question is, how to make the files (seg*.ts and playlist.m3u8) get copied to remote web server (call it PC2) rather than in the local directories. Is playlist-root used for this purpose? gst-launch-1.0 rtspsrc location="rtsp://<camera url>" ! rtph264depay ! h264parse ! mpegtsmux ! hlssink max-files=2 target-duration=2 location=/hlsdir/seg00%d.ts playlist-location=/hlsdir/ When I give the 'location' and 'playlist-location' as the local directories of the PC1, everything works fine independent of the what is given in the playlist-root. But, when I give the 'location' and 'playlist-location' as per the directories of PC2 (which is a remote web server) and in the 'playlist-root' I give the IP address of web server, I get an error of 'No such file or directory' as below: Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Progress: (open) Opening Stream Progress: (connect) Connecting to rtsp://<camer url> Progress: (open) Retrieving server options Progress: (open) Retrieving media info Progress: (request) SETUP stream 0 Progress: (request) SETUP stream 1 Progress: (open) Opened Stream Setting pipeline to PLAYING ... New clock: GstSystemClock Progress: (request) Sending PLAY request Progress: (request) Sending PLAY request Progress: (request) Sent PLAY request ERROR: from element /GstPipeline:pipeline0/ Additional debug info: gstmultifilesink.c(790): gst_multi_file_sink_write_ No such file or directory Execution ended after 0:00:00.215107823 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... I want to know how HLSSINK uploads the files to remote web server using the property of 'playlist-root', does it use FTP or HTTP? I have added MIME types of .ts and .m3u8 in the my web server configuration. Let me know if I have to give any information. Thanks Tarun _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi,
I have the exact same requirement. Have you been able get it working? -- 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 |