gst123

  • Open
  • quality assurance status badge
Details
4 participants
  • Kyle Andrews
  • Leo Famulari
  • Marius Bakke
  • Tobias Geerinckx-Rice
Owner
unassigned
Submitted by
Kyle Andrews
Severity
normal
K
K
Kyle Andrews wrote on 6 Jun 2020 22:23
gst123
(address . bug-guix@gnu.org)
87lfl0oseh.fsf@gmail.com
When I install gst123 and try to play an mp3 file no sound comes and I
see:

: Error: Your GStreamer installation is missing a plug-in.

This happens both when I use 'guix environment' and from my default
profile. In contrast, mpg123 had no trouble playing the file.
T
T
Tobias Geerinckx-Rice wrote on 6 Jun 2020 22:55
Re: bug#41743: gst123
(name . Kyle Andrews)(address . kyle.c.andrews@gmail.com)(address . 41743@debbugs.gnu.org)
87v9k39an8.fsf@nckx
Kyle,

Kyle Andrews ???
Toggle quote (6 lines)
> When I install gst123 and try to play an mp3 file no sound comes
> and I
> see:
>
> : Error: Your GStreamer installation is missing a plug-in.

Does adding ‘gst-plugins-bad’ to the profile fix it? It let me
play a random .mp3 file[0], but only without --pure.

Kind regards,

T G-R

[0]:
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXtwC3AAKCRANsP+IT1Vt
eZe2AQDvf/eij46ttAoa01rgbZK4dE/l1gKUAhB+LQbFxeGVCQEAi8IgyHXy704U
b7sjqMOyqfYwAcdVm8ou8tzvMeEm1Ag=
=WJy4
-----END PGP SIGNATURE-----

K
K
Kyle Andrews wrote on 7 Jun 2020 02:40
(name . Tobias Geerinckx-Rice)(address . me@tobias.gr)(address . 41743@debbugs.gnu.org)
87img3pv33.fsf@gmail.com
Tobias Geerinckx-Rice writes:

Toggle quote (19 lines)
> Kyle,
>
> Kyle Andrews ???
>> When I install gst123 and try to play an mp3 file no sound comes and
>> I
>> see:
>>
>> : Error: Your GStreamer installation is missing a plug-in.
>
> Does adding ‘gst-plugins-bad’ to the profile fix it? It let me play a
> random .mp3 file[0], but only without --pure.
>
> Kind regards,
>
> T G-R
>
> [0]:
> https://file-examples.com/wp-content/uploads/2017/11/file_example_MP3_5MG.mp3

I tried adding all the gst packages I could think of to the environment,
but it still did not work. Here is what I ran:

guix environment gst-plugins-base gst-plugins-bad gst-plugins-good gst-plugins-ugly gst123 -- gst123 "/path/to/music-file.mp3"

Error: Your GStreamer installation is missing a plug-in.
=> file cannot be played and will be removed from playlist
T
T
Tobias Geerinckx-Rice wrote on 7 Jun 2020 03:19
(name . Kyle Andrews)(address . kyle.c.andrews@gmail.com)(address . 41743@debbugs.gnu.org)
87pnab8yfc.fsf@nckx
Kyle,

Kyle Andrews ???
Toggle quote (8 lines)
> I tried adding all the gst packages I could think of to the
> environment,
> but it still did not work. Here is what I ran:
>
> guix environment gst-plugins-base gst-plugins-bad
> gst-plugins-good gst-plugins-ugly gst123 -- gst123
> "/path/to/music-file.mp3"

Use ‘guix environment --ad-hoc’. The command above doesn't add
any of the packages to the environment, only their build
dependencies.

I forgot about gst-plugins-base, maybe it suffices.

Kind regards,

T G-R
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXtxAtwAKCRANsP+IT1Vt
eYvtAP0YEGheG7i5ecHWoIz0o/XJw5KegZxQNc1t4rCFFJod5AEA9Nt4Xj9O7vDo
Eu0eegWGnq2bpMT5+j4staRqEg5Ryw8=
=H21N
-----END PGP SIGNATURE-----

