Skip to content

Instantly share code, notes, and snippets.

@n1ckfg
Created February 19, 2025 04:36
Show Gist options
  • Save n1ckfg/13c8e56b8a38b97981ff4c47d86a556c to your computer and use it in GitHub Desktop.
Save n1ckfg/13c8e56b8a38b97981ff4c47d86a556c to your computer and use it in GitHub Desktop.
Fujifilm W3 converter methods
function w3-sbs() {
ffmpeg -i $1 -filter_complex "[0:0][0:2] hstack=inputs=2 [out]" -aspect 1.7777 -vcodec libx264 -x264opts frame-packing=3 -map [out] -map 0:1 "$1.mp4"
}
function w3-lr() {
ffmpeg -i $1 -c:v libx264 -crf 19 -preset slow -an -map 0:0 "$1_L.mp4" -crf 19 -preset slow -map 0:2 -map 0:1 "$1_R.mp4"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment