[SOLVED] Creating audio CD using xfburn - missing decoder

Technical issues/questions of an intermediate or advanced nature.
User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

[SOLVED] Creating audio CD using xfburn - missing decoder

Post#1 by Rava » 03 Nov 2023, 16:57

I gave up on this attempt Creating audio CD using Cue/Bin and now try it via xfburn.

Code: Select all

root@rava:/# slapt-mod -M xfburn
Reading Package Lists...Done
Suggested packages:
  alsa-lib bzip2 elfutils eudev expat gcc libffi libjpeg-turbo libpng pcre xz 
  zlib brotli cairo cdparanoia elfutils fontconfig freetype fribidi graphite2 
  harfbuzz libX11 libXau libXdmcp libXext libXrender libXv libdrm libglvnd 
  libgudev libogg libtheora libunwind libvisual libvorbis libxcb libxml2 mesa 
  opus orc pango pixman wayland 
The following NEW packages will be installed:
  graphene gstreamer gst-plugins-base libburn libisofs xfburn 
0 upgraded, 0 reinstalled, 6 newly installed, 0 to remove, 0 not upgraded.
Need to get 5.0MB of archives.
Do you want to continue? [y/N] y
1/6 Get http://slackware.uk/salix/x86_64/slackware-15.0/ graphene 1.10.6-x86_64-1 [104.0kB]...Done
2/6 Get http://slackware.uk/salix/x86_64/slackware-15.0/ gstreamer 1.18.5-x86_64-1 [1.7MB]...Done
3/6 Get http://slackware.uk/salix/x86_64/slackware-15.0/ gst-plugins-base 1.18.5-x86_64-1 [2.2MB]...Done
4/6 Get http://slackware.uk/salix/x86_64/slackware-15.0/ libburn 1.5.4-x86_64-2 [288.0kB]...Done
5/6 Get http://slackware.uk/salix/x86_64/15.0/ libisofs 1.5.4-x86_64-1gv [259.0kB]...Done
6/6 Get http://slackware.uk/salix/x86_64/15.0/ xfburn 0.6.2-x86_64-3gv [510.0kB]...Done
xfburn starts without issue, and is giving me no errors in the terminal it is started aside from this vague one:

Code: Select all

(xfburn.bin:23074): GLib-GIO-CRITICAL **: 17:24:18.274: g_simple_action_set_enabled: assertion 'G_IS_SIMPLE_ACTION (simple)' failed

Still, when I try to create an Audio CD from a mp3, or even from this very Audio-CD-compatible 44100 Hz wav file:

Code: Select all

$ ffprobe -hide_banner lamesh_11100_1.mp3
Input #0, mp3, from 'lamesh_11100_1.mp3':
  Duration: 01:03:39.49, start: 0.025057, bitrate: 216 kb/s
  Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 216 kb/s
    Metadata:
      encoder         : LAME3.100
    Side data:
      replaygain: track gain - 0.500000, track peak - unknown, album gain - unknown, album peak - unknown,
all I get is this trying to add the file to the "Audio CD" action:
Image

No missing dependencies:

Code: Select all

guest@rava:/tmp$ ldd /usr/bin/xfburn.bin|grep -i "not found"
guest@rava:/tmp$ 
Anyone any ideas? Why did slapt-mod not also download and add the needed decoders? The gst-plugin* is not even among the recommended packages. :(

What are the necessary gst-plugin* for mp3, aac, ogg/vorbis, wav?
Why would xfburn not give more precise info what exactly is missing?
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2098
Joined: 02 Jan 2011, 11:33
Location: italy

Creating audio CD using xfburn - missing decoder

Post#2 by beny » 03 Nov 2023, 17:34

you need all the gstreamer plugins to work with xfburn: base bad ugly and good and wait if is enough....

User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Creating audio CD using xfburn - missing decoder

Post#3 by Rava » 03 Nov 2023, 17:44

Code: Select all

root@rava:~# slapt-mod -s gstreamer |grep -E "base|bad|ugly|good"
gst-plugins-bad-free-1.18.5-x86_64-4  (bad set of GStreamer plugins)
gst-plugins-bad-nonfree-1.18.5-x86_64-1salix15.0  (encumbered set of GStreamer plugins)
gst-plugins-base-1.18.5-x86_64-1  (base set of GStreamer plugins)
gst-plugins-good-1.18.5-x86_64-2  (good set of GStreamer plugins)
gst0-plugins-base-0.10.36-x86_64-1salix15.0  (base set of GStreamer plugins, v0)
gst0-plugins-good-0.10.31-x86_64-1salix15.0  (good set of GStreamer plugins, v0)
gst0-plugins-ugly-0.10.19-x86_64-2salix15.0  (a set of GStreamer-0.10.x plugins)
gstreamer-vaapi-1.18.6-x86_64-1gv  (VA-API based plugins for GStreamer)
Should one choose gst-plugins-base-1.18.5-x86_64-1 or gst0-plugins-base-0.10.36-x86_64-1salix15.0?

I presume, with
beny wrote:
03 Nov 2023, 17:34
base bad ugly and good
you meant these:

Code: Select all

gst-plugins-bad-free-1.18.5-x86_64-4  (bad set of GStreamer plugins)
gst-plugins-bad-nonfree-1.18.5-x86_64-1salix15.0  (encumbered set of GStreamer plugins)
gst-plugins-base-1.18.5-x86_64-1  (base set of GStreamer plugins)
gst-plugins-good-1.18.5-x86_64-2  (good set of GStreamer plugins)
and this one:

Code: Select all

gst0-plugins-ugly-0.10.19-x86_64-2salix15.0
since slapt-mod not finds any other "ugly" one.

Or should I use the gst0-plugins-*-x86_64-1salix15.0 ones instead of the gst-plugins-*-x86_64-* ones?
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2098
Joined: 02 Jan 2011, 11:33
Location: italy

Creating audio CD using xfburn - missing decoder

Post#4 by beny » 03 Nov 2023, 17:49

you have this on slackbuild, the gstreamer0 is an old version

User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Creating audio CD using xfburn - missing decoder

Post#5 by Rava » 03 Nov 2023, 17:53

beny wrote:
03 Nov 2023, 17:49
you have this on slackbuild, the gstreamer0 is an old version
Do you have an URL?

Or better, an module uploaded? :D
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2098
Joined: 02 Jan 2011, 11:33
Location: italy

Creating audio CD using xfburn - missing decoder

Post#6 by beny » 03 Nov 2023, 17:58


donald
Full of knowledge
Full of knowledge
Posts: 2073
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Creating audio CD using xfburn - missing decoder

Post#7 by donald » 03 Nov 2023, 23:35

xfburn-0.6.2-x86_64-xfce.xzm

graphene-1.10.2-x86_64-1
gst-plugins-base-1.18.4-x86_64-1
gstreamer-1.18.4-x86_64-1
libburn-1.5.4-x86_64-2
libisofs-1.5.0-x86_64-1_ncm
xfburn-0.6.2-x86_64-1_ncm


Download from
https://magentacloud.de/s/gzmWNFFLPnJmbZp
md5sum:
0225064750bb8bff23462ce2bb433aed xfburn-0.6.2-x86_64+deps-xfce.xzm
Note -- link will expire soon!

User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Creating audio CD using xfburn - missing decoder

Post#8 by Rava » 04 Nov 2023, 05:30

^
Thanks, but it doesn't work for other reasons.
Opening an mp3 it says "file has no wav extension" (well, duh!)
and opening a wav like the ffprobe quoted above it says

Code: Select all

"[…].wav does not contain uncompressed PCM wav audio"
How do I convert my sound file (original is webm since that was the highest available quality) into a wav that xfburn is content with?

Answer is this:

Code: Select all

$ ffmpeg -i original_file_at_48_kHz.webm -ar 44100 out_at_44_1_kHz.wav
Result:

Code: Select all

$ ffprobe -hide_banner 'out_at_44_1_kHz.wav'
Input #0, wav, from 'out_at_44_1_kHz.wav':
  Metadata:
    encoder         : Lavf58.76.100
  Duration: 01:03:39.41, bitrate: 1411 kb/s
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
and finally, finally my file is accepted into a burning program.


Thanks so much donald and Marcus Müller via https://unix.stackexchange.com :)

Now only a single question remains for the technical experts here: - you get a TL;DR version when you only read the bold and #BF80FF coloured text:
Due to my notebook overheating and I not yet managed to disassemble the mother board (sadly with my very model that is more complex, just opening it up and unscrewing the heat sink is not working since the heat sink is set on the other side of the main board when you opened it up already meaning I have to disassemble it much more than the usual notebook) I removed the internal keyboard and the internal DVD/CD/reader/burner for my notebook to be better ventilated - and that helps a lot heat-wise indeed.
The notebook works just fine with both removed (I removed both when it was off, of course, and I use an external keyboard all the time). But I doubt it would work when I hotplug the internal DVD/CD/reader/burner into the notebook when it is actually running.
Your thoughts on that?
Cheers!
Yours Rava

donald
Full of knowledge
Full of knowledge
Posts: 2073
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

[SOLVED] Creating audio CD using xfburn - missing decoder

Post#9 by donald » 04 Nov 2023, 20:03

Rava wrote:
04 Nov 2023, 05:30
^
Thanks, but it doesn't work for other reasons.
...if you feed it with wrong files.... :)

