Video And Audio With RtpBin
canetti
canetti at nana10.co.il
Mon Aug 1 05:05:37 PDT 2011
Hi .
I am running this pipeline :
gstrtpbin name=rtpbin appsrc name=AppVideoSource caps="video/x-raw-rgb,
bpp=32, depth=32, endianness=4321, red_mask=65280, green_mask=16711680,
blue_mask=-16777216, alpha_mask=255, framerate=(fraction)20, width=640,
height=480" ! videocrop right=0 bottom=0 ! ffmpegcolorspace ! x264enc !
rtph264pay ! application/x-rtp ! rtpbin.send_rtp_sink_0
rtpbin.send_rtp_src_0 ! udpsink host=127.0.0.1 port=5000
rtpbin.send_rtcp_src_0 ! udpsink host=127.0.0.1 port=5001 sync=false
async=false udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0 appsrc
name=AppAudioSource caps="audio/x-raw-int, rate=44100, width=16, channels=2,
endianness=(int)1234, depth=16, signed=(boolean)true" ! audioconvert ! faac
! rtpmp4gpay ! application/x-rtp ! rtpbin.send_rtp_sink_1
rtpbin.send_rtp_src_1 ! udpsink host=127.0.0.1 port=5002
rtpbin.send_rtcp_src_1 ! udpsink host=127.0.0.1 port=5003 sync=false
async=false udpsrc port=5007 ! rtpbin.recv_rtcp_sink_1
and getting the following in the GStreamer log file :
0:00:00.180321000 4000 0036DBB0 WARN bin
gstbin.c:2378:gst_bin_do_latency_func:<pipeline0> failed to query latency
0:00:19.172564000 4000 0036DBB0 WARN x264enc
gstx264enc.c:1630:gst_x264_enc_encode_frame:<x264enc0> error: Timestamp
queue empty.
And VLC - Which is supposed to get the stream doesn't display anything .
This is the content of the X.sdp file I open in the VLC player :
v=0
o=FhG-HHI 3400575197 3400575197 IN IP4 127.0.0.1
s=/live.mp4
c=IN IP4 127.0.0.1
t=0 0
m=video 1234/2 RTP/AVP 96
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;
What should be changed for this to work ?
Thanks ,
Lior .
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Video-And-Audio-With-RtpBin-tp3709469p3709469.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list