AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-1390562

MikroPower's questions

Martin Hope
MikroPower
Asked: 2021-08-29 05:08:00 +0800 CST

无法播放任何 rtsp 流 - 在 XUbuntu 和 Debian 中

  • 1

我无法从笔记本电脑和台式机上运行的任何 XUbuntu/Ubuntu/Debian Live-Stick 或 XUbuntu 播放任何 RTSP-Stream。

我有几个 rtsp 源:

  • 我本地 RaspBerryPi 上的 RTSP-Stream(不需要身份验证)
  • 来自互联网的流(不需要身份验证)

两个流都可以在 VLC 上播放:

  • 我的另一个 RaspBerryPi (RaspBerryPi OS)
  • 我的 Windows 笔记本电脑
  • Android 平板电脑,我的手机
  • XUbuntu 20.04 笔记本电脑和台式电脑

两个流都不能在 VLC/mplayer/ffplay 上播放:

  • 我的 XUbuntu 21.04笔记本电脑,XUbuntu 21.04台式机
  • 使用 Debian 11
  • Ubuntu 21.04,XUbuntu 21.04 Live-Version(我试图拥有一个干净的系统)

问题一定是 Ubuntu 的新基础,新的 Debian 11,因为那里也不可能打开流。

我在 VLC 中收到这样的错误消息:

satip debug: try to open 'rtsp://192.168.178.2:8554/video0'
satip debug: connect to host '192.168.178.2'
main debug: net: connecting to 192.168.178.2 port 8554
...
main debug: no art finder modules matched
main debug: connection succeeded (socket = 37)
main debug: net: opening 0.0.0.0 datagram port 9040
main debug: net: opening 0.0.0.0 datagram port 9041
qt debug: IM: Setting an input
satip error: Failed to setup RTSP session
main debug: net: connecting to 192.168.178.2 port 8554
main debug: connection succeeded (socket = 36)
access_realrtsp warning: Cseq mismatch, got 1, assumed 0
access_realrtsp debug: rtsp connected
access_realrtsp warning: only real/helix rtsp servers supported for now
main debug: no access modules matched
main debug: dead input
qt debug: IM: Deleting the input

我用mplayer、vlc(在Pi和Linux中为3.012,App版本为3.3.4)、ffmpeg……但结果是一样的。

这意味着,问题不在于 VLC。

端口是否在 Ubuntu/Debian 中被阻止,或者我有什么特别的事情要做,这样我才能玩 rtsp-steams?

xubuntu
  • 1 个回答
  • 2543 Views
Martin Hope
MikroPower
Asked: 2021-08-20 17:08:26 +0800 CST

无法播放 rtsp - Linux 流

  • 0

我无法播放来自 XUbuntu(21.04、20.04)或 Debian 11 的任何 rtsp 流。我也使用 Live-USB-Sticks 来拥有一个新系统。

作为软件,我尝试过使用 mplayer、vlc (3.012)、ffmpeg ......但没有成功。

在我的 Android 设备(平板电脑或手机)上,我可以使用 VLC 播放任何流媒体。在装有 Windows7 的笔记本电脑上,我可以使用 VLC 播放任何 Steam。

可能来自 ffplay 的此错误消息可以帮助找到问题:

~$ ffplay rtsp://192.168.178.2:8554/video
ffplay version 4.3.2-0+deb11u1ubuntu1 Copyright (c) 2003-2021 the FFmpeg developers
  built with gcc 10 (Ubuntu 10.2.1-20ubuntu1)
  configuration: --prefix=/usr --extra-version=0+deb11u1ubuntu1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu ...

  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100

[rtsp @ 0x7f7008000bc0] method SETUP failed: 459 Client error=0/0   
rtsp://192.168.178.2:8554/video: Server returned 4XX Client Error, but not one of 40{0,1,3,4}
    nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0   
~$

来自 MPlayer:

:~$ mplayer rtsp://192.168.178.2:8554/video
MPlayer 1.4 (Debian), built with gcc-10 (C) 2000-2019 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing rtsp://192.168.178.2:8554/video.
Resolving 192.168.178.2 for AF_INET6...

Couldn't resolve name for AF_INET6: 192.168.178.2
Connecting to server 192.168.178.2[192.168.178.2]: 8554...

rtsp: warning: setting NEW session: 48863bf289524adc;timeout=60;timeout=60
Timeout! No data from host 0.0.0.0
rtsp_session: unsupported RTSP server. Server type is 'VLC/3.0.11'.
libavformat version 58.45.100 (external)
libavformat file format detected.
[rtsp @ 0x7f5acb1ba180]method SETUP failed: 459 Client error
LAVF_header: av_open_input_stream() failed


