[hugin-ptx] Re: Can Hugin change the projection of a video?

2016-07-11 Thread Robert Giordano
Hi Monkey,

Avisynth looks very interesting. I'm on a Mac but I have access to Windows 
machines. I do my editing in Adobe Premiere/After Effects CS6. The only 
reason I'm using Hugin is because it does *exactly* what I need, but only 
to single frames, one at a time. It would be nice to convert an 8 minute 
video shot at 60fps without having to convert it to 28,800 JPEGS and then 
convert it back to video. 

I really appreciate all the help given here so far and I'm currently 
experimenting with FFMPEG as suggested above by Cartola

Also, I'd like to point out that I want a PANINI equirectangular projection 
(or an adjustable Panini), not a plain Equirectangular projection. It just 
so happens that in the Hugin drop-down menu of projections, there is 
"Equirectangular Panini" and it does exactly what I want, given the lens 
horizontal field of view (HFOV) that I input.

Here is a link with TONS of stuff about the panini projection: 
http://tksharpless.net/vedutismo/Pannini/

At one point he seems to have built a video converter but it hasn't been 
supported for years and I couldn't get it to work on two different Windows 
machines. 

I'm REALLY surprised I couldn't find a plugin for Premiere that does this. 

thanks,

Robert


On Monday, July 11, 2016 at 6:55:10 PM UTC-4, Monkey wrote:
>
> I have to say I* really *think Hugin is the wrong tool for this job!
>
> If someone can help me out with the maths behind converting Fisheye to 
> Equirectangular, there is an Avisynth pluging called xyremap (written by 
> me!) which will do this in near realtime.
>
> (I seem to remember there is an .exe in the distribution which will give 
> individual transform coordinates on request, from a PTO - but I don't 
> recall finding out a way to give a full map of coordinates in one call. If 
> that could be done I could modify my plugin to read the map and apply it to 
> the video)
>
> -Monkey
>
> On Sunday, 10 July 2016 10:39:32 UTC+1, Robert Giordano wrote:
>>
>> I want to change the projection of all frames in a video from Fisheye to 
>> Equirectangular Panini. I'm not trying to stitch any images. I'm not doing 
>> a 360 video. I'm just trying to do a lens correction. I've exported a 
>> single frame from my video and Hugin changes the image perfectly. Is it 
>> possible to use Hugin to change all of the frames in the video?
>>
>> thanks,
>>
>> Robert
>>
>>
>>
>>
>>

-- 
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/5a74bf02-3610-4556-8974-87206bf3ab2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[hugin-ptx] Re: Can Hugin change the projection of a video?

2016-07-11 Thread Monkey
I have to say I* really *think Hugin is the wrong tool for this job!

If someone can help me out with the maths behind converting Fisheye to 
Equirectangular, there is an Avisynth pluging called xyremap (written by 
me!) which will do this in near realtime.

(I seem to remember there is an .exe in the distribution which will give 
individual transform coordinates on request, from a PTO - but I don't 
recall finding out a way to give a full map of coordinates in one call. If 
that could be done I could modify my plugin to read the map and apply it to 
the video)

-Monkey

On Sunday, 10 July 2016 10:39:32 UTC+1, Robert Giordano wrote:
>
> I want to change the projection of all frames in a video from Fisheye to 
> Equirectangular Panini. I'm not trying to stitch any images. I'm not doing 
> a 360 video. I'm just trying to do a lens correction. I've exported a 
> single frame from my video and Hugin changes the image perfectly. Is it 
> possible to use Hugin to change all of the frames in the video?
>
> thanks,
>
> Robert
>
>
>
>
>

-- 
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/50510418-ba00-466f-a661-2f9f8a8c35f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] Re: Hugin 2016.2 RC 1 released

2016-07-11 Thread Frederic Da Vitoria
2016-07-11 19:17 GMT+02:00 T. Modes :


>
>> today we are releasing the Hugin 2016.2 rc 1.
>>
>
> Windows binaries can be found at sourceforge.
> For Win32:
> https://sourceforge.net/projects/hugin/files/hugin/hugin-2016.2/Hugin-2016.2.0-rc1-win32.msi/download
> and for Win64:
> https://sourceforge.net/projects/hugin/files/hugin/hugin-2016.2/Hugin-2016.2.0-rc1-win64.msi/download
>
> MD5 checksums are
> f4489f58c57763c06cfba1ce2eb87c2f hugin-2016.2.0-rc1-win32.msi
> e746b48121d2d8037051b80b1439d1d8 hugin-2016.2.0-rc1-win64.msi
>
> (They run only on Windows Vista and later. Windows XP is no longer
> supported.)
>

Thank you, Thomas. I installed Win64 on my Windows 10 and did a small
project without any problem.

-- 
Frederic Da Vitoria
(davitof)

Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org

-- 
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/CANe_y9RWSedoKz-0ZGGHN6k%3DVA0kUKrLsqDBNNvuF8kkjE1SiA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] Re: Can Hugin change the projection of a video?

2016-07-11 Thread Carlos Eduardo G. Carvalho (Cartola)
2016-07-11 16:15 GMT-03:00 Robert Giordano :

> 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
>> .
>>
>> 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.


Re: [hugin-ptx] Re: Can Hugin change the projection of a video?

2016-07-11 Thread Robert Giordano
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!!

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 .
>
> 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/251a7660-5a54-42d5-ba52-9489b9878721%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[hugin-ptx] Re: Hugin 2016.2 RC 1 released

2016-07-11 Thread T. Modes


>
> today we are releasing the Hugin 2016.2 rc 1.
>

Windows binaries can be found at sourceforge.
For Win32: 
https://sourceforge.net/projects/hugin/files/hugin/hugin-2016.2/Hugin-2016.2.0-rc1-win32.msi/download
and for Win64: 
https://sourceforge.net/projects/hugin/files/hugin/hugin-2016.2/Hugin-2016.2.0-rc1-win64.msi/download
 


MD5 checksums are
f4489f58c57763c06cfba1ce2eb87c2f hugin-2016.2.0-rc1-win32.msi
e746b48121d2d8037051b80b1439d1d8 hugin-2016.2.0-rc1-win64.msi

(They run only on Windows Vista and later. Windows XP is no longer 
supported.)


-- 
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/93e5fd3e-b922-4878-986a-55d95be1044a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] Re: Can Hugin change the projection of a video?

2016-07-11 Thread Carlos Eduardo G. Carvalho (Cartola)
There are many documentation on the Internet on how to make a bash script. Here
is one example .

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/

2016-07-11 7:49 GMT-03:00 Robert Giordano :

> Unfortunately, there is no "doc" directory in my installation (maybe
> because I'm on a Mac?)
>
>>
>> There should be a nona.txt file inside the "doc" directory of your Hugin
>> installation which explains the options in a .pto file.
>>
>> --
> 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/34596474-8e65-4659-be02-9d0ea0cf964d%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CALW1f7i38idxPLm%2BKE-LbS-dLXy4Ti7QJuFe8hSG%2BpvLYspjaA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[hugin-ptx] Re: Can Hugin change the projection of a video?

2016-07-11 Thread Erik Krause

Am 10.07.2016 um 11:22 schrieb Robert Giordano:

I want to change the projection of all frames in a video from Fisheye to
Equirectangular Panini.


It's a pity that mpremap wasn't developed any further. The new 
projections would be very nice:

http://webuser.fh-furtwangen.de/~dersch/mp/MotionPanoramas.html

--
Erik Krause

--
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/cc55f6f2-3261-3c57-7971-22e0dbbf112a%40gmx.de.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] Re: Can Hugin change the projection of a video?

2016-07-11 Thread Robert Giordano
Unfortunately, there is no "doc" directory in my installation (maybe 
because I'm on a Mac?)

>
> There should be a nona.txt file inside the "doc" directory of your Hugin 
> installation which explains the options in a .pto file. 
>
>

-- 
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/34596474-8e65-4659-be02-9d0ea0cf964d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] Re: Can Hugin change the projection of a video?

2016-07-11 Thread Robert Giordano
Thanks!! That works!! I was playing with the "Write PTStitcher Script" 
option in the Hugin File menu and now I have this:
 

# PTStitcher script, written by hugin

p f16 w2250 h1362 v111  n"JPEG q94"
m g1 i0 f0 m2 p0.00784314

# output image lines
o w1920 h1080 f2 Tpp0 Tpy0 TrX0 TrY0 TrZ0 a0 b0 c0 d0 e0 g0 p0 r0 t0 
v102.88718987 y0  n""


I changed to the JPEG option and added q. Now I just have to figure out how 
to make a batch script.

Thanks everyone, this has been very interesting so far!!

-- 
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/7f4e0d42-e5a6-4490-b845-6dd3e4bcae76%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] Re: Can Hugin change the projection of a video?

2016-07-11 Thread Markku Kolkka
11.7.2016, 12:35, Robert Giordano kirjoitti:
> /Applications/hugin.2014.0.0/Hugin.app/Contents/MacOS/nona -o output 
> test..pto test..png
> 
> and it produced output.tif
> 
> I'll have to figure out why it created a .tif instead of a .jpg

Your .pto file has the line:

p f16 w2250 h1288 v111  E0 R0 n"TIFF_m c:LZW r:CROP"

The n option controls the output file format, use n"JPEG_m" for JPEG
output. The c: and r: options aren't available with JPEG and the
compression factor may be defined by adding a q: option.

There should be a nona.txt file inside the "doc" directory of your Hugin
installation which explains the options in a .pto file.

-- 
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/4f06f861-9c0b-4318-0051-be19f4feb29c%40iki.fi.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] Re: Can Hugin change the projection of a video?

2016-07-11 Thread Robert Giordano
Sorry about that!!

On Monday, July 11, 2016 at 5:37:13 AM UTC-4, Tduell wrote:
>
> On Mon, 11 Jul 2016 18:52:04 +1000, Robert Giordano  >   
> wrote: 
>
> > Okay, here's my .pto file: 
> > 
>
> ...and a 4.6MB file and a 6.4MB in your next post. 
> This is not good etiquette. 
> If you need to provide large files please do it via Dropbox or similar so 
>   
> that only those that need to access the files can do so. 
>
> Cheers, 
> -- 
> Regards, 
> Terry Duell 
>

-- 
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/0e4989b2-bf88-46fa-8e13-06cd71b979b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] Re: Can Hugin change the projection of a video?

2016-07-11 Thread Robert Giordano
Sorry about that

On Mon, Jul 11, 2016 at 5:37 AM, Terry Duell  wrote:

> On Mon, 11 Jul 2016 18:52:04 +1000, Robert Giordano 
> wrote:
>
> Okay, here's my .pto file:
>>
>>
> ...and a 4.6MB file and a 6.4MB in your next post.
> This is not good etiquette.
> If you need to provide large files please do it via Dropbox or similar so
> that only those that need to access the files can do so.
>
> Cheers,
> --
> Regards,
> Terry Duell
>
> --
> A list of frequently asked questions is available at:
> http://wiki.panotools.org/Hugin_FAQ
> ---You received this message because you are subscribed to a topic in the
> Google Groups "hugin and other free panoramic software" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/hugin-ptx/m3Ow9lIEh_A/unsubscribe.
> To unsubscribe from this group and all its topics, 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/op.ykfjn6u4rs0ygh%40localhost.
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Design215 Inc.
Commercial Photography, Advertising and Media
www.Design215.com

Robert Giordano, President
+1 954 461 7340 mobile
+1 954 630 3695 office
+1 954 566 6155 fax

