Stream 拉斯佩里·皮:cvlc“;“浮点异常”;

Stream 拉斯佩里·皮:cvlc“;“浮点异常”;,stream,vlc,rtsp,raspbian,Stream,Vlc,Rtsp,Raspbian,我正在尝试将rtsp流传输到flv流,以便能够使用vlc在浏览器中显示它。 我正在使用以下命令: cvlc rtsp://xxx.xxx.xxx.xxx/xxx/xxx :sout='#transcode{vcodec=FLV1,scale=1,acodec=none,deinterlace}:http{mime=video/x-flv,mux=ffmpeg{mux=flv},dst=127.0.0.1:8090/device_1.flv}' :no-sout-standard-sap :ttl

我正在尝试将rtsp流传输到flv流,以便能够使用vlc在浏览器中显示它。 我正在使用以下命令:

cvlc rtsp://xxx.xxx.xxx.xxx/xxx/xxx :sout='#transcode{vcodec=FLV1,scale=1,acodec=none,deinterlace}:http{mime=video/x-flv,mux=ffmpeg{mux=flv},dst=127.0.0.1:8090/device_1.flv}' :no-sout-standard-sap :ttl=5 :sout-keep :no-audio --video --no-sout-audio
使用后,将生成以下输出:

VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[0027f898] core interface error: no suitable interface module
[001e68f8] core libvlc error: interface "globalhotkeys,none" initialization failed
[0027f900] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[0027f900] core interface error: no suitable interface module
[001e68f8] core libvlc error: interface "dbus,none" initialization failed
[0027f8d8] dummy interface: using the dummy interface module...
[6fc017e8] access_output_http access out: Consider passing --http-host=IP on the command line instead.
[6fb00508] core input error: ES_OUT_RESET_PCR called
[6fb00508] core input error: ES_OUT_RESET_PCR called
MultiFramedRTPSource::doGetNextFrame1(): The total received frame size exceeds the client's buffer size (100000).  53926 bytes of trailing data will be dropped!
[h264 @ 0x6f907600] corrupted macroblock 3 43 (total_coeff=-1)
[h264 @ 0x6f907600] error while decoding MB 3 43
Floating point exception

我没有vlc方面的经验,因此如果能提供任何帮助,我将不胜感激。

我最近遇到了同样的问题。下面的解决方案并不能完全解决vlc问题,但它最终允许我在raspbian上传输视频

含UV4L的Raspi流 将以下行添加到文件中

# for uv4l library
deb http://www.linux-projects.org/listing/uv4l_repo/raspbian/ jessie main
# for old version libssl1.0.0 lib that is a dependency for uv4l-server
deb http://ftp.de.debian.org/debian jessie main 
更新包列表并安装依赖项

sudo apt-get update
sudo apt-get install uv4l uv4l-raspicam uv4l-raspicam-extras uv4l-webrtc
可选择编辑默认配置,即设置ssl或编码格式等

sudo vim /etc/uv4l/uv4l-raspicam.conf
最后,启动将在raspberry pi上托管服务器的服务

sudo service uv4l_raspicam start # stop
导航到

http://raspberryAddress:8080/
您应该会看到UI

http://raspberryAddress:8080/