The Traders' Den  

  The Traders' Den > Where we go to learn ..... > Technobabble
 

Technobabble Post your general Need for Help questions here.
• Lossy or Lossless?
Moderators

Reply
 
Thread Tools
  #1  
Old 2026-10-25, 01:17 PM
Rattlehead80 Rattlehead80 is offline
5.67 TB/24.75 TB/4.37
 
Join Date: Jul 2021
Bootleg Toolbox - I need testers

Hello,

I've been working on a tool similar to what Trader's Little Helper does, with a few differences.

For starters, let me say that TLH is a fantastic tool. I've been using it for 10 years, and the fact that it has stood the test of time for so long and is still a reference says a lot.

However, I wanted a tool that:
  • works on Windows and Linux;
  • is fully open source;
  • has some features that I thought were useful.

Mostly, I've built it for my own use, so it may not be for everyone, but I intend to maintain it and will take all criticism and advice to implement or modify whatever needs to be.

Right now, I'm looking for testers.

One file, nothing to install. A single executable for Windows and Linux. No flac, shntool, ffmpeg or LAME needed: every decoder and encoder is built in. It gives exactly the same results on both systems.


Download: https://github.com/bootleg-toolbox-g...eleases/latest
  • Windows: run bootleg-toolbox-windows-x86_64.exe. It is not code-signed yet (the application to the SignPath Foundation is in progress), so SmartScreen will warn you on first launch: click "More info", then "Run anyway". If in doubt, run it through VirusTotal, or don't download it at all: the code is fully auditable on GitHub.
  • Linux: make bootleg-toolbox-linux-x86_64 executable (chmod +x) and run it. Help > Add to the applications menu adds it to your menu.

Each release lists the SHA-256 checksums of both files. The executables are built by GitHub from the published code; check it with:
Code:
gh attestation verify <file> --repo bootleg-toolbox-group/bootleg-toolbox
Check
  • Details (F8): format, bits, sample rate, length and embedded MD5 of each file; flags SBEs, a missing MD5 or an empty file.
  • Verify checksums (F5): .ffp, .st5, .md5 and .sfv, including files made on Windows.
  • Decode test (F7): decodes every file in full and names the damaged or truncated ones.
  • Check against torrent: piece by piece; names the damaged, missing or extra files.

Analyse
  • Lossless? (Ctrl+L): tells whether a recording really comes from a lossless source, on every format. Detects FM broadcasts, upsampling, fake 24-bit (even after a level change), lossyWAV and lossy upstream sources, and the rounding pattern MP3, AAC and Opus encoders leave in the audio, which catches transcodes even at 320 kbps and YouTube rips. A lowpass hidden under noise-shaped dither is caught too. Every verdict comes with its measurements and reasoning, and the report of a track shows its spectrogram with the detected lowpass. The full AAC and Opus search is slower and off by default; it runs anyway on the doubtful files. (Beta: I keep testing it against more real shows. On 249 commercial CD tracks it gives no false alarm.)
  • Speed? (Ctrl+P): tells whether a tape runs fast or slow, from the FM pilot tone, the tuning against A440 and the mains hum, and gives the correction, with a dial in the report. (Beta.)
  • Spectrogram (F9): to copy or save as PNG.
  • Media info (Ctrl+I): a copyable summary of a show, a DVD or a concert video (PAL/NTSC, bit rates, audio tracks lossless or lossy).


Create and share
  • Create checksums (F6): .ffp and .st5, plus optional .md5 and .sfv.
  • Copy the FFP (rebuilt if missing) or the info file to the clipboard, for upload forms.
  • Torrents: one per tracker (DIME, TTD, any tracker you add), each with its own source field, so you can seed everywhere. Optionally, the show's .ffp and info file open once the torrent is made, ready to paste into your upload.
  • Share card: a 1200 x 630 picture of a show to post on a forum or a tracker: artist, date, venue, source, length, its spectrogram and the checks you ran on it (checksums verified, decodes cleanly, Lossless?, Speed?, SBE), plus a "Tagged" badge. A check you didn't run is left out, never shown as passed. It is saved inside the show folder, so it goes along with the show into its torrent.
  • Setlists from setlist.fm, with your own API key.


Convert, fix and tag
  • To FLAC (levels 0–8): every file decoded again and verified before it is kept; then you choose whether to move the originals and old checksums to the trash and create the new FFP. Lossy files are never converted to FLAC.
  • 32-bit float WAV: bit-exact to FLAC when possible, otherwise rounded to 24-bit only with your consent.
  • To WAV, and gapless MP3 copies (320 or V0) with tags, artwork and text files, in a separate folder that keeps the disc structure.
  • Fix SBE: same audio as shntool, in a separate folder; the normal SBE on the last track is reported apart.
  • Clean WAV headers: copies in a separate folder, audio checked by MD5.
  • Tag and rename from the info file: artist, date, place and titles read from the .txt, checked by you before anything is written; one show or a whole collection at once; renaming as "01 - Title", "d1t01 - Title" or eTree style. Audio untouched (FFP and ST5 stay valid), .md5 and .sfv updated, undo for 30 days.
  • Extract audio from DVDs and concert videos (MKV, MP4): lossless tracks become a FLAC checked bit for bit, lossy ones are saved as their original stream, never re-encoded.

Formats
  • Read and checked: FLAC, WAV (8 to 32-bit, and 32/64-bit float), AIFF, SHN, APE (3.95 and later), WavPack, ALAC and AAC (M4A), MP3, MP2, Ogg (FLAC, Vorbis), MKA, and the audio of MP4 and MKV videos.
  • Written: FLAC, WAV and MP3.
  • DVDs (VIDEO_TS): each title listed with its audio tracks, lossless or lossy.
  • MP3, MP2, AAC and Vorbis are always flagged as lossy.

Comfort
  • Light or dark theme with a choice of accent colours, always on top, compact view, choice of columns.
  • Badges for the verdicts and the source of each show (SBD, AUD, FM, DAT..., read from the folder name and the info file); a waveform of each analysed track.
  • Multi-disc shows get a row per disc; click it to select just that disc.
  • The status bar counts the results and filters on them: click "3 errors" to see only those files.
  • Progress follows the audio actually processed, with the time left; a notification, or a banner for long tasks, tells you when it's done.
  • Drag and drop of folders, files, .torrent files or DVDs; hold Ctrl to add to the list.
  • Disc folders recognised (CD1, Set 2, A/B, Side A, Tape 1...).
  • Unicode file names. Every CPU core used, the largest files first, at low priority so your computer stays usable.
  • Damaged files are reported as unreadable instead of crashing the program.
  • Right-click entry in Explorer, Dolphin, Nautilus and Nemo; command line for every operation; built-in help (F1).

Safe by design
  • Originals never modified, except by Tag and rename (tags and names only, after you've checked them, and undoable).
  • No half-written file if a task is stopped.
  • No network access unless you ask: the update check is off by default, setlist.fm is only queried on request.

Documentation and screenshots: https://github.com/bootleg-toolbox-g...g-toolbox/wiki

Bug reports, odd files and features you miss are all welcome, here or as an issue on GitHub.

Happy trading!
Rattlehead80


Last edited by Rattlehead80; 2026-11-09 at 09:51 PM. Reason: update
Reply With Quote Reply with Nested Quotes
  #2  
Old 2026-10-26, 03:39 AM
pawel's Avatar
pawel pawel is offline
Lockout here
596.69 GB/872.66 GB/1.46
 
Join Date: Dec 2004
Location: Poland
Re: Bootleg Toolbox - I need testers

Looks and (seems) that works petty well. Thanks!

BUT ;-) it imo misses two codecs, taking into account that you like to handle lossy formats (mp2, mp3) as well. Do you plan to support:
1. aac (at least LC), and m4 - both lossy and lossless?
2. mkv and mka with i.e. ac3, mp2?
Reply With Quote Reply with Nested Quotes
  #3  
Old 2026-10-26, 05:42 AM
Rattlehead80 Rattlehead80 is offline
5.67 TB/24.75 TB/4.37
 
Join Date: Jul 2021
Re: Bootleg Toolbox - I need testers

Thanks for testing, and good point!

