Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.advocacy > #681234
| From | candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> |
|---|---|
| Newsgroups | comp.os.linux.advocacy |
| Subject | Re: Need Help -- Audio Experts |
| Date | 2024-12-25 16:20 +0000 |
| Organization | the-candyden-of-code |
| Message-ID | <slrnvmobu0.6n1c.candycanearter07@candydeb.host.invalid> (permalink) |
| References | <pan$aa1fc$21961175$e8dc4fbc$6b336423@linux.rocks> |
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
Back to comp.os.linux.advocacy | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
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
csiph-web