cvlc 不能播放 rtsp(omxplayer 可以)

     2023-04-14     169

关键词:

【中文标题】cvlc 不能播放 rtsp(omxplayer 可以)【英文标题】:cvlc cannot play rtsp (omxplayer instead can) 【发布时间】:2021-12-14 09:40:23 【问题描述】:

得到这个大华 vto 流链接:与 omxplayer 一起使用,但 vlc 无法播放:

rtsp://user:pass@ipadd:554/cam/realmonitor/channel=1&subtype=1

这是 vlc 的输出:

VLC media player 3.0.16 Vetinari (revision 3.0.13-8-g41878ff4f2)
[000055b9be2245b0] main libvlc debug: VLC media player - 3.0.16 Vetinari
[000055b9be2245b0] main libvlc debug: Copyright © 1996-2021 the VideoLAN team
[000055b9be2245b0] main libvlc debug: revision 3.0.13-8-g41878ff4f2
[000055b9be2245b0] main libvlc debug: configured with ./configure  '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=$prefix/include' '--mandir=$prefix/share/man' '--infodir=$prefix/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=$prefix/lib/x86_64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--disable-debug' '--config-cache' '--disable-update-check' '--enable-fast-install' '--docdir=/usr/share/doc/vlc' '--with-binary-version=3.0.16-1' '--enable-a52' '--enable-aa' '--enable-aribsub' '--enable-avahi' '--enable-bluray' '--enable-caca' '--enable-chromaprint' '--enable-chromecast' '--enable-dav1d' '--enable-dbus' '--enable-dca' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freetype' '--enable-fribidi' '--enable-gles2' '--enable-gnutls' '--enable-harfbuzz' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libmpeg2' '--enable-libxml2' '--enable-lirc' '--enable-mad' '--enable-matroska' '--enable-mod' '--enable-mpc' '--enable-mpg123' '--enable-mtp' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-opus' '--enable-pulse' '--enable-qt' '--enable-realrtsp' '--enable-samplerate' '--enable-sdl-image' '--enable-sftp' '--enable-shine' '--enable-shout' '--enable-skins2' '--enable-sndio' '--enable-soxr' '--enable-spatialaudio' '--enable-speex' '--enable-svg' '--enable-svgdec' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vdpau' '--enable-vnc' '--enable-vorbis' '--enable-x264' '--enable-x265' '--enable-zvbi' '--with-kde-solid=/usr/share/solid/actions/' '--disable-aom' '--disable-crystalhd' '--disable-d3d11va' '--disable-decklink' '--disable-directx' '--disable-dsm' '--disable-dxva2' '--disable-fdkaac' '--disable-fluidlite' '--disable-freerdp' '--disable-goom' '--disable-gst-decode' '--disable-libtar' '--disable-live555' '--disable-macosx' '--disable-macosx-avfoundation' '--disable-macosx-qtkit' '--disable-mfx' '--disable-microdns' '--disable-opencv' '--disable-projectm' '--disable-schroedinger' '--disable-sparkle' '--disable-srt' '--disable-telx' '--disable-vpx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-dc1394' '--enable-dv1394' '--enable-libplacebo' '--enable-linsys' '--enable-nfs' '--enable-udev' '--enable-v4l2' '--enable-wayland' '--enable-libva' '--enable-vcd' '--enable-smbclient' '--disable-oss' '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' '--disable-omxil' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -ffile-prefix-map=/build/vlc-0rjD9V/vlc-3.0.16=. -fstack-protector-strong -Wformat -Werror=format-security ' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -ffile-prefix-map=/build/vlc-0rjD9V/vlc-3.0.16=. -fstack-protector-strong -Wformat -Werror=format-security ' 'OBJCFLAGS=-g -O2 -ffile-prefix-map=/build/vlc-0rjD9V/vlc-3.0.16=. -fstack-protector-strong -Wformat -Werror=format-security'
[000055b9be2e1700] main audio output debug: looking for audio output module matching "any": 6 candidates
[000055b9be2e1700] vlcpulse audio output debug: using library version 14.2.0
[000055b9be2e1700] vlcpulse audio output debug:  (compiled with version 14.2.0, protocol 34)
[000055b9be2e1700] vlcpulse audio output debug: connected locally to /run/user/1000/pulse/native as client #10650
[000055b9be2e1700] vlcpulse audio output debug: using protocol 34, server protocol 34
[000055b9be2e1700] pulse audio output debug: adding sink 1: alsa_output.pci-0000_00_1f.3.analog-stereo (Built-in Audio Analog Stereo)
[000055b9be2e1700] pulse audio output debug: adding sink 2: ec_ref (Built-in Audio Analog Stereo (echo cancelled with Built-in Audio Analog Stereo))
[000055b9be2e1700] pulse audio output debug: adding sink 16: alsa_output.pci-0000_01_00.1.hdmi-stereo-extra3 (GM107 High Definition Audio Controller [GeForce 940MX] Digital Stereo (HDMI 4))
[000055b9be2e1700] main audio output debug: using audio output module "pulse"
[000055b9be2caff0] main playlist debug: keeping audio output
[000055b9be310c40] main interface debug: looking for interface module matching "dbus,none": 19 candidates
[000055b9be310c40] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc
[000055b9be310c40] main interface debug: using interface module "dbus"
[000055b9be3154c0] main interface debug: looking for interface module matching "hotkeys,none": 19 candidates
[000055b9be3154c0] main interface debug: using interface module "hotkeys"
[000055b9be315e90] main interface debug: looking for interface module matching "globalhotkeys,none": 19 candidates
[000055b9be310c40] dbus interface debug: Getting All properties
[000055b9be310c40] dbus interface debug: Getting All properties
[000055b9be315e90] main interface debug: using interface module "xcb_hotkeys"
[000055b9be3177f0] main interface debug: looking for interface module matching "dummy": 19 candidates
[000055b9be3177f0] dummy interface: using the dummy interface module...
[000055b9be3177f0] main interface debug: using interface module "dummy"
[000055b9be2caff0] main playlist debug: processing request item: null, node: Scaletta, skip: 0
[000055b9be2caff0] main playlist debug: rebuilding array of current - root Scaletta
[000055b9be2caff0] main playlist debug: rebuild done - 1 items, index -1
[000055b9be2caff0] main playlist debug: starting playback of new item
[000055b9be2caff0] main playlist debug: resyncing on rtsp://10.168.5.138:554/cam/realmonitor/channel=1&subtype=1
[000055b9be2caff0] main playlist debug: rtsp://10.168.5.138:554/cam/realmonitor/channel=1&subtype=1 is at 0
[000055b9be2caff0] main playlist debug: creating new input thread
[00007ff0bc000c80] main input debug: Creating an input for 'rtsp://10.168.5.138:554/cam/realmonitor/channel=1&subtype=1'
[000055b9be2caff0] main playlist debug: requesting art for new input thread
[00007ff0bc000c80] main input debug: using timeshift granularity of 50 MiB
[00007ff0bc000c80] main input debug: using default timeshift path
[00007ff0bc000c80] main input debug: `rtsp://user:pass@address:554/cam/realmonitor/channel=1&subtype=1' gives access `rtsp' demux `any' path `user:pass@address:554/cam/realmonitor/channel=1&subtype=1'
[00007ff0b0000fa0] main input source debug: creating demux: access='rtsp' demux='any' location='user:pass@address:554/cam/realmonitor/channel=1&subtype=1' file='(null)'
[00007ff0b0001160] main demux debug: looking for access_demux module matching "rtsp": 16 candidates
[00007ff0a8000c20] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates
[000055b9be2caff0] main playlist debug: processing request item: null, node: Scaletta, skip: 0
[000055b9be2caff0] main playlist debug: rebuilding array of current - root Scaletta
[000055b9be2caff0] main playlist debug: rebuild done - 1 items, index -1
[000055b9be2caff0] main playlist debug: starting playback of new item
[000055b9be2caff0] main playlist debug: resyncing on rtsp://10.168.5.138:554/cam/realmonitor/channel=1&subtype=1
[000055b9be2caff0] main playlist debug: rtsp://10.168.5.138:554/cam/realmonitor/channel=1&subtype=1 is at 0
[000055b9be2caff0] main playlist debug: creating new input thread
[00007ff0bc000c80] main input debug: Creating an input for 'rtsp://10.168.5.138:554/cam/realmonitor/channel=1&subtype=1'
[000055b9be2caff0] main playlist debug: requesting art for new input thread
[00007ff0bc000c80] main input debug: using timeshift granularity of 50 MiB
[00007ff0bc000c80] main input debug: using default timeshift path
[00007ff0bc000c80] main input debug: `rtsp://user:pass@address:554/cam/realmonitor/channel=1&subtype=1' gives access `rtsp' demux `any' path `user:pass@address:554/cam/realmonitor/channel=1&subtype=1'
[00007ff0b0000fa0] main input source debug: creating demux: access='rtsp' demux='any' location='user:pass@address:554/cam/realmonitor/channel=1&subtype=1' file='(null)'
[00007ff0b0001160] main demux debug: looking for access_demux module matching "rtsp": 16 candidates
[00007ff0a8000c20] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates
[00007ff0a8000c20] lua meta fetcher debug: Trying Lua scripts in /home/tec1/.local/share/vlc/lua/meta/fetcher
[00007ff0a8000c20] lua meta fetcher debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/fetcher
[00007ff0a8000c20] lua meta fetcher debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
[00007ff0b0001160] main demux debug: no access_demux modules matched
[00007ff0a8000c20] main meta fetcher debug: no meta fetcher modules matched
[00007ff0b0001630] main stream debug: creating access: rtsp://user:pass@address:554/cam/realmonitor/channel=1&subtype=1
[00007ff0a8000c20] main art finder debug: looking for art finder module matching "any": 2 candidates
[00007ff0b0001630] main stream debug: looking for access module matching "rtsp": 29 candidates
[00007ff0a8000c20] lua art finder debug: Trying Lua scripts in /home/tec1/.local/share/vlc/lua/meta/art
[00007ff0a8000c20] lua art finder debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art
[00007ff0a8000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
[00007ff0b0001630] satip stream debug: try to open 'rtsp://user:pass@address:554/cam/realmonitor/channel=1&subtype=1'
[00007ff0b0001630] satip stream debug: connect to host '10.168.5.138'
[00007ff0b0001630] main stream debug: net: connecting to 10.168.5.138 port 554
[00007ff0a8000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
[00007ff0a8000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
[00007ff0a8000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
[00007ff0a8000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
[00007ff0a8000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
[00007ff0a8000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
[00007ff0a8000c20] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
[00007ff0a8000c20] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
[00007ff0a8000c20] main art finder debug: no art finder modules matched
[00007ff0b0001630] main stream debug: connection succeeded (socket = 11)
[00007ff0ac000e80] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates
[00007ff0b0001630] main stream debug: net: opening 0.0.0.0 datagram port 9164
[00007ff0ac000e80] lua meta fetcher debug: Trying Lua scripts in /home/tec1/.local/share/vlc/lua/meta/fetcher
[00007ff0b0001630] main stream debug: net: opening 0.0.0.0 datagram port 9165
[00007ff0ac000e80] lua meta fetcher debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/fetcher
[00007ff0ac000e80] lua meta fetcher debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
[00007ff0ac000e80] main meta fetcher debug: no meta fetcher modules matched
[00007ff0ac000e80] main art finder debug: looking for art finder module matching "any": 2 candidates
[00007ff0ac000e80] lua art finder debug: Trying Lua scripts in /home/tec1/.local/share/vlc/lua/meta/art
[00007ff0ac000e80] lua art finder debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art
[00007ff0ac000e80] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac
[00007ff0ac000e80] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac
[00007ff0ac000e80] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac
[00007ff0ac000e80] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
[00007ff0ac000e80] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
[00007ff0ac000e80] main art finder debug: no art finder modules matched
[00007ff0b0001630] satip stream error: Failed to setup RTSP session
[00007ff0b0001630] main stream debug: net: connecting to 10.168.5.138 port 554
[00007ff0b0001630] main stream debug: connection succeeded (socket = 11)
[00007ff0b0001630] access_realrtsp stream warning: Cseq mismatch, got 1, assumed 0
[00007ff0b0001630] access_realrtsp stream debug: rtsp connected
[00007ff0b0001630] access_realrtsp stream warning: only real/helix rtsp servers supported for now
[00007ff0b0001630] main stream debug: no access modules matched
[00007ff0bc000c80] main input error: L'ingresso non può essere aperto
[00007ff0bc000c80] main input error: VLC non è in grado di aprire il MRL 'rtsp://user:pass@address:554/cam/realmonitor/channel=1&subtype=1'. Controlla il registro per i dettagli.
[000055b9be2caff0] main playlist debug: dead input
[000055b9be2caff0] main playlist debug: changing item without a request (current 0/1)
[000055b9be2caff0] main playlist debug: nothing to play

主要问题是 omxplayer 已被弃用,但在加载 10 秒后可以正常播放。 谁能让我理解为什么 vlc 根本没有?

【问题讨论】:

我似乎有完全相同的问题。你会碰巧在运行 KDE 5.22 吗?我也怀疑这个问题更适合超级用户 '--disable-live555' 我认为这就是它不工作的原因,我在另一个启用了该功能的系统上编译了 VLC,它会很好地查看我的 ip cams。这提供了 RTSP/RTP access_demux 模块 感谢您的建议。实际上,我使用的是 Raspberry Pi OS 和带有 xfce 的 Debian buster。我尝试使用 --disable-live555 从源代码 v4 进行编译,但实际上由于其他原因编译失败。无论如何,帮助说:“通过live555禁用RTSP输入。(默认启用)”。 我实际上对此有一个非常详细的答案,尽管我要等到深夜才能得到它。确实是live555问题 【参考方案1】:

所以发生的事情是 Debian 中为 live555 提供支持的库在今年 2 月被删除,这影响了所有下游发行版,包括但不限于 RPi OS 和 Ubuntu:

https://askubuntu.com/a/1363113

两个活动版本是 2020.01.19-1 和 2018.11.26-1.1,Live555 已将 GPL 许可标头添加到有问题的文件中,但 RFC 问题仍然存在。

现在您可能只想下载最新的 Live555 源代码并编译它……它不起作用。 VLC 引用的函数名称和结构发生了变化,因此 VLC 不会针对源代码进行编译。您需要获得一个旧版本,我专门使用了这个,它是 2020 年的调整快照,在阻止 VLC 编译的修改之前:

https://github.com/rgaufman/live555

你要的配置是./genMakefiles linux-with-shared-libraries,我不知道是不是必须的,但由于我的系统是x86-64位,所以我先在编译器选项中添加了-m64

编译安装后,我继续编译VLC,将Live555根文件夹放入VLC extras文件夹后添加'--enable-live555''--with-live555-tree=extras/live555-master',但是VLC编译失败,原来Live555的make install没有将所需的所有头文件复制到 VLC 正在查找的位置。它们作为 4 个子文件夹被放入 /usr/local/include/,实际的库被放入 /usr/local/lib/。添加正确的 CXX/CPP 标志会显示它们的放置位置,但是我将它们全部放在一个文件夹中并使用了 1 个标志。

我还必须 '--disable-mod' 解决一个我没有兴趣修复的依赖版本问题,因为我不使用 modplug 或任何 mod 文件。

50 分钟后... VLC 编译成功!然而,它期望 Live555 的库位于 /usr/lib/ 而不是 /usr/local/lib/ 中,因为编译需要很长时间,我可以将库链接或复制到预期的文件夹中,然后链接到新文件时,VLC 可与 RTSP 一起使用。或者,如果您需要加载相机源,您可以选择保留原始 VLC 并直接运行新文件。

【讨论】:

【参考方案2】:

我也有同样的问题,vlc 不支持 rtsp。我找到了两个解决方案。

1 - 使用快照版本 sudo snap install vlc => rtsp 正在工作。

/snap/bin/vlc rtsp://...

2 - 重建 vlc。我用这个 tuto 来帮助我:https://wiki.videolan.org/UnixCompile/ 我的 ./configure 有一些问题,所以我安装了一些非强制性的包..但我不知道是哪一个..所以我列出了测试期间安装的所有包。

sudo apt-get build-dep vlc vlc-plugin-qt phonon4qt5-backend-vlc

sudo apt-get install libqscintilla2-qt5-dev libqt5charts5-dev qtdeclarative5-dev libqt5gstreamer-dev libqt5opengl5-dev phonon4qt5-backend-vlc libqt53dcore5 qtquickcontrols2-5-dev

git clone git://git.videolan.org/vlc.git

cd vlc

./bootstrap

cd contrib

mkdir native

cd native

../bootstrap

make (stop with error : protoc system version 3.12.4 and required version 3.1.0 do not match)

cd ../../

./configure --prefix=/usr/local  --enable-merge-ffmpeg  --enable-live555

make

现在我有了一个支持 rtsp 的 vlc。

【讨论】:

为啥rtsp的源不能播放

参考技术A  该错误的意思是媒体数据的pts慢于系统时间过多,导致播放跟不上进度,不得不重新缓冲。出现该问题有两种可能原因,一个就是媒体数据接收、解码慢,跟不上render的速度;另一个就是系统时钟突变,比如有的... 查看详情

Python 不播放 Omxplayer 视频

】Python不播放Omxplayer视频【英文标题】:PythonnotplayingOmxplayervideo【发布时间】:2021-04-1013:09:17【问题描述】:我正在开发一个系统,其中RaspberryPi使用Omxplayer在PyQtGUI上播放YouTube视频(我认为PyQt位无关紧要)(就像演员一样——... 查看详情

如何使用 Python 在 Raspberry Pi 上杀死 omxplayer 播放器

】如何使用Python在RaspberryPi上杀死omxplayer播放器【英文标题】:HowcanIkillomxplayerplayeronaRaspberryPiusingPython【发布时间】:2017-01-2318:06:09【问题描述】:我正在使用RaspberryPi3进行DIY项目,我需要使用omxplayer播放4个视频。当您按下原型... 查看详情

树莓派播放视频的播放器omxplayer(代码片段)

...1、安装方法:CTRL+ALT+T调出终端命令行输入sudoapt-getinstallomxplayer等待数秒安装完毕。。。 2、使用方法:直接在终端中输入omxplayer-ohdmi/path/filename.mp4解释:-ohdmi表示音视频直接 查看详情

在 android 上播放 RTSP 流

...,我想在我的android应用上播放它,但它播放2或3分钟并且不能播放更长时间:(我怎样才能玩得更久?//thereismycodetoplay,thanksforadvice!//videoviewismyVideoViewonlayoutvideovie 查看详情

如何使用 videoview 播放带有身份验证的 rtsp 流?

...tsp身份验证时,videoview可以正常工作。但出于安全问题,不能禁用身份验证。那么有没有办法通过身份验证播放rtsp流?【问题讨论】:没有办法做到这一点。放下吧!~无法使用videov 查看详情

Python 与 omxplayer 通信

】Python与omxplayer通信【英文标题】:Pythoncommunicatewithomxplayer【发布时间】:2015-11-1221:26:00【问题描述】:我想知道omxplayer何时开始播放直播链接。有时这需要4-5秒,有时需要6-7秒。当我执行os.system(\'omxplayer\'+url)时,我立即收到... 查看详情

在 Python 中从 RTSP 流中读取帧

...但这是我正在使用广播视频的命令:raspivid-o--t0-w1280-h800|cvlc-vvvstream:///dev/stdin--sout\'#rtps 查看详情

小白虚心求教如何用unity播放rtsp流媒体

使用ffmpeg解析,解析过后的frame,用sdl库进行播放。有个缺陷是不能再场景中渲染,只能另外推出一个界面。参考技术A目前这是一个坑,如果你网上搜过,应该已经看过贴吧里的一篇介绍 查看详情

尝试使用 Omxplayer 同步 LED 和视频 - 出现 omxplayer.bin 错误和其他问题

】尝试使用Omxplayer同步LED和视频-出现omxplayer.bin错误和其他问题【英文标题】:TryingtosyncLEDsandVideosusingOmxplayer-gettingomxplayer.binerrors&otherissues【发布时间】:2019-06-0801:30:43【问题描述】:我是Python3的新手,我一直在编写代码,... 查看详情

英伟达jetson盒子gstreamergst-launch-1.0录制rtsp为mp4不能播放问题(加-e)(eosonshutdownenabled)(代码片段)

gst-launch-1.0rtspsrclocation=rtsp://admin:abc12345@192.168.1.67/h264/ch1/main/av_stream!rtph264depay!h264parse!nvv4l2decoder!nvv4l2h265enc!h265parse!mp4mux!filesinklocation=XXXX.mp4生成的视频播 查看详情

Omxplayer 大约会切断最后一秒的声音

】Omxplayer大约会切断最后一秒的声音【英文标题】:Omxplayercutsoffroughlythelastsecondofsound【发布时间】:2015-04-1014:35:38【问题描述】:我正在使用Omxplayer播放存储为.MP3的声音文件我面临的问题是,在持续时间>1秒,但我不确定是... 查看详情

从远程终端用 X11 中的 VLC 播放视频

】从远程终端用X11中的VLC播放视频【英文标题】:PlayavideowithVLCinX11fromremoteterminal【发布时间】:2012-03-2700:49:35【问题描述】:我有一些带有Linux的超薄终端,每次启动时都会启动一个小脚本。该脚本有一个cvlc命令行,如下所示... 查看详情

web无插件播放视频之rtsp(代码片段)

...出视频出来,所以整个视频可以用流来称呼。可惜视频并不能直接输出至web,如果可以的话,也就没有 查看详情

用树莓派3b+播放音乐(代码片段)

...频头的线,用于接收音频信号  (1) 看看有没有安装omxplayer播放器,没有就安装sudoapt-getinstallomxplayer (2) omxplayer-olocal音频文件路径omxplayer-olocaltest.mp3 查看详情

英伟达jetson盒子gstreamergst-launch-1.0录制rtsp为mp4不能播放问题(加-e)(eosonshutdownenabled)(代码片段)

gst-launch-1.0rtspsrclocation=rtsp://admin:abc12345@192.168.1.67/h264/ch1/main/av_stream!rtph264depay!h264parse!nvv4l2decoder!nvv4l2h265enc!h265parse!mp4mux!filesinklocation=XXXX.mp4生成的视频播放不了。。。在后面加个-e参数,生成的视频就能播放了gst-launc... 查看详情

h.265播放器easyplayer使用electron打包后不能播放的问题排查与解决

...分享一下:H.265视频流EasyPlayer播放器在使用electron打包后不能播放的问题排查与解决。在播放H.265视频时,出现了报错"FetchAPIcannotload",如图: 经过排查发现,原来是wasm加载的路径不对。  解决办法:将加载路径添加... 查看详情

vlc播放rtsp抓包分析

VLC播放RTSP视频抓包记录:vlc -vvv rtsp://172.16.66.22/nuc.sdpOPTIONS: OPTIONS rtsp://172.16.66.22/nuc.sdp RTSP/1.0 CSeq: 2 User-Agent: LibVLC/2.2.6 (LIVE555 Streaming&nb 查看详情