Mplayer module - Hacking ffmpeg module to use mplayer for thumb creation

eversonl

Joined: 2006-04-13
Posts: 9
Posted: Thu, 2006-04-13 15:58

OK now I can get it to upload movies but no thumb is created and it calls it unknown.
Also it doesn't play in the gallery, just links to the actual wmv file via a 'download unknown' link

Any ideas?
running the rebuild i get

Quote:
Error (ERROR_TOOLKIT_FAILURE)in
modules/mplayer/classes/MplayerToolkit.class at line 228
(gallerycoreapi::error)
in modules/mplayer/classes/MplayerToolkit.class at line 86
(mplayertoolkit::_mplayer)

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2006-04-13 22:26

post a link to a sample file I can try to upload.
you can turn on buffered debug output in config.php to see what error mplayer is producing.

 
mattyb

Joined: 2005-07-04
Posts: 82
Posted: Sat, 2006-05-13 11:14

hey mindless was workin on this module and I had a bunch of problems. I ruined my whole gallery but that is besides the point. I got gallery 2.1 installed with your updated version of this module. I have added watermarking and was about to upload the new module when I noticed that the offset wasnt showing up. I went back to your version from my version and still no luck. Is this a problem or am I doing something wrong? Please let me know if this aspect of the module is broken since 2.1 so that I have a better idea of where to look. As soon as i fix this I will be able to upload this module with watermarking. Thanks

Mattyb

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sat, 2006-05-13 15:22

what offset isn't showing up where?

 
mattyb

Joined: 2005-07-04
Posts: 82
Posted: Sat, 2006-05-13 18:17

The offset tab under edit movie where you select the time offset for the thumbnail creation. I used to have a third tab when you selected edit movie where i could input a number for the offset but in this version of the module i know longer have that. Is it a problem that only i am experiencing or is it some thing common to this version of the module. I have played around a little with the code where the offset is set but so far no luck.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2006-05-14 15:07

maybe deactivate/reactivate the thumbpage module. thumbpage module offers this tab if some other module supports both convert-to-image/jpeg and select-offset for the mime type of the movie.

 
mattyb

Joined: 2005-07-04
Posts: 82
Posted: Sun, 2006-05-14 17:47

thanks mindless. I figured this out last night and I felt like an idiot when it finally dawned on me what was wrong. So anyways then here is the new mplayer module with watermarking support.

 
filip_tc

Joined: 2006-05-25
Posts: 29
Posted: Sun, 2006-05-28 00:54

Ok, just installed mplayer module(I gave up on FFmpeg), directed gallery to the executable (mplayer.exe). I keep getting the unknown thumbnail though. When I go to edit item and go to the tab 'thumbnail' I get:

Quote:
Error Detail -
Error (ERROR_TOOLKIT_FAILURE)

* in modules\mplayer\classes\MplayerToolkit.class at line 229 (GalleryCoreApi::error)
* in modules\mplayer\classes\MplayerToolkit.class at line 152 (MplayerToolkit::_mplayer)
* in modules\mplayer\classes\MplayerToolkit.class at line 50 (MplayerToolkit::_getMovieDimensions)
* in modules\thumbpage\ItemEditThumbOffset.inc at line 167 (MplayerToolkit::getProperty)
* in modules\thumbpage\ItemEditThumbOffset.inc at line 109 (ItemEditThumbOffset::_getDuration)
* in modules\core\ItemEdit.inc at line 287 (ItemEditThumbOffset::loadTemplate)
* in modules\core\ItemAdmin.inc at line 147 (ItemEditView::loadTemplate)
* in modules\core\classes\GalleryView.class at line 317 (ItemAdminView::loadTemplate)
* in main.php at line 386 (GalleryView::doLoadTemplate)
* in main.php at line 87
* in main.php at line 80

System Information
Gallery version 2.1.1
PHP version 5.1.4 apache2handler
Webserver Apache/2.0.55 (Win32) PHP/5.1.4
Database mysql 5.0.18-nt
Toolkits ImageMagick, NetPBM, Gd
Operating system Windows NT 5.1 build 2600
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3

Appreciate any help...

 
stephthegeek

Joined: 2004-08-21
Posts: 33
Posted: Thu, 2006-06-01 19:51

I'm having the same problem as filip_tc.

If I understand correctly, the mplayer module should allow for wmv9 thumbnails to be created, right? I need to get a large number of wmv9 videos up asap, so I would really love if someone could offer some help with this. Thanks!

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2006-06-01 22:32

you can put gallery in debug mode in config.php and look for "Executing" in the output to see the command used to run mplayer, and the resulting output/error messages.

 
stephthegeek

Joined: 2004-08-21
Posts: 33
Posted: Fri, 2006-06-02 00:23

I don't see "executing" anywhere, but a search for "mplayer" turns up:

file_exists(/var/www/v6.stephthegeek.com/public_html/gallery2/modules/core/classes/helpers/../../../../modules/mplayer/classes/MplayerToolkit.class)

 
stephthegeek

Joined: 2004-08-21
Posts: 33
Posted: Fri, 2006-06-02 00:25

Ah I see what you meant now. Here are the messages:

file_exists(/var/www/v6.stephthegeek.com/public_html/gallery2/modules/core/classes/helpers/../../../../modules/mplayer/classes/MplayerToolkit.class) tempnam(/var/www/v6.stephthegeek.com/public_html/gallery2/g2data/tmp/, mpl_) unlink(/var/www/v6.stephthegeek.com/public_html/gallery2/g2data/tmp/mpl_CetlsL) file_exists(/var/www/v6.stephthegeek.com/public_html/gallery2/g2data/tmp/mpl_CetlsL) getParameter permissions.directory for core plugin file_exists(/var/www/v6.stephthegeek.com/public_html/gallery2/g2data/tmp/mpl_CetlsL) file_exists(/var/www/v6.stephthegeek.com/public_html/gallery2/g2data/tmp) is_dir(/var/www/v6.stephthegeek.com/public_html/gallery2/g2data/tmp) mkdir(/var/www/v6.stephthegeek.com/public_html/gallery2/g2data/tmp/mpl_CetlsL, 755) tempnam(/var/www/v6.stephthegeek.com/public_html/gallery2/g2data/tmp/mpl_CetlsL, mpl_) getParameter path for mplayer plugin file_exists(/var/www/v6.stephthegeek.com/public_html/gallery2/g2data/cache/module/mplayer/0/0/0.inc) getParameter exec.beNice for core plugin Executing: () 2>/var/www/v6.stephthegeek.com/public_html/gallery2/g2data/tmp/g2dbgYB4EyT getParameter exec.expectedStatus for core plugin file_exists(/var/www/v6.stephthegeek.com/public_html/gallery2/g2data/tmp/g2dbgYB4EyT) filesize(/var/www/v6.stephthegeek.com/public_html/gallery2/g2data/tmp/g2dbgYB4EyT) unlink(/var/www/v6.stephthegeek.com/public_html/gallery2/g2data/tmp/g2dbgYB4EyT) Regular Output: Error Output: Status: 2 (expected 0) recursiveRmdir(/var/www/v6.stephthegeek.com/public_html/gallery2/g2data/tmp/mpl_CetlsL) opendir(/var/www/v6.stephthegeek.com/public_html/gallery2/g2data/tmp/mpl_CetlsL/) readdir(Resource id #255) readdir(Resource id #255) readdir(Resource id #255) is_dir(/var/www/v6.stephthegeek.com/public_html/gallery2/g2data/tmp/mpl_CetlsL/mpl_50XptP) unlink(/var/www/v6.stephthegeek.com/public_html/gallery2/g2data/tmp/mpl_CetlsL/mpl_50XptP) readdir(Resource id #255) rmdir(/var/www/v6.stephthegeek.com/public_html/gallery2/g2data/tmp/mpl_CetlsL/) getParameter default.theme for core plugin Loading plugin matrix matrix plugin successfully instantiated Check the version of the matrix plugin The version of the matrix plugin is ok Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core plugin is ok file_exists(/var/www/v6.stephthegeek.com/public_html/gallery2/modules/core/classes/helpers/../../../../modules/core/ErrorPage.inc) getParameter id.adminGroup for core plugin realpath(/var/www/v6.stephthegeek.com/public_html/gallery2/modules/core/classes/../../../)

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2006-06-02 01:26

don't know what's going on there.. () 2> .... looks like it executed nothing.

 
Methodus

Joined: 2005-07-01
Posts: 7
Posted: Fri, 2006-06-02 16:00

I'm having the same problem. No thumbnail is being created for the AVI file I have uploaded. The movie plays when I click on it, but it's not very pretty without a thumbnail. I would provide you with data but I'm having trouble figuring out how to put Gallery in debug mode.

 
Methodus

Joined: 2005-07-01
Posts: 7
Posted: Fri, 2006-06-02 16:06

Got debug mode. Here's the output:

file_exists(/home/httpd/ej257.com/gallery2/modules/core/classes/helpers/../../../../modules/mplayer/classes/MplayerToolkit.class)
tempnam(/home/httpd/g2data/tmp/, mpl_)
unlink(/home/httpd/g2data/tmp/mpl_f4zZO8)
file_exists(/home/httpd/g2data/tmp/mpl_f4zZO8)
getParameter permissions.directory for core plugin
file_exists(/home/httpd/g2data/tmp/mpl_f4zZO8)
file_exists(/home/httpd/g2data/tmp)
is_dir(/home/httpd/g2data/tmp)
mkdir(/home/httpd/g2data/tmp/mpl_f4zZO8, 755)
tempnam(/home/httpd/g2data/tmp/mpl_f4zZO8, mpl_)
getParameter path for mplayer plugin
file_exists(/home/httpd/g2data/cache/module/mplayer/0/0/0.inc)
getParameter exec.beNice for core plugin
Executing: ( "/usr/bin/mplayer"  "/home/httpd/g2data/albums/Sample.mov" 
"-identify"  "-nosound"  "-vc"  "dummy"  "-vo"  "null" )
2>/home/httpd/g2data/tmp/g2dbgT4i1B3
getParameter exec.expectedStatus for core plugin
file_exists(/home/httpd/g2data/tmp/g2dbgT4i1B3)
filesize(/home/httpd/g2data/tmp/g2dbgT4i1B3)
fopen(/home/httpd/g2data/tmp/g2dbgT4i1B3, r, 0)
feof(Resource id #118)
fgets(Resource id #118, 4096)
feof(Resource id #118)
fgets(Resource id #118, 4096)
feof(Resource id #118)
fgets(Resource id #118, 4096)
feof(Resource id #118)
fgets(Resource id #118, 4096)
feof(Resource id #118)
fclose(Resource id #118)
unlink(/home/httpd/g2data/tmp/g2dbgT4i1B3)
Regular Output:
MPlayer 1.0pre5-3.4.1 (C) 2000-2004 MPlayer Team
CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner 552.6 MHz (Family: 6,
Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with
--disable-runtime-cpudetection.
Reading config file /etc/mplayer/mplayer.conf
Using usleep() timing
Playing /home/httpd/g2data/albums/Sample.mov.

Cache fill:  0.86% (72490 bytes)    QuickTime/MOV file format detected.
Compressed header uses zlib algo!
Compressed header size: 810 / 1816
--------------
MOV track #0: 12 chunks, 45 samples
Image size: 200 x 240 (24 bpp)
Display size: 200 x 240
Fourcc: SVQ1  Codec: 'Sorenson Video'
--------------
MOV track #1: 6 chunks, 0 samples
Audio bits: 16  chans: 1  rate: 22050
Audio extra header: len=88  fcc=0x77617665
MOV: Found unknown audio atom Fourcc: QDM2
--------------
MOV: longest streams: A: #1 (6 samples)  V: #0 (45 samples)
Clip info:
 copyright: © 1999 Apple Computer, Inc.
 name: QuickTime 4 Sample Movie
ID_FILENAME=/home/httpd/g2data/albums/Sample.mov
ID_VIDEO_FORMAT=SVQ1
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=200
ID_VIDEO_HEIGHT=240
ID_VIDEO_FPS=15.000
ID_VIDEO_ASPECT=0.0000
ID_LENGTH=0
==========================================================================
Forced video codec: dummy
Read DOCS/HTML/en/codecs.html!
==========================================================================
Exiting... (End of file)
Error Output:
Cannot find HOME directory.
Failed to open /dev/rtc: Permission denied (it should be readable by the
user.)
Cannot find codec matching selected -vo and video format 0x31515653.
Status: 0 (expected 0)
recursiveRmdir(/home/httpd/g2data/tmp/mpl_f4zZO8)
opendir(/home/httpd/g2data/tmp/mpl_f4zZO8/)
readdir(Resource id #119)
readdir(Resource id #119)
readdir(Resource id #119)
is_dir(/home/httpd/g2data/tmp/mpl_f4zZO8/mpl_0sisdB)
unlink(/home/httpd/g2data/tmp/mpl_f4zZO8/mpl_0sisdB)
readdir(Resource id #119)
rmdir(/home/httpd/g2data/tmp/mpl_f4zZO8/)
 
stephthegeek

Joined: 2004-08-21
Posts: 33
Posted: Fri, 2006-06-02 16:15

I also get these errors when adding a file, any video file:

* warning: array_merge() [function.array-merge]: Argument #1 is not an array in /var/www/v6.stephthegeek.com/public_html/gallery2/modules/mplayer/classes/MplayerToolkit.class on line 212.
* warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/v6.stephthegeek.com/public_html/gallery2/modules/mplayer/classes/MplayerToolkit.class on line 212.
* warning: Invalid argument supplied for foreach() in /var/www/v6.stephthegeek.com/public_html/gallery2/modules/core/classes/GalleryPlatform/UnixPlatform.class on line 73.
* warning: array_merge() [function.array-merge]: Argument #1 is not an array in /var/www/v6.stephthegeek.com/public_html/gallery2/modules/mplayer/classes/MplayerToolkit.class on line 212.
* warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/v6.stephthegeek.com/public_html/gallery2/modules/mplayer/classes/MplayerToolkit.class on line 212.
* warning: Invalid argument supplied for foreach() in /var/www/v6.stephthegeek.com/public_html/gallery2/modules/core/classes/GalleryPlatform/UnixPlatform.class on line 73.

 
swordfish
swordfish's picture

Joined: 2004-10-01
Posts: 388
Posted: Sat, 2006-06-03 04:17

Maybe some of you need to update your Mplayer version.?
I'm using MPlayer dev-CVS-060414-15:32-3.4.6 (C) 2000-2006
CPU: Intel Pentium 4 Willamette; Xeon Foster (Family: 15, Stepping: 2)
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX SSE SSE2

WMV9 video's with thumbnails work for me.


Gallery version = 2.1.1 core 1.1.0.1
PHP version = 4.4.2-pl2-gentoo apache
Webserver = Apache/1.3.34 (Unix) (Gentoo) mod_gzip/1.3.26.1a PHP/4.4.2-pl2-gentoo mod_ssl/2.8.25 OpenSSL/0.9.7i
Database = mysql 4.0.27, lock.system=flock
Toolkits = Exif, Ffmpeg, NetPBM, ArchiveUpload, Thumbnail, Gd, mplayer, Dcraw, ImageMagick
Acceleration = full/900, full/900
Operating system = Linux digi-archive 2.6.16-gentoo-r7 #1 SMP Thu May 11 19:54:07 PDT 2006 i686
Default theme = matrix
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4

 
mattyb

Joined: 2005-07-04
Posts: 82
Posted: Sat, 2006-06-03 04:44

I have a feeling that thier server is running windows and for some reason that is the proble although I dont know why. I havent seen anyone having these problems running linux.

 
stephthegeek

Joined: 2004-08-21
Posts: 33
Posted: Sat, 2006-06-03 06:31

Whose server? Mine's Linux. Latest version of mplayer.

 
mattyb

Joined: 2005-07-04
Posts: 82
Posted: Sat, 2006-06-03 07:02

well there goes that theory. do you have shell access? Can you run the commands on mplayer manually? do they work? I had a problem like methodus' error above when I first got this going and I found it to be a permissions error. My host changed the permissions on the server and it worked. I dont know why it is not showing anything executing for you though stephthegeek. I find the error detail helpful to me when I am coding, sometimes more than the debug. Any chance you could post that rather than the debug output. then I can look at the code and see what might be going on. Mindless might have a better idea though, as mindless is a far better coder than I.

 
panosnl

Joined: 2006-06-14
Posts: 3
Posted: Wed, 2006-06-14 20:30

Mplayer on windows server working !!

Windows version of Mplayer does not like the drive letter in the pathname of the outdir as stated in a earlier post.

This stopped the mplayer plugin working at all.

As a quick and dirty fix I edited the MplayerToolkit.class so that the Tempdir is fixed _without_ a driveletter (/mplayer_temp). As a result mplayer works now OK.

Quote:
function _makeTemp() {
global $gallery;
$platform =& $gallery->getPlatform();
$tmpDir = "/mplayer_temp";
$platform->unlink($tmpDir);
...

Since I don't know how to solve this properly I hope this information will be used to update the code so windows users now can use mplayer too.

gr,
Patrick

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2006-06-15 03:02

thanks for letting us know. We'll fix it once we turn this into an official module.
@Anyone, please feel free to polish this module and fix bugs / add tests! :)

 
guysmiley
guysmiley's picture

Joined: 2006-06-27
Posts: 3
Posted: Tue, 2006-06-27 19:56

Joining the discussion...

I'm running win2003 and have uploaded a fresh G2 and manually added your testing module (which I'm very interested in)...

thumbnails aren't happening for me even though I've set mplayer as the prefered mod for handling thumbnail creation. I even applied panosnl's hack above (which I'm not certain is necessary) with no success.

Anyone have mplayer working successfully with G2 on win2003?

gs

 
panosnl

Joined: 2006-06-14
Posts: 3
Posted: Tue, 2006-07-04 20:34

OK Since I got it running on my server at home running Windows XP + Apache I migrated to a host running linux.

Now I get the exact same errors as stephthegreek and methodus.

It seems that running mplayer in a php script has some limitations. Eg. there is no HOME dir set. This is exactlythe error message by mplayer loggind in the debugging window. Could this be the killer?

I ran the following php script to verify (PS. does not work in safe mode, save it as test.php on your host and access it via http)

Quote:
<?php
$output = shell_exec('set');
echo "<pre>$output</pre>";
?>

output:
BASH=/bin/sh
BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release" [5]="i386-redhat-linux-gnu")
BASH_VERSION='2.05b.0(1)-release'
--rest cut off --

The output did not contain an HOME variable set.

Are there any other solutions? Maybe mattyb, swordfish or others can run this script and confirm that he has an HOME variable set...

I will ask my hosting admin to set the HOME variable for this shell. If any news I'll keep you updated.

gr,
Patrick

 
panosnl

Joined: 2006-06-14
Posts: 3
Posted: Sat, 2006-07-08 20:26

I was wrong about the HOME dir. This is not critical.

The Array_merge errors where the killer.

Quote:
$platform->exec(array(array_merge($mplayerPath, $sourceFilename, $args)));

Since $mplayerpath and $sourceFilename are not arrays ($args is an array)

changing it eliminated this error.

Quote:
$platform->exec(array(array_merge(array($mplayerPath),array($sourceFilename), $args)));

Still I don't understand why this code runs OK on other servers. Could it be PHP version?

gr,
patrick

System Information
Gallery version 2.1.1
PHP version 5.1.2 apache
Webserver Apache/1.3.34 (Unix) PHP/5.1.2 mod_ssl/2.8.25 OpenSSL/0.9.7a mod_perl/1.29 FrontPage/5.0.2.2510
Database mysql 4.1.18-standard
Toolkits SquareThumb, Gd
Operating system Linux

 
dubLeE

Joined: 2006-06-27
Posts: 9
Posted: Mon, 2006-07-17 05:49

i don't have shell access or command liine options or anything. and am looking to run this with my G2 as well however i need a compiled binary of this so i can run it on my shared webspace...

thanks
------
Personal Website: www.dubLeE.com

www.OmniFusion.net
www.OmniFusionHosting.net

 
fulopa

Joined: 2006-01-10
Posts: 16
Posted: Mon, 2006-09-11 13:02

Is it possible to write mata information into and read it from mpegs, just like e.g exif in images?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2006-09-12 08:17

the getid3 module can do that.

 
sundansx

Joined: 2006-09-17
Posts: 13
Posted: Sun, 2006-09-17 07:44

I had some problems with the new module creating thumbnails for Quicktime 7.1 H.264 videos. I have some different formats for videos in my gallery (some WM9 and some QT7.1). Since this plugin and ffmpeg both service the same mimetypes, the module order doesnt help.
I fixed it by commenting out the '.mov' mimetype for the mplayer module in the file named: MplayerToolkitHelper.class

You might consider doing this in the final version as Mplayer handled QT7.1 hit and miss for me. Not sure why one video worked and another did not. They were all pretty similar. WM9 videos worked with Mplayer everytime so far. QT7.1 videos have worked with ffmpeg every time, so far.

thanks for the great module.

Note: I also had the sme problem with the drive letter in the pathname on winxp. Applied a similar fix as above and it worked.

 
technobilder

Joined: 2003-02-09
Posts: 214
Posted: Sat, 2006-12-02 20:41

Hm, I installed the mplayer module but nothing happened to my old videos. What do I have to do the "thumbnail" them?
And how does the module ork? There's no .doc included and I don't find how to handle it.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2006-12-03 00:26

g2.2 it will try to generate thumbs if you use the "build thumbs/resizes" maintainenance task / or trigger it on a per album basis.
in g2.1.2, you'd have to add the movie again to trigger thumbnail generation.

 
technobilder

Joined: 2003-02-09
Posts: 214
Posted: Sun, 2006-12-10 15:56

Hm, the path to mplayer is shown as "passed" when I test it - but after I added a new video I only get a broken gif displayed, no thumb of the video.
Is the binary that is mentioned also included in the modue or do I have to install it seperatly? And if the binary is included whch file is it - to check the chmaod.
The Video I speak about is here: http://www.technobilder.de/gallery2/v/2006/Dezember+2006/B-Live/

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2006-12-10 16:12

as with the ffmpeg module, you need a separate binary, the mplayer binary.

 
technobilder

Joined: 2003-02-09
Posts: 214
Posted: Sun, 2006-12-10 18:09

Where do I get this and how do I install it then?
As far as I remember there wasn't any doc on this in the module.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2006-12-10 18:14
 
filip_tc

Joined: 2006-05-25
Posts: 29
Posted: Thu, 2007-01-11 02:43

Did a fresh 2.2 install and am waiting for the hacked module to be ported to v2.2. Any chance this will be happening any time soon? Thx,

Phil

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2007-01-11 16:09

filip_tc, does it not work with 2.2?

 
filip_tc

Joined: 2006-05-25
Posts: 29
Posted: Thu, 2007-01-11 17:01

Honestly, I must say that I haven't dared to try yet... I will though and post results later.

 
filip_tc

Joined: 2006-05-25
Posts: 29
Posted: Thu, 2007-01-11 19:41

Install works smoth, admin menu is flawless but I get broken thumbnails (broken item icons). I downloaded the latest MPlayer version and the the test said it passed...

So just about the same as in my post above... any clues what is wrong?

Phil

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2007-01-12 16:33

does the latest mplayer version work with G2.1.x? seems unlikely this is due to G2.2.

 
filip_tc

Joined: 2006-05-25
Posts: 29
Posted: Fri, 2007-01-12 16:44

Nope. If you scroll up to the top of the page you will see that I posted a message where I had this exact same error (which I never got solved). So this is probably unrelated to G2.2. What was causing this in G2.1 is still present in G2.2.

Phil

 
evitsa

Joined: 2007-01-23
Posts: 6
Posted: Wed, 2007-01-24 01:27

Hello

I've installed Mplayer 1.0.3 on Gallery2.

The modules'test is ok and activation succesfull too.

But my thumbnails're (.mov too) still broken.

I have another problem to view my video on the page and know
that it isn't the good thread for ffmpeg, i'm looking
for someone's experiences to help me and don't find it :-(

I'm not a geek :-)

Help !!

Eva

 
mattyb

Joined: 2005-07-04
Posts: 82
Posted: Wed, 2007-01-24 07:12

Hey phil
I dont have the time right now to even try to look at your problem but if I remember right it had something to do with a windows server not with 2.1. I currently run gallery 2.1 on a linux server, without any issues. Also I dont know if you had read earlier in this thread but the test other than for the binary is fake. It just says yeah we can do this this and this without actually testing the mplayer binary. I couldnt figure out how to get that part of the code working properly so i just made it so that it would arbitrarily work.

Evista
Make sure that you have the correct version of the mplayer module. There are a few in this thread. One is for 2.0 and the other is for 2.1 and above. Since you were able to install im not sure that is the prob though. Have you tried other formats of video? Even though it says it can do it the module doesnt really check. Try other types of video and it could just be that your mplayer binary doesnt support the codec you are trying to process.

 
ZyreX

Joined: 2004-03-04
Posts: 43
Posted: Tue, 2007-02-13 23:11

The modules looks great, but I also have some problems with it..

It install nicely, and I've installed the mplayer 0.93 binary on my server.
I install the mplayer-module, activates it, and checks if everything is okay, and it says it is.

Then I upload a wmv-file I have, it recognizes it as "movie", and then adds it.
But no thumbnail! I only get a the broken gif-image... It also says "unknown" as name and such..
[img]http://zyrex.org/gallery/d/40556-3/winter.gif[/img]

Can't really see what I'm doing wrong here, or?

edit:
I went debugging:

Error (ERROR_TOOLKIT_FAILURE)in
modules/mplayer/classes/MplayerToolkit.class at line 229
(GalleryCoreApi::error)
in modules/mplayer/classes/MplayerToolkit.class at line 87
(MplayerToolkit::_mplayer)
in modules/core/classes/GalleryDerivative.class at line 483
(MplayerToolkit::performOperation)
in modules/core/classes/GalleryDerivative.class at line 308
(GalleryDerivative::_rebuildCache)
in modules/core/classes/GalleryDerivativeImage.class at line
166 (GalleryDerivative::rebuildCache)
in
modules/core/classes/helpers/GalleryDerivativeHelper_advanced.class at
line 742 (GalleryDerivativeImage::rebuildCache)
in modules/core/classes/GalleryCoreApi.class at line 956
(GalleryDerivativeHelper_advanced::rebuildCache)
in
modules/core/classes/helpers/GalleryDerivativeHelper_simple.class at
line 66 (GalleryCoreApi::rebuildDerivativeCache)
in modules/core/classes/GalleryCoreApi.class at line 942
(GalleryDerivativeHelper_simple::rebuildCacheIfNotCurrent)
in modules/core/CreateThumbnailOption.inc at line 77
(GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
in modules/core/ItemAdd.inc at line 151
(CreateThumbnailOption::handleRequestAfterAdd)
in main.php at line 199 (ItemAddController::handleRequest)
in main.php at line 87
in main.php at line 80

Gallery version = 2.1.2 core 1.1.0.2
PHP version = 5.2.1 apache2handler
Webserver = Apache/2.0.59 (Trustix Secure Linux/Linux) PHP/5.2.1 mod_perl/2.0.0 Perl/v5.8.5
Database = mysql 4.1.22, lock.system=flock
Toolkits = ArchiveUpload, ImageMagick, Thumbnail, Exif, Getid3, mplayer
Acceleration = none, none
Operating system = Linux inutaisho 2.4.29-2tr #1 Tue Feb 8 13:36:31 CET 2005 i686
Default theme = matrix
Locale = en_US
Browser = Opera/9.10 (Windows NT 5.0; U; en)

 
filip_tc

Joined: 2006-05-25
Posts: 29
Posted: Tue, 2007-02-13 22:36

Hey mattyb
I moved to linux (mandriva 2007) and the problem persists. *Not* windows related. Seems ZyreX has the exact same problem and is on a linux server as well.

 
ZyreX

Joined: 2004-03-04
Posts: 43
Posted: Wed, 2007-02-21 13:44

Any progress here?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2007-02-21 13:57

probably, your mplayer binary doesn't support wmv, or at least not in the version of your wmv movie.

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
ZyreX

Joined: 2004-03-04
Posts: 43
Posted: Wed, 2007-02-21 14:11

Well, I tried to upload an AVI-file, and the same happened to it..

MPlayer 0.93-3.3.4 (C) 2000-2003 MPlayer Team btw...

I'll try to play around a bit with it..

 
ZyreX

Joined: 2004-03-04
Posts: 43
Posted: Wed, 2007-02-21 18:21

Okay, I've updated the mplayer-installation I have, realised I had a bit outdated one.

then i made sure i had downloaded the codecs-pack, and recompiled.. but still not go.

here is the debug:

file_exists(/home/httpd/sites/zyrex.org/g2data/cache/module/_all/0/0/GalleryStorage_describeEntity.inc)
file_exists(/home/httpd/sites/zyrex.org/g2data/cache/derivative/4/1)
is_dir(/home/httpd/sites/zyrex.org/g2data/cache/derivative/4/1)
file_exists(/home/httpd/sites/zyrex.org/gallery/modules/core/classes/helpers/../../../../modules/archiveupload/classes/ArchiveExtractToolkit.class)
file_exists(/home/httpd/sites/zyrex.org/gallery/modules/core/classes/helpers/../../../../modules/thumbnail/classes/ThumbnailToolkit.class)
file_exists(/home/httpd/sites/zyrex.org/gallery/modules/core/classes/helpers/../../../../modules/exif/classes/ExifToolkit.class)
file_exists(/home/httpd/sites/zyrex.org/gallery/modules/core/classes/helpers/../../../../modules/getid3/classes/Getid3Toolkit.class)
tempnam(/home/httpd/sites/zyrex.org/g2data/tmp/, mpl_)
unlink(/home/httpd/sites/zyrex.org/g2data/tmp/mpl_B5pwmW)
file_exists(/home/httpd/sites/zyrex.org/g2data/tmp/mpl_B5pwmW)
file_exists(/home/httpd/sites/zyrex.org/g2data/tmp)
is_dir(/home/httpd/sites/zyrex.org/g2data/tmp)
mkdir(/home/httpd/sites/zyrex.org/g2data/tmp/mpl_B5pwmW, 755)
tempnam(/home/httpd/sites/zyrex.org/g2data/tmp/mpl_B5pwmW, mpl_)
getParameter path for mplayer plugin
Executing: () 2>/home/httpd/sites/zyrex.org/g2data/tmp/g2dbg7b1qPu
file_exists(/home/httpd/sites/zyrex.org/g2data/tmp/g2dbg7b1qPu)
filesize(/home/httpd/sites/zyrex.org/g2data/tmp/g2dbg7b1qPu)
unlink(/home/httpd/sites/zyrex.org/g2data/tmp/g2dbg7b1qPu)
Regular Output:
Error Output:
Status: 2 (expected 0)
recursiveRmdir(/home/httpd/sites/zyrex.org/g2data/tmp/mpl_B5pwmW)
opendir(/home/httpd/sites/zyrex.org/g2data/tmp/mpl_B5pwmW/)
readdir(Resource id #182)
readdir(Resource id #182)
readdir(Resource id #182)
is_dir(/home/httpd/sites/zyrex.org/g2data/tmp/mpl_B5pwmW/mpl_ZtxeCd)
unlink(/home/httpd/sites/zyrex.org/g2data/tmp/mpl_B5pwmW/mpl_ZtxeCd)
readdir(Resource id #182)
rmdir(/home/httpd/sites/zyrex.org/g2data/tmp/mpl_B5pwmW/)
realpath(/home/httpd/sites/zyrex.org/gallery/modules/core/classes/../../../)

Error (ERROR_TOOLKIT_FAILURE)in
modules/mplayer/classes/MplayerToolkit.class at line 229
(GalleryCoreApi::error)
in modules/mplayer/classes/MplayerToolkit.class at line 87
(MplayerToolkit::_mplayer)
in modules/core/classes/GalleryDerivative.class at line 483
(MplayerToolkit::performOperation)
in modules/core/classes/GalleryDerivative.class at line 308
(GalleryDerivative::_rebuildCache)
in modules/core/classes/GalleryDerivativeImage.class at line
166 (GalleryDerivative::rebuildCache)
in
modules/core/classes/helpers/GalleryDerivativeHelper_advanced.class at
line 742 (GalleryDerivativeImage::rebuildCache)
in modules/core/classes/GalleryCoreApi.class at line 956
(GalleryDerivativeHelper_advanced::rebuildCache)
in
modules/core/classes/helpers/GalleryDerivativeHelper_simple.class at
line 66 (GalleryCoreApi::rebuildDerivativeCache)
in modules/core/classes/GalleryCoreApi.class at line 942
(GalleryDerivativeHelper_simple::rebuildCacheIfNotCurrent)
in modules/core/CreateThumbnailOption.inc at line 77
(GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
in modules/core/ItemAdd.inc at line 151
(CreateThumbnailOption::handleRequestAfterAdd)
in main.php at line 199 (ItemAddController::handleRequest)
in main.php at line 87
in main.php at line 80

copy(/home/httpd/sites/zyrex.org/gallery/modules/core/classes/../data/broken-image.gif,
/home/httpd/sites/zyrex.org/g2data/cache/derivative/4/1/41170.dat)
file_exists(/home/httpd/sites/zyrex.org/g2data/cache/derivative/4/1/41170.dat)
filesize(/home/httpd/sites/zyrex.org/g2data/cache/derivative/4/1/41170.dat)
getParameter autoPermalink for permalinks plugin
file_exists(/home/httpd/sites/zyrex.org/g2data/cache/module/_all/0/0/GalleryStorage_describeMap.inc)

it makes a broken image though ;)

 
jano73

Joined: 2007-08-04
Posts: 4
Posted: Sat, 2007-08-04 08:51

Hi guys,

I have tried everything and still I cannot get mplayer to create thumbnails from the uploaded movies in gallery2.
Mplayer works fine: if I manually write the command for extracting images from the movie file I am uploading,
it will create files 00000001.jpg and 00000002.jpg. However, it doesn't work when gallery2 is supposed to run
the extraction. Based on the debug log, I would say, gallery2 never bothers to call mplayer to extract those
images (see attached log bellow).

I am using Gallery2.2; mplayer 1.0rc1-3.4.2; Apache 2.2.4 with PHP 5.2.0.

file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\gallery/modules/rewrite/classes/parsers/modrewrite/ModRewriteUrlGenerator.class)
getParameter shortUrls for rewrite plugin
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\module/rewrite/0/0/0.inc)
getParameter session.lifetime for core plugin
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\module/core/0/0/0.inc)
getParameter session.inactivityTimeout for core plugin

(mysql): SET NAMES "utf8"

file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\module/_all/0/0/GalleryStorage_describeMap.inc)

(mysql): SELECT g_userId, g_remoteIdentifier, g_creationTimestamp,
g_modificationTimestamp, g_data FROM g2_SessionMap WHERE
g_id='5acb9826e1454da814e0bc23940a8334'

controller core.ItemAdd, view
Loading plugin core
Class not defined, trying to include it.
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\gallery/modules/core/module.inc)
core plugin successfully instantiated
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\versions.dat)
file(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\versions.dat, )
[1186216168] can't guarantee 5 -- extending!
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/0/0/6.inc)
Loading plugin core
core plugin successfully instantiated
Check the version of the core plugin
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc)
The version of the core plugin is ok
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\gallery/modules/core/ItemAdd.inc)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4/64348.inc)
getParameter lock.system for core plugin

(mysql): update g2_SequenceLock set id=LAST_INSERT_ID(id+1);

(mysql): INSERT INTO g2_Lock (g_lockId, g_request, g_freshUntil)
VALUES(119578, 1, 1186216199)

(mysql): SELECT g_lockId FROM g2_Lock WHERE g_request=1 ORDER BY g_lockId
ASC LIMIT 1

(mysql): SELECT COUNT(*) FROM g2_Lock WHERE g_writeEntityId IN (64348)

(mysql): INSERT INTO g2_Lock (g_lockId, g_readEntityId, g_freshUntil)
VALUES (119578, 64348, 1186216199)

(mysql): DELETE FROM g2_Lock WHERE g_lockId=119578 AND g_request=1

file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\gallery/modules/core/ItemAddFromBrowser.inc)
Loading plugin core
core plugin successfully instantiated
Check the version of the core plugin
The version of the core plugin is ok
getParameter misc.markup for core plugin
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\module/_all/0/0/GalleryMimeTypeHelper_mimeData.inc)
is_uploaded_file(D:\WINDOWS\TEMP\phpF0B.tmp)
move_uploaded_file(D:\WINDOWS\TEMP\phpF0B.tmp, )
chose new file name: D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp\MUFF1F.tmp
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\gallery/modules/core/classes/GalleryMovieItem.class)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp\MUFF1F.tmp)
is_uploaded_file(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp\MUFF1F.tmp)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp\MUFF1F.tmp)

(mysql):
SELECT
COUNT(g2_ChildEntity.g_id)
FROM
g2_ChildEntity, g2_FileSystemEntity
WHERE
g2_ChildEntity.g_parentId = 64348
AND
UPPER(g2_FileSystemEntity.g_pathComponent) = 'P1020935.MOV'
AND
g2_ChildEntity.g_id = g2_FileSystemEntity.g_id

(mysql):
SELECT
COUNT(g2_ChildEntity.g_id)
FROM
g2_ChildEntity, g2_FileSystemEntity
WHERE
g2_ChildEntity.g_parentId = 64348
AND
UPPER(g2_FileSystemEntity.g_pathComponent) = 'P1020935_001.MOV'
AND
g2_ChildEntity.g_id = g2_FileSystemEntity.g_id

(mysql): update g2_SequenceId set id=LAST_INSERT_ID(id+1);

file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\module/_all/0/0/GalleryStorage_describeEntity.inc)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/1/6145.inc)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/0/0/7.inc)
copy(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp\MUFF1F.tmp, D:\Program Files\Apache
Software
Foundation\Apache2.2\g2data\albums\vancouver\fireworks07-China\P1020935_001.MOV)
getParameter permissions.file for core plugin
getParameter permissions.directory for core plugin
filesize(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\albums\vancouver\fireworks07-China\P1020935_001.MOV)
filesize(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\albums\vancouver\fireworks07-China\P1020935_001.MOV)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4/64436-fast.inc)

(mysql):
SELECT
g2_TkPropertyMimeTypeMap.g_toolkitId
FROM
g2_TkPropertyMap,
g2_TkPropertyMimeTypeMap
WHERE
g2_TkPropertyMap.g_name = g2_TkPropertyMimeTypeMap.g_propertyName
AND
g2_TkPropertyMimeTypeMap.g_mimeType = 'video/quicktime'
AND
g2_TkPropertyMap.g_name = 'dimensions-and-duration'

file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\gallery/modules/mplayer/classes/MplayerToolkit.class)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\gallery/modules/ffmpeg/classes/FfmpegToolkit.class)
tempnam(D:\Program Files\Apache Software Foundation\Apache2.2\g2data\tmp\,
mpl_)
unlink(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp\mplF20.tmp)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp\mplF20.tmp)
getParameter permissions.directory for core plugin
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp\mplF20.tmp)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp)
is_dir(D:\Program Files\Apache Software Foundation\Apache2.2\g2data\tmp)
mkdir(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp\mplF20.tmp, 755)
tempnam(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp\mplF20.tmp, mpl_)
getParameter path for mplayer plugin
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\module/mplayer/0/0/0.inc)
Executing: cmd /c " "D:\Programs\mplayer\mplayer.exe" "D:\Program
Files\Apache Software
Foundation\Apache2.2\g2data\albums\vancouver\fireworks07-China\P1020935_001.MOV"
"-identify" "-nosound" "-vc" "dummy" "-vo" "null" "-really-quiet"
2> "D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp\g2dF22.tmp" "
getParameter exec.expectedStatus for core plugin
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp\g2dF22.tmp)
filesize(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp\g2dF22.tmp)
unlink(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp\g2dF22.tmp)
Regular Output:
MPlayer 1.0rc1-3.4.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 3, Stepping: 4)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection.
getch2: 6 can't get number of input events [disabling console input]
ID_VIDEO_ID=0
ID_AUDIO_ID=1
ID_FILENAME=D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\albums\vancouver\fireworks07-China\P1020935_001.MOV
ID_DEMUXER=mov
ID_VIDEO_FORMAT=jpeg
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=640
ID_VIDEO_HEIGHT=480
ID_VIDEO_FPS=30.000
ID_VIDEO_ASPECT=0.0000
ID_LENGTH=73.00
Error Output:
Status: 0 (expected 0)
recursiveRmdir(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp\mplF20.tmp)
opendir(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp\mplF20.tmp\)
readdir(Resource id #83)
readdir(Resource id #83)
readdir(Resource id #83)
is_dir(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp\mplF20.tmp\mplF21.tmp)
unlink(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp\mplF20.tmp\mplF21.tmp)
readdir(Resource id #83)
rmdir(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp\mplF20.tmp\)

(mysql):
SELECT
g2_TkPropertyMimeTypeMap.g_toolkitId
FROM
g2_TkPropertyMap,
g2_TkPropertyMimeTypeMap
WHERE
g2_TkPropertyMap.g_name = g2_TkPropertyMimeTypeMap.g_propertyName
AND
g2_TkPropertyMimeTypeMap.g_mimeType = 'video/quicktime'
AND
g2_TkPropertyMap.g_name = 'originationTimestamp'

(mysql): SELECT g_accessListId FROM g2_AccessSubscriberMap WHERE
g_itemId=64348 LIMIT 1

(mysql): INSERT INTO g2_AccessSubscriberMap (g_itemId, g_accessListId)
VALUES (64436,23075)

Loading plugin thumbpage
Class not defined, trying to include it.
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\gallery/modules/thumbpage/module.inc)
thumbpage plugin successfully instantiated
Loading plugin migrate
Class not defined, trying to include it.
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\gallery/modules/migrate/module.inc)
migrate plugin successfully instantiated
Loading plugin rewrite
Class not defined, trying to include it.
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\gallery/modules/rewrite/module.inc)
rewrite plugin successfully instantiated
Loading plugin albumselect
Class not defined, trying to include it.
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\gallery/modules/albumselect/module.inc)
albumselect plugin successfully instantiated
Loading plugin imageblock
Class not defined, trying to include it.
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\gallery/modules/imageblock/module.inc)
imageblock plugin successfully instantiated
Loading plugin thumbnail
Class not defined, trying to include it.
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\gallery/modules/thumbnail/module.inc)
thumbnail plugin successfully instantiated
Loading plugin core
core plugin successfully instantiated

