Skip to content

Instantly share code, notes, and snippets.

View duracell80's full-sized avatar

Lee Jordan duracell80

  • Nashville, TN
View GitHub Profile
@duracell80
duracell80 / gist:168f780b293994578619916644848a07
Last active February 23, 2024 03:54
VR180 Photo Flatten Scripts for Lenovo Mirage Camera
#!/bin/bash
# Feel free to change filename to $1 and implement amd or nvida hwa
# sudo apt install intel-media-va-driver-non-free -- non-free needed to encode
GPU_INTEL=$(ffmpeg -hide_banner -loglevel error -encoders | grep h264_qsv | wc -l)
GPU_DRIVR=$(ffmpeg -hide_banner -loglevel error -h encoder=h264_qsv | grep -i "Supported hardware devices: qsv qsv qsv" | wc -l)
mkdir -p .meta