stream - 树莓派 : cvlc "Floating point exception"

标签 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=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 流

sudo vim /etc/apt/sources.list

将以下行添加到文件中

# 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

最后,启动将在树莓派上托管服务器的服务

sudo service uv4l_raspicam start # stop

导航到

http://raspberryAddress:8080/

您应该会看到 UI。

关于stream - 树莓派 : cvlc "Floating point exception",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36985463/

相关文章:

python - 在 OpenCV 中保存带有文本叠加的视频

java - 使用 VLCJ 循环播放视频文件的片段

http - VLC RTSP HTML5 转码

java - live555 demux 警告 : no data received in 10s. 切换到 TCP

c# - 将数据集和其他数据合并到一个文件中的最简单方法?

Python正则表达式解析流

c# - 如何将字符串集合作为 TextReader 传递?

安卓媒体播放器 RTSP

android - 使用带有 libstreaming 的 wifi 连接相机的 RTSP

go - 同时将来自流的字节发送到两个目的地