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"><<a href="mailto:lists@svrinformatica.it">lists@svrinformatica.it</a>></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>
: > Maybe you can just record the encoded stream and then play it using other<br>
> 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>
> 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>
> Or<br>
> even better is file a bug attaching a small video clip.<br>
><br>
> regards<br>
> kapil<br>
><br>
> On Mon, Nov 9, 2009 at 3:15 PM, Mailing List SVR<br>
<<a href="mailto:lists@svrinformatica.it">lists@svrinformatica.it</a>>wrote:<br>
> > Hi all,<br>
> ><br>
> > I'm trying to see the video from a verint nextiva s1970e encoder,<br>
> > according to<br>
> > the manufacter they send an "mpeg4 compliant simple profile stream over<br>
> > rtp/udp",<br>
> ><br>
> > I tryed the following pipeline<br>
> ><br>
> > gst-launch-0.10 -v udpsrc port=2544 ! decodebin ! autovideosink<br>
> ><br>
> > here is the output:<br>
> ><br>
> > Setting pipeline to PAUSED ...<br>
> > Pipeline is live and does not need PREROLL ...<br>
> > Setting pipeline to PLAYING ...<br>
> > New clock: GstSystemClock<br>
> ><br>
> > /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefin<br>
> >d.GstPad:src: caps = video/mpeg, systemstream=(boolean)false,<br>
> > mpegversion=(int)4<br>
> ><br>
> > /GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdec_mpeg4:ffdec_mpeg40.G<br>
> >stPad:sink: caps = video/mpeg, systemstream=(boolean)false,<br>
> > mpegversion=(int)4<br>
> > /GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src0: caps =<br>
> > video/x-raw-yuv, width=(int)0, height=(int)0, framerate=(fraction)25/1,<br>
> > format=(fourcc)I420, interlaced=(boolean)false<br>
> ><br>
> > /GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdec_mpeg4:ffdec_mpeg40.G<br>
> >stPad:src: caps = video/x-raw-yuv, width=(int)0, height=(int)0,<br>
> > framerate=(fraction)25/1,<br>
> > format=(fourcc)I420, interlaced=(boolean)false<br>
> > /GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src0: caps =<br>
> > video/x-raw-yuv, width=(int)704, height=(int)576,<br>
> > framerate=(fraction)30000/1,<br>
> > format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-<br>
> > ratio=(fraction)12/11<br>
> ><br>
> > /GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdec_mpeg4:ffdec_mpeg40.G<br>
> >stPad:src: caps = video/x-raw-yuv, width=(int)704, height=(int)576,<br>
> > framerate=(fraction)30000/1, format=(fourcc)I420,<br>
> > interlaced=(boolean)false,<br>
> > pixel-aspect-ratio=(fraction)12/11<br>
> ><br>
> > /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:aut<br>
</div></div>> >ovideosink0- actual-sink-xvimage.GstPad:sink: caps = video/x-raw-yuv,<br>
<div class="im">> > width=(int)704, height=(int)576, framerate=(fraction)30000/1,<br>
> > format=(fourcc)I420, interlaced=(boolean)false,<br>
> > pixel-aspect-ratio=(fraction)12/11<br>
> > /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0.GstGhostPad:sink:<br>
> > caps<br>
> > = video/x-raw-yuv, width=(int)704, height=(int)576,<br>
> > framerate=(fraction)30000/1, format=(fourcc)I420,<br>
> > interlaced=(boolean)false,<br>
> > pixel-aspect-ratio=(fraction)12/11<br>
> ><br>
> > /GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src0.GstProxyP<br>
> >ad:proxypad2: caps = video/x-raw-yuv, width=(int)704, height=(int)576,<br>
> > framerate=(fraction)30000/1, format=(fourcc)I420,<br>
> > interlaced=(boolean)false,<br>
> > pixel-aspect-ratio=(fraction)12/11<br>
> ><br>
> > /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0.GstGhostPad:sink.G<br>
> >stProxyPad:proxypad1: caps = video/x-raw-yuv, width=(int)704,<br>
> > height=(int)576,<br>
> > framerate=(fraction)30000/1, format=(fourcc)I420,<br>
> > interlaced=(boolean)false,<br>
> > pixel-aspect-ratio=(fraction)12/11<br>
> > ERROR: from element<br>
> ><br>
> > /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:aut<br>
</div>> >ovideosink0- actual-sink-xvimage: Output window was closed<br>
<div class="im">> > Additional debug info:<br>
> > xvimagesink.c(1297): gst_xvimagesink_handle_xevents ():<br>
> ><br>
> > /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:aut<br>
</div>> >ovideosink0- actual-sink-xvimage<br>
<div class="im">> > Execution ended after 5239190321 ns.<br>
> > Setting pipeline to PAUSED ...<br>
> > Setting pipeline to READY ...<br>
> ><br>
> > /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:aut<br>
</div>> >ovideosink0- actual-sink-xvimage.GstPad:sink: caps = NULL<br>
<div><div></div><div class="h5">> > /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0.GstGhostPad:sink:<br>
> > caps<br>
> > = NULL<br>
> > /GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src0: caps =<br>
> > NULL<br>
> ><br>
> > /GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdec_mpeg4:ffdec_mpeg40.G<br>
> >stPad:src: caps = NULL<br>
> ><br>
> > /GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdec_mpeg4:ffdec_mpeg40.G<br>
> >stPad:sink: caps = NULL<br>
> ><br>
> > /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefin<br>
> >d.GstPad:src: caps = NULL<br>
> > Setting pipeline to NULL ...<br>
> > Freeing pipeline ...<br>
> ><br>
> > but the video is distorced as you can see in the image attached, I setted<br>
> > the<br>
> > intra interval (I Frame every X Frames) to 5 but also changing this value<br>
> > to 0<br>
> > or 120 make no difference,<br>
> ><br>
> > any hints?<br>
> ><br>
> > Nicola<br>
> ><br>
> ><br>
> > -------------------------------------------------------------------------<br>
> >----- Let Crystal Reports handle the reporting - Free Crystal Reports 2008<br>
> > 30-Day trial. Simplify your report design, integration and deployment -<br>
> > and focus on<br>
> > what you do best, core application coding. Discover what's new with<br>
> > Crystal Reports now. <a href="http://p.sf.net/sfu/bobj-july" target="_blank">http://p.sf.net/sfu/bobj-july</a><br>
> > _______________________________________________<br>
> > gstreamer-devel mailing list<br>
> > <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
> > <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
><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>