Hi, sorry for my english.
I cannot to install properly the ffmpeg plugin.
My system info are:
Quote:
URL di Gallery = http://www.pazziperponza.it/gallery2/main.php
Versione di Gallery = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
Versione PHP = 5.2.11 cgi
Webserver = Apache/2.2
Database = mysqli 4.0.30-standard-log, lock.system=flock
Strumenti = ArchiveUpload, Exif, LinkItemToolkit, Thumbnail, Gd
Accelerazione = full/900, full/900
Sistema operativo = Linux webxc09s02.ad.aruba.it 2.6.18-164.el5PAE #1 SMP Thu Sep 3 04:10:44 EDT 2009 i686
Tema predefinito = matrix
gettext = abilitato
Locale = it_IT
Browser = Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-US) AppleWebKit/532.4 (KHTML, like Gecko) Chrome/4.0.237.0 Safari/532.4
Righe nella tabella GalleryAccessMap = 8
Righe nella tabella GalleryAccessSubscriberMap = 4796
Righe nella tabella GalleryUser = 8
Righe nella tabella GalleryItem = 4793
Righe nella tabella GalleryAlbumItem = 53
Righe nella tabella GalleryCacheMap = 10578
the phpinfo link is http://www.pazziperponza.it/gallery2/phpinfo.php
the path that i use for ffmeg is: /web/htdocs/www.pazziperponza.it/home/gallery2/modules/ffmpeg/bin/ffmpeg
and when a test the configuration the error is:
Quote:
file_exists(/web/htdocs/www.pazziperponza.it/home/gallery2/modules/ffmpeg/bin/ffmpeg)
is_file(/web/htdocs/www.pazziperponza.it/home/gallery2/modules/ffmpeg/bin/ffmpeg)
Executing: (
"/web/htdocs/www.pazziperponza.it/home/gallery2/modules/ffmpeg/bin/ffmpeg"
"-formats" )
2>"/web/htdocs/www.pazziperponza.it/home/gallery2/gallerie_dal_2009/tmp/g2dbgwwuqP9"
file_exists(/web/htdocs/www.pazziperponza.it/home/gallery2/gallerie_dal_2009/tmp/g2dbgwwuqP9)
filesize(/web/htdocs/www.pazziperponza.it/home/gallery2/gallerie_dal_2009/tmp/g2dbgwwuqP9)
unlink(/web/htdocs/www.pazziperponza.it/home/gallery2/gallerie_dal_2009/tmp/g2dbgwwuqP9)
Regular Output:
Error Output:
Status: 139 (expected 0)
Executing: (
"/web/htdocs/www.pazziperponza.it/home/gallery2/modules/ffmpeg/bin/ffmpeg"
"-version" )
2>"/web/htdocs/www.pazziperponza.it/home/gallery2/gallerie_dal_2009/tmp/g2dbgb1IYcW"
file_exists(/web/htdocs/www.pazziperponza.it/home/gallery2/gallerie_dal_2009/tmp/g2dbgb1IYcW)
filesize(/web/htdocs/www.pazziperponza.it/home/gallery2/gallerie_dal_2009/tmp/g2dbgb1IYcW)
unlink(/web/htdocs/www.pazziperponza.it/home/gallery2/gallerie_dal_2009/tmp/g2dbgb1IYcW)
Regular Output:
Error Output:
Status: 139 (expected 0)
Executing: (
"/web/htdocs/www.pazziperponza.it/home/gallery2/modules/ffmpeg/bin/ffmpeg"
"-h" )
2>"/web/htdocs/www.pazziperponza.it/home/gallery2/gallerie_dal_2009/tmp/g2dbgNozeCI"
file_exists(/web/htdocs/www.pazziperponza.it/home/gallery2/gallerie_dal_2009/tmp/g2dbgNozeCI)
filesize(/web/htdocs/www.pazziperponza.it/home/gallery2/gallerie_dal_2009/tmp/g2dbgNozeCI)
unlink(/web/htdocs/www.pazziperponza.it/home/gallery2/gallerie_dal_2009/tmp/g2dbgNozeCI)
Regular Output:
Error Output:
Status: 139 (expected 0)
i tried those binary:
http://www.flashyourweb.com/filemgmt/visit.php?lid=2
http://www.flashyourweb.com/filemgmt/visit.php?lid=11
thx for help
Posts: 6136
did you chmod 755 /web/htdocs/www.pazziperponza.it/home/gallery2/modules/ffmpeg/bin/ffmpeg
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 19
all the chmod in the ffmpeg folder are setted to 755 and doesn't work
Posts: 19
the folder structure is:
/gallery2/modules/ffmpeg
/gallery2/modules/ffmpeg/bin
/gallery2/modules/ffmpeg/classes
/gallery2/modules/ffmpeg/images
/gallery2/modules/ffmpeg/include
/gallery2/modules/ffmpeg/lib
/gallery2/modules/ffmpeg/po
/gallery2/modules/ffmpeg/templates
/gallery2/modules/ffmpeg/test
Posts: 16503
Go to /gallery2/modules/ffmpeg/bin and make sure that the file ffmpeg inside that directory is also set to 755, if it's not the webserver cannot execute it.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 19
i verified and doesn't work, look the image.
Posts: 22888
Then this version of ffmpeg does not work on this server. Ask your host to install it for you.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 19
My host responds me in this way:
Please help.
Posts: 6136
Gallery's ffmpeg module is not setup to use the rare php extension.
It would not be that hard to update, but I have no test environment setup with the extension.
http://ffmpeg-php.sourceforge.net/doc/api/ffmpeg_movie.php
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 19
So, what i have to do?
Posts: 6136
if you want to setup a second gallery for me to test in I'll do it.
But I'm not interested in re-compiling my php to include that extension.
This would probably benefit many like yourself.
I'd need ftp access and admin rights to your test gallery to test with.
You could PM me the info is interested.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 19
Sorry but i can't give you these data.
So, last question. In Gallery3 will be easy to view video in embed mode directly online? Because my problem is only this, i don't need to edit video but only to view them online.
thx
Posts: 6136
You don't need ffmpeg to play movies inline.
ffmpeg only detects the dimensions and if capable will also create a jpeg thumb from a frame of the movie.
To play inline, edit movie -> dimensions -> add height/width
you can also upload a custom thumb while you're at it.
If your format is flash video(flv, f4v) or even mpeg layer 4(mp4) my flashvideo module update tries to determine the dimensions from the stream automatically.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 19
i can play inline also .avi files?
Posts: 6136
Not sure why you'd want to.
There are so many different codecs for avi it's alway a crapshoot which player will actually play it.
Other video formats besides the ones I mentioned above depend on the viewer's browser plugin.... whereas I might view your avi in windows media player others may view it via Quicktime or VLC or it won't play at all.
For a uniform viewing experience try to offer your visitors flash video formats as Adobe's flashplayer performs nearly identical across all platforms.
You can transcode your videos to the more web friendly flash formats with some of the free tools like MediaCoder or Riva.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 19
Ok, it's work. It was important to set dimensions.
Thanks for all