Streaming of H264 video

classic Classic list List threaded Threaded
2 messages Options
JSP
Reply | Threaded
Open this post in threaded view
|

Streaming of H264 video

JSP
Hi experts,

I have H264 encoded video.I am looking for a pipeline to stream this video.
I am using the following pipeline in the server side:

        appsrc = gst_element_factory_make ("appsrc", "source");//H264 video data
        packer = gst_element_factory_make ("rtph264pay", "pack");
  videosink = gst_element_factory_make ("udpsink", "videosink");

        gst_bin_add_many (GST_BIN (pipeline), appsrc, packer,videosink, NULL);
  gst_element_link_many (appsrc, packer,videosink, NULL);

In the receiver side,
gst-launch-1.0 -v udpsrc multicast-group=239.192.1.6 auto-multicast=true  port=5004 ! "application/x-rtp, media=video, clock-rate=90000, encoding-name=H264, packetization-mode=(string)1, profile-level-id=(string)640014, a-framerate=(string)30, payload=(int)96" ! rtph264depay ! decodebin ! videoconvert ! ximagesink

With this pipeline I am not even getting the gst launch window. Where it goes wrong? Kindly help
Reply | Threaded
Open this post in threaded view
|

Re: Streaming of H264 video

Marc Leeman
On Tue, 2016-07-19 at 03:05 -0700, JSP wrote:
> With this pipeline I am not even getting the gst launch window. Where
> it
> goes wrong? Kindly help

There are a number of things that can be improved, but in essence, I
suspect that you are not sending out SPS/PPS

1/ First start your decoder and then your encoder application
2/ If this works out for you, set config-interval on your payloader
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel