It seems, that the freepv stand alone applications freepv-glx and
freepv-glut aren't able to download a qtvr file from the net, and
therefor I'm not able to load panoramas with the
MediaPlayerConnectivity Extensions
(https://addons.mozilla.org/de/firefox/addon/446) for firefox, and I
doubt, that it is possible to load them by plugger
(http://fredrik.hubbe.net/plugger.html) into the standalone freepv
programs. lease, have also a look here (sorry, german):
http://www.firefox-browser.de/forum/viewtopic.php?p=394623#394623
Here ist the output of the two programs:
$
freepv-glx "http://www.bruno.postle.net/panorama/abu-dhabi/stuart-in-street-qtvr.mov"
XF86VidModeExtension-Version 2.2
Got Doublebuffered Visual!
glX-Version 1.3
Depth 24
Congrats, you have Direct Rendering!
before processing events
Starting freepv, revision: $Revision: 69 $
ERROR: 14:42:04.274000 (glx_platform.cpp:348) glSwapBuffers(): OpenGL
Error: 1281, invalid value
state 5: downloading
http://www.bruno.postle.net/panorama/abu-dhabi/stuart-in-street-qtvr.mov
state 5: file
http://www.bruno.postle.net/panorama/abu-dhabi/stuart-in-street-qtvr.mov
downloaded
ERROR: 14:42:04.274257 (glx_platform.cpp:348) glSwapBuffers(): OpenGL
Error: 1281, invalid value
ERROR: 14:42:04.274307 (QTVRDecoder.cpp:277) parseHeaders(): fopen()
failed: No such file or directory
state 7: Error during QTVR parsing:
ERROR: 14:42:04.274859 (glx_platform.cpp:348) glSwapBuffers(): OpenGL
Error: 1281, invalid value
Segmentation fault
$
freepv-glut "http://www.bruno.postle.net/panorama/abu-dhabi/stuart-in-street-qtvr.mov"
before processing events
Starting freepv, revision: $Revision: 69 $
state 5: downloading
http://www.bruno.postle.net/panorama/abu-dhabi/stuart-in-street-qtvr.mov
state 5: file
http://www.bruno.postle.net/panorama/abu-dhabi/stuart-in-street-qtvr.mov
downloaded
ERROR: 14:43:14.622412 (QTVRDecoder.cpp:277) parseHeaders(): fopen()
failed: No such file or directory
state 7: Error during QTVR parsing:
Segmentation fault
You could write a wrapper script that uses curl or wget to download
the file to a temporary filename, calls freepv-glx to view it and
then deletes the file afterward.
> freepv-glx "http://www.bruno.postle.net/panorama/abu-dhabi/stuart-in-street-qtvr.mov"
Downloading a file is a complicated task, you have to deal with
http, https, ftp, different port numbers, redirects etc... I
haven't checked but I'm sure the plugin uses mozilla to do this bit.
> state 5: downloading
> http://www.bruno.postle.net/panorama/abu-dhabi/stuart-in-street-qtvr.mov
> ERROR: 14:42:04.274307 (QTVRDecoder.cpp:277) parseHeaders(): fopen()
> failed: No such file or directory
> state 7: Error during QTVR parsing:
> ERROR: 14:42:04.274859 (glx_platform.cpp:348) glSwapBuffers(): OpenGL
> Error: 1281, invalid value
> Segmentation fault
A segfault is a bug that should be fixed anyway.
--
Bruno
but I think that is not a bug, because it's a result of "failed: No such
file or directory". Maybe, instead of a segmentation fault there should
be a message like: "Not able to download the file, please use a wrapper
script. See details in man freepv "
Thank you, I'll try to write such a wrapper for that purpose.
Here it is:
#!/bin/sh
cd /tmp
wget $1
PATHNAME=$1
freepv-glx ${PATHNAME##*/}
rm ${PATHNAME##*/}