liveadder
blee
blee.365 at gmail.com
Tue Nov 26 20:11:37 PST 2013
hi all.
here is my gstreamer structure.
+--> queue --> rtpmp4vpay --> udpsink
videosrc --|
+--> queue --> mpeg4videoparse --------------+
|--> mp4mux -> filesink
|
+--> audiosink |
udpsrc --> rtppcmudepay --> mulawdec --| |
|
|
+-----------------------------+--> liveadder --+
audiosrc --|
+--> queue --> mulawenc --> rtppcmupay --> udpsink
videosrc is a video stream source.
audiosrc is a audio stream source.
udpsrc is a remote audio stream source.
I have a problem.
If the udpsrc didn't receive a packet, a pipeline came to stop.
If it any receive, it work well.
It seems to be associated with cap's negotiation.
command line example
$ gst-launch-1.0 -e \
videosrc ! \
tee name=t_vid ! \
queue ! \
rtpmp4vpay config-interval=3600 ! \
udpsink host="10.1.1.61" port=1234 sync=false \
t_vid. ! \
queue ! \
mpeg4videoparse ! \
queue ! \
mux. \
audiosrc ! \
tee name=t_aid ! \
queue ! \
mulawenc ! \
rtppcmupay ! \
application/x-rtp, media=audio, payload=0, clock-rate=8000,
encoding-name=PCMU ! \
udpsink host="10.1.1.61" port=1238 sync=false \
t_aid. ! \
queue ! \
mix. \
udpsrc port=1238 ! \
capsfilter caps="application/x-rtp, media=audio, payload=127,
clock-rate=8000" ! \
rtppcmudepay ! \
mulawdec ! \
tee name=t_rid ! \
queue ! \
audiosink sync=false \
t_rid. ! \
queue ! \
mix. \
liveadder name=mix latency=20 ! \
faac ! \
queue ! \
mux. \
mp4mux name=mux ! filesink location=/sample.mp4
thanks
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/liveadder-tp4663626.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list