4 ms·
If you only care about converting media without tweaking anything, ffmpeg offers the simplest UI ever. ffmpeg -i input.avi output.mp4
by soraminazuki 1y ago
If you only care about converting media without tweaking anything, ffmpeg offers the simplest UI ever.
ffmpeg -i input.avi output.mp4
- a_shovel 1y agoProposing a CLI command as a candidate for "simplest UI ever" is a great gag.
- ekjhgkejhgk 1y agoCome on. "type ffmpeg, then hyphen i then the input filename then the output filename". I would've understood this when I was 8. Because I was super smart? No, because I was making a genuine effort.
- ThrowawayTestr 1y agoType what into where?
- pwg 1y agoThe portion you've overlooked is there is an entire population of users out there who have never seen, nor used, a command line, and telling them to "just type this out" ignores all the background command line knowledge necessary to successfully "just type this out": 1) They have to know how to get to a command line somewhere/how (most of this group of users would be stymied right here and get no further along); 2) They now have to change the current directory of their CLI that they did get open to the location in their filesystem where the video is actually stored (for the tiny sliver who get past #1 above, this will stymie most of them, as they have no idea exactly where on disk their "Downloads" [or other meta-directory item] is actually located); 3) For the very few who actually get to this step, unless they already have ffmpeg installed on their PATH, they will get a command not found error after typing the command, ending their progress unless they now go and install ffmpeg; 4) For the very very few who would make it here, almost all of them will now have to accurately type out every character in "a-really_big_filename with spaces .mov", as they will not know anything about filename completion to let the shell do this for them. And if the filename does have spaces, and many will, they now need to somehow know 4a) that they have to escape the spaces and 4b) how to go about escaping the spaces, or they will instead get some ffmpeg error (hopefully just 'file not found', but with the extra parameters that unescaped spaces will create, it might just be a variant of "unknown option switch" error instead).
- tester457 1y agoHow are we so blind to these beginner hurdles? Few people are able to see through the eyes of a beginner, when they are a master. The 4th one is a pain to teach. Every other file and directory has spaces... so I encourage liberal use of the TAB key for beginners.
- hydrogen7800 1y agoThis describes me somewhat. I use FEA software and only recently started using it to execute jobs in CLI. I still trip over changing directories. Fortunately notepad++ has an option to open CLI with the filepath of the currently open file. I also didn't know right-click is paste in CLI. Don't use ctrl+c accidentally. But ctrl+v does work in powershell (sometimes?). "Error, command not found" is puzzling to me. Where does the software need to live relative to the directory I am using? This is all still very foreign to me, and working in CLI feels like flipping light switches in a dark room.
- ThatFave 1y agoTo answer your last question, on your operating system there is something called “PATH”. It is a user- or systemwide variable that dictates where to look for programs. It basically is a list of directories, often separated by “:” Further reading: https://www.java.com/en/download/help/path.html https://www.java.com/en/download/help/path.html (this may have Java references but still applies)
- jcranmer 1y agoThe GP here appears to be on Windows, given their reference to PowerShell. And on Windows, the path separator is ";", not ":". One of the things I've noticed is that people trying to help the true beginners vastly overestimate their skill level, and when you get a couple of people all trying to help, each of them is making a completely different set of suggestions which doesn't end up helpful at all. Recently, I was helping somebody who was struggling with trying to compile and link against a C++ library on Windows, and the second person to suggest something went full-bore down the "just install and use a Linux VM cause I don't have time to help you do anything on Windows."
- LambdaComplex 1y agoTo grab a random part of an ffmpeg command in my history: "-q:a 0 -map a" Sorry, that's pretty damn indecipherable.
- Dylan16807 1y agoYes, your example that completely ignores the premise is pretty damn indecipherable. "If you only care about converting media without tweaking anything"
- deleted 1y ago[deleted]
- asielen 1y agoIt is easy but annoying. I nearly always find it easier to write a short script and run that rather than type terminal commands directly.
- virgil_disgr4ce 1y agoThis is an interesting position because that's only simple if you already know it. From the perspective of discoverability, it's literally the worst possible UI, because a string of that length has, say, 30^30 possible combinations, among which only one will produce the desired effect, and a bash prompt gives you no indication of how to arrive at that string.
- jdthedisciple 1y agofirst u gotta tell them how to install ffmpeg... scary stuff