[gst-devel] rtsp, mjpeg qtmux problem

Mailing List SVR lists at svrinformatica.it
Tue Aug 24 09:20:11 CEST 2010


Hi,

I'm having some issue with qtmux, this pipeline (avimux) works fine:

gst-launch-0.10 -e -v rtspsrc
location=rtsp://192.168.2.68:8554/mjpeg-1192.168.2.17moxa-cgimjpeg.cgi
is-live=true ! rtpjpegdepay ! image/jpeg, width=720,height=576 !
avimux ! filesink location=b.avi
Impostazione della pipeline a PAUSED ...
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0: latency =
2000
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0:
buffer-mode = slave (1)
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0: timeout =
5000000
La pipeline è viva e non necessita il PREROLL ...
Impostazione della pipeline a PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0: timeout =
0
/GstPipeline:pipeline0/GstRtpJPEGDepay:rtpjpegdepay0.GstPad:sink: caps =
application/x-rtp, media=(string)video, payload=(int)26,
clock-rate=(int)90000, encoding-name=(string)JPEG,
a-tool=(string)GStreamer, a-type=(string)broadcast,
clock-base=(uint)2382045938, seqnum-base=(uint)10753,
npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_3075636340_26: caps = application/x-rtp, media=(string)video, payload=(int)26, clock-rate=(int)90000, encoding-name=(string)JPEG, a-tool=(string)GStreamer, a-type=(string)broadcast, clock-base=(uint)2382045938, seqnum-base=(uint)10753, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_3075636340_26.GstProxyPad:proxypad4: caps = application/x-rtp, media=(string)video, payload=(int)26, clock-rate=(int)90000, encoding-name=(string)JPEG, a-tool=(string)GStreamer, a-type=(string)broadcast, clock-base=(uint)2382045938, seqnum-base=(uint)10753, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_0_3075636340_26.GstProxyPad:proxypad3: caps = application/x-rtp, media=(string)video, payload=(int)26, clock-rate=(int)90000, encoding-name=(string)JPEG, a-tool=(string)GStreamer, a-type=(string)broadcast, clock-base=(uint)2382045938, seqnum-base=(uint)10753, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstRtpJPEGDepay:rtpjpegdepay0.GstPad:src: caps =
image/jpeg, framerate=(fraction)0/1, width=(int)720, height=(int)576
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps =
image/jpeg, framerate=(fraction)0/1, width=(int)720, height=(int)576
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps =
image/jpeg, framerate=(fraction)0/1, width=(int)720, height=(int)576
/GstPipeline:pipeline0/GstAviMux:avimux0.GstPad:video_00: caps =
image/jpeg, framerate=(fraction)0/1, width=(int)720, height=(int)576
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:send_rtcp_src: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSink:udpsink1.GstPad:sink: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0.GstProxyPad:proxypad2: caps = application/x-rtcp
^CCaught interrupt -- handling interrupt.
Interrotto: arresto della pipeline ...
EOS all'arresto abilitato -- Forzato EOS sulla pipeline
In attesa di EOS...
Ottenuto EOS dall'elemento «pipeline0».
Ricevuto EOS - arresto della pipeline...
Execution ended after 7244189174 ns.
Impostazione della pipeline a PAUSED ...
Impostazione della pipeline a READY ...
/GstPipeline:pipeline0/GstAviMux:avimux0.GstPad:video_00: caps = NULL
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps =
NULL
/GstPipeline:pipeline0/GstRtpJPEGDepay:rtpjpegdepay0.GstPad:src: caps =
NULL
/GstPipeline:pipeline0/GstRtpJPEGDepay:rtpjpegdepay0.GstPad:sink: caps =
NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_3075636340_26: caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_0_3075636340_26: caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0: caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpPtDemux:rtpptdemux0.GstPad:src_26: caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:send_rtcp_src: caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSink:udpsink1.GstPad:sink: caps = NULL
Impostazione della pipeline a NULL ...
Esecuzione di free sulla pipeline...



while this one with qtmux produce a zero length file:

gst-launch-0.10 -e -v rtspsrc
location=rtsp://192.168.2.68:8554/mjpeg-1192.168.2.17moxa-cgimjpeg.cgi
is-live=true ! rtpjpegdepay ! image/jpeg, width=720,height=576 ! qtmux !
filesink location=b.mov
Impostazione della pipeline a PAUSED ...
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0: latency =
2000
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0:
buffer-mode = slave (1)
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1: timeout =
5000000
La pipeline è viva e non necessita il PREROLL ...
Impostazione della pipeline a PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1: timeout =
0
/GstPipeline:pipeline0/GstRtpJPEGDepay:rtpjpegdepay0.GstPad:sink: caps =
application/x-rtp, media=(string)video, payload=(int)26,
clock-rate=(int)90000, encoding-name=(string)JPEG,
a-tool=(string)GStreamer, a-type=(string)broadcast,
clock-base=(uint)4276998039, seqnum-base=(uint)29052,
npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_2445017296_26: caps = application/x-rtp, media=(string)video, payload=(int)26, clock-rate=(int)90000, encoding-name=(string)JPEG, a-tool=(string)GStreamer, a-type=(string)broadcast, clock-base=(uint)4276998039, seqnum-base=(uint)29052, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_2445017296_26.GstProxyPad:proxypad4: caps = application/x-rtp, media=(string)video, payload=(int)26, clock-rate=(int)90000, encoding-name=(string)JPEG, a-tool=(string)GStreamer, a-type=(string)broadcast, clock-base=(uint)4276998039, seqnum-base=(uint)29052, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_0_2445017296_26.GstProxyPad:proxypad3: caps = application/x-rtp, media=(string)video, payload=(int)26, clock-rate=(int)90000, encoding-name=(string)JPEG, a-tool=(string)GStreamer, a-type=(string)broadcast, clock-base=(uint)4276998039, seqnum-base=(uint)29052, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstRtpJPEGDepay:rtpjpegdepay0.GstPad:src: caps =
image/jpeg, framerate=(fraction)0/1, width=(int)720, height=(int)576
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps =
image/jpeg, framerate=(fraction)0/1, width=(int)720, height=(int)576
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps =
image/jpeg, framerate=(fraction)0/1, width=(int)720, height=(int)576
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:send_rtcp_src: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSink:udpsink1.GstPad:sink: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0.GstProxyPad:proxypad2: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:sync_src: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_sink: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_src_-1849950000: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpJitterBuffer:rtpjitterbuffer0.GstPad:sink_rtcp: caps = application/x-rtcp
^CCaught interrupt -- handling interrupt.
Interrotto: arresto della pipeline ...
EOS all'arresto abilitato -- Forzato EOS sulla pipeline
In attesa di EOS...
^C

what's wrong?

thanks
Nicola



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100824/213637e3/attachment.htm>


More information about the gstreamer-devel mailing list