DVDs and Music Bees
from The GNU/Linux Diary
An excerpt from my my diary, from the 17th of February, 2024.
Today, I got a request from a family member to create a DVD, from several short videos of him playing on the guitar. I figure this shouldn’t be a big deal, but I was incorrect. Apparently, authoring DVDs is a giant pain in the ass—at least with the media I was given. All of these clips were in some strange AVI formatted video, which was massive, and didn’t even want to play properly in some media programs. I imagine the best course of action would be to just re-encode this mess, maybe into MP4 with ffmpeg, and just be done with it, especially as I wasn’t confident it’d fit on the DVD without modification. Okay, so let’s hop into the terminal and get ffmpeg installed. What’s even nicer about this, is it’s very easy to just open a terminal right in the directory, and modify my existing scripts. I probably should just make my batch files bash ones instead sometime, but whatever, it’s running! Nice and simple—or so I thought—as when I checked the converted output, the audio just became a wall of white noise.
Okay great, something must be wrong with the GNU/Linux installation...I guess? I try I few different encoding and re-encoding settings, they all fail the same way, I decide this isn’t my project anyway, and just boot back into Windows. I run ffmpeg again, it still fails miserably; honestly, that’s a huge relief. The files are just awful, thank god it’s not an OS related issue. This is where I find out some video programs fail to play it, and that Audacity imports the track as white noise too. Lovely, so how the heck will I be able to cut and convert this stuff into a proper format then? Strangely enough, it was Microsoft’s proprietary video clip tool that actually managed to do it, after messing with it a bit to make it think the entire video was a clip to convert. I have no idea why that worked, but oh well, at least I can use some free DVD authoring software. This isn’t really related to GNU/Linux any further, but let’s just say this was an absolute nightmare, and it took five burns to get a single usable configuration. It was like a balancing act of preserving re-encoding failures and successes, along with DVD commands which I guess weren’t added by default.
Okay, shows over, back to Pop!_OS, that’s the point of this, after all! Well actually, wait, since I’m here, now would be a great time to export my MusicBee ratings into a simple playlist format like .m3u. After that, I could look for a proper music app for my new system! I got my playlists ready, so it’s time to jump back in. Now I’m looking for something free and open source, something which has automatic playlists for ratings, the ability to rate music, and ideally has some customization features. Looking around online, it seems like the most popular one that fits this bill is Clementine. Oddly, they seemingly haven’t had an official release for several years, despite very recent active work in the GitHub repository. Not really sure what’s up with that, but I could grab some prerelease installation if necessary.
I do see a flatpak from not too long ago on the Pop shop, and figure that should be more than enough to evaluate if it will work for me. It can recognize my library no problem, though tag embedded ratings seem to differ from MusicBee, which is fine, as I could simply import the playlists...right? Well no, they just don’t function properly at all. This is a problem, .m3u files are pretty basic, it’s literally just directories isn’t it? I took some random album, saved an .m3u playlist in Clementine, and well—it’s a mess. There’s so much extra baggage saved here, which would make conversion unreasonable between what I have from MusicBee, and this. It’s a pretty big deal, and unfortunately a deal breaker, but I did see a fork of Clementine with far more recent releases from this month! It’s called Strawberry, and little did I know, it would actually bridge the gap I needed, saving the day.
Strawberry is similar as you might imagine; it feels a little nicer, and has some extra features, but otherwise I figured this might be pointless. My thought was maybe the .m3u playlists would differ, because the info preserved in Clementine was pretty needless. To my actual shock, the Hail Mary I wagered was dead on. The playlists here and from MusicBee are identical, aside from a single line at the top for external directories, #EXTM3U, which is trivial to append. Now we’re getting to business, so I alter the directories to match my new drives, import the playlist, and...there are broken entries. Thankfully, I pick up almost immediately what happened, but unfortunately there’s no automated way to resolve the conflict. The problem is that MusicBee isn’t case sensitive, while Strawberry is, so any song I updated capitalization for in the folder structure, never updated the data within MusicBee. This seems like a Strawberry oversight more than anything, but whatever, I can deal with this type of problem.
I pop open the native text editor, and get to work replacing capitalization for a number of songs, in literally every rating playlist. After deleting and importing a couple times, all of the errors are resolved, I can select all, and then set every single song’s rating to the correct value! Fantastic stuff, and then I can make auto playlists if I need to export the data in the future. It took a number of hours, but thousands of entries are all imported, meaning my local favorites and rated tracks are all ready to go now! This is extremely important, because it means I can now ditch my Windows music collection, and progress it entirely with free software utilizing GNU/Linux. I do have some issues to resolve, mainly revolving around other satellite tools and tagging, but at the very least, the biggest hurdle has been crossed! Also—added bonus—my FiiO hardware works better than it did before. It has special modes for higher res audio playbacks (e.g. 24bit / 96khz), which never worked in Windows, but are plug and play here. I found this out by listening to a recent album I got called Jet Flight, and seeing the green color I should when such audio is passed through the DAC.