1. AAC (LC) and M4A, both lossy (AAC) and lossless (ALAC): yes, planned for the next version. The decoder I use already supports them, so it is mostly a matter of wiring them in: details, decode test, spectrograms, media info, and for ALAC conversion to FLAC and the Lossless check.

2. MKV/MKA: yes for the container, with the codecs above plus MP2, MP3, FLAC and PCM. AC-3 is the hard part: there is no AC-3 decoder in pure Rust yet, and the program must stay one file with no external tools. As a first step AC-3 tracks will show in media info and can be extracted as they are (.ac3, no loss); full decoding (spectrogram, analysis) may come later.
Reply With Quote Reply with Nested Quotes
  #4  
Old 2026-10-29, 08:45 AM
Rattlehead80 Rattlehead80 is offline
5.67 TB/24.75 TB/4.37
 
Join Date: Jul 2021
Re: Bootleg Toolbox - I need testers

Update: Bootleg Toolbox 0.1.9 is out

Thanks to everyone who gave it a try. Here's what's new since my first post:

New features
  • Tag and rename from the info file: the artist, date, place and titles are read from the show's text file (numbered or plain tracklists, discs and sets, "Artist:" fields) and shown in a window where you check and correct everything before anything is written. The FLAC files are then tagged, and can be renamed ("01 - Title", "d1t01 - Title" or eTree style). The audio is never touched, so the FFP and ST5 stay valid; the .md5 and .sfv are updated, and new names are carried into every checksum file. It opens in its own window, which you can make as large as you like, even beyond the main window. If some files are read-only (still locked by a torrent client, for instance), nothing at all is changed and you're told which files to unlock: you never end up with files renamed but not tagged. You'll find it in Convert, in Tools or on right-click.
  • More formats: AAC and ALAC in M4A files, and the MKA container (AAC, FLAC, MP2, MP3 or PCM inside). Old Monkey's Audio files (versions 3.95 to 3.98), which were refused before, now decode.

Lossless? got much sharper
  • MP3 and AAC transcode detection: it now looks for the rounding pattern that MP3 and AAC encoders leave in the audio. That catches MP3 and AAC transcodes even at 320 kbps, where the spectrum looks perfectly fine. The AAC check is slower, so it's an option in Settings, off by default.
  • lossyWAV and fake 24-bit: it also detects lossyWAV files and fake 24-bit files made from 16-bit audio after a level change.
  • About 30 % faster: the MP3/AAC checks run about 30 % faster than in the first versions, with exactly the same results.

Reliability
  • Hardened file readers: every file reader has been stress-tested with a large amount of corrupted or deliberately malformed files. That turned up a few files that could freeze the program, make it hang for hours or close it. All of them are fixed: a broken file is now reported as unreadable, and the rest of the task carries on.
  • File pickers in front: with "Always on top" on, the file pickers (Add folder, Add files, Save...) were opening behind the main window. They now open in front.

Trust and transparency
  • Verifiable builds: you can now check that the executables were built by GitHub from the published code:
    Code:
    gh attestation verify <file> --repo bootleg-toolbox-group/bootleg-toolbox
  • Library list and licences: each executable carries the list of the libraries it was built with, and the THIRD-PARTY file now includes every licence text.
  • Private security reports: security issues can be reported privately on GitHub (see SECURITY.md).

Download: https://github.com/bootleg-toolbox-g...eleases/latest


Coming next: bulk tagging shows. Right now, you can only pick one show at a time to tag it and rename its files.
Bulk tagging a bunch of shows is in preparation, along with a choice where you can either rename the files, tag the files, or both.
As before, all feedback is welcome, especially on Lossless? and on the new tagging window.
Reply With Quote Reply with Nested Quotes
  #5  
Old 2026-10-31, 10:50 AM
Rattlehead80 Rattlehead80 is offline
5.67 TB/24.75 TB/4.37
 
Join Date: Jul 2021
Re: Bootleg Toolbox - I need testers

Bootleg Toolbox 0.1.10 — what's new since 0.1.9

