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

孤街醉人 提交于 2019-12-06 02:26:36

问题


Where to get live video + audio streaming examples ( GStreamer )? So for example streaming from File or Web camera to some web address


回答1:


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.




回答2:


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



来源:https://stackoverflow.com/questions/2551287/where-to-get-live-video-streaming-examples-gstreamer

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