[gst-devel] MPEG4 Compliant Simple Profile

Kapil Agrawal kapil.agl at gmail.com
Mon Nov 9 14:21:38 CET 2009


if the data is send as rtp, then you have to use  proper rtp depayloader
after udpsrc and then store the file.


On Mon, Nov 9, 2009 at 6:39 PM, Mailing List SVR <lists at svrinformatica.it>wrote:

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



-- 
http://www.linkedin.com/in/kapilagrawal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20091109/93e19054/attachment.htm>


More information about the gstreamer-devel mailing list