Created
April 12, 2022 10:30
-
-
Save fernandofreamunde/d52b9d4629279db77eb016a85cfd93ab to your computer and use it in GitHub Desktop.
Nautilus Script that converts selected video files into a format supported by Davinci Resolve on linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # By Fernando Andrade | |
| # v1 | |
| # Nautilus Script that converts selected video files into a format supported by Davinci Resolve on linux. | |
| # You need FFmpeg installed to make it work | |
| FFMPEG_SETTINGS="-codec:v mpeg4 -q:v 0 -codec:a pcm_s16le"; | |
| echo -e "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS" | xargs -i ffmpeg -i "{}" $FFMPEG_SETTINGS "{}.mov"; | |
| exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment