0
我需要用gstreamer设置一个现场音频流媒体服务器。服务器应该向客户端发送实时音频,在客户端,应使用vlc播放器播放传入流。我使用下面的代码基于gstreamer的现场音频流媒体服务器和用vlc播放输入流的客户端
VIDEO_CAPS="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264"
gst-launch -v udpsrc caps=$VIDEO_CAPS port=4444 \
! gstrtpbin .recv_rtp_sink_0 \
! rtph264depay ! ffdec_h264 ! xvimagesink
然后像GStreamer的报告:
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
请帮我的步骤,使用的GStreamer客户进行现场直播
试过你的例子,但不起作用。 100%确认。 – YumYumYum 2011-04-11 22:33:39