[gst-devel] MPEG4 Compliant Simple Profile

Kapil Agrawal kapil.agl at gmail.com
Mon Nov 9 13:51:20 CET 2009


Maybe you can just record the encoded stream and then play it using other
players like vlc, since ffdec_mpeg4 isnt a very recommended decoder. 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:typefind.GstPad:src:
> caps = video/mpeg, systemstream=(boolean)false, mpegversion=(int)4
>
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdec_mpeg4:ffdec_mpeg40.GstPad: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.GstPad: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.GstPad: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:autovideosink0-
> 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.GstProxyPad: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.GstProxyPad: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:autovideosink0-
> actual-sink-xvimage: Output window was closed
> Additional debug info:
> xvimagesink.c(1297): gst_xvimagesink_handle_xevents ():
>
> /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-
> actual-sink-xvimage
> Execution ended after 5239190321 ns.
> Setting pipeline to PAUSED ...
> Setting pipeline to READY ...
>
> /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-
> 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.GstPad:src:
> caps = NULL
>
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdec_mpeg4:ffdec_mpeg40.GstPad:sink:
> caps = NULL
>
> /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.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/6b22a9a7/attachment.htm>


More information about the gstreamer-devel mailing list