这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
gstreamer [2021/05/27 14:39] admin |
gstreamer [2021/06/13 09:48] (当前版本) admin |
||
---|---|---|---|
行 1: | 行 1: | ||
====== GStreamer ====== | ====== GStreamer ====== | ||
- | [[http://lifestyletransfer.com/how-to-install-nvidia-gstreamer-plugins-nvenc-nvdec-on-ubuntu/|How to install Nvidia Gstreamer plugins (nvenc, nvdec) on Ubuntu?]] | + | ===== 教程 ===== |
+ | |||
+ | [[http://lifestyletransfer.com|教程]] | ||
====== 常用命令 ====== | ====== 常用命令 ====== | ||
- | * 播放RTSP:gst-play-1.0 rtsp://10.1.203.155:8554/test | + | 播放RTSP:gst-play-1.0 rtsp://10.1.203.155:8554/test |
+ | 无压缩组播:gst-launch-1.0 -v -e videotestsrc ! rtpvrawpay ! udpsink host=239.255.1.1 port=8080 multicast-iface=ens33 | ||
+ | 组播接收测试:gst-launch-1.0 -v -e udpsrc multicast-group=239.255.1.1 port=8080 multicast-iface=ens33 auto-multicast=1 ! fakesink dump=1 | ||
+ | 视频缩放:gst-launch-1.0 filesrc location=/home/hug/Downloads/12.mp4 ! decodebin name=d d. ! queue ! videoscale ! video/x-raw,width=860,height=480 ! autovideosink | ||
+ | RTSP视频点播,本地播音频: ./test-launch "( filesrc location=/home/hug/Downloads/12.mp4 ! decodebin name=d d. ! queue ! videoscale ! video/x-raw,width=360,height=240 ! autovideoconvert ! x264enc bitrate=500 ! h264parse ! rtph264pay name=pay0 pt=96 d. ! queue ! audioconvert ! autoaudiosink )" | ||