Skip to content

Instantly share code, notes, and snippets.

@ultramango
ultramango / gist:aef2efa3bd29474ef584972d9aac5219
Created February 11, 2021 16:55
AliceVision CMake Output
> cmake -DCMAKE_BUILD_TYPE=Release . ../AliceVision
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
#!/usr/bin/env bash
# Create test video
# Arguments:
# 1 - video size (in pixels, optional)
# 2 - duration (in seconds, optional)
# 3 - frame rate (fps, optional)
# 4 - no sound (0 - sound /default/, 1 - no sound)
# Returns:
# test file full path
#!/usr/bin/env bash
# Instantiate files from stdin, process and output to stdout
# Log from panorama processor will be written to panolog.log
filepre=`mktemp`
filein="${filepre}.jpg"
fileout=`basename ${filepre}_pano.jpg`
# Get image to temporary file
#!/usr/bin/env bash
# To be used with ./gear360redir.sh
# A lot of static variables, change to your need
# Test video filename
TESTVIDEO="$1"
OUTVIDEO="output_one.mp4"
# Test video duration in seconds
TESTDURATION=5
@ultramango
ultramango / ffpipetest.sh
Created July 5, 2017 22:10
Process video frames using ffmpeg with external command
#!/usr/bin/env bash
# Test video filename
TESTVIDEO="testvideo.mp4"
OUTVIDEO="output.mp4"
# Test video duration in seconds
TESTDURATION=5
TESTVIDEOSIZEW=1280
TESTVIDEOSIZEH=720
BYTESPERPIXEL=3