Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Look afar and see the end from the beginning.


comp / comp.os.linux.advocacy / Need Help -- Audio Experts

SubjectAuthor
* Need Help -- Audio ExpertsFarley Flud
+- Re: Need Help -- Audio ExpertsChris Ahlstrom
`* Re: Need Help -- Audio Expertscandycanearter07
 `* Re: Need Help -- Audio ExpertsFarley Flud
  `- Re: Need Help -- Audio Expertscandycanearter07

1
Subject: Need Help -- Audio Experts
From: Farley Flud
Newsgroups: comp.os.linux.advocacy
Organization: UsenetExpress - www.usenetexpress.com
Date: Wed, 25 Dec 2024 15:37 UTC
From: ff@linux.rocks (Farley Flud)
Subject: Need Help -- Audio Experts
Newsgroups: comp.os.linux.advocacy
Mime-Version: 1.0
Message-Id: <pan$aa1fc$21961175$e8dc4fbc$6b336423@linux.rocks>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 53
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!news.usenetexpress.com!not-for-mail
Date: Wed, 25 Dec 2024 15:37:36 +0000
Nntp-Posting-Date: Wed, 25 Dec 2024 15:37:36 +0000
X-Received-Bytes: 1587
Organization: UsenetExpress - www.usenetexpress.com
X-Complaints-To: abuse@usenetexpress.com
View all headers

Music is available on YouTube (???) but it is containerized in a video
format.

Fortunately, with GNU/Linux, it is easy to extract.

First, determine the audio format:

ffprobe file.xxx

Usually, this will be AAC or OPUS.

Second, do the extraction:

ffmpeg -i file.xxx -acodec copy file.(opus/aac)

So far, so good. But how can we now play the audio?

If the file is OPUS just do:

opusdec file.opus --force-wav - | aplay

Beautiful!

If the file is AAC then do:

faad -w file.aac | aplay

However this does NOT work, although according to the docs
it should.

The stdout of faad is fucked. Most likely it is a serious bug.

This DOES work:

ffmpeg -i file.aac -f wav pipe:1 | aplay

(I omit the WAV file analysis of the two different commands.)

Can anyone confirm that the "faad -w" command is FUBAR?

If I get confirmation then I will report the bug.

Note that this DOES work:

faad -o file.wav file.acc && aplay file.wav

Only in the stdout case (-w) is the WAV file maligned.

Note: I don't want to hear any "Duh, just use VLC man" responses.

--
Systemd: solving all the problems that you never knew you had.

Subject: Re: Need Help -- Audio Experts
From: Chris Ahlstrom
Newsgroups: comp.os.linux.advocacy
Organization: None
Date: Wed, 25 Dec 2024 15:53 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: OFeem1987@teleworm.us (Chris Ahlstrom)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Need Help -- Audio Experts
Date: Wed, 25 Dec 2024 10:53:32 -0500
Organization: None
Lines: 66
Message-ID: <vkh9pu$2ev5p$2@dont-email.me>
References: <pan$aa1fc$21961175$e8dc4fbc$6b336423@linux.rocks>
Reply-To: OFeem1987@teleworm.us
Injection-Date: Wed, 25 Dec 2024 16:53:35 +0100 (CET)
Injection-Info: dont-email.me; posting-host="6f7bf0e9fbd6329a47e2bbf20f4a2d39";
logging-data="2587833"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/O5poDvwdmUFpSSiiRnPh2"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:LWshkNXq8itJtarLzEF9Azm33XU=
X-Slrn: Why use anything else?
X-Mutt: The most widely-used MUA
X-User-Agent: Microsoft Outl00k, Usenet K00k Editions
X-Face: 63n<76,LYJQ2m#'5YL#.T95xqyPiG`ffIP70tN+j"(&@6(4l\7uL)2+/-r0)/9SjZ`qw=
Njn mr93Xrerx}aQG-Ap5IHn"xe;`5:pp"$RH>Kx_ngWw%c\+6qSg!q"41n2[.N/;Pu6q8?+Poz~e
A9? $6_R7cm.l!s8]yfv7x+-FYQ|/k
View all headers

Farley Flud wrote this post while blinking in Morse code:

> Music is available on YouTube (???) but it is containerized in a video
> format.
>
> Fortunately, with GNU/Linux, it is easy to extract.
> First, determine the audio format:
>
> ffprobe file.xxx
>
> Usually, this will be AAC or OPUS.
> Second, do the extraction:
>
> ffmpeg -i file.xxx -acodec copy file.(opus/aac)
>
> So far, so good. But how can we now play the audio?
> If the file is OPUS just do:
>
> opusdec file.opus --force-wav - | aplay
>
> Beautiful!
> If the file is AAC then do:
>
> faad -w file.aac | aplay
>
> However this does NOT work, although according to the docs
> it should.
> The stdout of faad is fucked. Most likely it is a serious bug.
> This DOES work:
>
> ffmpeg -i file.aac -f wav pipe:1 | aplay
>
> (I omit the WAV file analysis of the two different commands.)
> Can anyone confirm that the "faad -w" command is FUBAR?
> If I get confirmation then I will report the bug.
> Note that this DOES work:
>
> faad -o file.wav file.acc && aplay file.wav
>
> Only in the stdout case (-w) is the WAV file maligned.
> Note: I don't want to hear any "Duh, just use VLC man" responses.

Do your own homework, kid :-D

--
Picking up the pieces of my sweet shattered dream,
I wonder how the old folks are tonight,
Her name was Ann, and I'll be damned if I recall her face,
She left me not knowing what to do.
Carefree Highway, let me slip away on you,
Carefree Highway, you seen better days,
The morning after blues, from my head down to my shoes,
Carefree Highway, let me slip away, slip away, on you...
Turning back the pages to the times I love best,
I wonder if she'll ever do the same,
Now the thing that I call livin' is just bein' satisfied,
With knowing I got noone left to blame.
Carefree Highway, I got to see you, my old flame...
Searching through the fragments of my dream shattered sleep,
I wonder if the years have closed her mind,
I guess it must be wanderlust or tryin' to get free,
From the good old faithful feelin' we once knew.
-- Gordon Lightfoot, "Carefree Highway"

Subject: Re: Need Help -- Audio Experts
From: candycanearter07
Newsgroups: comp.os.linux.advocacy
Organization: the-candyden-of-code
Date: Wed, 25 Dec 2024 16:20 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: candycanearter07@candycanearter07.nomail.afraid (candycanearter07)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Need Help -- Audio Experts
Date: Wed, 25 Dec 2024 16:20:03 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 57
Message-ID: <slrnvmobu0.6n1c.candycanearter07@candydeb.host.invalid>
References: <pan$aa1fc$21961175$e8dc4fbc$6b336423@linux.rocks>
Injection-Date: Wed, 25 Dec 2024 17:20:04 +0100 (CET)
Injection-Info: dont-email.me; posting-host="44517e9e7eec9b7ed0131131f3836f21";
logging-data="2599789"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18YGEe575Ca7krXmF/8v66p3rJL/On/xeAEh6K4hZ1niA=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:mWGZghuH3TjrDhHGges354j76uo=
X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]%
b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx
`~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e
ZrQsWJ >|l^I_[pbsIqwoz.WGA]<D
View all headers

Farley Flud <ff@linux.rocks> wrote at 15:37 this Wednesday (GMT):
> Music is available on YouTube (???) but it is containerized in a video
> format.
>
> Fortunately, with GNU/Linux, it is easy to extract.
>
> First, determine the audio format:
>
> ffprobe file.xxx
>
> Usually, this will be AAC or OPUS.
>
> Second, do the extraction:
>
> ffmpeg -i file.xxx -acodec copy file.(opus/aac)
>
> So far, so good. But how can we now play the audio?
>
> If the file is OPUS just do:
>
> opusdec file.opus --force-wav - | aplay
>
> Beautiful!
>
> If the file is AAC then do:
>
> faad -w file.aac | aplay
>
> However this does NOT work, although according to the docs
> it should.
>
> The stdout of faad is fucked. Most likely it is a serious bug.
>
> This DOES work:
>
> ffmpeg -i file.aac -f wav pipe:1 | aplay
>
> (I omit the WAV file analysis of the two different commands.)
>
> Can anyone confirm that the "faad -w" command is FUBAR?
>
> If I get confirmation then I will report the bug.
>
> Note that this DOES work:
>
> faad -o file.wav file.acc && aplay file.wav
>
> Only in the stdout case (-w) is the WAV file maligned.
>
> Note: I don't want to hear any "Duh, just use VLC man" responses.

If you want a command line media player, mpv is also pretty good.
If you're stubborn about keeping wav, you can also use yt-dlp with the
--extract-audio and --audio-format wav flags.
--
user <candycane> is generated from /dev/urandom

Subject: Re: Need Help -- Audio Experts
From: Farley Flud
Newsgroups: comp.os.linux.advocacy
Organization: UsenetExpress - www.usenetexpress.com
Date: Wed, 25 Dec 2024 17:04 UTC
References: 1 2
From: fflud@gnu.rocks (Farley Flud)
Subject: Re: Need Help -- Audio Experts
Newsgroups: comp.os.linux.advocacy
References: <pan$aa1fc$21961175$e8dc4fbc$6b336423@linux.rocks> <slrnvmobu0.6n1c.candycanearter07@candydeb.host.invalid>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 18
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.quux.org!weretis.net!feeder9.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!news.usenetexpress.com!not-for-mail
Date: Wed, 25 Dec 2024 17:04:12 +0000
Nntp-Posting-Date: Wed, 25 Dec 2024 17:04:12 +0000
X-Received-Bytes: 994
Organization: UsenetExpress - www.usenetexpress.com
X-Complaints-To: abuse@usenetexpress.com
Message-Id: <18147a52dc810fee$44724$2314$802601b3@news.usenetexpress.com>
View all headers

On Wed, 25 Dec 2024 16:20:03 -0000 (UTC), candycanearter07 wrote:

>
> If you want a command line media player, mpv is also pretty good.
> If you're stubborn about keeping wav, you can also use yt-dlp with the
> --extract-audio and --audio-format wav flags.
>

I did not ask for advice on how to create WAV files.

I specifically asked for a confirmation that "faad -w" produces corrupt
wave files.

Sheesh! What can one expect from distro lackeys!?!?

--
Gentoo: The Fastest GNU/Linux Hands Down

Subject: Re: Need Help -- Audio Experts
From: candycanearter07
Newsgroups: comp.os.linux.advocacy
Organization: the-candyden-of-code
Date: Thu, 26 Dec 2024 04:10 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: candycanearter07@candycanearter07.nomail.afraid (candycanearter07)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Need Help -- Audio Experts
Date: Thu, 26 Dec 2024 04:10:03 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 20
Message-ID: <slrnvmpli8.o7ir.candycanearter07@candydeb.host.invalid>
References: <pan$aa1fc$21961175$e8dc4fbc$6b336423@linux.rocks>
<slrnvmobu0.6n1c.candycanearter07@candydeb.host.invalid>
<18147a52dc810fee$44724$2314$802601b3@news.usenetexpress.com>
Injection-Date: Thu, 26 Dec 2024 05:10:03 +0100 (CET)
Injection-Info: dont-email.me; posting-host="c44ed5dd633e5cc419315748725c04e3";
logging-data="2956161"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18W1hv6xAfL73NmH4GdHjzgDJ/lQ0FAzpmleOfGFxG2Cg=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:7tAnk6NC4Ug247BDGhLiagMZyy4=
X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]%
b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx
`~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e
ZrQsWJ >|l^I_[pbsIqwoz.WGA]<D
View all headers

Farley Flud <fflud@gnu.rocks> wrote at 17:04 this Wednesday (GMT):
> On Wed, 25 Dec 2024 16:20:03 -0000 (UTC), candycanearter07 wrote:
>
>>
>> If you want a command line media player, mpv is also pretty good.
>> If you're stubborn about keeping wav, you can also use yt-dlp with the
>> --extract-audio and --audio-format wav flags.
>>
>
> I did not ask for advice on how to create WAV files.
>
> I specifically asked for a confirmation that "faad -w" produces corrupt
> wave files.
>
> Sheesh! What can one expect from distro lackeys!?!?

Oh, sorry.. maybe you could use ffmpeg instead?
--
user <candycane> is generated from /dev/urandom

1

rocksolid light 0.9.8
clearnet tor