【发布时间】:2016-08-07 08:49:47
【问题描述】:
大家好,我正在尝试在我的 Pi 和 Windows 计算机之间设置 Gstreamer。我的命令是:
圆周率:
~ raspivid -n -w 1280 -h 720 -b 1000000 -fps 15 -t 0 -o - | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=10 pt=96 ! udpsink host=[IP] port=9000
电脑:
gst-launch-1.0 -v udpsrc port=9000 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264" ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink sync=f
我得到错误:
sudo: /home/pi: command not found
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstH264Parse:h264parse0: No valid frames found before end of stream
Additonal debug info:
gst_base_parse_sink_event_default (): /GstPipeline:pipeline0/GstH264Parse:h264parse0
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
任何帮助将非常感谢!
【问题讨论】:
-
检查错误输出的第一行-找不到命令-那里发生了什么?我没有看到任何 sudo .. 顺便说一句,我猜 RPI 上没有 sudo
标签: camera raspberry-pi gstreamer