this post was submitted on 25 Mar 2025
376 points (98.5% liked)
Technology
71585 readers
3423 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related news or articles.
- Be excellent to each other!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
- Check for duplicates before posting, duplicates may be removed
- Accounts 7 days and younger will have their posts automatically removed.
Approved Bots
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That's why I always prefer an offline converter. Also if your upload a file somewhere the website can save it for their own purpose alhough they say they won't do it.
Precisely, and this is why I've never trusted online "free" converters since day one. Who the fuck knows what they're actually doing with your file, and I always assumed that most of them were fronts to steal data and IP from users who are stupid enough to upload corporate and business stuff to them.
Anyway, there's vanishingly little I haven't been able to do over the years with ffmpeg or Imagemagick, their byzantine command line structures notwithstanding.
Which is why I've been happy to trust them for files nobody cares about, like a random audio file that I got off the Internet. And it's very unlikely they'd be able to exploit my media player.
The website mentions that there are fake offline converters that push malware as well.
Yes this can also happen. I should have written open source offline converter
What you recommend in terms of offline open-source converters?
Pandoc for documents, ffmpeg for video , imagemagick for images
What image types are you using that ffmpeg can't convert? To my knowledge it works for almost anything.
Gonna be honest, never used ffmpeg for images lol. I often take images from PDFs that have transparency (rpg books to import into my vtt) and they come out of pdfimages with an opaque greyscale alpha mask and an opaque image. I found it easy to apply the mask with imagemagick, though. Ffmpeg can probably do it but just never had a use case. I just use cwebp to convert because that's my primary use-case: converting pngs to lossy webp files and cwebp is good enough for me for that:)
Images from PDFs, wasn't thinking about that. I normally work with just image files. Cool!
What are you looking to convert?
Usually what i do is look for any converter and look for open source alternatives to it on alternativeto.net and hopefully one of the top 3 alternatives fits your use case
Psst the URL is: https://alternativeto.net/ I always stop here first to research what software options there are available and also learning what other people are using. Extremely useful and trustworthy site!
Thanks i dropped the "to"
Which offline converter? I find myself often trying to convert:
etc. I have no idea how to do that but if I type it into a search engine there's usually tools there.
FFmpeg and handbrake do the latter two quite handily. The latter even has a nice program interface, rather than needing commands.
ImageMagick is capable of the first. I've had it go the other way before, and I should be most surprised if it couldn't convert a PDF to a jpg.
I don't have the knowledge or the time to learn to use these tools.
Then I suppose you're up shit creek.
Thanks for that deep analysis.
Let me tell you a little bit about all those various file converter tools, be it ffmpeg, pandoc, imagemagick, whatever.
The majority of them can be used like this:
magick inputfile.bmp outputfile.jpg.
If all you need is this file in that format, that's how you do it. They're ridicluously capable, you can do editing and compositing and such with them and whatever. If you have a use case where you do that a lot, like you just always put a watermark on images or you always desaturate them or whatever, you can write a script, then just run that script.They're basically all like that. Fairly simple to use for basic format translation, shockingly capable if you want to write a script.
magick inputfile.bmp outputfile.jpg.
I don't think it worked.
They're command line tools. If you want to get something done you have to put in a little effort.
Strange, those online tools don't require any "effort".
This is learned helplessness. Especially for someone who took the time to go waste time on Lemmy in stead of Reddit, you could have learned it in the time it took to complain about it taking effort.
This is learned not-wasting-my-timeness. And no, I couldn't. I have tried, several times. I don't waste my time anymore.
Have some faith in yourself. You're not an idiot. Find a friend to show you or smth. I'm not a terminal advocate, I avoid it as much as possible, but in a thread about corporations and scammers relying on user ignorance, this behavior is defeatist.
I'm not an idiot. As I've already said, I just don't have the time. LOL @ the idea of any of my friends even knowing what a command line is, much less knowing how to use it any better than I do. You people live in this bubble where you think everyone on the planet is a software engineer. This is not reality.
You're free to use these tools that steal your data, nobody is stopping you.
No, but they are repeatedly insisting that I use certain other tools that require specialty knowledge that I don't possess.
Handbrake has a GUI, and it's relatively straightforward to use. VLC also works well. You can also use ffmpeg on the CLI like so:
imagemagick isn't really that hard, in most cases it's:
For example:
If that doesn't work, try
pdftoppm
:I don't know of a good GUI for it, I recommend just learning to use either imagemagick or pdftoppm.
I downloaded it and it immediately did not work so I'm gonna have to disagree with you there, champ.
I've lost far too many hours to the CLI. I don't fall for that trick anymore.
You do you, I guess. Those are incredibly simple commands I provided, and you can intuit pretty easily how to tweak them for other formats.
I guess it's up to you. You can gamble with random services online, or you can spend a few minutes and learn to use a tool that's all but guaranteed to not have malware.
This is just a fucking lie and I'm tired of hearing it. What did I just say?
I've tried to learn this shit. It's a fucking rabbit hole. I type these commands, letter for letter, the terminal returns some completely useless error that provides me with no diagnostic information whatsoever, I spend hours searching and trying to understand why and come up empty-handed. I don't have time for that anymore. I already have multiple jobs. It's not how I prefer to spend my free time. And frankly, I don't believe it anymore when software engineers feed me this bullshit.
You know what those web services do? I just click a button and it does what the button says. Why is that so hard?
There's also a pretty big chance that they'll do more than what the button says, like inject malware. That's the whole point of the article.
I understand that but that's beside the point. It does what they advertise. It's incredibly simple and easy to use. Why can no one make something comparable that's FOSS?
They did, it's often a CLI interface because it's incredibly flexible. ffmpeg and imagemagick are quite easy for basic things.
Building a cross-platform GUI is a pain, and hosting a website costs money. Building a cross-platform CLI is incredibly easy, which is why it's so popular.
Some of these tools have GUI frontends or alternatives, some don't. The more niche you go, the harder it'll be to find a reasonable GUI, and I consider PDF to JPEG pretty niche.
No. This does not compute.
You don't have to host a website. Just make software that works like the website and runs locally.
But not niche enough that these websites don't exist.
imagemagick handles almost all image files
ffmpeg handles almost all video files
if you use gnome there's a nice little feature of the file explorer where you can just drag and drop scripts into
~/.local/share/nautilus/scripts/
for example
make a fish script (ignoring error checking for brevity here, my real script had a couple guard rails)
then when you right click on a file in your gnome file explorer you can click the scripts option
and the script is right there so you can just easily convert with the press of a button
note, i crossed out some stuff that includes client names
tldr: there are so many ways to do what you need to do there's no reason to trust random websites you don't know. there's a lot of slimey people out there wanting to take advantage of people. and everybody should strive to be at least a little computer literate. the examples i gave here aren't complicated. they're simple commands
Don't most pdf viewers have an export to image option?
Do you actually have files with an .avc extension? AVC is a codec that can be used in many different container formats, including MP4. Where did these files come from?
I actually agree that most audio conversion tools are needlessly awkward. Audacity will convert these just fine, though doesn't really do bulk conversion. Foobar2000 will do it in bulk if you're on windows.
Don't know, I never looked! But I will, thanks.
Yes
I'll give this a try on Tenacity. I didn't realize they had file conversion on there.
Only helpful comment in this thread, thanks.
On the PDF to JPEG, you can also open the PDFs with an image editor, such as Inkscape or krita, and then save the image on the format and quality needed. This method also has the benefit that on some cases you play with the assets if needed. (Depends on how was the PDF generated)
I can’t comment on the others, but PDF to JPEG should be easy enough. ImageMagick, which another commenter suggested, is possible but not user friendly. However you can just open the PDF in many applications and export it as an image. Adobe Acrobat and Photoshop can do it. GIMP probably too.
I’m a last ditch effort you can even just open the file and screenshot it.
Open/Libreoffice can do that too
You could try Permute. It's a pretty simple app for converting video and audio. Permute is my go-to for quick video conversion.
DBPowerAmp has an easy-to-use audio converter that supports pretty much every audio format and does batch file conversion as well. DBPowerAmp is my go-to for audio conversion.
Both of these are paid apps.
Thanks, I'll check those out.
In Windows, Foobar2000 does easy audio file conversions, once you have installed the relevant codecs.
Video and audio conversion can be done with Handbrake or Shutter Encoder, both are nice GUIs
Handbrake won't load the file and Shutter won't even open. But thank you.
I tend to just whip up a script of some sort that employs widely used libraries for the conversion. I know that’s more technical than most people would have the tolerance or aptitude for, but for me, it’s the least ambiguous and most secure way to do stuff like that. And then I can squirrel it away in a utility scripts directory and use it later if I need it again.