(mysql): SELECT g_itemId FROM g2_ImageBlockDisabledMap WHERE
g_itemId=64348

(mysql): SELECT g_itemId FROM g2_ImageBlockDisabledMap WHERE
g_itemId=64436

(mysql): DELETE FROM g2_CacheMap WHERE g_itemId IN (64436,64348)

(mysql): INSERT INTO g2_MovieItem (g_width, g_height, g_duration, g_id)
VALUES (640,480,73,64436)

(mysql): INSERT INTO g2_DataItem (g_mimeType, g_size, g_id) VALUES
('video/quicktime',53003954,64436)

(mysql): INSERT INTO g2_Item (g_canContainChildren, g_description,
g_ownerId, g_summary, g_title, g_viewedSinceTimestamp,
g_originationTimestamp, g_id) VALUES
(0,'',6,'','P1020935',1186216169,1186216169,64436)

(mysql): INSERT INTO g2_FileSystemEntity (g_pathComponent, g_id) VALUES
('P1020935_001.MOV',64436)

(mysql): INSERT INTO g2_ChildEntity (g_parentId, g_id) VALUES
(64348,64436)

(mysql): INSERT INTO g2_Entity (g_id, g_creationTimestamp, g_isLinkable,
g_modificationTimestamp, g_serialNumber, g_entityType) VALUES
(64436,1186216169,1,1186216172,1,'GalleryMovieItem')

