The media in this post is not displayed to visitors. To view it, please go to the original post.

When you just lost many, many hours of work... irretrievable despite trying every fix... then you just say, "fuck it. I'll redo all the work, and do it even better this time. because that's who I am."

Unus Nemo reshared this.

in reply to Geo-Jigsaw 🌏 🖊️💡🎵 🎥 🍻

That's how I feel sometimes when I lose a post or a meme that I've been working hard on - and then start all over again and make it just as good - or even better - than the original version. Yeah, that's probably pretty trivial compared to whatever you were referring to (which is most likely real work). But still...

Unus Nemo reshared this.

in reply to Starcodecaser

@Starcodecaser

Mine was a Geo-Jigsaw episode. Somehow the project got corrupted. Audio all there, but scattered. After spending four or more hour with Chat Gee-Pity, I figured... record the whole damn thing over again, and put in all the sound effects again.

Lesson to me: always export an mp3 backup of the audio when you finish your work.

Bright side... I got more and more of a sense of how Chat Gee-Pity works.

Unus Nemo reshared this.

in reply to Unus Nemo

@unusnemo

Interesting... I know nothing about ogg/opus, but that's what K3b is set to when I burn CD mixes and whatnot. So I have to switch it to mp3.

I'm kindergarten level to understanding much computer stuff... though there are sporadic stuff I get to know well.

Unus Nemo reshared this.

in reply to Geo-Jigsaw 🌏 🖊️💡🎵 🎥 🍻

@Geo-Jigsaw 🌏 🖊️💡🎵 🎥 🍻


When burning a CD it will all be transcoded to native bit stream. When ripping a CD if you transcode to Ogg/opus you will save a lot of space. To do this with K3b:



Step 1: In a terminal (CLI)
sudo dnf install opus-tools

Step 2:
 Configure the External Encoder in K3bOpen K3b and go to Settings --> Configure K3b... --> Plugins.
Find K3b External Audio Encoder in the list, make sure it is checked, and click its Configure (wrench/screwdriver) icon.
   Click Add... to define a new encoder profile:
   Encoder name: Opus
   Extension: opus
   Command: opusenc --bitrate 160 --artist %a --album %m --title %t --tracknumber %n - %f
   Click OK / Apply.
   
Step 3:  Rip to Opus
When you insert an Audio CD and click Start Ripping:
Under the Settings tab, open the File type dropdown.
Select Opus (External Audio Encoder).
Adjust your destination folder and metadata naming pattern as usual, then start the rip.

Unus Nemo

in reply to Geo-Jigsaw 🌏 🖊️💡🎵 🎥 🍻

@Geo-Jigsaw 🌏 🖊️💡🎵 🎥 🍻


This is the script I use, it requires cdparanoia and opus-tools to work. I may have added a few comments for your benefit. ;-)


#!/usr/bin/env bash

# Name this file cd_rip with no file extension
# Then chmod +x cd_rip make sure to put it in a directory that is in your
# default path such as $HOME/bin which your shell startup files
# will usually put in the path if it exist, if it does not
# mkdir -p ~/bin will create it.
set -euo pipefail

# Default device and target output directory
DRIVE="${1:-/dev/sr0}"
OUTPUT_DIR="${2:-./cd_rip_$(date +%Y%m%d_%H%M%S)}"
BITRATE="160"
READ_SPEED="24"

# Dependencies check
for cmd in cdparanoia opusenc; do
    if ! command -v "$cmd" &>/dev/null; then
        echo "[-] Error: Required utility '$cmd' not found." >&2
        exit 1
    fi
done

echo "[*] Target Optical Drive: $DRIVE"
echo "[*] Destination Folder:   $OUTPUT_DIR"
mkdir -p "$OUTPUT_DIR"
cd "$OUTPUT_DIR"

echo "[*] Initiating high-speed batch extraction (-Z -S $READ_SPEED)..."
if cdparanoia -d "$DRIVE" -Z -S "$READ_SPEED" -B; then
    echo "[+] Raw extraction successful."
else
    echo "[-] Error: Extraction failed or interrupted." >&2
    exit 2
fi

# Locate generated WAV files
shopt -s nullglob
wav_files=( *.wav )
shopt -u nullglob

if [ ${#wav_files[@]} -eq 0 ]; then
    echo "[-] Error: No WAV files detected in $OUTPUT_DIR" >&2
    exit 3
fi

echo "[*] Found ${#wav_files[@]} tracks. Transcoding to Opus (${BITRATE} kbps VBR) in parallel..."

# Parallel transcode using available CPU threads
printf "%s\0" "${wav_files[@]}" | xargs -0 -P "$(nproc)" -I {} bash -c '
    src="$1"
    dst="${src%.wav}.opus"
    echo "    -> Encoding: $src to $dst"
    opusenc --quiet --bitrate 160 "$src" "$dst"
' _ {}

echo "[*] Cleaning up scratch WAV files..."
rm -f *.wav

# Eject the disc tray
eject "$DRIVE" 2>/dev/null || true

echo "[+] Complete! Encoded ${#wav_files[@]} tracks to Opus in $OUTPUT_DIR"

Unus Nemo

⇧