Exiting... (End of file)
This is the VLC Debug-Log:

dbus debug: Getting All properties
dbus debug: Getting All properties
dbus debug: Getting All properties
dbus debug: Getting All properties
main debug: processing request item: rtsp://192.168.178.2:8554/video, node: Wiedergabeliste, skip: 0
main debug: rebuilding array of current - root Wiedergabeliste
main debug: rebuild done - 2 items, index 1
main debug: starting playback of new item
main debug: resyncing on rtsp://192.168.178.2:8554/video
main debug: rtsp://192.168.178.2:8554/video is at 1
main debug: creating new input thread
main debug: Creating an input for 'rtsp://192.168.178.2:8554/video'
main debug: requesting art for new input thread
main debug: using timeshift granularity of 50 MiB
main debug: using default timeshift path
main debug: `rtsp://192.168.178.2:8554/video' gives access `rtsp' demux `any' path `192.168.178.2:8554/video'
main debug: creating demux: access='rtsp' demux='any' location='192.168.178.2:8554/video' file='(null)'
main debug: looking for access_demux module matching "rtsp": 18 candidates
main debug: no access_demux modules matched
main debug: creating access: rtsp://192.168.178.2:8554/video
main debug: looking for access module matching "rtsp": 29 candidates
main debug: looking for meta fetcher module matching "any": 1 candidates
satip debug: try to open 'rtsp://192.168.178.2:8554/video'
satip debug: connect to host '192.168.178.2'
lua debug: Trying Lua scripts in /home/mikropower/.local/share/vlc/lua/meta/fetcher
main debug: net: connecting to 192.168.178.2 port 8554
lua debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/fetcher
lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in /home/mikropower/.local/share/vlc/lua/meta/art
lua debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
lua debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
lua debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
lua debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
lua debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
main debug: no art finder modules matched
main debug: connection succeeded (socket = 35)
main debug: net: opening 0.0.0.0 datagram port 9156
main debug: net: opening 0.0.0.0 datagram port 9157
qt debug: IM: Setting an input
satip error: Failed to setup RTSP session
main debug: net: connecting to 192.168.178.2 port 8554
main debug: connection succeeded (socket = 34)
access_realrtsp warning: Cseq mismatch, got 1, assumed 0
access_realrtsp debug: rtsp connected
access_realrtsp warning: only real/helix rtsp servers supported for now
main debug: no access modules matched
main debug: dead input
qt debug: IM: Deleting the input
main debug: changing item without a request (current 1/2)
main debug: nothing to play
dbus debug: Getting All properties
dbus debug: Getting All properties
dbus debug: Getting All properties

cvlc的调试:

...
lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
main art finder debug: no art finder modules matched
satip stream error: Failed to setup RTSP session
main stream debug: net: connecting to 192.168.178.2 port 8554
main stream debug: connection succeeded (socket = 11)
access_realrtsp stream warning: Cseq mismatch, got 1, assumed 0
access_realrtsp stream debug: rtsp connected
access_realrtsp stream warning: only real/helix rtsp servers supported for now
main stream debug: no access modules matched
main input error: Ihre Eingabe konnte nicht geöffnet werden
main input error: VLC kann die Medienadresse 'rtsp://192.168.178.2:8554' nicht öffnen. Für Details bitte im Fehlerprotokoll nachsehen.
main playlist debug: dead input
main playlist debug: changing item without a request (current 0/1)
main playlist debug: nothing to play
dbus interface debug: Getting All properties
dbus interface debug: Getting All properties
...
rtsp
  • 2 个回答
  • 2222 Views
Martin Hope
MikroPower
Asked: 2021-08-13 05:01:58 +0800 CST

如果始终选择自动隐藏,如何删除 xfce-panel 弹出/弹出延迟?

  • 1

我使用 XUbuntu 21.04 - 在此之前我使用 XUbuntu 20.04

自动隐藏不再按预期工作。隐藏和未隐藏之间存在延迟。这很烦人。

在 XFCE-panel-properties 我选择自动隐藏模式:总是

但是使用 Always-Mode 我有超过 2 秒的延迟!在智能模式下,没有可识别的延迟。

如何将自动隐藏延迟更改为零?

我试过这个: Xfce Panels - Change autohide delay? 但它什么也没做。

xubuntu
  • 1 个回答
  • 504 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve