I had Janus webRTC server.
Janus is sending RTP packet to Gstreamer. I can convert RTP to webm and RTP to ogg. gst-launch-1.0 \ rtpbin name=rtpbin \ udpsrc name=videoRTP port=5000 \ caps=“application/x-rtp, media=(string)video, payload=98, encoding-name=(string)VP8-DRAFT-IETF-01, clock-rate=90000” \ ! rtpvp8depay ! webmmux ! queue \ ! filesink location=track1.webm \ udpsrc port=5002 \ caps=“application/x-rtp, media=audio, payload=111, encoding-name=(string)OPUS, clock-rate=48000" \ ! rtpopusdepay ! opusparse ! oggmux \ ! filesink location=audio.ogg Then, I wanna convert to mp4 file. I don't want post-processing with two webm/ogg file. Just I wanna receive RTP packets through GStreamer and convert them to mp4 right away in real time. Help me plz! -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
gst-launch-1.0 \
rtpbin name=rtpbin \ udpsrc name=videoRTP port=5000 caps=“application/x-rtp, media=(string)video, payload=98, encoding-name=(string)VP8-DRAFT-IETF-01, clock-rate=90000” ! rtpvp8depay ! queue ! mux.\ udpsrc port=5002 caps=“application/x-rtp, media=audio, payload=111, encoding-name=(string)OPUS, clock-rate=48000" \ ! queue ! rtpopusdepay ! opusparse ! mp4mux name=mux \ ! filesink location=capture.mp4 Directly record to mp4 file. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by kkbpower
gst-launch-1.0 \ rtpsrc uri=rtp://:5000?encoding-name=VP8 \ ! rtpvp8depay \ ! queue \ ! qtmux name=muxer ! ! filesink location=myfile.mp4 rtpsrc uri=rtp://5002?encoding-name=OPUS \ ! rtpopusdepay \ ! opusparse \ ! queue ! muxer. You'll need the git version of the code, opened a MR to add the relevant encoding-names a minute ago. On Wed, 12 Jun 2019 at 08:40, kkbpower <[hidden email]> wrote: I had Janus webRTC server. -- g. Marc
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Vinod Kesti
When I start Gstreamer with your your options, I got this message "WARNING:
erroneous pipeline: syntax error". T_T -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Marc Leeman
When I start Gstreamer with your options, I got this message "WARNING:
erroneous pipeline: no element "rtpsrc". What can I do? T_T -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
As stated, you need to use the git version of the bad plugins. These modules will only be in GStreamer 1.18. On Thu, 13 Jun 2019 at 11:40, kkbpower <[hidden email]> wrote: When I start Gstreamer with your options, I got this message "WARNING: -- g. Marc _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |