Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.advocacy > #681231 > unrolled thread
| Started by | Farley Flud <ff@linux.rocks> |
|---|---|
| First post | 2024-12-25 15:37 +0000 |
| Last post | 2024-12-26 04:10 +0000 |
| Articles | 5 — 4 participants |
Back to article view | Back to comp.os.linux.advocacy
Need Help -- Audio Experts Farley Flud <ff@linux.rocks> - 2024-12-25 15:37 +0000
Re: Need Help -- Audio Experts Chris Ahlstrom <OFeem1987@teleworm.us> - 2024-12-25 10:53 -0500
Re: Need Help -- Audio Experts candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2024-12-25 16:20 +0000
Re: Need Help -- Audio Experts Farley Flud <fflud@gnu.rocks> - 2024-12-25 17:04 +0000
Re: Need Help -- Audio Experts candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2024-12-26 04:10 +0000
| From | Farley Flud <ff@linux.rocks> |
|---|---|
| Date | 2024-12-25 15:37 +0000 |
| Subject | Need Help -- Audio Experts |
| Message-ID | <pan$aa1fc$21961175$e8dc4fbc$6b336423@linux.rocks> |
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.
[toc] | [next] | [standalone]
| From | Chris Ahlstrom <OFeem1987@teleworm.us> |
|---|---|
| Date | 2024-12-25 10:53 -0500 |
| Message-ID | <vkh9pu$2ev5p$2@dont-email.me> |
| In reply to | #681231 |
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"
[toc] | [prev] | [next] | [standalone]
| From | candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> |
|---|---|
| Date | 2024-12-25 16:20 +0000 |
| Message-ID | <slrnvmobu0.6n1c.candycanearter07@candydeb.host.invalid> |
| In reply to | #681231 |
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
[toc] | [prev] | [next] | [standalone]
| From | Farley Flud <fflud@gnu.rocks> |
|---|---|
| Date | 2024-12-25 17:04 +0000 |
| Message-ID | <18147a52dc810fee$44724$2314$802601b3@news.usenetexpress.com> |
| In reply to | #681234 |
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
[toc] | [prev] | [next] | [standalone]
| From | candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> |
|---|---|
| Date | 2024-12-26 04:10 +0000 |
| Message-ID | <slrnvmpli8.o7ir.candycanearter07@candydeb.host.invalid> |
| In reply to | #681238 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.os.linux.advocacy
csiph-web