Where to get live video streaming examples ( GStreamer )? [closed]

徘徊边缘 提交于 2019-12-04 08:35:35

This page contains a few samples on how to do RTP streaming with GStreamer.

It's not clear from your post if GStreamer is really a requirement, so just FYI: live streaming is easier with VLC.

This comes from the man pages...

An MPEG-1 system stream can be streamed via RTP from one machine to another.

Use this command on the receiver gst-launch rtprecv media_type=mpeg1_sys ! mpegdemux name=demuxer ! { queue ! mpeg2dec ! xvideosink } { demuxer. ! queue ! mad ! osssink }

This command would be run on the transmitter gst-launch filesrc location=mpeg1system.mpeg ! mpegparse ! rtpsend ip=IPorHostname

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!