[gst-devel] How to force ffdec_mpeg4 width and heigth?
Mailing List SVR
lists at svrinformatica.it
Mon Nov 16 09:13:45 CET 2009
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20091116/63c57a47/attachment.htm>
More information about the gstreamer-devel
mailing list