file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4/64436.inc)

(mysql): SELECT g_parentSequence FROM g2_ItemAttributesMap WHERE
g_itemId=64348

(mysql): INSERT INTO g2_ItemAttributesMap (g_itemId, g_viewCount,
g_orderWeight, g_parentSequence) VALUES (64436,0,0,'7/6145/64348/')

file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\module/albumselect/)

(mysql): DELETE FROM g2_ImageBlockCacheMap

(mysql): SELECT g_parentSequence FROM g2_ItemAttributesMap WHERE
g_itemId=64348

(mysql): DELETE FROM g2_DescendentCountsMap WHERE g_itemId IN
(7,6145,64348)

(mysql):
SELECT
MAX(g2_ItemAttributesMap.g_orderWeight)
FROM
g2_ItemAttributesMap, g2_ChildEntity
WHERE
g2_ChildEntity.g_id = g2_ItemAttributesMap.g_itemId
AND
g2_ChildEntity.g_parentId = 64348

(mysql): UPDATE g2_ItemAttributesMap SET g_orderWeight=7000 WHERE
g_itemId=64436

(mysql):
SELECT
g2_DerivativePrefsMap.g_order,
g2_DerivativePrefsMap.g_derivativeType,
g2_DerivativePrefsMap.g_derivativeOperations
FROM
g2_DerivativePrefsMap
WHERE
g2_DerivativePrefsMap.g_itemId = 64348
ORDER BY
g2_DerivativePrefsMap.g_order ASC

(mysql):
SELECT
g2_Derivative.g_id, g2_ChildEntity.g_parentId
FROM
g2_Derivative, g2_ChildEntity
WHERE
g2_Derivative.g_id = g2_ChildEntity.g_id
AND
g2_ChildEntity.g_parentId IN (64436)

AND
g2_Derivative.g_derivativeType IN (3)

file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\gallery/modules/core/classes/GalleryDerivativeImage.class)

(mysql): update g2_SequenceId set id=LAST_INSERT_ID(id+1);

(mysql):
SELECT
g2_TkOperatnMimeTypeMap.g_toolkitId,
g2_TkOperatnMap.g_outputMimeType
FROM
g2_TkOperatnMap,
g2_TkOperatnMimeTypeMap
WHERE
g2_TkOperatnMap.g_name =
g2_TkOperatnMimeTypeMap.g_operationName
AND
g2_TkOperatnMimeTypeMap.g_mimeType = 'video/quicktime'
AND
g2_TkOperatnMap.g_name = 'scale'
ORDER BY
g2_TkOperatnMimeTypeMap.g_priority ASC

(mysql):
SELECT
COUNT(g2_ChildEntity.g_id)
FROM
g2_ChildEntity, g2_Derivative
WHERE
(g2_ChildEntity.g_parentId = 64436
AND g2_Derivative.g_derivativeType = 1)
AND (g2_ChildEntity.g_id = g2_Derivative.g_id)

