Announce: jpeg2qtvr-0.04

309 views
Skip to first unread message

Bruno Postle

unread,
Mar 18, 2007, 6:33:21 PM3/18/07
to Hugin ptx
'jpeg2qtvr' is a perl command-line tool for assembling QTVR .mov
panoramas that can be viewed in Apple QuickTime or freepv[1].

This release features:

* Ability to add preview tracks
* Setting metadata such as title and date
* Setting viewing hints such as window size, fov, pan and tilt

Plus a new command-line tool: 'erect2qtvr' that manages the entire
process of generating a QTVR from an equirectangular image,
including creating a scaled preview track and setting JPEG
compression.

All this just in time for the thirteenth World Wide Panorama
event[2] from 20th to 25th March 2007. QTVR panorama submissions on
the theme of 'Atmosphere' are open to anyone.

'jpeg2qtvr' and 'erect2qtvr' are part of the Panotools::Script perl
module which can be downloaded from CPAN[3], this is Free Software.

Panotools::Script requires nona (from hugin), enblend, ImageMagick,
ImageMagick-perl and Math::Matrix.

[1] http://freepv.sourceforge.net/
[2] http://geoimages.berkeley.edu/wwp/index.html
[3] http://search.cpan.org/dist/Panotools-Script/

--
Bruno

Bruno Postle

unread,
Mar 18, 2007, 7:19:52 PM3/18/07
to Hugin ptx
On Sun 18-Mar-2007 at 22:33 +0000, Bruno Postle wrote:
>
>'jpeg2qtvr' is a perl command-line tool for assembling QTVR .mov
>panoramas that can be viewed in Apple QuickTime or freepv[1].

..and here is a quick example taken today by sticking my camera
through the hole in our ceiling that leads to our attic:

http://www.bruno.postle.net/neatstuff/jpeg2qtvr/attic-panorama-qtvr.mov

Milan Knizek

unread,
Mar 19, 2007, 4:25:10 PM3/19/07
to hugi...@googlegroups.com, Bruno Postle
Hi Bruno,

thanks for these scripts.

On Sunday 18 March 2007 23:33, Bruno Postle wrote:
>
> Panotools::Script requires nona (from hugin), enblend, ImageMagick,
> ImageMagick-perl and Math::Matrix.

I have problems installing the Panotools::Script -- the tests fail (I have a
working nona, enblend, ImageMagick compiled with perl
support).

The install log from cpanplus is attached (I had to interrupt it with ctrl+c
since it froze on testing "morph")

When I forced install, the erect2qtvr created scripts for nona, but running
nona evidently failed. (See the other attached file erect2qtvr.log.)

Best regards,
Milan
P.S. I use FreeBSD-6.2, perl v5.8.8 built for i386-freebsd-64int)
--
Milan Knížek
http://milan-knizek.net/
e-mail knizek {na} volny {v} cz

Panotools-Script-1174334340.log
erect2qtvr.log

Bruno Postle

unread,
Mar 19, 2007, 5:35:56 PM3/19/07
to Hugin ptx
On Mon 19-Mar-2007 at 21:25 +0100, Milan Knizek wrote:
>
>I have problems installing the Panotools::Script -- the tests fail (I have a
>working nona, enblend, ImageMagick compiled with perl
>support).

I can only think there is some difference with File::Spec or
File::Temp. There should be more test output from running the test
directly:

perl t/010.read-stitch.t

Otherwise I can send you a version of the library that will produce
more debug output.

>t/010.read-stitch.......nona: stitch a panorama image
>
> It uses the transform function from PanoTools, the stitching itself
> is quite simple, no seam feathering is done.
> all interpolators of panotools are supported
>
> The following output formats (n option of panotools p script line)
> are supported:
>
> JPG, TIFF, PNG : Single image formats without feathered blending:
> TIFF_m : multiple tiff files
> TIFF_multilayer : Multilayer tiff files, readable by The Gimp 2.0
>
>Usage: nona [options] -o output project_file (image files)
>
># Failed test 'nona stitched uncompressed file'
># at t/010.read-stitch.t line 39.
>
># Failed test 'nona uncompressed size is about 1.2MiB'
># at t/010.read-stitch.t line 40.
># '0'
># doesn't match '/^1[12][0-9]{5}$/'

--
Bruno

