unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#41743: gst123
@ 2020-06-06 20:23 Kyle Andrews
  2020-06-06 20:55 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2020-06-10 16:28 ` Leo Famulari
  0 siblings, 2 replies; 10+ messages in thread
From: Kyle Andrews @ 2020-06-06 20:23 UTC (permalink / raw)
  To: 41743


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.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#41743: gst123
  2020-06-06 20:23 bug#41743: gst123 Kyle Andrews
@ 2020-06-06 20:55 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2020-06-07  0:40   ` Kyle Andrews
  2020-06-10 16:28 ` Leo Famulari
  1 sibling, 1 reply; 10+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2020-06-06 20:55 UTC (permalink / raw)
  To: Kyle Andrews; +Cc: 41743

[-- Attachment #1: Type: text/plain, Size: 424 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#41743: gst123
  2020-06-06 20:55 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
@ 2020-06-07  0:40   ` Kyle Andrews
  2020-06-07  1:19     ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  0 siblings, 1 reply; 10+ messages in thread
From: Kyle Andrews @ 2020-06-07  0:40 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 41743


Tobias Geerinckx-Rice writes:

> 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





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#41743: gst123
  2020-06-07  0:40   ` Kyle Andrews
@ 2020-06-07  1:19     ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2020-06-10  0:33       ` Kyle Andrews
  0 siblings, 1 reply; 10+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2020-06-07  1:19 UTC (permalink / raw)
  To: Kyle Andrews; +Cc: 41743

[-- Attachment #1: Type: text/plain, Size: 531 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#41743: gst123
  2020-06-07  1:19     ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
@ 2020-06-10  0:33       ` Kyle Andrews
  2020-06-10 16:43         ` Marius Bakke
  0 siblings, 1 reply; 10+ messages in thread
From: Kyle Andrews @ 2020-06-10  0:33 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 41743


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






^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#41743: gst123
  2020-06-06 20:23 bug#41743: gst123 Kyle Andrews
  2020-06-06 20:55 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
@ 2020-06-10 16:28 ` Leo Famulari
  1 sibling, 0 replies; 10+ messages in thread
From: Leo Famulari @ 2020-06-10 16:28 UTC (permalink / raw)
  To: Kyle Andrews; +Cc: 41743

On Sat, Jun 06, 2020 at 04:23:18PM -0400, Kyle Andrews wrote:
> 
> 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:

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=40832




^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#41743: gst123
  2020-06-10  0:33       ` Kyle Andrews
@ 2020-06-10 16:43         ` Marius Bakke
  2020-06-29  2:34           ` Kyle Andrews
  0 siblings, 1 reply; 10+ messages in thread
From: Marius Bakke @ 2020-06-10 16:43 UTC (permalink / raw)
  To: Kyle Andrews, Tobias Geerinckx-Rice; +Cc: 41743

[-- Attachment #1: Type: text/plain, Size: 1178 bytes --]

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.  :-/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#41743: gst123
  2020-06-10 16:43         ` Marius Bakke
@ 2020-06-29  2:34           ` Kyle Andrews
  2020-06-29  3:17             ` Leo Famulari
  2020-07-25 14:59             ` Marius Bakke
  0 siblings, 2 replies; 10+ messages in thread
From: Kyle Andrews @ 2020-06-29  2:34 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 41743


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'

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

https://paste.debian.net/hidden/14fe8b8b/

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.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#41743: gst123
  2020-06-29  2:34           ` Kyle Andrews
@ 2020-06-29  3:17             ` Leo Famulari
  2020-07-25 14:59             ` Marius Bakke
  1 sibling, 0 replies; 10+ messages in thread
From: Leo Famulari @ 2020-06-29  3:17 UTC (permalink / raw)
  To: Kyle Andrews; +Cc: 41743

On Sun, Jun 28, 2020 at 10:34:24PM -0400, Kyle Andrews wrote:
> 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.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#41743: gst123
  2020-06-29  2:34           ` Kyle Andrews
  2020-06-29  3:17             ` Leo Famulari
@ 2020-07-25 14:59             ` Marius Bakke
  1 sibling, 0 replies; 10+ messages in thread
From: Marius Bakke @ 2020-07-25 14:59 UTC (permalink / raw)
  To: Kyle Andrews; +Cc: 41743

[-- Attachment #1: Type: text/plain, Size: 1789 bytes --]

Kyle Andrews <kyle.c.andrews@gmail.com> writes:

> 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?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-07-25 15:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-06 20:23 bug#41743: gst123 Kyle Andrews
2020-06-06 20:55 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-06-07  0:40   ` Kyle Andrews
2020-06-07  1:19     ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-06-10  0:33       ` Kyle Andrews
2020-06-10 16:43         ` Marius Bakke
2020-06-29  2:34           ` Kyle Andrews
2020-06-29  3:17             ` Leo Famulari
2020-07-25 14:59             ` Marius Bakke
2020-06-10 16:28 ` Leo Famulari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).