(mysql): update g2_SequenceId set id=LAST_INSERT_ID(id+1);

(mysql):
SELECT
g2_TkOperatnMimeTypeMap.g_toolkitId,
g2_TkOperatnMap.g_outputMimeType
FROM
g2_TkOperatnMap,
g2_TkOperatnMimeTypeMap
WHERE
g2_TkOperatnMap.g_name =
g2_TkOperatnMimeTypeMap.g_operationName
AND
g2_TkOperatnMimeTypeMap.g_mimeType = 'video/quicktime'
AND
g2_TkOperatnMap.g_name = 'thumbnail'
ORDER BY
g2_TkOperatnMimeTypeMap.g_priority ASC

file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\gallery/modules/thumbnail/classes/ThumbnailToolkit.class)

(mysql):
SELECT
g2_TkOperatnMimeTypeMap.g_toolkitId,
g2_TkOperatnMap.g_outputMimeType
FROM
g2_TkOperatnMap,
g2_TkOperatnMimeTypeMap
WHERE
g2_TkOperatnMap.g_name =
g2_TkOperatnMimeTypeMap.g_operationName
AND
g2_TkOperatnMimeTypeMap.g_mimeType = 'video/quicktime'
AND
g2_TkOperatnMap.g_name = 'convert-to-image/jpeg'
ORDER BY
g2_TkOperatnMimeTypeMap.g_priority ASC

(mysql): DELETE FROM g2_CacheMap WHERE g_itemId IN (64438,64436)

(mysql): INSERT INTO g2_DerivativeImage (g_width, g_height, g_id) VALUES
(0,0,64438)

(mysql): INSERT INTO g2_Derivative (g_derivativeSourceId,
g_derivativeOperations, g_derivativeOrder, g_derivativeType, g_mimeType,
g_isBroken, g_id) VALUES
(64436,'thumbnail|150;convert-to-image/jpeg',0,1,'image/jpeg',0,64438)

(mysql): INSERT INTO g2_ChildEntity (g_parentId, g_id) VALUES
(64436,64438)

(mysql): INSERT INTO g2_Entity (g_id, g_creationTimestamp, g_isLinkable,
g_modificationTimestamp, g_serialNumber, g_entityType) VALUES
(64438,1186216172,0,1186216172,1,'GalleryDerivativeImage')

file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4/64438.inc)

(mysql): update g2_SequenceId set id=LAST_INSERT_ID(id+1);

(mysql):
SELECT
g2_Derivative.g_id, g2_ChildEntity.g_parentId
FROM
g2_Derivative, g2_ChildEntity
WHERE
g2_Derivative.g_id = g2_ChildEntity.g_id
AND
g2_ChildEntity.g_parentId IN (64348)

AND
g2_Derivative.g_derivativeType IN (1)

file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4/64353.inc)
unlink(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp\MUFF1F.tmp)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\gallery/modules/core/CreateThumbnailOption.inc)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\gallery/modules/exif/ExifDescriptionOption.inc)
getParameter addOption for exif plugin
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\module/exif/0/0/0.inc)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\gallery/modules/mplayer/MovieThumbnailOption.inc)
getParameter useWatermark for mplayer plugin

(mysql):
SELECT
g2_TkOperatnMimeTypeMap.g_toolkitId,
g2_TkOperatnMap.g_outputMimeType
FROM
g2_TkOperatnMap,
g2_TkOperatnMimeTypeMap
WHERE
g2_TkOperatnMap.g_name =
g2_TkOperatnMimeTypeMap.g_operationName
AND
g2_TkOperatnMimeTypeMap.g_mimeType = 'image/jpeg'
AND
g2_TkOperatnMap.g_name = 'composite'
ORDER BY
g2_TkOperatnMimeTypeMap.g_priority ASC

file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\gallery/modules/imagemagick/classes/ImageMagickToolkit.class)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4/64436.inc)

(mysql): SELECT g_id, g_entityType FROM g2_Entity WHERE g_id IN (64436)

(mysql): SELECT g2_MovieItem.g_width, g2_MovieItem.g_height,
g2_MovieItem.g_duration, g2_DataItem.g_mimeType, g2_DataItem.g_size,
g2_Item.g_canContainChildren, g2_Item.g_description, g2_Item.g_keywords,
g2_Item.g_ownerId, g2_Item.g_renderer, g2_Item.g_summary, g2_Item.g_title,
g2_Item.g_viewedSinceTimestamp, g2_Item.g_originationTimestamp,
g2_FileSystemEntity.g_pathComponent, g2_ChildEntity.g_parentId,
g2_Entity.g_id, g2_Entity.g_creationTimestamp, g2_Entity.g_isLinkable,
g2_Entity.g_linkId, g2_Entity.g_modificationTimestamp,
g2_Entity.g_serialNumber, g2_Entity.g_entityType,
g2_Entity.g_onLoadHandlers FROM g2_MovieItem, g2_DataItem, g2_Item,
g2_FileSystemEntity, g2_ChildEntity, g2_Entity WHERE g2_MovieItem.g_id IN
(64436) AND g2_DataItem.g_id=g2_MovieItem.g_id AND
g2_Item.g_id=g2_MovieItem.g_id AND
g2_FileSystemEntity.g_id=g2_MovieItem.g_id AND
g2_ChildEntity.g_id=g2_MovieItem.g_id AND g2_Entity.g_id=g2_MovieItem.g_id

file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4)
is_dir(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4)
is_dir(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4/64436.inc)
rename(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4\644F23.tmp, D:\Program
Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4/64436.inc)

(mysql):
SELECT
g2_TkOperatnMimeTypeMap.g_toolkitId,
g2_TkOperatnMap.g_outputMimeType
FROM
g2_TkOperatnMap,
g2_TkOperatnMimeTypeMap
WHERE
g2_TkOperatnMap.g_name =
g2_TkOperatnMimeTypeMap.g_operationName
AND
g2_TkOperatnMimeTypeMap.g_mimeType = 'video/quicktime'
AND
g2_TkOperatnMap.g_name = 'extract'
ORDER BY
g2_TkOperatnMimeTypeMap.g_priority ASC

(mysql):
SELECT
g2_Derivative.g_id, g2_ChildEntity.g_parentId
FROM
g2_Derivative, g2_ChildEntity
WHERE
g2_Derivative.g_id = g2_ChildEntity.g_id
AND
g2_ChildEntity.g_parentId IN (64436)

AND
g2_Derivative.g_derivativeType IN (1)

file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4/64438.inc)

(mysql): SELECT g_id, g_entityType FROM g2_Entity WHERE g_id IN (64438)

(mysql): SELECT g2_DerivativeImage.g_width, g2_DerivativeImage.g_height,
g2_Derivative.g_derivativeSourceId, g2_Derivative.g_derivativeOperations,
g2_Derivative.g_derivativeOrder, g2_Derivative.g_derivativeSize,
g2_Derivative.g_derivativeType, g2_Derivative.g_mimeType,
g2_Derivative.g_postFilterOperations, g2_Derivative.g_isBroken,
g2_ChildEntity.g_parentId, g2_Entity.g_id, g2_Entity.g_creationTimestamp,
g2_Entity.g_isLinkable, g2_Entity.g_linkId,
g2_Entity.g_modificationTimestamp, g2_Entity.g_serialNumber,
g2_Entity.g_entityType, g2_Entity.g_onLoadHandlers FROM g2_DerivativeImage,
g2_Derivative, g2_ChildEntity, g2_Entity WHERE g2_DerivativeImage.g_id IN
(64438) AND g2_Derivative.g_id=g2_DerivativeImage.g_id AND
g2_ChildEntity.g_id=g2_DerivativeImage.g_id AND
g2_Entity.g_id=g2_DerivativeImage.g_id