K
K
Kyle Andrews wrote on 10 Jun 2020 02:33
(name . Tobias Geerinckx-Rice)(address . me@tobias.gr)(address . 41743@debbugs.gnu.org)
871rmnvjxc.fsf@gmail.com
Tobias Geerinckx-Rice writes:

Toggle quote (19 lines)
> Kyle,
>
> Kyle Andrews ???
>> I tried adding all the gst packages I could think of to the
>> environment,
>> but it still did not work. Here is what I ran:
>>
>> guix environment gst-plugins-base gst-plugins-bad gst-plugins-good
>> gst-plugins-ugly gst123 -- gst123 "/path/to/music-file.mp3"
>
> Use ‘guix environment --ad-hoc’. The command above doesn't add any of
> the packages to the environment, only their build dependencies.
>
> I forgot about gst-plugins-base, maybe it suffices.
>
> Kind regards,
>
> T G-R

Thanks for the tip. Unfortunately, I still see the error:

Error: Your GStreamer installation is missing a plug-in.
=> file cannot be played and will be removed from playlist

after running:

guix environment --ad-hoc gst-plugins-base gst-plugins-good
gst-plugins-bad gst-plugins-ugly gst123 -- gst123
~/path/to/music-file.mp3
L
L
Leo Famulari wrote on 10 Jun 2020 18:28
(name . Kyle Andrews)(address . kyle.c.andrews@gmail.com)(address . 41743@debbugs.gnu.org)
20200610162853.GA7891@jasmine.lan
On Sat, Jun 06, 2020 at 04:23:18PM -0400, Kyle Andrews wrote:
Toggle quote (9 lines)
>
> When I install gst123 and try to play an mp3 file no sound comes and I
> see:
>
> : Error: Your GStreamer installation is missing a plug-in.
>
> This happens both when I use 'guix environment' and from my default
> profile. In contrast, mpg123 had no trouble playing the file.

You should run the program with `strace -f` to see exactly what file is
missing.

I wonder if it's a problem with alsa-lib:

M
M
Marius Bakke wrote on 10 Jun 2020 18:43
(address . 41743@debbugs.gnu.org)
873672hnw9.fsf@gnu.org
Kyle Andrews <kyle.c.andrews@gmail.com> writes:

Toggle quote (32 lines)
> Tobias Geerinckx-Rice writes:
>
>> Kyle,
>>
>> Kyle Andrews ???
>>> I tried adding all the gst packages I could think of to the
>>> environment,
>>> but it still did not work. Here is what I ran:
>>>
>>> guix environment gst-plugins-base gst-plugins-bad gst-plugins-good
>>> gst-plugins-ugly gst123 -- gst123 "/path/to/music-file.mp3"
>>
>> Use ‘guix environment --ad-hoc’. The command above doesn't add any of
>> the packages to the environment, only their build dependencies.
>>
>> I forgot about gst-plugins-base, maybe it suffices.
>>
>> Kind regards,
>>
>> T G-R
>
> Thanks for the tip. Unfortunately, I still see the error:
>
> Error: Your GStreamer installation is missing a plug-in.
> => file cannot be played and will be removed from playlist
>
> after running:
>
> guix environment --ad-hoc gst-plugins-base gst-plugins-good
> gst-plugins-bad gst-plugins-ugly gst123 -- gst123
> ~/path/to/music-file.mp3

You also need 'gstreamer' in the environment to get the
GST_PLUGIN_SYSTEM_PATH variable, so that the plugins are actually
found. A long-standing bug in Guix. :-/
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl7hDcYACgkQoqBt8qM6
VPowTwgAhv4u+Raujxlvjm5zeIidVsNXk9Ry30/zzent44pUyKto0cuR40dVaIPQ
xm1rpEfbx7N5VERAVoPJpUQ+C8PGzQEUJqdelopO2MCrLOJX8ggXzjqchoVSI38V
6+Sy+heNxCS7VnTZh0/Iqou/t1APDjfUzHcidchGhgY0sTpp+mOpKdo4rXBZJW9A
opsDLCOrMmPiHvr7vpZOXk26m0NPH8t6fVSUKnNysyvBXLq7gzJ79aFNfOiVEHt0
zz2DxsZFwzw/dQv/tJp5hgVDIGdObwaG1IzNzHTZKNgOjFbO4IjSAtnwtlT/yVke
NtRVat+UgX3SQ30Q+djw3YkTEXo7FQ==
=PnZo
-----END PGP SIGNATURE-----

