H264 to WebRTC

Pascal Jacquemart pascal at fluffyspider.com
Thu Sep 12 01:19:53 UTC 2019


Hi Simon,

I think it depends on the H264 profile but it should be possible.
You should be able to use something like 

filesrc location=video.ts ! tsdemux ! rtph264pay !
application/x-rtp,media=video,encoding-name=H264,payload=96 ! webrtcbin

Cheers,        Pascal

On Wed, 11 Sep 2019 17:24:11 +0100
Simon Brown <simon.k.brown at gmail.com> wrote:

> Hi,
> I'm very new to Gstreamer, so please bear with me.
> I have an h264 video stream and an aac audio stream in an Mpeg2
> Transport stream.  I would like to send this to a webpage using
> WebRTC.  Everything I read suggests it's possible, but all the
> examples I've found encode the video first.  Is there a simple
> pipeline that will let me take the mpeg2ts and output webrtc?
> 
> This is all running on an embedded system so I don't have the CPU
> power to re-encode the video.
> 
> Regards,
> Simon



More information about the gstreamer-devel mailing list