RTP(VP8, OPUS) to mp4

Marc Leeman marc.leeman at gmail.com
Wed Jun 12 08:00:45 UTC 2019


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 <rlarudqja542 at gmail.com> wrote:

> 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
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



-- 
g. Marc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190612/8cc32ef4/attachment-0001.html>


More information about the gstreamer-devel mailing list