Videos and DVDs
  • MP4 videos: the audio track is read and analysed like an audio file. A bonus video sitting next to other audio files is ignored.
  • DVDs in the list: a VIDEO_TS folder adds one row per title. Each audio track is marked lossless (LPCM) or lossy (AC-3, DTS, MPEG).
  • Media info for DVDs: video, audio tracks, subtitles, titles and chapters. Dropping a DVD folder opens this summary straight away.
  • Extract DVD audio: the track you pick, gathered from every VOB of a title, becomes a single file.
    • LPCM becomes a FLAC that is bit-identical to the original (checked against ffmpeg in 16 and 24 bits, stereo and 6 channels).
    • AC-3, DTS or MPEG is saved as the original stream, with no re-encoding.

Setlists
  • Setlists from setlist.fm, with your own API key. The setlist is saved in the show's folder, and there is a setlist command on the command line.

Tag and rename
  • Works on several shows at once.
  • Can write the tags, rename the files, or both. The show name is taken from the parent folder when that folder is the show.
  • Better reading of info files:
    • several tracks on the same line;
    • titles taken from file names;
    • titles in Title Case;
    • venue cleaned of words that describe the format.
  • Flags dates that are not written YYYY-MM-DD, and checksum lines that were already wrong.
  • Undo tagging: reverts the last Tag and rename operation, on every show it touched. Available in Tools and as the undo-tagging command. The latest operation now comes first even when two operations happened within the same second.

Lossless?
  • New verdict, "Likely lossless": little treble, but no sharp cutoff and no trace of MP3 encoding.
  • A few loud clicks no longer hide the cutoff left by an encoder.

Fixes
  • The interface no longer freezes after "Show Desktop" (NVIDIA under XWayland): vertical sync is now turned off.
  • APE decoder: a valid 16-bit file made debug builds crash. The calculation now follows the reference decoder.
  • Fixes from code review and fuzz testing.
  • The Tag and rename documentation has been completed.

Download: https://github.com/bootleg-toolbox-g...eleases/latest

Thanks to everyone who sent feedback. Keep the bug reports and odd files coming!

Last edited by Rattlehead80; 2026-10-31 at 11:05 AM.
Reply With Quote Reply with Nested Quotes
  #6  
Old 2026-10-31, 11:05 AM
Rattlehead80 Rattlehead80 is offline
5.67 TB/24.75 TB/4.37
 
Join Date: Jul 2021
Re: Bootleg Toolbox - I need testers

Bootleg Toolbox 1.0.11 — what's new since 0.1.10

New formats
  • AIFF and AIFF-C (.aif, .aiff, .aifc): recognised as lossless. Lossless?, Speed?, Decode test, ST5, spectrograms and To FLAC work just as they do for WAV. The decoded audio is bit-identical to ffmpeg's.
  • Ogg (.ogg, .oga):
    • FLAC in Ogg is treated as lossless and can be converted to FLAC;
    • Vorbis is flagged as lossy and never converted to FLAC;
    • tags are carried over;
    • Opus gives a clear message ("Opus audio is not supported yet").

Readability
  • The Result column wraps when the window is narrow, instead of cutting the text off.
  • The log wraps too, and stays smooth even with lots of lines.
  • The Convert menu is shorter: FLAC levels 0 to 8 fit on a single line, with a tooltip.
  • The welcome text scrolls when space runs out, and the status bar wraps.
  • Plurals are right everywhere ("1 line", "1 track", "4 shows, 14 files").

Fixes and wording
  • Show length: a FLAC and a WAV of the same track are no longer counted twice (it used to show 3h15 instead of 1h37).
  • Clean WAV: the cleaned copy is now listed as "WAV-cleaned: <show>", so it can't be mistaken for the original.
  • Speed?: "1 track" instead of "median of 1 tracks", no more "speed speed", and "A = 440 Hz" properly capitalised.
  • Lossless?: when there are no MP3 or AAC traces, the report now says "none (1.9 % of the bands, within the normal range)" instead of a misleading "4 standard deviations above chance".
  • DVD: the audio extraction lines are shorter and clearer ("lossless (LPCM): extracts to FLAC without any loss").

Download: https://github.com/bootleg-toolbox-g...eleases/latest

Thanks to everyone who sent feedback. Keep the bug reports and odd files coming!
Reply With Quote Reply with Nested Quotes
  #7  