Milan Knizek

unread,
Mar 20, 2007, 3:02:56 AM3/20/07
to hugi...@googlegroups.com, Bruno Postle
On Monday 19 March 2007 22:35, Bruno Postle wrote:
> On Mon 19-Mar-2007 at 21:25 +0100, Milan Knizek wrote:
> >I have problems installing the Panotools::Script -- the tests fail (I have
> > a working nona, enblend, ImageMagick compiled with perl
> >support).
>
> I can only think there is some difference with File::Spec or
> File::Temp. There should be more test output from running the test
> directly:
>
> perl t/010.read-stitch.t
>
> Otherwise I can send you a version of the library that will produce
> more debug output.

The output of perl t/010.read-stitch.t is attached.
As long as I can see, it generates some project files, but no output pictures.
When I interrupted the testing so that the project files were not deleted, I
can run manually nona with them and it stitches a picture of the cemetery.

If it helps, will you send me the library with a greater debug output?

Best regards,
Milan

perl t010.read-stitch.t.log

Bruno Postle

unread,
Mar 22, 2007, 1:30:31 PM3/22/07
to Hugin ptx
Thanks to Milan Knizek for tracking this down. It seems nona
behaves slightly differently on BSD and Linux, probably due to
different getopt() implementations.

So Panotools::Script 0.05 uses nona as documented, download here:

http://search.cpan.org/dist/Panotools-Script/

--
Bruno

Bruno Postle

unread,
Oct 1, 2012, 1:08:46 PM10/1/12
to hugi...@googlegroups.com

On Oct 1, 2012 5:58 PM, "grek aaa" wrote:
>
> Hy any one know why i have this error ?
>
> erect2cubic --erect=g8.tif
> Can't locate Image/Size.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/local/bin/erect2cubic line 9.
> BEGIN failed--compilation aborted at /usr/local/bin/erect2cubic line 9.

You should get a list of missing perl modules when you do the install:

  perl Makefile.PL

You can install Image::Size with the cpan tool or using your package manager.

--
Bruno

Jan Martin

unread,
Oct 1, 2012, 1:32:27 PM10/1/12
to hugi...@googlegroups.com
Terminal:
sudo perl -MCPAN -e 'install Image::Size'

--
You received this message because you are subscribed to the Google Groups "Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugi...@googlegroups.com
To unsubscribe from this group, send email to hugin-ptx+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx

JohnPW

unread,
Oct 9, 2012, 2:16:52 AM10/9/12
to hugi...@googlegroups.com
Interesting attic, Bruno. I've never seen that sort of construction (the brick piers acting as a truss for the roof.) I assume the house has been around for a good while (to an American eye, anyway.) May I ask what year it was built?
I understand Hugin scripting isn't supported on OS X now. Are there any plans to include it in future? (sure would the functionality of some of your scripts, especially creating QTVR panos.)
John

Bruno Postle

unread,
Oct 9, 2012, 12:47:00 PM10/9/12
to hugi...@googlegroups.com

On Oct 9, 2012 7:16 AM, "JohnPW" wrote:
>
> Interesting attic, Bruno. I've never seen that sort of construction (the brick piers acting as a truss for the roof.) I assume the house has been around for a good while (to an American eye, anyway.) May I ask what year it was built?

It is 1855, so practically brand new. There is no equivalent pier on the other side, so who knows what they were thinking.

> I understand Hugin scripting isn't supported on OS X now. Are there any plans to include it in future? (sure would the functionality of some of your scripts, especially creating QTVR panos.)

Panotools::Script should install and run fine on OS X, which comes with perl already installed, I think. In particular the jpeg2qtvr tool has minimal dependencies.

In general, most of these perl command-line tools have hugin equivalents these days, though not jpeg2qtvr.

--
Bruno

JohnPW

unread,
Oct 14, 2012, 9:03:55 PM10/14/12
to hugi...@googlegroups.com, bruno...@googlemail.com


On Tuesday, October 9, 2012 11:47:03 AM UTC-5, Bruno Postle wrote:

It is 1855, so practically brand new. There is no equivalent pier on the other side, so who knows what they were thinking.

I noticed it was one sided after I posted. I suppose builders were a bit more spontaneous back then. 

Panotools::Script should install and run fine on OS X, which comes with perl already installed, I think. In particular the jpeg2qtvr tool has minimal dependencies.

In general, most of these perl command-line tools have hugin equivalents these days, though not jpeg2qtvr.

I have yet to figure out how to get things running.
I don't understand where I "install" the files (yes, I can be a bit hopeless without a GUI!)
Also not sure if I got image Magick and MacPorts set up properly. Anyway, I will just have to do some reading and experimenting.

Meanwhile, I thought I should ask, so as to avoid any unnecessary disappointment, -- when I figure out how to make this work, the script will take an ER jpg and output a QTVR file that is ready to view. Is this correct?

Also, might anyone suggest a resource that would be helpful in learning the real basics of perl scripting (whatever I need to know to be able to install and run these scripts?)
Thanks,
John


Bruno Postle

unread,
Oct 15, 2012, 4:04:58 PM10/15/12
to Hugin ptx
On Sun 14-Oct-2012 at 18:03 -0700, JohnPW wrote:
>
>Meanwhile, I thought I should ask, so as to avoid any unnecessary
>disappointment, -- when I figure out how to make this work, the script will
>take an ER jpg and output a QTVR file that is ready to view. Is this
>correct?

jpeg2qtvr takes six square jpeg cubefaces and packs them into a
valid qtvr .mov file, it has no dependencies, you could probably
just download the file without Panotools::Script and it would work
so long as you have perl.

There is another tool in Panotools::Script called erect2qtvr that
does the whole thing, starting with any equirectangular image, it
depends on Hugin and ImageMagick or sips.

Though qtvr is a dying file-format, it isn't something I would
recommend if you want other people to view your stuff.

--
Bruno

JohnPW

unread,
Oct 15, 2012, 7:07:37 PM10/15/12
to hugi...@googlegroups.com
erect2qtvr is the one I was thinking of.
I like QTVR since it is simple, self contained, and pretty much everyone has QuickTime (Mac and Win) and Linux has other easy, free, options that work with QTVR files.
What do you suggest? I don't care for flash. Matt's Panellum seems nice, but not so flexible yet and is web based (if I understand correctly.)

Anyway, still haven't got things running yet. I need to learn a few geeky things first.    :-)
I finally got the Gimp to see XQuartz, but MacPorts and ImageMagick are acting up.

John

Gnome Nomad

unread,
Oct 16, 2012, 3:55:36 AM10/16/12
to hugi...@googlegroups.com
Hmm, I wouldn't gamble on every Windows system using having Quicktime.

First because my personal experience with it (at a former employer) was
it simply wouldn't work. Nothing anyone could do would make it work,
either. QT worked fine on the Macs they used to make the videos, but the
videos wouldn't play when someone tried to watch them on a Windows machine.

Second, a number of companies refuse to have QT on their corporate
systems. With the ubiquity of Flash, they see no need to have yet
another plugin (AKA browser security hole) ...
--
Gnome Nomad
gnome...@gmail.com
wandering the landscape of god
http://www.clanjones.org/david/
http://dancing-treefrog.deviantart.com/
http://www.cafepress.com/otherend/

Carlos Eduardo G. Carvalho (Cartola)

unread,
Oct 16, 2012, 6:26:30 AM10/16/12
to hugi...@googlegroups.com
I share this point of view, and that is exactly the case of the company where I work now, which has around 250,000 employees, i.e. 250 thousand users without QT.

Bests, Cartola.
> --
> You received this message because you are subscribed to the Google Groups "Hugin and other free panoramic software" group.
> A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
> To post to this group, send email to hugi...@googlegroups.com
> To unsubscribe from this group, send email to hugin-ptx+...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/hugin-ptx
>

--

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

JohnPW

unread,
Oct 16, 2012, 10:49:25 AM10/16/12
to hugi...@googlegroups.com
I'm sure not everyone has QT, but it is pretty ubiquitous.
The people I'm most concerned about (family and friends) do have it.
It's easy to use, portable, reliable.
Did you have a suggestion?

In any case, the image is the message. The envelope is only important in that it's easy to use, delivers the message, and can be easily opened.

I'm open to any suggestions on what envelopes I can use. Until the last few years, QTVR has been easiest for me. Right now I'm ambivalent. I suppose a tutorial that shows all the possibilities (and exactly how to actually use them,) platform issues, pluses and minuses might be a good thing.
John

JohnPW

unread,
Oct 16, 2012, 10:51:44 AM10/16/12
to hugi...@googlegroups.com
I wasn't planning and sending my panoramas to companies, mostly my friends.
Did you have a suggestion for a solution?
Thanks,
John

JohnPW

unread,
Oct 16, 2012, 11:25:39 AM10/16/12
to hugi...@googlegroups.com
I don't mean to pester Bruno . . . . 
so anyone who knows can feel free to fill me in on a few questions.
First, yes, I am very ignorant of scripting, Unix and command line stuff.

On Monday, October 15, 2012 3:05:09 PM UTC-5, Bruno Postle wrote:

jpeg2qtvr takes six square jpeg cubefaces and packs them into a
valid qtvr .mov file, it has no dependencies, you could probably
just download the file without Panotools::Script and it would work
so long as you have perl.

1.) That would be fine. But I'm not even sure how to do that.

There is another tool in Panotools::Script called erect2qtvr that
does the whole thing, starting with any equirectangular image, it
depends on Hugin and ImageMagick or sips.

Though qtvr is a dying file-format, it isn't something I would
recommend if you want other people to view your stuff.

--
Bruno

2.) I have have no idea where I install the "Panotools::Script". I am on OS X 10.8.2.  I put the "Panotools-Script-0.27" folder in  ~/PerlScripts I have no idea if this is a good idea or a bad one.
Feel free to tell me what's what, or where I should be putting things.

3.) Navigated in terminal to the "Panotools-Script-0.27" folder and attempted to install.

4.) Attached is text from my terminal session installing the files. Clearly something is wrong, but I don't know what it all means. Suggestions?

3.) I'm clueless about setting up the user environment etc. Again let me know.

thanks for any help,
John
 
Script install log.txt

JohnPW

unread,
Oct 16, 2012, 11:37:25 AM10/16/12
to hugi...@googlegroups.com
[Sorry for the brevity, posted prematurely. Please see my response to GnomeNomad immediately below. For now I just want to find an easy solution. Once I can do QTVR and I have more understanding, other options may seem achievable.]


On Tuesday, October 16, 2012 9:51:44 AM UTC-5, JohnPW wrote:
I wasn't planning and sending my panoramas to companies, mostly my friends.
Did you have a suggestion for a solution?
Thanks,
John

On Tuesday, October 16, 2012 5:26:33 AM UTC-5, Cartola wrote:
I share this point of view, and that is exactly the case of the company where I work now, which has around 250,000 employees, i.e. 250 thousand users without QT.

Bests, Cartola.

Erik Krause

unread,
Oct 16, 2012, 1:20:28 PM10/16/12
to hugi...@googlegroups.com
Am 16.10.2012 16:51, schrieb JohnPW:
> I wasn't planning and sending my panoramas to companies, mostly my friends.
> Did you have a suggestion for a solution?

If you are on windows use Pano2QTVR, it's free:
http://gardengnomesoftware.com/pano2qtvr.php

However, I wouldn't assume that anyone who has Quicktime can view QTVRs.
Recent versions of MacOS are delivered with Quicktime X, which can't
display QTVRs.

--
Erik Krause
http://www.erik-krause.de

Gnome Nomad

unread,
Oct 16, 2012, 1:49:37 PM10/16/12
to hugi...@googlegroups.com
My suggestion? Flash. I generally don't recommend Flash, but it works in
older browsers that don't support the HTML5 elements.

Carlos Eduardo G. Carvalho (Cartola)

unread,
Oct 16, 2012, 2:02:07 PM10/16/12
to hugi...@googlegroups.com
I have never been a fan, don't like and probably will never like flash, but that is my choice nowadays for panoramas. Maybe one day HTML5 will be a solution for every architecture, but meantime I do my panos with flash and HTML5. With free software I usually choose Salado Player as the flash and VR5 as the HTML5. This last one can detect the browser/OS and redirect for the flash plugin, so the link is the same for everyone.

If you think of buying a solution you can consider krpano which makes both flash and HTML5 at once using krpanotools. Other tools use it, like Panotour pro, from kolor.com and maybe others.

Cheers,
2012/10/16 Gnome Nomad <gnome...@gmail.com>
--
You received this message because you are subscribed to the Google Groups "Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugi...@googlegroups.com
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@googlegroups.com

JohnPW

unread,
Oct 16, 2012, 3:37:40 PM10/16/12
to hugi...@googlegroups.com
I know QuickTime X opens VR files with QuickTime Player 7. I thought QTP7 is delivered as a sort of a subcomponent of QTX. It seems like it should be trivial to make a 64b VR component for QTX. Does Apple not plan to do so?
John

JohnPW

unread,
Oct 16, 2012, 3:40:21 PM10/16/12
to hugi...@googlegroups.com
["Trivial" for a programmer, that is.  ;-)  ]

JohnPW

unread,
Oct 16, 2012, 5:22:46 PM10/16/12
to hugi...@googlegroups.com
Thanks, GnomeNomad and Carlos,

@GN--
I guess the question is, use Flash how?

@Carlos--
Salado looks good from the demo, but the documentation is a bit thin. I can't even tell what platform it's designed for. Is it Windows only? I have no idea how to install or use it. Maybe I missed something.
I can say the krpano demo definitely works on OS X, is fast and seems to produces excellent results. Seeing as I am not terribly adept, I may have to bite the bullet and and purchase it. It does a bit expensive just to share a few panos with friends though. Especially if there are free and open solutions available that should work on my platform.

John

2012/10/16 Gnome Nomad <gnome...@gmail.com>
To unsubscribe from this group, send email to hugin-ptx+...@googlegroups.com

Gnome Nomad

unread,
Oct 17, 2012, 6:43:02 AM10/17/12
to hugi...@googlegroups.com
On 10/16/2012 11:22 AM, JohnPW wrote:
> Thanks, GnomeNomad and Carlos,
>
> @GN--
> I guess the question is, use Flash how?

Beyond me - I think Carlos is a better knowledge source than I!

> @Carlos--
> Salado looks good from the demo, but the documentation is a bit thin. I
> can't even tell what platform it's designed for. Is it Windows only? I
> have no idea how to install or use it. Maybe I missed something.
> I can say the krpano demo definitely works on OS X, is fast and seems to
> produces excellent results. Seeing as I am not terribly adept, I may
> have to bite the bullet and and purchase it. It does a bit expensive
> just to share a few panos with friends though. Especially if there are
> free and open solutions available that should work on my platform.
>
> John
>
> On Tuesday, October 16, 2012 1:02:10 PM UTC-5, Cartola wrote:
>
> I have never been a fan, don't like and probably will never like
> flash, but that is my choice nowadays for panoramas. Maybe one day
> HTML5 will be a solution for every architecture, but meantime I do
> my panos with flash and HTML5. With free software I usually choose
> Salado Player as the flash and VR5 as the HTML5. This last one can
> detect the browser/OS and redirect for the flash plugin, so the link
> is the same for everyone.
>
> If you think of buying a solution you can consider krpano which
> makes both flash and HTML5 at once using krpanotools. Other tools
> use it, like Panotour pro, from kolor.com <http://kolor.com> and

dex Otaku

unread,
Oct 17, 2012, 8:55:36 AM10/17/12
to hugi...@googlegroups.com
Hey all,

Just a suggestion for a pano viewer -

If all you need is a simple client for equirectangular or QTVR photos, Panini viewer is a good option.  VASTLY superior to any part of Quicktime on Windows [I'm one of those people who uses the QTLite installer because I have software that requires the Apple codecs, but I refuse to install iTunes and the like because Apple are fascists with their installers on Windows].  

Panini may be confusing for less technical users, but as long as you give out equirect images [the rendering of which can be done straight from Hugin, requiring no conversion tools or anything as with qtvr] it's very simple to use - open the image, navigate with mouse controls, alter projection parms with keyboard keys if you want, and even save the projected image if you want.

JohnPW

unread,
Oct 17, 2012, 11:22:24 AM10/17/12
to hugi...@googlegroups.com
Last time I was trying to do this someone else recommended Panini. I was thinking it was windows only, but I see it even has a Mac .dmg file. I'll check it out.
Thanks, dO. I'll check it out.
John

JohnPW

unread,
Oct 17, 2012, 11:23:56 AM10/17/12
to hugi...@googlegroups.com
Thanks, GN.
J

Carl von Einem

unread,
Oct 17, 2012, 11:27:24 AM10/17/12
to hugi...@googlegroups.com
An overview over available viewers is here:
http://wiki.panotools.org/Viewers

Carl

JohnPW schrieb am 17.10.12 17:22:
> <https://sourceforge.net/projects/pvqt/>

JohnPW

unread,
Oct 17, 2012, 2:31:17 PM10/17/12
to hugi...@googlegroups.com, ca...@einem.net
Thanks,
The page has been significantly updated since I saw it last.

Carlos Eduardo G. Carvalho (Cartola)

unread,
Oct 17, 2012, 4:00:08 PM10/17/12
to hugi...@googlegroups.com
Hi,

2012/10/16 JohnPW <johnpw...@gmail.com>

Thanks, GnomeNomad and Carlos,

@GN--
I guess the question is, use Flash how?

@Carlos--
Salado looks good from the demo, but the documentation is a bit thin. I can't even tell what platform it's designed for. Is it Windows only? I have no idea how to install or use it. Maybe I missed something.

Salado has a Player and a Converter. The Converter is used to transform your equirectangular into a useful group of tiles for the player. The converter is Java and the player dont need to be installed, just to be used. You need to configure a xml file to it. You can make a template and use it always.
 
I can say the krpano demo definitely works on OS X, is fast and seems to produces excellent results. Seeing as I am not terribly adept, I may have to bite the bullet and and purchase it. It does a bit expensive just to share a few panos with friends though. Especially if there are free and open solutions available that should work on my platform.


krpano also has a xml configuration file, but you can generate one automatically with its tools (not graphical tools).
 
John

In fact, if your purpose is to share with family and friends maybe a better solution is just to upload your pictures to www.360cities.net and the image is published by them with krpano. I usually recommend this as a first way to beginners to publish and share.

Bests,

Carlos Eduardo G. Carvalho (Cartola)

unread,
Oct 17, 2012, 4:01:20 PM10/17/12
to hugi...@googlegroups.com
Yeah, I can help, but would prefer if you do your homework first :)

Bests,
2012/10/17 Gnome Nomad <gnome...@gmail.com>

Bruno Postle

unread,
Oct 18, 2012, 2:24:55 PM10/18/12
to Hugin ptx
On Tue 16-Oct-2012 at 08:25 -0700, JohnPW wrote:
>
>2.) I have have no idea where I install the "Panotools::Script". I am on OS
>X 10.8.2. I put the "Panotools-Script-0.27" folder in ~/PerlScripts I
>have no idea if this is a good idea or a bad one.
>Feel free to tell me what's what, or where I should be putting things.

That is fine, you can delete the folder after you have installled.

>4.) Attached is text from my terminal session installing the files. Clearly
>something is wrong, but I don't know what it all means. Suggestions?

> $ perl Makefile.PL
> Warning: prerequisite Image::ExifTool 6 not found.
> Warning: prerequisite Image::Size 2.9 not found.
> Warning: prerequisite LWP::UserAgent 0 not found.
> Warning: prerequisite URI 0 not found.

This means that it needs some more perl modules, and they may need
other perl modules...

However there is a simple tool called 'cpan' that will download and
install all the modules in the right order from the cpan project.

You should just be able to do this on the command-line:

sudo cpan Image::ExifTool Image::Size LWP::UserAgent URI

..or even better, Panotools::Script is already on the cpan mirror
servers, so you don't even need the above command, you can download
and install everything in one go:

sudo cpan Panotools::Script

(the 'sudo' bit is needed to ensure that you are installing using
root/administrator permissions)

--
Bruno

JohnPW

unread,
Oct 18, 2012, 7:37:37 PM10/18/12
to hugi...@googlegroups.com
Thanks Bruno.
I figured it meant I didn't have those items installed, but I did install Exiftool, so I wasn't sure. I installed ExifTool using macports so I figured that may have had had something to do with it. Now that I think of it I'm not sure it was "ExifTool 6" (I'm not sure, but I don't remember any capitols or the number 6.)
Anyway, just that little bit of information you gave me (the commands etc.) is very helpful.
I'll try it tonight.
Thanks,
John

JohnPW

unread,
Oct 19, 2012, 12:23:22 AM10/19/12
to hugi...@googlegroups.com


On Thursday, October 18, 2012 1:25:15 PM UTC-5, Bruno Postle wrote:
. . .

