Skip to content

Miscellaneous map stuff on the command line

Zach Levitt edited this page Dec 31, 2022 · 2 revisions

Mapbox

### upload to mapbox
node mb-upload.js 'urb_01_19_combined' 'NLCD_urban_01_19_combined_rendered_v3.mbtiles' 'Urban 2001-2019 Combined'

Pyramid Shader

Java -jar PyramidShader.jar

ffmpeg

Add white space to video

ffmpeg -i outputVideos/output_smoke_0327_0328.mp4 -filter_complex "[0]pad=h=374+ih:x=187:y=187:color=white" outputAdd.mp4

slow down video

ffmpeg -i my-video.mp4 -vf "setpts=2*PTS" my-video-slowed.mp4

convert video to mp4

ffmpeg -i afghan_killings-220218-1830-REORDERED.mov -vcodec h264 -acodec mp2 my-video.mp4

imagery with bash from Tim Wallace

link