Old 2026-11-09, 09:43 PM
Rattlehead80 Rattlehead80 is offline
5.67 TB/24.75 TB/4.37
 
Join Date: Jul 2021
Re: Bootleg Toolbox - I need testers

Update: Bootleg Toolbox 0.1.14 is out

Three releases since my last post (0.1.11): a complete new look, faster analyses and a Lossless? that now catches YouTube rips. Here's what's new:

A new look
  • A lighter, warmer interface with coloured badges for the verdicts, the source (SBD, AUD, FM, DAT... read from the folder name and the info file), Speed? and SBE.
  • Multi-disc shows get a row per disc: click a disc row to select just its files.
  • A Wave column shows a small waveform of each track once it has been analysed.
  • The Lossless? report of a single file now shows its spectrogram with the detected lowpass drawn on it, and Speed? shows a dial with the measured speed error.
  • Progress follows the amount of audio actually processed, with "X of Y of audio" and "about N min left" in the status bar.
  • The status bar counters are filters: click "3 errors" to see only those files. A short notification tells you when a task is done, or a banner if it ran for more than a minute.
  • Accent colours (Amber, Teal, Indigo, Burgundy) in Settings, and a compact view.

Share cards
  • Right-click a show > Share card... makes a 1200 x 630 PNG to post on a forum or a tracker: artist, date, venue, source, length, its spectrogram and the checks you ran on it in this session (checksums verified, decodes cleanly, Lossless?, Speed?, SBE).
  • A "Tagged" badge appears when every track is a FLAC with its artist, title and track number.
  • The card is saved inside the show folder, so it goes along with the show if you make the torrent afterwards.

Lossless? catches more
  • YouTube rips: Opus leaves traces in the audio, just as MP3 and AAC do, and they are now looked for, even in tracks cut out of a 44.1 kHz conversion. "Lossy? (Opus)" also flags Opus's intensity stereo.
  • A lowpass hidden under noise-shaped dither (an AAC or Opus file decoded and turned into 16-bit with shaped dither) no longer passes for lossless.
  • The AAC check, still an option because it is slow, now runs anyway on the doubtful files ("Lossy?", "Unsure", "15 kHz lowpass").
  • None of this changed a single verdict on 249 commercial CDs, nor on the lossless shows of my test sets.

Faster
  • Lossless? is more than twice as fast on a typical batch, with exactly the same results to the bit. The largest files go first, and the analyses run at low priority, so your computer stays usable while they work.

Videos
  • MKV concert videos are read like MP4 ones, and Extract audio now works on DVD titles, MKV and MP4: lossless tracks become a checked FLAC, lossy ones are saved as their original stream (no re-encoding).
  • Media info lists every track of a video (codec, language, picture size).

Smaller things
  • Option: after making a torrent, open the show's .ffp and info file, ready to paste into your upload.
  • Fixed: Tag and rename on Windows didn't update the checksum lines of files in sub-folders ("CD1/01.flac").
  • Fixed: long menus cut off on small windows, and a few icons missing.
  • Fixed: the status bar no longer gets squeezed when a long task runs on many shows.

Download: https://github.com/bootleg-toolbox-g...eleases/latest
Screenshots and help: https://github.com/bootleg-toolbox-g...g-toolbox/wiki

As always, feedback is welcome, especially if you have YouTube or other web rips that Lossless? calls lossless, or a lossless show it flags for no good reason.
Reply With Quote Reply with Nested Quotes
Reply

The Traders' Den > Where we go to learn ..... > Technobabble

Similar Threads
Thread Forum Replies Last Post
Bootleg art - how do you use it? - Karst Covers 0 2013-08-06 11:35 AM
cd bootleg - inside'eye Technobabble 11 2007-11-24 06:52 PM
Audiophilia - The shntool frontend, v0.0.1 released, alpha testers needed - RainDawg Technobabble 88 2005-08-12 01:56 AM


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forums


All times are GMT -5. The time now is 08:11 PM.


Powered by: vBulletin, Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright ©2004 - , TheTradersDen.org - All Rights Reserved - Hosted at QuickPacket