this post was submitted on 04 Nov 2023
30 points (81.2% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54577 readers
189 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

I downloaded a "Linux ISO" which came as a series of *.opus files. My iPhone doesn't recognize them, so I was wondering if you guys might recommend a program to convert them to *.mp3 files.

Ideally a mac or linux based program with a gui. Any suggestions?

top 23 comments
sorted by: hot top controversial new old
[–] [email protected] 39 points 1 year ago (2 children)

I downloaded a "Linux ISO" which came as a series of *.opus files. My iPhone

Trololol

[–] [email protected] 2 points 1 year ago (1 children)

But...but....Android is for loosers!!!!!

[–] [email protected] -2 points 1 year ago* (last edited 1 year ago)

im gonna have to cope by using my sideloaded modded apps!!!

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

~~Yeah, not sure how they even managed to open an ISO image on iOS.~~

Ignore that, I didn't see the quotes.

[–] [email protected] 33 points 1 year ago* (last edited 1 year ago) (1 children)
ffmpeg -i file.opus file.mp3
[–] [email protected] 10 points 1 year ago

Gotta love ffmpeg

[–] [email protected] 14 points 1 year ago* (last edited 1 year ago) (2 children)

Installing VLC on your iPhone is probably the easiest solution. It should play the Opus files without any transcoding needed.

[–] [email protected] 8 points 1 year ago* (last edited 1 year ago) (2 children)

If you really need to convert the files to something like AAC for native iPhone playback, I would suggest either fre:ac (audio only) or MKVToolnix (video and audio).

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

FYI MKVtoolNix doesn't do transcoding, it simply allows you inspect/modify metadata and demux/remux data streams into an MKV container.it's indeed useful and I use it often, but it wouldn't be for OP's use-case.

[–] [email protected] 1 points 1 year ago

Oh dang, you’re right. I used to use StaxRip back when I was doing more encoding and then finish with MKVToolNix, but I think the gui is Windows only.

Probably should have recommended Handbrake.

[–] [email protected] 2 points 1 year ago (1 children)

I'll look at both of those suggestions but mp3 should be sufficient, no?

[–] [email protected] 7 points 1 year ago* (last edited 1 year ago)

AAC is higher quality for the same compression level and generally preferred by Apple. MP3 should be fine too though.

EDIT: To be clear though, the programs I listed can handle all kinds of codecs including AAC and MP3. fre:ac is also good for ripping CDs if you’re into that sort of thing.

[–] [email protected] 2 points 1 year ago (1 children)

I generally stream via audiobookshelf. They even have an iPhone app in TestFlight now.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

I’ll have to check it out. If you want to listen to Audiobooks specifically, I will say that the Open Source app BookPlayer has been fantastic for me.

[–] [email protected] 12 points 1 year ago* (last edited 1 year ago) (1 children)

If I'm not wrong, the best way to have best possible quality would be:

ffmpeg -i file.opus -c:a libmp3lame -q:a 0 -map_metadata 0 file.mp3

I know you asked for GUI, but CLI tools are better at this job since it's very easy to batch process the files using a combination of find and parallel.

Also, it's probably a better idea to keep the files as they are and use a different audio player on your device. I don't use iOS, so can't suggest an app. VLC or mpv should work, but I personally prefer music apps with album, artist etc. support. For android, the app Gramophone is great. Another way would be to serve your files via a music server like navidrome and using a client like Tempo (again, it's the android client I like, but surely there will be iOS alternatives).

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

Here's a version that will do a batch (in the current folder/directory)

for i in *.opus; do ffmpeg -i "$i" -c:a libmp3lame -q:a 0 -map_metadata 0 "${i%.*}.mp3"; done

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

Tip: You can add an & just before the last ; to run these conversions concurrently. For more sophisticated control on the concurrency, I'd use parallel.

[–] [email protected] 11 points 1 year ago

Please don't.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

Install Audacity, and follow the instruction to add ffmpeg.

From there you'll be able to open most audio files out there and then export it to another format like mp3.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)
[–] [email protected] 3 points 1 year ago
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Can probably use Audacity. May need to install a ffmpeg plugin first to read the opus files, then:

goto Tools > Apply Macro > Palette…

select “MP3 Conversion”

then click “Files…” to choose your files and it should start a batch process.

Before that, probably go to Edit > Preferences > Directories and change the entry for “Macro output” to a custom folder so it’s easy to find. (note: the instructions on that settings page says to leave a field blank to use the last directory, but that’s not the case for macro output, definitely set a custom location for that.)

edit: also a good method for converting FLAC if there’s a need for it

[–] [email protected] 1 points 1 year ago