The words Under construction in black text on a yellow background with diagonal black stipes surrounding it
I'm in the process of moving my site. It's still a work in progress. Please excuse the mess and broken links.

Get Crop Of Black Bars In One Line

TODO: Pull subtitle into page object

This crops off black bars automatically.

TODO: write up notes on how it works and put in example without the gif stuff

TODO: Put in `-ss 30` or the like at the start since opening splash screens may not have the bars

code_start_default_section code_end_default_section

Debugging Stuff

I'm moving stuff around right now. All this below is helping me figure out where to put stuff

        -- title

Get Crop Of Black Bars In One Line

-- p

This crops off black bars automatically.

-- p

TODO: write up notes on how it works and put in example without the gif stuff

-- p

TODO: Put in `-ss 30` or the like at the start since opening splash screens may not have the bars

-- code/
-- shell

ffmpeg -i "input.mp4" -t 1 -vf cropdetect -f null - 2>&1 | awk '/crop/ { print $NF }' | tail -1 | xargs -I{} ffmpeg -ss 25 -t 9.2 -i "input.mp4" -vf "{},fps=11,scale=380:-2:flags=lanczos,split[s0][s1];[s0]palettegen=max_colors=52[p];[s1][p]paletteuse" -y "output.gif"

-- /code


-- categories
-- ffmpeg 

-- metadata
-- date: 2021-04-26 20:43:02
-- id: 01f48cf1
-- status: draft 
-- type: post 
-- SCRUBBED_NEO: false
-- site: aws