[gst-devel] MPEG4 Compliant Simple Profile

Edward Hervey bilboed at gmail.com
Mon Nov 9 17:27:58 CET 2009


On Mon, 2009-11-09 at 15:45 +0100, Mailing List SVR wrote:
> In data lunedì 9 novembre 2009 14:21:38, Kapil Agrawal ha scritto:
> : > if the data is send as rtp, then you have to use  proper rtp depayloader
> > after udpsrc and then store the file.
> 
> this is the point: the stream seems not rtp payloded or at least gstreamer 
> doesn't recognize it as rtp
> 
> gstbasertpdepayload.c(360): gst_base_rtp_depayload_chain (): 
> /GstPipeline:pipeline0/GstRtpMP4VDepay:rtpmp4vdepay0:
> Not RTP format was negotiated
> 
> but the stream would be rtp according to verint,

  You can't use rtp without the specification of the streams. Those
specifications normally come in a sdp file.

  If your device supports it, just use rtsp (which provides those stream
description).

> 
> thanks
> Nicola
> 
> > 
> > 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
> > 
> 
> ------------------------------------------------------------------------------
> 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






More information about the gstreamer-devel mailing list