How to add audio to a h264 video stream using gstreamer
Tim Müller
tim at centricular.com
Mon Aug 3 15:57:56 PDT 2015
On Sun, 2015-08-02 at 15:53 -0700, suspension wrote:
Hi,
> I tried this and it works with gst-play-1 in the client side. Using playbin
> in the following does not seem to work however.
> gst-launch-1.0 playbin uri="rtsp:///127.0.0.1:8554/test/"
It should, gst-play-1.0 also uses playbin internally. Try this:
gst-launch-1.0 playbin uri=rtsp://127.0.0.1:8554/test
instead (two forward slashes after rtsp: in URI and no trailing slash).
> VLC as a client did not either.
>
> Also, will I be able pause/seek/resume the playback by setting
> status/calling seek in the client side pipeline?
Yes, that should work. I don't remember if it did in 1.4.x, but it does
in git master / 1.5.x.
You can try with:
gst-play-1.0 --interactive rtsp://127.0.0.1:8554/test
(the --interactive is only needed in 1.4.x, it's the default in git
master now).
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
Join us at the GStreamer Conference: 8-9 October 2015 in Dublin, Ireland
More information about the gstreamer-devel
mailing list