2016-07-11 16:15 GMT-03:00 Robert Giordano <rob2...@gmail.com>:

> Carlos, that is excellent!!
>
> Since I'm passing each filename to nona in the loop, can I just use a
> single test.pto instead of test.$number.pto ??
>
> Thanks again!!
>

*Surely! You got it!*



>
> On Monday, July 11, 2016 at 7:44:17 AM UTC-4, Cartola wrote:
>>
>> There are many documentation on the Internet on how to make a bash
>> script. Here is one example
>> <http://wiki.softwarelivre.org/TWikiBar/TWikiBarTalk001>.
>>
>> I guess here you will need basically a loop:
>>
>> -------------------
>> #!/bin/bash
>>
>> for number in $(seq -w 1 18000); do
>>   /Applications/hugin.2014.0.0/Hugin.app/Contents/MacOS/nona -o output
>> test.$number.pto test.$number.png
>> done
>> -------------------
>>
>> And if you install ffmpeg you can automate all the job
>>
>> -------------------
>> #!/bin/bash
>>
>> # split the video in frames using 5 digits
>> ffmpeg -i yourVideo.mp4 -qscale:v 2 frame-%05d.jpg
>>
>> # count the frames
>> total=$(ls frame-*.jpg | wc -l)
>>
>> # loop on the frames
>> for number in $(seq -w 1 $total); do
>>   /Applications/hugin.2014.0.0/Hugin.app/Contents/MacOS/nona -o output
>> test.$number.pto frame-$number.jpg
>> done
>>
>> ffmpeg -i output%05d.jpg final_output.mp4
>> -------------------
>>
>> Bests,
>>
>



Carlos E G Carvalho (Cartola)
http://cartola.org/360
http://www.panoforum.com.br/

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/CALW1f7h2v3GSB-np6Jk6%3DzzGdgtFkqb3UoaLNa2mb2ZqHsNrYg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to