ai didi

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

转载 作者:行者123 更新时间:2023-12-02 04:41:42 24 4
gpt4 key购买 nike

我正在尝试将 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/

24 4 0
文章推荐: scrollmagic - Scroll Magic JS margin 问题
文章推荐: Spring Data Rest PUT 与 PATCH LinkableResources
文章推荐: asp.net - 清除 ASP.net 表单中的所有字段
文章推荐: Docker 使用自定义命令启动容器
行者123
个人简介

我是一名优秀的程序员,十分优秀!

滴滴打车优惠券免费领取
滴滴打车优惠券
全站热门文章
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com