From gstreamer0.10 to gstreamer1.0 issues

gnosis gnosis at laposte.net
Tue Jan 29 06:17:20 PST 2013


Hi, 
I'm trying to use gstreamer1.0 instead of gstreamer0.10 and I've some issues
: 
on 0.10, this pipeline works : 

* gst-launch -v udpsrc multicast-iface=eth1 uri=udp://225.1.3.1:11000
caps=application/x-rtp ! rtpmp4vdepay  ! ffdec_mpeg4 ! videorate !
ffenc_mpeg4 ! avimux ! filesink location=
/home/user/devel/video/test_save/test.avi*

and on 1.0, I do the same thing, and it doesn't work : 
*
 gst-launch-1.0 -v udpsrc multicast-iface=eth1 uri=udp://225.1.3.1:11000
caps=application/x-rtp ! rtpmp4vdepay  ! avdec_mpeg4 ! videorate !
avenc_mpeg4 ! avimux ! filesink
location=/home/user/devel/video/test_save/test.avi*

Here the messages : 

" 
Setting pipeline to PAUSED ... 
Pipeline is live and does not need PREROLL ... 
/GstPipeline:pipeline0/GstUDPSrc:udpsrc0.GstPad:src: caps =
application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)1,
encoding-name=(string)MP4V-ES 
/GstPipeline:pipeline0/GstRtpMP4VDepay:rtpmp4vdepay0.GstPad:src: caps =
video/mpeg, mpegversion=(int)4, systemstream=(boolean)false 
Setting pipeline to PLAYING ... 
/GstPipeline:pipeline0/avdec_mpeg4:avdec_mpeg4-0.GstPad:sink: caps =
video/mpeg, mpegversion=(int)4, systemstream=(boolean)false 
/GstPipeline:pipeline0/GstRtpMP4VDepay:rtpmp4vdepay0.GstPad:sink: caps =
application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)1,
encoding-name=(string)MP4V-ES 
New clock: GstSystemClock 
/GstPipeline:pipeline0/avdec_mpeg4:avdec_mpeg4-0.GstPad:src: caps =
video/x-raw, format=(string)I420, width=(int)704, height=(int)576,
pixel-aspect-ratio=(fraction)12/11, interlace-mode=(string)progressive,
colorimetry=(string)bt601, framerate=(fraction)0/1 
/GstPipeline:pipeline0/GstVideoRate:videorate0.GstPad:src: caps =
video/x-raw, format=(string)I420, width=(int)704, height=(int)576,
pixel-aspect-ratio=(fraction)12/11, interlace-mode=(string)progressive,
colorimetry=(string)bt601, framerate=(fraction)0/1 
/GstPipeline:pipeline0/avenc_mpeg4:avenc_mpeg4-0.GstPad:sink: caps =
video/x-raw, format=(string)I420, width=(int)704, height=(int)576,
pixel-aspect-ratio=(fraction)12/11, interlace-mode=(string)progressive,
colorimetry=(string)bt601, framerate=(fraction)0/1 
/GstPipeline:pipeline0/GstVideoRate:videorate0.GstPad:sink: caps =
video/x-raw, format=(string)I420, width=(int)704, height=(int)576,
pixel-aspect-ratio=(fraction)12/11, interlace-mode=(string)progressive,
colorimetry=(string)bt601, framerate=(fraction)0/1 
/GstPipeline:pipeline0/avdec_mpeg4:avdec_mpeg4-0.GstPad:src: caps =
video/x-raw, format=(string)I420, width=(int)704, height=(int)576,
pixel-aspect-ratio=(fraction)12/11, interlace-mode=(string)progressive,
colorimetry=(string)bt601, framerate=(fraction)0/1 
/GstPipeline:pipeline0/GstVideoRate:videorate0.GstPad:src: caps =
video/x-raw, format=(string)I420, width=(int)704, height=(int)576,
pixel-aspect-ratio=(fraction)12/11, interlace-mode=(string)progressive,
colorimetry=(string)bt601, framerate=(fraction)0/1 
/GstPipeline:pipeline0/avenc_mpeg4:avenc_mpeg4-0.GstPad:sink: caps =
video/x-raw, format=(string)I420, width=(int)704, height=(int)576,
pixel-aspect-ratio=(fraction)12/11, interlace-mode=(string)progressive,
colorimetry=(string)bt601, framerate=(fraction)0/1 
/GstPipeline:pipeline0/GstVideoRate:videorate0.GstPad:sink: caps =
video/x-raw, format=(string)I420, width=(int)704, height=(int)576,
pixel-aspect-ratio=(fraction)12/11, interlace-mode=(string)progressive,
colorimetry=(string)bt601, framerate=(fraction)0/1 
ERROR: from element /GstPipeline:pipeline0/avenc_mpeg4:avenc_mpeg4-0:
GStreamer error: negotiation problem. 
Additional debug info: 
gstvideoencoder.c(1352): gst_video_encoder_chain ():
/GstPipeline:pipeline0/avenc_mpeg4:avenc_mpeg4-0: 
encoder not initialized 
Execution ended after 93444023 ns. 
Setting pipeline to PAUSED ... 
Setting pipeline to READY ... 
Setting pipeline to NULL ... 
Freeing pipeline ... 
" 

What did I do wrong? 
What can I do to have the same results? 

Thanks.... 



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/From-gstreamer0-10-to-gstreamer1-0-issues-tp4658211.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list