ultramango / gear360pano

Simple script to create equirectangular panorama by stitching images from Samsung Gear 360
MIT License
225 stars 55 forks source link

Batch Video Stitching #7

Closed cesifoti closed 7 years ago

cesifoti commented 7 years ago

Hi, I am doing VR filmmaking with a Samsung gear 360 and sometimes produce 100s of MP4s in a day. I am looking for a command line solution that would allow me to batch stitch videos to a directory overnight. Something like:

Videostitcher.cmd c:/source_directory c:/target_directory.

Can your code do this? And if it doesn't, are u considering adding that feature?

ultramango commented 7 years ago

Hi,

I've been doing some experiments before already (I hate the bundled video editor), but... even taking the easy way ("unpack" video to images, stitch images, repack video):

Also to consider:

There's this: https://github.com/walisser/vlc-filter-pipe - but it's pretty custom which means, harder to use (which I try to avoid). But that would not eliminate need to create a custom .pto. file.

Can't promise anything, but I'll think about the problem and try to implement a solution.

BTW: I think some of the commercial tools should have that.

ultramango commented 7 years ago

Have a look at the gear360video.cmd script, might work but it will be really slow. For running it against many files, check this: http://stackoverflow.com/questions/14237548/batch-script-run-command-on-each-file-in-directory .

cesifoti commented 7 years ago

Thanks! That's extremely helpful. I'll check it out and let you know how it goes. I am swamped this week with a big event, so it may take me some time to get back to you. Thanks!

OWKenobi commented 7 years ago

Hi,

batch video stitching should work with the latest patch from today, if you use nautilus "open with" on multiple files and select the gear360video.cmd as Program.