Green screen streaming H.264/VP8 over WebRTC to Chrome

Michael Gruner michael.gruner at ridgerun.com
Mon Jul 15 04:56:00 UTC 2019


Hi Josh

Yes that indeed sounds like IFrames are not being sent. To send an Iframe every second (assuming a 30fps stream) you could, for example:

x264enc key-int-max=30
vp8enc keyframe-max-dist=30

Michael
www.ridgerun.com <http://www.ridgerun.com/>


> On Jul 14, 2019, at 10:48 PM, josh <josh at caffeinatedkiwi.com> wrote:
> 
> I'm trying to stream a local RTSP stream which is encoded in H.264 to a
> chrome browser using H.264 or VP8. The trouble I'm having is the video
> starts out green until I put my hand over the lens and remove then the video
> is normal. I have tested the RTSP stream in VLC and it plays normally. It
> happens with both H.264 and VP8. Below is the pipeline code. I read on
> another forum I may need to wait for an iframe in the RTSP stream but I'm
> not sure how to do that. Any suggestions would be appreciated.
> 
> webrtcbin bundle-policy=max-bundle name=sendrecv " STUN_SERVER " rtspsrc
> location=rtsp://192.168.1.240:554/live2.sdp ! rtph264depay ! h264parse
> config-interval=1 ! queue ! decodebin ! videoconvert ! queue ! x264enc !
> rtph264pay ! queue !
> application/x-rtp,media=video,encoding-name=H264,payload=100 ! sendrecv.
> 
> 
> 
> 
> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190714/6b0e570d/attachment.html>


More information about the gstreamer-devel mailing list