This means that it needs some more perl modules, and they may need
other perl modules...

However there is a simple tool called 'cpan' that will download and
install all the modules in the right order from the cpan project.

You should just be able to do this on the command-line:

   sudo cpan Image::ExifTool Image::Size LWP::UserAgent URI

..or even better, Panotools::Script is already on the cpan mirror
servers, so you don't even need the above command, you can download
and install everything in one go:

   sudo cpan Panotools::Script

(the 'sudo' bit is needed to ensure that you are installing using
root/administrator permissions)

--
Bruno

Well . . . 
that worked like magic!
A heck of a lot easier than everything I had done so far.
Thanks Bruno.

JohnPW

unread,
Oct 20, 2012, 11:47:27 AM10/20/12
to hugi...@googlegroups.com
I had never heard of CPAN. Very cool.
CPAN "worked like magic" but I still haven't figured out how to use your scripts.
I think it's just a matter of figurring out and learning some of the "assumed knowledge" of using perl scripts. I've been reading some stuff on perl, but almost everything assumes one is experienced with CLIs, scripting and Comp Sci. This seems to be the best thing I've found online:
If anyone has any other suggestions for a good introduction or quick start for beginners, let me know.

I'll work on it for a while and get back to you if I can't figure it out in a week or so.
Thanks Bruno.
John

JohnPW

unread,
Oct 20, 2012, 12:04:17 PM10/20/12
to hugi...@googlegroups.com
OK, Carlos. Thanks, I'll get back to you in a week or so if I need some help with my homework ;-)
I think it really is just a matter of a few basic things, which I don't know.

BTW, when I tried to view Bruno's example file above, I discovered my iPtouch doesn't support QTVR! That surprised me. Presumably it's not supported on iOS at all.
I'd say that's a pretty good indication you guys are correct in saying it is a "dying format" (apparently Apple agrees with you on that.  ;-)
Thanks,
John

Carl von Einem

unread,
Oct 20, 2012, 2:12:14 PM10/20/12
to hugi...@googlegroups.com
JohnPW schrieb am 20.10.12 18:04:
>
> BTW, when I tried to view Bruno's example file above, I discovered my
> iPtouch doesn't support QTVR! That surprised me. Presumably it's not
> supported on iOS at all.

Not natively but through an app it's possible. On my iPod touch (4th
Gen.) I have iPano (from watersoftapps.com) which can handle QTVR
panoramas and objects besides the usual equirects. USD 2.99 in the App
Store.

Other interesting panorama viewers I found are

Cube World
<http://www.marcogiorgini.com/?page_id=403>
free, digests a zip of cube faces together with an .xml file stored online

PangeaVR (free) and PangeaVR Pro (USD 9.99)
<http://www.pangeasoft.net/pano/pangeavr/index.html>
I use the pro version to take my panoramas (equirectangular files) with
me on the iPod touch.

> I'd say that's a pretty good indication you guys are correct in saying
> it is a "dying format" (apparently Apple agrees with you on that. ;-)

As it was noted before QTVRs still work on OS X but Apple seems to have
lost interest... but it still works. I usually prefer simple
equirectangular files since the days of PTViewer.

Carl

Carlos Eduardo G. Carvalho (Cartola)

unread,
Oct 22, 2012, 12:30:10 PM10/22/12
to hugi...@googlegroups.com
I guess most of the scripts installed can be used just as common command line tools - maybe all of them (I just don't say all because I have never used all of them). For example, it installs erect2cubic. If you just run it in the command line you get a "usage" help:
---------------------------------------------------------------
$ erect2cubic
Takes an equirectangular image and produces a .pto file suitable for
extracting six cube faces.

Usage:
   /usr/local/bin/erect2cubic --erect=myerectangular.tif --ptofile=cubic.pto

Options:
   --filespec (panotools format, defaults to 'TIFF_m')
   --roll     (degrees)
   --pitch    (degrees, use -90 if nadir is in centre)
   --yaw      (degrees, adjust position of first cubeface)
   --face     (cubeface size in pixels, defaults to optimum)
---------------------------------------------------------------
And the same happens with the opposite commando cubuc2erect.


Bests,

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



2012/10/20 JohnPW <johnpw...@gmail.com>
Reply all
Reply to author
Forward
0 new messages