Skip to content

Instantly share code, notes, and snippets.

@felipsmartins
Created March 25, 2023 15:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felipsmartins/ce4ba9ef1fb55233ac338ea61cd4dbd8 to your computer and use it in GitHub Desktop.
Save felipsmartins/ce4ba9ef1fb55233ac338ea61cd4dbd8 to your computer and use it in GitHub Desktop.
start obs
#/usr/bin/env bash
# por algum motivo NVENC somente funciona se executar ffmpeg antes.
# for whatever reason sometimes OBS NVENC works only when running ffmpeg before
ffmpeg -y -i ~/input.mp4 -c:v h264_nvenc /tmp/output.mp4;
echo "---------------------------------------------------------------------------------------------------------------------\n";
XDG_CURRENT_DESKTOP=GNOME /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=obs com.obsproject.Studio
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment