<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY>
Hi,<BR>
<BR>
I'm having some issue with qtmux, this pipeline (avimux) works fine:<BR>
<BR>
<B>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</B><BR>
Impostazione della pipeline a PAUSED ...<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0: latency = 2000<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0: buffer-mode = slave (1)<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0: timeout = 5000000<BR>
La pipeline &#232; viva e non necessita il PREROLL ...<BR>
Impostazione della pipeline a PLAYING ...<BR>
New clock: GstSystemClock<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0: timeout = 0<BR>
/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<BR>
/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<BR>
/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<BR>
/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<BR>
/GstPipeline:pipeline0/GstRtpJPEGDepay:rtpjpegdepay0.GstPad:src: caps = image/jpeg, framerate=(fraction)0/1, width=(int)720, height=(int)576<BR>
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = image/jpeg, framerate=(fraction)0/1, width=(int)720, height=(int)576<BR>
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = image/jpeg, framerate=(fraction)0/1, width=(int)720, height=(int)576<BR>
/GstPipeline:pipeline0/GstAviMux:avimux0.GstPad:video_00: caps = image/jpeg, framerate=(fraction)0/1, width=(int)720, height=(int)576<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0: caps = application/x-rtcp<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:send_rtcp_src: caps = application/x-rtcp<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSink:udpsink1.GstPad:sink: caps = application/x-rtcp<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0.GstProxyPad:proxypad2: caps = application/x-rtcp<BR>
^CCaught interrupt -- handling interrupt.<BR>
Interrotto: arresto della pipeline ...<BR>
EOS all'arresto abilitato -- Forzato EOS sulla pipeline<BR>
In attesa di EOS...<BR>
Ottenuto EOS dall'elemento &#171;pipeline0&#187;.<BR>
Ricevuto EOS - arresto della pipeline...<BR>
Execution ended after 7244189174 ns.<BR>
Impostazione della pipeline a PAUSED ...<BR>
Impostazione della pipeline a READY ...<BR>
/GstPipeline:pipeline0/GstAviMux:avimux0.GstPad:video_00: caps = NULL<BR>
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = NULL<BR>
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = NULL<BR>
/GstPipeline:pipeline0/GstRtpJPEGDepay:rtpjpegdepay0.GstPad:src: caps = NULL<BR>
/GstPipeline:pipeline0/GstRtpJPEGDepay:rtpjpegdepay0.GstPad:sink: caps = NULL<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_3075636340_26: caps = NULL<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_0_3075636340_26: caps = NULL<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0: caps = NULL<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpPtDemux:rtpptdemux0.GstPad:src_26: caps = NULL<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:send_rtcp_src: caps = NULL<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSink:udpsink1.GstPad:sink: caps = NULL<BR>
Impostazione della pipeline a NULL ...<BR>
Esecuzione di free sulla pipeline...<BR>
<BR>
<BR>
<BR>
while this one with qtmux produce a zero length file:<BR>
<BR>
<B>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</B><BR>
Impostazione della pipeline a PAUSED ...<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0: latency = 2000<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0: buffer-mode = slave (1)<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1: timeout = 5000000<BR>
La pipeline &#232; viva e non necessita il PREROLL ...<BR>
Impostazione della pipeline a PLAYING ...<BR>
New clock: GstSystemClock<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1: timeout = 0<BR>
/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<BR>
/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<BR>
/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<BR>
/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<BR>
/GstPipeline:pipeline0/GstRtpJPEGDepay:rtpjpegdepay0.GstPad:src: caps = image/jpeg, framerate=(fraction)0/1, width=(int)720, height=(int)576<BR>
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = image/jpeg, framerate=(fraction)0/1, width=(int)720, height=(int)576<BR>
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = image/jpeg, framerate=(fraction)0/1, width=(int)720, height=(int)576<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0: caps = application/x-rtcp<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:send_rtcp_src: caps = application/x-rtcp<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSink:udpsink1.GstPad:sink: caps = application/x-rtcp<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0.GstProxyPad:proxypad2: caps = application/x-rtcp<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:sync_src: caps = application/x-rtcp<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_sink: caps = application/x-rtcp<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_src_-1849950000: caps = application/x-rtcp<BR>
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpJitterBuffer:rtpjitterbuffer0.GstPad:sink_rtcp: caps = application/x-rtcp<BR>
^CCaught interrupt -- handling interrupt.<BR>
Interrotto: arresto della pipeline ...<BR>
EOS all'arresto abilitato -- Forzato EOS sulla pipeline<BR>
In attesa di EOS...<BR>
^C<BR>
<BR>
what's wrong?<BR>
<BR>
thanks<BR>
Nicola<BR>
<BR>
<BR>
<BR>
</BODY>
</HTML>