I have successfully got a temporary gstreamer install on my Debian. However I am unable to get a push publish test working. A server / client test is working.
On the receiver I'm trying gst-launch-1.0 -v srtserversrc uri="srt://127.0.0.1:8888" ! decodebin ! autovideosink And on the sender side I'm trying gst-launch-1.0 videotestsrc ! video/x-raw, height=360, width=640 ! videoconvert ! x264enc tune=zerolatency ! video/x-h264, profile=high ! mpegtsmux ! srtclientsink uri="srt://ip:8888/" I get an error like Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Redistribute latency... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock ERROR: from element /GstPipeline:pipeline0/GstSRTSink:srtsink0: Could not write to resource. Additional debug info: ../ext/srt/gstsrtobject.c(1236): gst_srt_object_send_headers (): /GstPipeline:pipeline0/GstSRTSink:srtsink0: Connection does not exist. Execution ended after 0:00:03.049069025 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Le lundi 15 juillet 2019 à 11:47 +0000, Daniel Rossi a écrit :
> I have successfully got a temporary gstreamer install on my Debian. However I am unable to get a push publish test working. A server / client test is working. > > On the receiver I'm trying > > gst-launch-1.0 -v srtserversrc uri="srt://127.0.0.1:8888" ! decodebin ! autovideosink > > And on the sender side I'm trying > > gst-launch-1.0 videotestsrc ! video/x-raw, height=360, width=640 ! videoconvert ! x264enc tune=zerolatency ! video/x-h264, profile=high ! mpegtsmux ! srtclientsink uri="srt://ip:8888/" Chunks sent to SRT needs to be less or equal to 1316 bytes, which represent 7 MPEG TS packet. So you need to configure mpegtsmux with alignment=7. > > I get an error like > > Setting pipeline to PAUSED ... > Pipeline is PREROLLING ... > Redistribute latency... > Pipeline is PREROLLED ... > Setting pipeline to PLAYING ... > New clock: GstSystemClock > ERROR: from element /GstPipeline:pipeline0/GstSRTSink:srtsink0: Could not write to resource. > Additional debug info: > ../ext/srt/gstsrtobject.c(1236): gst_srt_object_send_headers (): /GstPipeline:pipeline0/GstSRTSink:srtsink0: > Connection does not exist. > Execution ended after 0:00:03.049069025 > Setting pipeline to PAUSED ... > Setting pipeline to READY ... > Setting pipeline to NULL ... > Freeing pipeline ... > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (201 bytes) Download Attachment |
Free forum by Nabble | Edit this page |