file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4)
is_dir(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4)
is_dir(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4/64438.inc)
rename(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4\644F24.tmp, D:\Program
Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4/64438.inc)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\derivative/6/4/64438.dat)

(mysql): update g2_SequenceLock set id=LAST_INSERT_ID(id+1);

(mysql): INSERT INTO g2_Lock (g_lockId, g_request, g_freshUntil)
VALUES(119579, 1, 1186216202)

(mysql): SELECT g_lockId FROM g2_Lock WHERE g_request=1 ORDER BY g_lockId
ASC LIMIT 1

(mysql): SELECT COUNT(*) FROM g2_Lock WHERE g_readEntityId IN (64438) OR
g_writeEntityId IN (64438)

(mysql): INSERT INTO g2_Lock (g_lockId, g_writeEntityId, g_freshUntil)
VALUES (119579, 64438, 1186216202)

(mysql): DELETE FROM g2_Lock WHERE g_lockId=119579 AND g_request=1

(mysql): SELECT g2_DerivativeImage.g_width, g2_DerivativeImage.g_height,
g2_Derivative.g_derivativeSourceId, g2_Derivative.g_derivativeOperations,
g2_Derivative.g_derivativeOrder, g2_Derivative.g_derivativeSize,
g2_Derivative.g_derivativeType, g2_Derivative.g_mimeType,
g2_Derivative.g_postFilterOperations, g2_Derivative.g_isBroken,
g2_ChildEntity.g_parentId, g2_Entity.g_id, g2_Entity.g_creationTimestamp,
g2_Entity.g_isLinkable, g2_Entity.g_linkId,
g2_Entity.g_modificationTimestamp, g2_Entity.g_serialNumber,
g2_Entity.g_entityType, g2_Entity.g_onLoadHandlers FROM g2_DerivativeImage,
g2_Derivative, g2_ChildEntity, g2_Entity WHERE g2_DerivativeImage.g_id IN
(64438) AND g2_Derivative.g_id=g2_DerivativeImage.g_id AND
g2_ChildEntity.g_id=g2_DerivativeImage.g_id AND
g2_Entity.g_id=g2_DerivativeImage.g_id

file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\derivative/6/4)
is_dir(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\derivative/6/4)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\gallery/modules/dcraw/classes/DcrawToolkit.class)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\gallery/modules/exif/classes/ExifToolkit.class)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\gallery/modules/netpbm/classes/NetPbmToolkit.class)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\gallery/modules/gd/classes/GdToolkit.class)

(mysql): SELECT g2_ThumbnailImage.g_id, g2_ThumbnailImage.g_itemMimeTypes
FROM g2_ThumbnailImage WHERE g2_ThumbnailImage.g_itemMimeTypes IS
NOT NULL

file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4/64404.inc)
getParameter id.container for thumbnail plugin
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\module/thumbnail/0/0/0.inc)
copy(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\plugins_data\modules\thumbnail\G2video.jpg,
D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\derivative/6/4/64438.dat)

(mysql):
SELECT
g2_TkOperatnMimeTypeMap.g_toolkitId,
g2_TkOperatnMap.g_outputMimeType
FROM
g2_TkOperatnMap,
g2_TkOperatnMimeTypeMap
WHERE
g2_TkOperatnMap.g_name =
g2_TkOperatnMimeTypeMap.g_operationName
AND
g2_TkOperatnMimeTypeMap.g_mimeType = 'image/jpeg'
AND
g2_TkOperatnMap.g_name = 'thumbnail'
ORDER BY
g2_TkOperatnMimeTypeMap.g_priority ASC

getParameter removeMetaDataSwitch for imagemagick plugin
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\module/imagemagick/0/0/0.inc)
tempnam(D:\Program Files\Apache Software Foundation\Apache2.2\g2data\tmp\,
imgk_)
getParameter path for imagemagick plugin
getParameter binary for imagemagick plugin
getParameter jpegQuality for imagemagick plugin
getcwd()
chdir(D:\Program Files\Apache Software Foundation\Apache2.2\g2data\tmp\)
Executing: cmd /c " "d:\program files\ImageMagick-6.3.5-Q16\convert.exe"
"-quality" "80" "-size" "150x150" "-geometry" "150x150" "-strip"
"D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\derivative/6/4/64438.dat" "D:\Program
Files\Apache Software Foundation\Apache2.2\g2data\tmp\imgF25.tmp" 2>
"D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp\g2dF26.tmp" "
getParameter exec.expectedStatus for core plugin
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp\g2dF26.tmp)
filesize(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp\g2dF26.tmp)
unlink(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp\g2dF26.tmp)
Regular Output:
Error Output:
Status: 0 (expected 0)
chdir(D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\gallery)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\derivative/6/4/64438.dat)
unlink(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\derivative/6/4/64438.dat)
rename(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\tmp\imgF25.tmp, D:\Program Files\Apache
Software Foundation\Apache2.2\g2data\cache\derivative/6/4/64438.dat)
chmod(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\derivative/6/4/64438.dat, )
is_dir(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\derivative/6/4/64438.dat)

(mysql):
SELECT
g2_TkOperatnMimeTypeMap.g_toolkitId,
g2_TkOperatnMap.g_outputMimeType
FROM
g2_TkOperatnMap,
g2_TkOperatnMimeTypeMap
WHERE
g2_TkOperatnMap.g_name =
g2_TkOperatnMimeTypeMap.g_operationName
AND
g2_TkOperatnMimeTypeMap.g_mimeType = 'image/jpeg'
AND
g2_TkOperatnMap.g_name = 'convert-to-image/jpeg'
ORDER BY
g2_TkOperatnMimeTypeMap.g_priority ASC

GdToolkit::performOperation(image/jpeg,convert-to-image/jpeg,D:\Program
Files\Apache Software
Foundation\Apache2.2\g2data\cache\derivative/6/4/64438.dat,D:\Program
Files\Apache Software
Foundation\Apache2.2\g2data\cache\derivative/6/4/64438.dat,)
getParameter jpegQuality for gd plugin
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\module/gd/0/0/0.inc)
chmod(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\derivative/6/4/64438.dat, )
is_dir(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\derivative/6/4/64438.dat)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\derivative/6/4/64438.dat)
filesize(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\derivative/6/4/64438.dat)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\derivative/6/4)
is_dir(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\derivative/6/4)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\derivative/6/4)
is_dir(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\derivative/6/4)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\derivative/6/4/64438-meta.inc)
rename(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\derivative/6/4\644F27.tmp, D:\Program
Files\Apache Software
Foundation\Apache2.2\g2data\cache\derivative/6/4/64438-meta.inc)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4/64438-fast.inc)
getParameter id.anonymousUser for core plugin

(mysql):
SELECT
g2_Group.g_id,
g2_Group.g_groupName
FROM
g2_UserGroupMap, g2_Group
WHERE
g2_Group.g_id = g2_UserGroupMap.g_groupId
AND
g2_UserGroupMap.g_userId = 5
ORDER BY
g2_Group.g_groupName
LIMIT 2147483647

(mysql): SELECT g_module, g_permission, g_description, g_bits, g_flags
FROM g2_PermissionSetMap

(mysql):
SELECT DISTINCT
g2_AccessMap.g_accessListId
FROM
g2_AccessMap
WHERE
g2_AccessMap.g_userOrGroupId IN (5,4)
AND
g2_AccessMap.g_permission & 1 = 1

(mysql): SELECT g_itemId FROM g2_AccessSubscriberMap WHERE g_itemId=64436
AND g_accessListId IN
(23066,64342,23051,64339,64343,23075,23062,23078,23054,23048) LIMIT 1

stat(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\derivative/6/4/64438.dat)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4)
is_dir(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4/64438-fast.inc)
rename(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4\644F28.tmp, D:\Program
Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4/64438-fast.inc)

(mysql):
SELECT
g2_TkPropertyMimeTypeMap.g_toolkitId
FROM
g2_TkPropertyMap,
g2_TkPropertyMimeTypeMap
WHERE
g2_TkPropertyMap.g_name = g2_TkPropertyMimeTypeMap.g_propertyName
AND
g2_TkPropertyMimeTypeMap.g_mimeType = 'image/jpeg'
AND
g2_TkPropertyMap.g_name = 'dimensions'

getimagesize(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\derivative/6/4/64438.dat)

(mysql): DELETE FROM g2_CacheMap WHERE g_itemId IN (64438,64436)

(mysql): UPDATE g2_Entity SET
g_modificationTimestamp=1186216173,g_serialNumber=2 WHERE g_id=64438 AND
g_serialNumber=1

(mysql): UPDATE g2_DerivativeImage SET g_width=150,g_height=132 WHERE
g_id=64438

(mysql): UPDATE g2_Derivative SET g_derivativeSize=4685 WHERE g_id=64438

file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4)
is_dir(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4)
is_dir(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4/64438.inc)
unlink(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4/64438.inc)
rename(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4\644F29.tmp, D:\Program
Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4/64438.inc)

