How to force ffdec_mpeg4 width and heigth?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to force ffdec_mpeg4 width and heigth?

Mailing List SVR

Hi all I'm trying to see an mpeg4 video over rtp, I'm using the following pipeline:

gst-launch-0.10 -v udpsrc port=2546 caps="application/x-rtp, media=(string)video, payload=(int)121, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)1" ! rtpmp4vdepay ! ffdec_mpeg4 ! autovideosink

but ffdec_mpeg4 autodetect width and height =0, please see the verbose pipeline output above?

How can I force this parameters?

Setting pipeline to PAUSED ...

Pipeline is live and does not need PREROLL ...

Setting pipeline to PLAYING ...

New clock: GstSystemClock

/GstPipeline:pipeline0/GstRtpMP4VDepay:rtpmp4vdepay0.GstPad:src: caps = video/mpeg, mpegversion=(int)4, systemstream=(boolean)false

/GstPipeline:pipeline0/GstRtpMP4VDepay:rtpmp4vdepay0.GstPad:sink: caps = application/x-rtp, media=(string)video, payload=(int)121, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)1

/GstPipeline:pipeline0/ffdec_mpeg4:ffdec_mpeg40.GstPad:sink: caps = video/mpeg, mpegversion=(int)4, systemstream=(boolean)false

/GstPipeline:pipeline0/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/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/GstAutoVideoSink:autovideosink0.GstGhostPad:sink.GstProxyPad:proxypad0: 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


------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel