


home/user/video_file_1.mp4 would be converted and saved as /home/user/video_file_1_x264.mp4

What I would like to do is to select files in Dolphin - Right Click and select a script I want from the menu.įor 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. 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Īs 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. I have never wrote any scipt but having s set of them definitely seems as a better idea compare to running exiftool / ffmpeg / whatever commands in terminal. Looks like everyone here has their scripts to automate the routine tasks.
