Looks like everyone here has their scripts to automate the routine tasks.
I have never wrote any scipt but having s set of them definitely seems as a better idea compare to running
whatever commands in terminal.
Here is one of the commands I use pretty often:
ffmpeg -i in.mp4 -c:v libx264 -crf 23 -c:a libfdk_aac -b:a 192k -map_metadata 0 out.mp4
As you can see
in.mp4 is in the beginning of the command and
out.mp4 is at the end of the command which makes drag'n'drop files to terminal a pain in the neck.
What I would like to do is to select files in Dolphin - Right Click and select a script I want from the menu.
For this particular command it would use selected files as inputs and save the output files in the same directory while adding codec name to the end of the file name. For example:
/home/user/video_file_1.mp4 would be converted and saved as /home/user/video_file_1_x264.mp4
I was wondering if anyone has a similar script already written that could be shared or if there is any good documentation on the web that would help me start writing my scripts.
Since there are many languages out there (bash, python, etc.) and I am not familiar with any of them I would start with the one that is:
1. Easy to learn (faster to start writing)
2. Linux Desktop Environment undependable (I am on KDE at the moment but I don't want to lock myself into it).
Any thoughts would be greatly appreciated.