We talked about it in the other thread:
--> and yes, for a normal audio CD it has to be 44100 Hz <--
So what can the program do other than issue an error message.

Code: Select all

"[…].wav does not contain uncompressed PCM wav audio"

User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

[SOLVED] Creating audio CD using xfburn - missing decoder

Post#10 by Rava » 04 Nov 2023, 20:12

donald wrote:
04 Nov 2023, 20:03
So what can the program do other than issue an error message.
But unlike brasero xfburn is more verbose and clear on the reason.

But my version of xfburn was also rather unhelpful with its error of "plugin missing". But I have no clue if it was only about the plugin at that point, and after having the correct plugin then the error would have been the incorrect sample Hz.

What I do not get: why is xfburn not able to convert an existing .mp3 into the correct type of .wav by itself?

Who in their right mind would have collections of .wav files on their PCs instead of collections of mp3's, ogg/vorbis and/or aac's?
And what's wrong with some of these collections being 48kHz instead of 44.1kHz?
Cheers!
Yours Rava

donald
Full of knowledge
Full of knowledge
Posts: 2073
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

[SOLVED] Creating audio CD using xfburn - missing decoder

Post#11 by donald » 04 Nov 2023, 22:29

xfburn - mp3 - ogg
I compiled the gst-plugins-bad package (SBO) for my running system
and voila mp3 and ogg files are accepted in xfburn.
[ not all mp3 were accepted, at least the ones I made myself with
sane parameters (iso conform) do work properly.]

Look:
Image
I also burned the compilation onto a CD to check for errors -- nope,
all plays fine.


This is what I have now -- Note, on 14.2_x86 -- but it should give you a hint.

Code: Select all

guest@porteus:~$ ls /var/log/packages | grep gst
gst-plugins-bad-1.6.2-i486-2_SBo
gst-plugins-base-1.6.4-i586-1
gst-plugins-base0-0.10.36-i486-2
gst-plugins-good-1.6.4-i586-1
gst-plugins-good0-0.10.31-i586-2
gstreamer-1.6.4-i586-1
gstreamer0-0.10.36-i486-1
btw - there is also gst-plugins-ugly which I haven't checked yet (what they are good for)

User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

[SOLVED] Creating audio CD using xfburn - missing decoder

Post#12 by Rava » 04 Nov 2023, 22:36

donald wrote:
04 Nov 2023, 22:29
I compiled the gst-plugins-bad package (SBO) for my running system
and voila mp3 and ogg files are accepted in xfburn.
Does that mean using the pre-compiled x86-64 equivalents of the bad base good (and maybe also ugly) gst-plugins would not work, since they need to be compiled with mp3 and ogg/vorbis support?
Cheers!
Yours Rava

donald
Full of knowledge
Full of knowledge
Posts: 2073
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

[SOLVED] Creating audio CD using xfburn - missing decoder

Post#13 by donald » 04 Nov 2023, 22:45

I don't know. It was just the quickest way to get them.
-- python is needed at compile time.
I compiled only gst-plugins-bad / ugly - the others were already there.

User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

[SOLVED] Creating audio CD using xfburn - missing decoder

Post#14 by Rava » 04 Nov 2023, 22:49

donald wrote:
04 Nov 2023, 22:45
I don't know. It was just the quickest way to get them.
-- python is needed at compile time.
Okay, I try sometime the pre-compiled equivalents in x86-64 (P5.01) and see how that goes.

Added in 14 hours 22 minutes 19 seconds:
I rebooted (to try Porteux with the Nvdidia driver module; that failed, see here: PorteuX 0.7 has been released (post #35 by Rava) ) and after that switched off my notebook to re-install the DVD -R / RW drive. And booted up Porteus 5.0.1.

Burned the CDDA with 10x Speed and used Session-At-Once.
It only gave me the option of either Session-At-Once or Track-At-Once or automatic.
After a bit o DDGing I consulted https://unix.stackexchange.com/question ... ract#89733 and choose SAO.

And the CDDA sounds perfect as far as I can tell. :)
Last edited by Rava on 05 Nov 2023, 13:12, edited 1 time in total.
Cheers!
Yours Rava

Post Reply