Live data from Hacker News

Stack Videos Horizontally, Vertically, in a Grid With FFmpeg

ottverse.com

21–30 of 52 posts

Re: Stack Videos Horizontally, Vertically, in a Grid With FFmpeg

#21
I was already doing this but recently I've started looking into obs (https://obsproject.com/) as a possible alternative.

I can for instance, add and remove things and move them around the screen with a mouse, without having to restart things or do any math - sounds way more convenient.

Re: Stack Videos Horizontally, Vertically, in a Grid With FFmpeg

#22

I wrote an Electron app (started as just a local web server) to basically do this. The UI is kind of like iPhotos or any other photo viewer except you can split view as many times as you want and views something different in each pane. Here's a short clip of 8 videos playing https://www.youtube.com/watch?v=nK52DY6sq9U or a better video starting from the basic UI, starting videos, zooming them to "cover" mode, and spl…

Sorry to hijack, but whats the Crash video in the lower left of the demo?

Re: Stack Videos Horizontally, Vertically, in a Grid With FFmpeg

#23

I wrote an Electron app (started as just a local web server) to basically do this. The UI is kind of like iPhotos or any other photo viewer except you can split view as many times as you want and views something different in each pane. Here's a short clip of 8 videos playing https://www.youtube.com/watch?v=nK52DY6sq9U or a better video starting from the basic UI, starting videos, zooming them to "cover" mode, and spl…

Sorry to hijack, but whats the Crash video in the lower left of the demo?

It's a Japanese crash bandicoot commercial

https://www.youtube.com/watch?v=kEKa1x0udMA

https://www.youtube.com/watch?v=h3CevTDQyxo#t=1m58s

Re: Stack Videos Horizontally, Vertically, in a Grid With FFmpeg

#25
When I was making a Kickstarter video, I used Keynote to arrange videos side by side, mask them, and change landscape/portrait orientation. The output is surely not high quality, but if you are already experienced with Keynote and don't need 4k, it's actually a pretty handy tool.

It did the trick for me (my Kickstarter got funded!) and I later wrote a blog post about how to use Keynote to add special effects to video on the cheap.

1: https://medium.com/hackernoon/adding-visual-effects-to-your-...

Re: Stack Videos Horizontally, Vertically, in a Grid With FFmpeg

#26
post #8

I want to love ffmpeg but I honestly can't stand that I have to spend ~15 minutes looking for the magical incantation to get the result I want. After I find it, it works quickly and has good results. However, it really feels like video editing isn't something that should be done on the command line. Does anyone know of decent GUI frontends to ffmpeg?

If you have one video to edit I agree. As soon as you are talking batch processing, having this massively powerful, free, self-contained executable that is compatible with pretty much any video format on earth is a god bless.

I usually only use a handful of features repeatedly, so I tend to creat some UI for myself to generate the commands. For instance for editing movies I download, removing audio streams I don’t want, adding subtitles, changing defaults, overwriting metadata (title, etc).

But dealing with all features would be a challenge. Handbrake is one attempt I can think of, but it is still kind of specialised.

Re: Stack Videos Horizontally, Vertically, in a Grid With FFmpeg

#29
post #3

If you want to do fun things with ffmpeg as a cli, most roads end at filter_complex[0]. You can get some truly impressive results at the cost of maintaining really intricate commands. There's also added value when onboarding a new teammate and seeing their eyes open when they find some of the commands you maintain... Once you grok filter_complex, it becomes a lot easier to understand how people get very complex resul…

As "intricate" as some -filter_complex commands may be, it's still readable. Spending 2 hours reading and testing out commands should be all you need to master it.

I've been using many CLI tools for all kind of purpose and I think it cannot be stressed how well design the whole ffmpeg program is. I even made a whole music video montage out of it.

Re: Stack Videos Horizontally, Vertically, in a Grid With FFmpeg

#30

My favorite video editing discovery of the last couple of years is Da Vinci Resolve. It rivals Adobe Premiere in many ways. Plus it's cross-platform, and free: https://www.blackmagicdesign.com/products/davinciresolve/ It also supports the OpenFX plugin format: http://openfx.sourceforge.net/

I want to use Resolve so much but unfortunately for me every time I try to export an h264 mp4 I end up having video artifacts and audio artifacts. I tried every 16.x release as well. The source is fine and playback during the timeline is fine, it's only after it's been exported with Resolve.

I'd get all of these little black pixel'y boxes that would appear and audio would end up having little pops and squeaks. Neither of these things ever happened using Camtasia with the same hardware (even after 500+ videos) but it happens in every single video in Resolve with every export format and setting. This is only dealing with 1080p too.

These are just simple recordings of my desktop with a webcam on the bottom right. Recorded as an mkv with OBS (which I still do even when editing with Camtasia).

It's a shame because Resolve is really good for editing, and video editing is the only reason I stick with Windows.

Post reply on HN