[gst-devel] rtph264pay cannot connect to rtph264depay?

Chih-Wei Huang cwhuang at linux.org.tw
Sat May 19 13:46:07 CEST 2007


Hi,
I'm trying the H.264 RTP support of GStreamer.
I issued the following test command and got errors:

gst-launch -v videotestsrc ! x264enc ! rtph264pay ! rtph264depay ! 
ffdec_h264 ! videoscale ! video/x-raw-yuv,width=352,height=288 ! 
ffmpegcolorspace ! ximagesink

Setting pipeline to PAUSED ...
/pipeline0/videotestsrc0.src: caps = video/x-raw-yuv, 
format=(fourcc)I420, width=(int)320, height=(int)240, 
framerate=(fraction)30/1
Pipeline is PREROLLING ...
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
/pipeline0/x264enc0.src: caps = video/x-h264, format=(fourcc)I420, 
width=(int)320, height=(int)240, framerate=(fraction)30/1, 
codec_data=(buffer)014d4033ffe10017674d403392540a0fd80880000003008000001e478c195001000468ee3c80
/pipeline0/x264enc0.sink: caps = video/x-raw-yuv, format=(fourcc)I420, 
width=(int)320, height=(int)240, framerate=(fraction)30/1
/pipeline0/rtph264pay0.src: caps = application/x-rtp, 
media=(string)video, payload=(int)96, clock-rate=(int)90000, 
encoding-name=(string)H264, ssrc=(guint)3813824864, 
clock-base=(guint)1524524483, seqnum-base=(guint)60327
/pipeline0/rtph264pay0.sink: caps = video/x-h264, format=(fourcc)I420, 
width=(int)320, height=(int)240, framerate=(fraction)30/1, 
codec_data=(buffer)014d4033ffe10017674d403392540a0fd80880000003008000001e478c195001000468ee3c80
/pipeline0/rtph264depay0.src: caps = video/x-h264
/pipeline0/rtph264depay0.sink: caps = application/x-rtp, 
media=(string)video, payload=(int)96, clock-rate=(int)90000, 
encoding-name=(string)H264, ssrc=(guint)3813824864, 
clock-base=(guint)1524524483, seqnum-base=(guint)60327
ERROR: from element /pipeline0/rtph264depay0: The stream is in the wrong 
format.
Additional debug info:
gstrtph264depay.c(528): gst_rtp_h264_depay_process (): 
/pipeline0/rtph264depay0:
NAL unit type 27 not supported yet
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
/pipeline0/rtph264depay0.src: caps = NULL
/pipeline0/rtph264depay0.sink: caps = NULL
/pipeline0/rtph264pay0.sink: caps = NULL
/pipeline0/rtph264pay0.src: caps = NULL
/pipeline0/x264enc0.src: caps = NULL
/pipeline0/x264enc0.sink: caps = NULL
/pipeline0/videotestsrc0.src: caps = NULL
x264 [info]: slice I:1     Avg QP:10.00  size:  6472
x264 [info]: mb I  I16..4: 85.3%  0.0% 14.7%
x264 [info]: kb/s:1553.3
FREEING pipeline ...


If I removed the rtph264pay & rtph264depay in the above pipeline,
I could see the test image.

All the gstreamer core, base and plugins are CVS 20070511,
while the x264 is snapshot-20070322.
The OS is Fedora 6.

Any idea?




More information about the gstreamer-devel mailing list