Hacker News new | ask | show | jobs
by hparadiz 7 days ago
> Just copy it into the WSL file system

Yea bro totally. Totally. I'm gonna copy 2TB of media into the WSL virtual disk just so ffmpeg can run a little faster but still way slower than simply running linux.

(I beta tested the shit out of WSL1 and 2) before I wised up and just installed Gentoo forever.

4 comments

You can run that directly on Windows.

But either way yeah most people aren't dealing with large media libraries that's obviously a little more difficult. But if you are primarily operating on them with WSL then you would just keep them in the WSL file system and you could access them from Windows whenever you need to...

Indeed. I have my agent edited files in podman in Lima, under two layers, and it's fine, because I do most stuff within my podman VMs. (I have shared volumes so I can review things before pushing the changes to my forge in separate containers that the agent can't access. When I need stuff on my mac, which is the exception, not the rule, I just copy them, putting them in a tar or zip if it's a lot of files.
There is ffmpeg for Windows.
That helps me exactly zero when I'm running something that is compiled for Linux and has no context in which to use the windows version. Which may not even be compiled with the same ./configure settings and would therefor potentially be missing entire codecs available to it.

This ladies and gentleman is the problem with discussing Windows design patterns on the internets. They say "use this" and you say "well it's broken in X, Y, Z" ways and instead of fixing it they say "you're using it wrong". No. Maybe it's just an inferior architecture.

This ladies and gentleman is the problem with discussing Linux distros on the internets. They say "install this" and you say "well it's broken in X, Y, Z" ways and instead of fixing it they say "you're using the wrong distro". No. Maybe it's just an inferior desktop OS.
You are very far from the average WSL user, especially with that Gentoo mention.
Everyone in the tech industry should know how to install Gentoo.
And yet they don't know, therefore making you outside of the average.
Why are you using ffmpeg under wsl?
What's the point of this question? It doesn't matter.

The entire point of wsl is to be able to run code compiled for Linux on Windows.

ffmpeg underpins so many things these days. It could be used to extract frames in a PHP based website, convert something to a gif, or a demux an mkv. You may as well be asking me why I'm using a computer.