如何找到所需的 GStreamer 插件?

问题描述 投票:0回答:0

我正在尝试使用 URL

https://rtvelivestream.akamaized.net/rtvesec/rne/rne_r3_main.m3u8
播放网络广播。我可以使用
wget
下载播放列表并获取媒体 URL,但是当我尝试使用
gst-play
播放它时:

$ gst-play-1.0 https://rtvelivestream.akamaized.net/rtvesec/rne/GL0/37_2023_03_28_09_53_51_85364.ts
Press 'k' to see a list of keyboard shortcuts.
Now playing https://rtvelivestream.akamaized.net/rtvesec/rne/GL0/37_2023_03_28_09_53_51_85364.ts
Prerolling...
WARNING No decoder available for type 'video/mpegts, systemstream=(boolean)true, packetsize=(int)188'.
WARNING debug information: ../gst/playback/gsturidecodebin.c(960): unknown_type_cb (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0
ERROR Your GStreamer installation is missing a plug-in. for https://rtvelivestream.akamaized.net/rtvesec/rne/GL0/37_2023_03_28_09_53_51_85364.ts
ERROR debug information: ../gst/playback/gsturidecodebin.c(1027): no_more_pads_full (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0:
no suitable plugins found:
../gst/playback/gstdecodebin2.c(4701): gst_decode_bin_expose (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0:
no suitable plugins found:
Missing decoder: MPEG-2 Transport Stream (video/mpegts, systemstream=(boolean)true, packetsize=(int)188)

Reached end of playlist.

尽管它与

mplayer
一起工作,所以 URL 和媒体是正确的:

$ mplayer https://rtvelivestream.akamaized.net/rtvesec/rne/GL0/37_2023_03_28_09_53_51_85364.ts
MPlayer 1.4 (Debian), built with gcc-11 (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 https://rtvelivestream.akamaized.net/rtvesec/rne/GL0/37_2023_03_28_09_53_51_85364.ts.
libavformat version 58.76.100 (external)
TS file format detected.
NO VIDEO! AUDIO AAC(pid=256) NO SUBS (yet)!  PROGRAM N. 1
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 58.134.100 (external)
AUDIO: 48000 Hz, 2 ch, floatle, 0.0 kbit/0.00% (ratio: 0->384000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
Video: no video
Starting playback...
A:45048.7 (12:30:48.7) of 0.0 (unknown)  0.6%

我已经安装了所有的gstreamer插件包,但仍然没有快乐

$ apt list gstreamer*-plugins*
Listing... Done
gstreamer1.0-plugins-bad-apps/jammy-updates,now 1.20.3-0ubuntu1 amd64 [installed]
gstreamer1.0-plugins-bad-apps/jammy-updates 1.20.3-0ubuntu1 i386
gstreamer1.0-plugins-bad/jammy-updates,now 1.20.3-0ubuntu1 amd64 [installed,automatic]
gstreamer1.0-plugins-bad/jammy-updates 1.20.3-0ubuntu1 i386
gstreamer1.0-plugins-base-apps/jammy,now 1.20.1-1 amd64 [installed,automatic]
gstreamer1.0-plugins-base-apps/jammy 1.20.1-1 i386
gstreamer1.0-plugins-base/jammy,now 1.20.1-1 amd64 [installed,automatic]
gstreamer1.0-plugins-base/jammy,now 1.20.1-1 i386 [installed,automatic]
gstreamer1.0-plugins-good/jammy-updates,now 1.20.3-0ubuntu1 amd64 [installed,automatic]
gstreamer1.0-plugins-good/jammy-updates 1.20.3-0ubuntu1 i386
gstreamer1.0-plugins-rtp/jammy,now 1.14.4.1 amd64 [installed]
gstreamer1.0-plugins-ugly/jammy,now 1.20.1-1 amd64 [installed,automatic]
gstreamer1.0-plugins-ugly/jammy 1.20.1-1 i386

如您所见,这是 Ubuntu 22.04。相同的命令适用于 18.04 的旧盒子......那么插件是否已被删除?我可以在其他地方找到它吗?我怎么知道哪个插件在哪里?

ubuntu audio plugins gstreamer
© www.soinside.com 2019 - 2024. All rights reserved.