AnsweredAssumed Answered

Streaming video over TCP using gstreamer

Question asked by Prash S on Apr 18, 2016
Latest reply on Jun 1, 2016 by Yuri Muhin



I am trying to stream video from mipi camera (mounted on VAR-DT6 Custom board) to a web browser.

I am using the following gstreamer command to stream video over the network.


gst-launch-1.0 -e videotestsrc ! x264enc ! queue ! mpegtsmux ! tcpserversink host= port=5000


This works fine with the VLC player. But when I try to view it  on any of the supported browsers, there is no video output.

The HTML source code used is


<!DOCTYPE html>


        <title>Camera 1</title>


                <video autoplay controls width=320 height=240>

                        <source src="" type="video/mp4" />

                         <source src="" type="video/ogg" codecs="theora"/>

                        You browser doesn't support element <code>video</code>.





Any clue on what could be wrong with this setup?


Thanks !