if the data is send as rtp, then you have to use  proper rtp depayloader after udpsrc and then store the file.<br><br><br><div class="gmail_quote">On Mon, Nov 9, 2009 at 6:39 PM, Mailing List SVR <span dir="ltr">&lt;<a href="mailto:lists@svrinformatica.it">lists@svrinformatica.it</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">In data lunedě 9 novembre 2009 13:51:20, Kapil Agrawal ha scritto:<br>
: &gt; Maybe you can just record the encoded stream and then play it using other<br>
&gt; players like vlc,<br>
<br>
I tryed:<br>
<br>
gst-launch-0.10 -e -v udpsrc port=2544 ! filesink location=test.mp4<br>
<br>
but the resulting test.mp4 file is not playable with vlc or mplayer<br>
<div class="im"><br>
&gt; since ffdec_mpeg4 isnt a very recommended decoder.<br>
<br>
</div>what other choices are available to decode mpeg4 with gstreamer?<br>
<div><div></div><div class="h5"><br>
&gt; Or<br>
&gt;  even better is file a bug attaching a small video clip.<br>
&gt;<br>
&gt; regards<br>
&gt; kapil<br>
&gt;<br>
&gt; On Mon, Nov 9, 2009 at 3:15 PM, Mailing List SVR<br>
&lt;<a href="mailto:lists@svrinformatica.it">lists@svrinformatica.it</a>&gt;wrote:<br>
&gt; &gt; Hi all,<br>
&gt; &gt;<br>
&gt; &gt; I&#39;m trying to see the video from a verint nextiva s1970e encoder,<br>
&gt; &gt; according to<br>
&gt; &gt; the manufacter they send an &quot;mpeg4 compliant simple profile stream over<br>
&gt; &gt; rtp/udp&quot;,<br>
&gt; &gt;<br>
&gt; &gt; I tryed the following pipeline<br>
&gt; &gt;<br>
&gt; &gt; gst-launch-0.10 -v udpsrc port=2544 ! decodebin ! autovideosink<br>
&gt; &gt;<br>
&gt; &gt; here is the output:<br>
&gt; &gt;<br>
&gt; &gt; Setting pipeline to PAUSED ...<br>
&gt; &gt; Pipeline is live and does not need PREROLL ...<br>
&gt; &gt; Setting pipeline to PLAYING ...<br>
&gt; &gt; New clock: GstSystemClock<br>
&gt; &gt;<br>
&gt; &gt; /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefin<br>
&gt; &gt;d.GstPad:src: caps = video/mpeg, systemstream=(boolean)false,<br>
&gt; &gt; mpegversion=(int)4<br>
&gt; &gt;<br>
&gt; &gt; /GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdec_mpeg4:ffdec_mpeg40.G<br>
&gt; &gt;stPad:sink: caps = video/mpeg, systemstream=(boolean)false,<br>
&gt; &gt; mpegversion=(int)4<br>
&gt; &gt; /GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src0: caps =<br>
&gt; &gt; video/x-raw-yuv, width=(int)0, height=(int)0, framerate=(fraction)25/1,<br>
&gt; &gt; format=(fourcc)I420, interlaced=(boolean)false<br>
&gt; &gt;<br>
&gt; &gt; /GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdec_mpeg4:ffdec_mpeg40.G<br>
&gt; &gt;stPad:src: caps = video/x-raw-yuv, width=(int)0, height=(int)0,<br>
&gt; &gt; framerate=(fraction)25/1,<br>
&gt; &gt; format=(fourcc)I420, interlaced=(boolean)false<br>
&gt; &gt; /GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src0: caps =<br>
&gt; &gt; video/x-raw-yuv, width=(int)704, height=(int)576,<br>
&gt; &gt; framerate=(fraction)30000/1,<br>
&gt; &gt; format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-<br>
&gt; &gt; ratio=(fraction)12/11<br>
&gt; &gt;<br>
&gt; &gt; /GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdec_mpeg4:ffdec_mpeg40.G<br>
&gt; &gt;stPad:src: caps = video/x-raw-yuv, width=(int)704, height=(int)576,<br>
&gt; &gt; framerate=(fraction)30000/1, format=(fourcc)I420,<br>
&gt; &gt; interlaced=(boolean)false,<br>
&gt; &gt; pixel-aspect-ratio=(fraction)12/11<br>
&gt; &gt;<br>
&gt; &gt; /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:aut<br>
</div></div>&gt; &gt;ovideosink0- actual-sink-xvimage.GstPad:sink: caps = video/x-raw-yuv,<br>
<div class="im">&gt; &gt; width=(int)704, height=(int)576, framerate=(fraction)30000/1,<br>
&gt; &gt; format=(fourcc)I420, interlaced=(boolean)false,<br>
&gt; &gt; pixel-aspect-ratio=(fraction)12/11<br>
&gt; &gt; /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0.GstGhostPad:sink:<br>
&gt; &gt; caps<br>
&gt; &gt; = video/x-raw-yuv, width=(int)704, height=(int)576,<br>
&gt; &gt; framerate=(fraction)30000/1, format=(fourcc)I420,<br>
&gt; &gt; interlaced=(boolean)false,<br>
&gt; &gt; pixel-aspect-ratio=(fraction)12/11<br>
&gt; &gt;<br>
&gt; &gt; /GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src0.GstProxyP<br>
&gt; &gt;ad:proxypad2: caps = video/x-raw-yuv, width=(int)704, height=(int)576,<br>
&gt; &gt; framerate=(fraction)30000/1, format=(fourcc)I420,<br>
&gt; &gt; interlaced=(boolean)false,<br>
&gt; &gt; pixel-aspect-ratio=(fraction)12/11<br>
&gt; &gt;<br>
&gt; &gt; /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0.GstGhostPad:sink.G<br>
&gt; &gt;stProxyPad:proxypad1: caps = video/x-raw-yuv, width=(int)704,<br>
&gt; &gt; height=(int)576,<br>
&gt; &gt; framerate=(fraction)30000/1, format=(fourcc)I420,<br>
&gt; &gt; interlaced=(boolean)false,<br>
&gt; &gt; pixel-aspect-ratio=(fraction)12/11<br>
&gt; &gt; ERROR: from element<br>
&gt; &gt;<br>
&gt; &gt; /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:aut<br>
</div>&gt; &gt;ovideosink0- actual-sink-xvimage: Output window was closed<br>
<div class="im">&gt; &gt; Additional debug info:<br>
&gt; &gt; xvimagesink.c(1297): gst_xvimagesink_handle_xevents ():<br>
&gt; &gt;<br>
&gt; &gt; /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:aut<br>
</div>&gt; &gt;ovideosink0- actual-sink-xvimage<br>
<div class="im">&gt; &gt; Execution ended after 5239190321 ns.<br>
&gt; &gt; Setting pipeline to PAUSED ...<br>
&gt; &gt; Setting pipeline to READY ...<br>
&gt; &gt;<br>
&gt; &gt; /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:aut<br>
</div>&gt; &gt;ovideosink0- actual-sink-xvimage.GstPad:sink: caps = NULL<br>
<div><div></div><div class="h5">&gt; &gt; /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0.GstGhostPad:sink:<br>
&gt; &gt; caps<br>
&gt; &gt; = NULL<br>
&gt; &gt; /GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src0: caps =<br>
&gt; &gt; NULL<br>
&gt; &gt;<br>
&gt; &gt; /GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdec_mpeg4:ffdec_mpeg40.G<br>
&gt; &gt;stPad:src: caps = NULL<br>
&gt; &gt;<br>
&gt; &gt; /GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdec_mpeg4:ffdec_mpeg40.G<br>
&gt; &gt;stPad:sink: caps = NULL<br>
&gt; &gt;<br>
&gt; &gt; /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefin<br>
&gt; &gt;d.GstPad:src: caps = NULL<br>
&gt; &gt; Setting pipeline to NULL ...<br>
&gt; &gt; Freeing pipeline ...<br>
&gt; &gt;<br>
&gt; &gt; but the video is distorced as you can see in the image attached, I setted<br>
&gt; &gt; the<br>
&gt; &gt; intra interval (I Frame every X Frames) to 5 but also changing this value<br>
&gt; &gt; to 0<br>
&gt; &gt; or 120 make no difference,<br>
&gt; &gt;<br>
&gt; &gt; any hints?<br>
&gt; &gt;<br>
&gt; &gt; Nicola<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; -------------------------------------------------------------------------<br>
&gt; &gt;----- Let Crystal Reports handle the reporting - Free Crystal Reports 2008<br>
&gt; &gt; 30-Day trial. Simplify your report design, integration and deployment -<br>
&gt; &gt; and focus on<br>
&gt; &gt; what you do best, core application coding. Discover what&#39;s new with<br>
&gt; &gt; Crystal Reports now.  <a href="http://p.sf.net/sfu/bobj-july" target="_blank">http://p.sf.net/sfu/bobj-july</a><br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; gstreamer-devel mailing list<br>
&gt; &gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
&gt; &gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
&gt;<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.linkedin.com/in/kapilagrawal">http://www.linkedin.com/in/kapilagrawal</a><br>