(mysql):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (64438)

(mysql): DELETE FROM g2_Lock WHERE g_lockId IN (119579)

getParameter addOption for exif plugin

(mysql): DELETE FROM g2_Lock WHERE g_lockId IN (119578)

getParameter modrewrite.galleryLocation for rewrite plugin
Loading plugin core
core plugin successfully instantiated
Check the version of the core plugin
The version of the core plugin is ok

(mysql): update g2_SequenceLock set id=LAST_INSERT_ID(id+1);

(mysql): INSERT INTO g2_Lock (g_lockId, g_request, g_freshUntil)
VALUES(119580, 1, 1186216203)

(mysql): SELECT g_lockId FROM g2_Lock WHERE g_request=1 ORDER BY g_lockId
ASC LIMIT 1

(mysql): SELECT COUNT(*) FROM g2_Lock WHERE g_readEntityId IN (64348) OR
g_writeEntityId IN (64348)

(mysql): INSERT INTO g2_Lock (g_lockId, g_writeEntityId, g_freshUntil)
VALUES (119580, 64348, 1186216203)

(mysql): DELETE FROM g2_Lock WHERE g_lockId=119580 AND g_request=1

(mysql): DELETE FROM g2_CacheMap WHERE g_itemId IN (64348,6145)

(mysql): UPDATE g2_Entity SET
g_modificationTimestamp=1186216173,g_serialNumber=25 WHERE g_id=64348 AND
g_serialNumber=24

file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4)
is_dir(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4)
is_dir(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4)
file_exists(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4/64348.inc)
unlink(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4/64348.inc)
rename(D:\Program Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4\643F2A.tmp, D:\Program
Files\Apache Software
Foundation\Apache2.2\g2data\cache\entity/6/4/64348.inc)

(mysql): DELETE FROM g2_Lock WHERE g_lockId IN (119580)

(mysql): UPDATE g2_SessionMap SET g_userId=6,
g_remoteIdentifier='a:2:{i:0;s:11:\"192.168.1.2\";i:1;s:32:\"91f970b8d7ace318c57980da25f647be\";}',
g_creationTimestamp=1186216047, g_modificationTimestamp=1186216173,
g_data='a:7:{s:13:\"core.language\";s:5:\"en_US\";s:15:\"core.navigation\";a:2:{s:9:\"x00e2e922\";a:1:{s:7:\"nextIds\";a:0:{}}s:9:\"xfacc106e\";a:2:{s:4:\"data\";a:2:{s:9:\"returnUrl\";s:39:\"/gallery/v/vancouver/fireworks07-China/\";s:10:\"returnName\";s:5:\"album\";}s:7:\"nextIds\";a:0:{}}}s:15:\"core.lastViewed\";a:3:{i:7;i:10;i:6145;i:23;i:64348;i:28;}s:15:\"permissionCache\";a:4:{i:0;a:12:{s:8:\"core.all\";a:3:{i:64348;i:1;i:6145;i:1;i:7;i:1;}s:9:\"core.view\";a:3:{i:64348;i:1;i:6145;i:1;i:7;i:1;}s:16:\"core.viewResizes\";a:3:{i:64348;i:1;i:6145;i:1;i:7;i:1;}s:15:\"core.viewSource\";a:3:{i:64348;i:1;i:6145;i:1;i:7;i:1;}s:12:\"core.viewAll\";a:3:{i:64348;i:1;i:6145;i:1;i:7;i:1;}s:17:\"core.addAlbumItem\";a:3:{i:64348;i:1;i:6145;i:1;i:7;i:1;}s:16:\"core.addDataItem\";a:3:{i:64348;i:1;i:6145;i:1;i:7;i:1;}s:9:\"core.edit\";a:3:{i:64348;i:1;i:6145;i:1;i:7;i:1;}s:22:\"core.changePermissions\";a:3:{i:64348;i:1;i:6145;i:1;i:7;i:1;}s:11:\"core.delete\";a:3:{i:64348;i:1;i:6145;i:1;i:7;i:1;}s:16:\"shutterfly.print\";a:3:{i:64348;i:1;i:6145;i:1;i:7;i:1;}s:8:\"cart.add\";a:3:{i:64348;i:1;i:6145;i:1;i:7;i:1;}}i:1;a:12:{s:8:\"core.all\";a:4:{i:64349;i:1;i:64354;i:1;i:64358;i:1;i:64362;i:1;}s:9:\"core.view\";a:4:{i:64349;i:1;i:64354;i:1;i:64358;i:1;i:64362;i:1;}s:16:\"core.viewResizes\";a:4:{i:64349;i:1;i:64354;i:1;i:64358;i:1;i:64362;i:1;}s:15:\"core.viewSource\";a:4:{i:64349;i:1;i:64354;i:1;i:64358;i:1;i:64362;i:1;}s:12:\"core.viewAll\";a:3:{i:64349;i:1;i:64354;i:1;i:64358;i:1;}s:17:\"core.addAlbumItem\";a:3:{i:64349;i:1;i:64354;i:1;i:64358;i:1;}s:16:\"core.addDataItem\";a:3:{i:64349;i:1;i:64354;i:1;i:64358;i:1;}s:9:\"core.edit\";a:3:{i:64349;i:1;i:64354;i:1;i:64358;i:1;}s:22:\"core.changePermissions\";a:3:{i:64349;i:1;i:64354;i:1;i:64358;i:1;}s:11:\"core.delete\";a:3:{i:64349;i:1;i:64354;i:1;i:64358;i:1;}s:16:\"shutterfly.print\";a:3:{i:64349;i:1;i:64354;i:1;i:64358;i:1;}s:8:\"cart.add\";a:3:{i:64349;i:1;i:64354;i:1;i:64358;i:1;}}i:2;a:12:{s:8:\"core.all\";a:4:{i:6159;i:1;i:6349;i:1;i:6472;i:1;i:64348;i:1;}s:9:\"core.view\";a:4:{i:6159;i:1;i:6349;i:1;i:6472;i:1;i:64348;i:1;}s:16:\"core.viewResizes\";a:4:{i:6159;i:1;i:6349;i:1;i:6472;i:1;i:64348;i:1;}s:15:\"core.viewSource\";a:4:{i:6159;i:1;i:6349;i:1;i:6472;i:1;i:64348;i:1;}s:12:\"core.viewAll\";a:3:{i:6159;i:1;i:6349;i:1;i:6472;i:1;}s:17:\"core.addAlbumItem\";a:3:{i:6159;i:1;i:6349;i:1;i:6472;i:1;}s:16:\"core.addDataItem\";a:3:{i:6159;i:1;i:6349;i:1;i:6472;i:1;}s:9:\"core.edit\";a:3:{i:6159;i:1;i:6349;i:1;i:6472;i:1;}s:22:\"core.changePermissions\";a:3:{i:6159;i:1;i:6349;i:1;i:6472;i:1;}s:11:\"core.delete\";a:3:{i:6159;i:1;i:6349;i:1;i:6472;i:1;}s:16:\"shutterfly.print\";a:3:{i:6159;i:1;i:6349;i:1;i:6472;i:1;}s:8:\"cart.add\";a:3:{i:6159;i:1;i:6349;i:1;i:6472;i:1;}}i:3;a:12:{s:8:\"core.all\";a:4:{i:10;i:1;i:55;i:1;i:430;i:1;i:1795;i:1;}s:9:\"core.view\";a:4:{i:10;i:1;i:55;i:1;i:430;i:1;i:1795;i:1;}s:16:\"core.viewResizes\";a:4:{i:10;i:1;i:55;i:1;i:430;i:1;i:1795;i:1;}s:15:\"core.viewSource\";a:4:{i:10;i:1;i:55;i:1;i:430;i:1;i:1795;i:1;}s:12:\"core.viewAll\";a:3:{i:10;i:1;i:55;i:1;i:430;i:1;}s:17:\"core.addAlbumItem\";a:3:{i:10;i:1;i:55;i:1;i:430;i:1;}s:16:\"core.addDataItem\";a:3:{i:10;i:1;i:55;i:1;i:430;i:1;}s:9:\"core.edit\";a:3:{i:10;i:1;i:55;i:1;i:430;i:1;}s:22:\"core.changePermissions\";a:3:{i:10;i:1;i:55;i:1;i:430;i:1;}s:11:\"core.delete\";a:3:{i:10;i:1;i:55;i:1;i:430;i:1;}s:16:\"shutterfly.print\";a:3:{i:10;i:1;i:55;i:1;i:430;i:1;}s:8:\"cart.add\";a:3:{i:10;i:1;i:55;i:1;i:430;i:1;}}}s:14:\"core.authToken\";s:12:\"c396e825101c\";s:44:\"core.view.ItemAdd.addPlugin.GalleryAlbumItem\";s:18:\"ItemAddFromBrowser\";s:11:\"core.status\";a:1:{s:9:\"x6eb8d3da\";a:1:{s:10:\"addedFiles\";a:1:{i:0;a:3:{s:8:\"fileName\";s:12:\"P1020935.MOV\";s:2:\"id\";i:64436;s:8:\"warnings\";a:0:{}}}}}}'
WHERE g_id='5acb9826e1454da814e0bc23940a8334'