Better HN
topnewbestaskshowjobs
Log inSign up

__zayne__

4 karma · joined Jul 26, 2020 (6y ago) · 5 submissions

Submissions

comment 1y ago · link · parent

It is an electron app.

2.

Show HN: SandCrab – An AWS S3 GUI for macOS(sandcrab.io ↗)

2 points · by __zayne__ · 1y ago · 2 comments

3.

Show HN: Conductor – A Simple Desktop Video and Image Converter for macOS(conductor.gg ↗)

3 points · by __zayne__ · 2y ago · 1 comment

comment 6y ago · link · parent

I like to get the duration of the base video using ffprobe, then use -stream_loop -1 to loop the overlay video on top of it, while using -t with the duration before the output to ensure it will only be as long as the duration of the base video. Here's an example:

    DURATION="$(ffprobe -i input.mp4 -show_entries format=duration -v quiet -of csv='p=0')"

    ffmpeg -i input.mp4 -stream_loop -1 -i overlay.mp4 -filter_complex "
    [1]colorchannelmixer=aa=0.1[2];[2][0]scale2ref[2][1];[1] 
    [2]overlay" -t $DURATION output.mp4

comment 6y ago · link · parent

It’s cool to see more people writing posts and experimenting on this topic. I was surprised at how little info I could find trying to research this about a year ago, and spent a decent chunk of this year experimenting with trying to create vintage/retro video filters using FFmpeg. If anyone is curious, I shared a bunch of my notes on this topic here a little while ago: https://zayne.io/articles/vintage-camera-filters-with-ffmpeg

Disclaimer: I’m still an FFmpeg noob