-- 
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/CAHSzGQsGsuvyQsR_DF3fdYs%2B7dpB8b0GTvXwPz_vean_cnD%3D%2BQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] Re: Can Hugin change the projection of a video?

2016-07-11 Thread Terry Duell
On Mon, 11 Jul 2016 18:52:04 +1000, Robert Giordano   
wrote:



Okay, here's my .pto file:



...and a 4.6MB file and a 6.4MB in your next post.
This is not good etiquette.
If you need to provide large files please do it via Dropbox or similar so  
that only those that need to access the files can do so.


Cheers,
--
Regards,
Terry Duell

--
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/op.ykfjn6u4rs0ygh%40localhost.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] Re: Can Hugin change the projection of a video?

2016-07-11 Thread Robert Giordano
Okay this worked:

/Applications/hugin.2014.0.0/Hugin.app/Contents/MacOS/nona -o output 
test..pto test..png

and it produced output.tif

I'll have to figure out why it created a .tif instead of a .jpg



-- 
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/a80b1b86-5147-4fb2-8596-45c0eaf235d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] Scaling a PTO file ..

2016-07-11 Thread Bruno Postle
On 11 July 2016 03:22:28 BST, Donald Johnston wrote:

>Following some examples in your code I wrote:

>> $i->{d} = int ($i->{d} *= $R if $i->{d} =~ /^[-0-9.]+$/);

Misplaced brackets, something like:

  int ($i->{d} *= $R) if ...

(writing on my phone, so excuse me for not typing the whole line!)

>The first two lines seem to work but then I get an error (I think the
>third line above is line 34) 
>
>Also, if d, e, Vx, and Vy are pixel values why are you even doing the
>match in those lines???

I have no idea, mistakes are always a possibility.

-- 
Bruno

-- 
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/853A4E92-7DA0-4A5B-BCC2-3BDBD1C18757%40postle.net.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] Scaling a PTO file ..

2016-07-11 Thread Bruno Postle


On 11 July 2016 03:22:28 BST, Donald Johnston wrote:

>Following some examples in your code I wrote:

>> $i->{d} = int ($i->{d} *= $R if $i->{d} =~ /^[-0-9.]+$/);

Misplaced brackets, something like:

  int ($i->{d} *= $R) if ...

(writing on my phone, so excuse me for not typing the whole line!)

>The first two lines seem to work but then I get an error (I think the
>third line above is line 34) 
>
>Also, if d, e, Vx, and Vy are pixel values why are you even doing the
>match in those lines???

I have no idea, mistakes are always a possibility.

-- 
Bruno

-- 
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/D094F40B-5DB0-494B-99FE-DDA2EFDBAB92%40postle.net.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] Re: Can Hugin change the projection of a video?

2016-07-11 Thread Bruno Postle


On 11 July 2016 01:14:30 BST, Robert Giordano wrote:
>
>Thanks for the reply! Yes, I use Premiere CS6 and I can export the
>video to folder of pictures. But if I have a 5 minute video (some are even
>longer) that's 18,000 images!
>
>I can create a single .pto file but surely there must be a better way
>than having to make 18,000 .pto files??

You can do all this with a single PTO template. No need to rewrite the filename 
inside because nona allows you to specify the input filename on the command 
line:

  nona -o output1234 template.pto input1234.jpg

-- 
Bruno

-- 
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/FEEFF370-B724-4096-9ECE-8439FC4AB153%40postle.net.
For more options, visit https://groups.google.com/d/optout.


[hugin-ptx] Re: Can Hugin change the projection of a video?

2016-07-11 Thread Zoilo ABAD
You may can do on blender
http://blendersushi.blogspot.co.nz/2011/11/blender-x-iphone-with-gopano-kogeto.html

If you make the shape of your lens and "glue" the video to it and unwrap 
after??

-- 
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/2a124f51-0218-4982-9544-4105e1d63666%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.