@vaporeon_ @aescling nothing. the program would just stop and only a fraction of the files were converted

@aescling @vaporeon_ this actually didn't work which I find infinitely baffling

@Satsuma seems I am on the same wavelength as you from a year ago

today at work I overheard a high schooler trying to explain the concept of blockbuster video to his very uninterested girlfriend

@SportsGoblin I opted out of my family fantasy league this year and then the day of the draft my younger sister had an expected errand and asked me to do her draft for her lol

@vaporeon_ It was some weird issue with WSL.

If you run bash from a windows terminal, it briefly opens a WSL instance to execute the command. For some reason this closed early

I used a WSL terminal directly instead of running bash from a windows terminal and it works just fine now

@vaporeon_ for some reason this will quit before finishing all of the files...

@vaporeon_ a little searching tells me that audio encoding is typically handled with a single thread

hey @vaporeon_ is there a good way to parallelize the following bash script I'm using to convert FLACs to MP3s?

#!/usr/bin/env bash

find "./${1}" | while read -r file; do
case $(file -b "${file}") in
'FLAC '*)
echo "${file}"
ffmpeg -nostdin -i "${file}" -ab 320k -map_metadata 0 -id3v2_version 3 "${file%flac}mp3" -v 16
;;
*)
;;
esac
done
Show older
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.