Gstreamer multi threads vs multi processes.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Gstreamer multi threads vs multi processes.

kkbpower
I am using Gstreamer to save file from RTP packet.
So I am using below command

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

(Actually, I cannot implement to mp4 directly yet. :(  )

Anyway, I am receiving RTP packet only two port(5000/5002) in this
situation.
But all sources will send RTP packet to Gstreamer. Then all packets will be
sent into one Gstreamer process.
It is not correct.
So i am concerning how to separate each stream.

1. Separate each stream with multiple Gstreamer process(multiple port).
2. Separate each stream with one Gstreamer process with multiple thread.

What is correct? And Please help me how to do each answer.

I am waiting your advice. Thank you!



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel