Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
cb21910095y@kescherRant might be right, too. In the end I just used some given command line argumentsπ π€·
My point was more about the fact, that as a developer you know that someone, at some point, must have had the same problem. You just have to pick one of the solutions that have been found for this. And of course implement it for your specific situation, if that's the case. -
cb21910095y@SomeNone Only problem: I've never written a shell script. But I surely would have done it the shell way otherwise.
-
@cb219 Then maybe you should start writing shell scripts.
Hint: Start off the file with
```
#!/usr/bin/env bash
``` -
@SomeNone @kescherRant Python is also made expressly for scripting and it works just fine (and is so much better for cross platform than shell)
Also, using ffmpeg in a script sounds like dev to me
Let OP have some fun guys c'mon ffs -
cb21910095y@RememberMe getting into philosophical territory here... what defines a user, what defines a dev? Does using a program make someone a user or a dev? Where does the user end and the dev start? Does it make you a user of ffmpeg if you wrap it in a simple loop or does it make you a dev by using the concept of a loop?
Questions about questions...π -
@cb219 when you're on windows, you're a user and when you're on Linux, you're a dev. Kidding.
-
@cb219 since no one told you about it yet, I will. https://handbrake.fr/ the only video converter you will ever need, open source.
Related Rants
Needed to convert a collection of .avi videos to .mp4. Online converters only allow 1-2 videos at a time, with slow uploads, so no option.
Can't find a program that quickly fulfills my needs. Interesting ... π€
Look for python and a quick and dirty solution, ffmpeg and subprocess it shall be then.
Install ffmpeg, run subprocess with ffmpeg, put it inside a for loop, iterate over all videos with their respective number. Done.
3 lines of code, saved some time.
It's great to be a developer (sometimes).π
rant
convert videos
python
avi to mp4