What module do I use to create an album covers from .flv videos?

bburnett

Joined: 2008-09-03
Posts: 77
Posted: Sun, 2012-08-19 04:33

I was wondering what module would I use to create album covers from a Gallery installation that contains only .flv videos?

Thank You, Sincerely,
bburnett

Platform Information:

Host name: box443.bluehost.com
Operating system: Linux 2.6.32-20120131.55.1.bh6.x86_64
Apache: Unknown
PHP: 5.2.17
MySQL: 5.1.63-community-log
Server load: 35.34 33.79 36.68
Graphics toolkit: imagemagick

Gallery stats:

Version: 3.0.4 (Ricochet)
Albums: 7
Photos: 0

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-08-19 04:47
 
bburnett

Joined: 2008-09-03
Posts: 77
Posted: Sun, 2012-08-19 07:25

Thanks suprsidr :)

This seems like a lot of work to get a screen cap for an album cover.

I followed the instructions and it does not work. I'll buy you a beer if you can make it work.

Thx,
bburnett

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-08-19 13:02

You have ffmpeg binary installed and working on your server?

-s
All New jQuery Minislideshow for G2/G3

 
bburnett

Joined: 2008-09-03
Posts: 77
Posted: Sun, 2012-08-19 17:15

Do I upload and install the ffmpeg folder in /public_html/videos/modules (this is where it currently lives) or what would be the correct absolute file path.

I tried the phpinfo.php file, found the ROOT_DOCUMENT, changed the file path in Gallery and still nothing. I think the issues lies with the uploading/placement of the ffmpeg folder.

Please advise.

Thanks for your help I sincerely appreciate it.

Peace,
bburnett

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-08-19 17:20

you need the path to the executable ffmpeg binary on your server usually /usr/bin/ffmpeg or /usr/local/bin/ffmpeg

the ffmpeg module on the other hand goes in your gallery3/modules just like any other module.
http://codex.gallery2.org/Gallery3:User_guide:Modules:Installing_and_upgrading
http://codex.gallery2.org/Gallery3:User_guide:Modules:Configuration

-s
All New jQuery Minislideshow for G2/G3

 
bburnett

Joined: 2008-09-03
Posts: 77
Posted: Sun, 2012-08-19 17:50

I do not see the executable ffmpeg binary (or anything named ffmpeg) on my server located under the 2 directories you mentioned in your last post.

How do install/upload the ffmpeg binary to the correct location? or should it already be there?

Thx,
bburnett

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-08-19 18:39

http://codex.gallery2.org/Gallery2:Installing_Modules_With_External_Dependencies

same applies to G3
if you cannot compile/install ffmpeg natively for your server, and your host won't help. Then there are some pre-compiled binaries available which may work for you.
http://codex.gallery2.org/Gallery2:Installation_Requirements#Optional_Items
http://www.flashyourweb.com/filemgmt/viewcat.php?cid=4

Currently only ffmpeg can extract a single frame from a movie and create a thumbnail from that frame.

-s
All New jQuery Minislideshow for G2/G3

 
bburnett

Joined: 2008-09-03
Posts: 77
Posted: Sun, 2012-08-19 19:42

Can the video module recognize the file extension .mp3? Gallery is not recognizing .mp3's stored in my upload path. It see's the .flv's but no .mp3's. Can I add the values for .mp3 so to the Video Module will recognize and play them, OR do I need to install the G2 mp3 module.

The HTTP upload hangs when I try it that way.

I gave up on the screen caps with ffmpeg. I'll just create a hidden album and use those for album covers.

Thanks for all your help, I sincerely appreciate it.
Peace,
bburnett
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

"sometimes the world is cruel to shiny things" - Elroy "Lucky" Kleinschmidt

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-08-19 19:54
Quote:
Can the video module recognize the file extension .mp3

No.

Quote:
OR do I need to install the G2 mp3 module.

No, gallery2 and gallery3 are two completely different applications and the modules are not compatible.

If you want good audio/video support use Gallery2 instead.
Here is a good example of format support http://testr.suprsidr.com/

-s
All New jQuery Minislideshow for G2/G3

 
bburnett

Joined: 2008-09-03
Posts: 77
Posted: Sun, 2012-08-19 20:51

but I thought G2 has security holes and should not be used?

The link you have above to the test Gallery is a G2 version?

I don't crunch code, but it shouldn't be that difficult to incorporate it into the Video Module. Is there any development on this?

Thanks Amigo, Peace,
bburnett
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

"sometimes the world is cruel to shiny things" - Elroy "Lucky" Kleinschmidt

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-08-19 21:08
Quote:
but I thought G2 has security holes and should not be used?

No, G2 has had many security audits.

Quote:
The link you have above to the test Gallery is a G2 version?

Yes 2.3.2
AND G2 can easily be embedded in any php enabled webpage examples.

Quote:
I don't crunch code, but it shouldn't be that difficult to incorporate it into the Video Module. Is there any development on this?

Gallery3 does not support audio mime types, nor does it have a renderer for those types.
Furthermore, you do not need the Video Module for flv as it is supported natively in G3.

-s
All New jQuery Minislideshow for G2/G3

 
bburnett

Joined: 2008-09-03
Posts: 77
Posted: Mon, 2012-08-20 01:04

Thanks for your help Suprsidr, you always help me and I sincerely appreciate it.

Well my two easy fixes are:

Fix #1
I added photos to the Video Albums and made 1 the album cover, this was to have the functionality of the hover over/ mouse over the album feature in the Pear theme. I just re-named the pics as screen shots relating to a particular video.

Fix #2
Since there are not a lot of .mp3 audio clips, I dumped them in the public_ftp folder, and then linked it on my Home Page so folks can DL them.

Thanks Again, Peace,
bburnett

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

"sometimes the world is cruel to shiny things" - Elroy "Lucky" Kleinschmidt