K
K
Kyle Andrews wrote on 29 Jun 2020 04:34
(name . Marius Bakke)(address . marius@gnu.org)
878sg6lhvz.fsf@gmail.com
Marius Bakke writes:

Toggle quote (38 lines)
> Kyle Andrews <kyle.c.andrews@gmail.com> writes:
>
>> Tobias Geerinckx-Rice writes:
>>
>>> Kyle,
>>>
>>> Kyle Andrews ???
>>>> I tried adding all the gst packages I could think of to the
>>>> environment,
>>>> but it still did not work. Here is what I ran:
>>>>
>>>> guix environment gst-plugins-base gst-plugins-bad gst-plugins-good
>>>> gst-plugins-ugly gst123 -- gst123 "/path/to/music-file.mp3"
>>>
>>> Use ‘guix environment --ad-hoc’. The command above doesn't add any of
>>> the packages to the environment, only their build dependencies.
>>>
>>> I forgot about gst-plugins-base, maybe it suffices.
>>>
>>> Kind regards,
>>>
>>> T G-R
>>
>> Thanks for the tip. Unfortunately, I still see the error:
>>
>> Error: Your GStreamer installation is missing a plug-in.
>> => file cannot be played and will be removed from playlist
>>
>> after running:
>>
>> guix environment --ad-hoc gst-plugins-base gst-plugins-good
>> gst-plugins-bad gst-plugins-ugly gst123 -- gst123
>> ~/path/to/music-file.mp3
>
> You also need 'gstreamer' in the environment to get the
> GST_PLUGIN_SYSTEM_PATH variable, so that the plugins are actually
> found. A long-standing bug in Guix. :-/

I still get the error with:

guix environment gstreamer gst-plugins-base gst-plugins-bad gst-plugins-good gst-plugins-ugly gst123 -- gst123 '/path/to/file.mp3'

Following Leo's advice, I also ran:

guix environment strace gstreamer gst-plugins-base gst-plugins-bad
gst-plugins-good gst-plugins-ugly gst123 -- strace -f gst123
'/path/to/file.mp3'

There were 3403 lines of output, which seems bigger than the Debian
pastebin will let me show, so I'm not sure how to share the whole
thing.

However, here is a list of references to the store in the output
produced with:

: cat $STRACEF_OUTPUT | grep -i -o '"/gnu/store/.*"' | uniq


The last lines of output from strace -f looked like:

ioctl(1, TCGETS, 0x7ffff8747000) = -1 ENOTTY (Inappropriate ioctl for device)
stat("/home/k/.terminfo", 0x76ac20) = -1 ENOENT (No such file or directory)
stat("/gnu/store/5lc708bcni55ch6lfq30i8595v1xfchh-profile/share/terminfo", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
stat("/home/k/.guix-profile/share/terminfo", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
stat("/gnu/store/zzkly5rbfvahwqgcs7crz0ilpi7x5g5p-ncurses-6.2/share/terminfo", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
access("/gnu/store/5lc708bcni55ch6lfq30i8595v1xfchh-profile/share/terminfo/d/dumb", R_OK) = 0
openat(AT_FDCWD, "/gnu/store/5lc708bcni55ch6lfq30i8595v1xfchh-profile/share/terminfo/d/dumb", O_RDONLY) = 13
fstat(13, {st_mode=S_IFREG|0444, st_size=308, ...}) = 0
read(13, "\32\1\30\0\2\0\1\0\202\0\10\0dumb|80-column dumb "..., 32768) = 308
read(13, "", 28672) = 0
close(13) = 0
ioctl(2, TCGETS, 0x7ffff8747000) = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(2, TCGETS, 0x7ffff8746f90) = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(0, TCGETS, {B38400 opost isig icanon -echo ...}) = 0
ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost isig -icanon -echo ...}) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGTTOU {si_signo=SIGTTOU, si_code=SI_KERNEL} ---
--- stopped by SIGTTOU ---

Let me know if there is something else I could be looking for.

For now I'm resigned to just using mpg123 for mp3's instead which works
perfectly fine.
L
L
Leo Famulari wrote on 29 Jun 2020 05:17
(name . Kyle Andrews)(address . kyle.c.andrews@gmail.com)
20200629031705.GA4330@jasmine.lan
On Sun, Jun 28, 2020 at 10:34:24PM -0400, Kyle Andrews wrote:
Toggle quote (4 lines)
> There were 3403 lines of output, which seems bigger than the Debian
> pastebin will let me show, so I'm not sure how to share the whole
> thing.

Can you attach the output as a file? If it's too big you can compress it
with gzip or xz.
M
M
Marius Bakke wrote on 25 Jul 2020 16:59
(name . Kyle Andrews)(address . kyle.c.andrews@gmail.com)
87sgdfvdwt.fsf@gnu.org
Kyle Andrews <kyle.c.andrews@gmail.com> writes:

Toggle quote (51 lines)
> Marius Bakke writes:
>
>> Kyle Andrews <kyle.c.andrews@gmail.com> writes:
>>
>>> Tobias Geerinckx-Rice writes:
>>>
>>>> Kyle,
>>>>
>>>> Kyle Andrews ???
>>>>> I tried adding all the gst packages I could think of to the
>>>>> environment,
>>>>> but it still did not work. Here is what I ran:
>>>>>
>>>>> guix environment gst-plugins-base gst-plugins-bad gst-plugins-good
>>>>> gst-plugins-ugly gst123 -- gst123 "/path/to/music-file.mp3"
>>>>
>>>> Use ‘guix environment --ad-hoc’. The command above doesn't add any of
>>>> the packages to the environment, only their build dependencies.
>>>>
>>>> I forgot about gst-plugins-base, maybe it suffices.
>>>>
>>>> Kind regards,
>>>>
>>>> T G-R
>>>
>>> Thanks for the tip. Unfortunately, I still see the error:
>>>
>>> Error: Your GStreamer installation is missing a plug-in.
>>> => file cannot be played and will be removed from playlist
>>>
>>> after running:
>>>
>>> guix environment --ad-hoc gst-plugins-base gst-plugins-good
>>> gst-plugins-bad gst-plugins-ugly gst123 -- gst123
>>> ~/path/to/music-file.mp3
>>
>> You also need 'gstreamer' in the environment to get the
>> GST_PLUGIN_SYSTEM_PATH variable, so that the plugins are actually
>> found. A long-standing bug in Guix. :-/
>

> I still get the error with:
>
> guix environment gstreamer gst-plugins-base gst-plugins-bad gst-plugins-good gst-plugins-ugly gst123 -- gst123 '/path/to/file.mp3'
>
> Following Leo's advice, I also ran:
>
> guix environment strace gstreamer gst-plugins-base gst-plugins-bad
> gst-plugins-good gst-plugins-ugly gst123 -- strace -f gst123
> '/path/to/file.mp3'

I think you forgot to add '--ad-hoc' here, unless it was a copy-paste error?
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl8cSNIACgkQoqBt8qM6
VPr4VQf/cdAExfoE8b1UApptMLge98Ia8NjwvOx3tDCQXQL+Rscbigx0CR1FYX/M
ZN8/PwtBKLqMeaxnmuGBomMCir+RnlFXRjf2DA94VmE/DvpXtxc0MmV83YxZSZ8p
Mc+dYuIaDRqPt1UgGX8mNnYtAlnrTIcTIFOMEL2JHL1FDQCW3+x4eLoA3qfWg05T
w9DXXsnzYJ9SFwGIfJmfFSn5cpSMipdm3TLnl8XpOoWjxyGbgJ4puE0+sPexVn5H
gZN4Y8O+NZNj3wAP5GR6oNSGcJuVJobAQTb+Z08IS2ZMEL1yeAbtyvjT0AqWzMs9
nSUi+dQwUrz6v3gmj3ZU6tnFn3JiVQ==
=ie24
-----END PGP SIGNATURE-----

?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 41743@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 41743
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch