ffmpeg problem

DocRocks

Joined: 2008-02-11
Posts: 14
Posted: Sat, 2013-08-24 20:30

Trying to enable loading of movies into my gallery. I'm on a shared LAMP hosting account and I've downloaded/extracted/installed ffmpeg into the Gallery/bin folder. The Add tab in the admin window doesn't show movies as an option. Have I installed incorrectly? Any advice on troubleshooting?

Thanks

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2013-08-25 00:20

You can still add movies. Ffmpeg only generates the thumb and the dimensions.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
DocRocks

Joined: 2008-02-11
Posts: 14
Posted: Sun, 2013-08-25 01:48

Thanks Dave, but there is nothing in the Add tab that allows me to add movies. How do I do it and then use ffmpeg to add the thumb and dimensions? BTW I'm using a simplescript install of version 3.0.8.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2013-08-25 15:36

There is no add movies tab. Just add movies like you do photos. If the movies are big I suggest the server add method.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
DocRocks

Joined: 2008-02-11
Posts: 14
Posted: Sun, 2013-08-25 19:46

OK - enabled the Server Add module (didn't know that was needed) and ftp uploaded videos to the server directory public_html/photos/gallery_videos. The /photos directory is the Gallery install directory. On the "Add from server administration" page I tried both the full path and then photos/gallery_videos but got "This directory is not readable by the webserver" error for both. The gallery_videos folder permissions are set to 755 so it should be writable. Am I missing a step? If not, what is the correct server path?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2013-08-26 15:57

I would pick a location outside the gallery install. Either way the path would be different for every host/install.
It might be available from the path setting on your FTP program. Your host should be able to assist if you can't figure it out.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
DocRocks

Joined: 2008-02-11
Posts: 14
Posted: Wed, 2013-08-28 13:04

Success - my host gave me the correct path and Server Add is now active. However ... when I add the video the process completes but the video does not appear in the album that is active. Do I need to modify something in one of the program files?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2013-08-28 17:52

Got a URL to show the behavior? Does a thumb get generated? Do images work using the same method?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
DocRocks

Joined: 2008-02-11
Posts: 14
Posted: Wed, 2013-08-28 20:22

The Gallery login:
Removed by administrator for security issues
No thumb is generated, not sure what you mean by "Do images work using the same method" but images load OK. There is only one video in the directory linked to Server Add. I'm trying to load it into the Lucca album.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2013-08-28 20:55

I added a movie and thumb was generated. Perhaps the movie type you are adding is not supported. Try a .flv or mp4 file.

please change your admin password as it was sent in the clear to the community.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
DocRocks

Joined: 2008-02-11
Posts: 14
Posted: Wed, 2013-08-28 21:15

I think file type is the problem. Its an MTS file which I guess is not supported. I'll covert and try again. Thanks for hanging in there Dave. Looks like this might be the answer.

 
DocRocks

Joined: 2008-02-11
Posts: 14
Posted: Wed, 2013-08-28 22:43

Getting closer. File type was the problem. I created and uploaded an mp4. However only the audio portion plays, no video. Check racingriverwebs.com/photos, Iceland album - last image (Blue Lagoon). The file plays both video and audio on my PC. Am I missing some other settings?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2013-08-29 00:52

In order for mp4 to play it must be .h264 video codec and either AAC or mp3 audio
Im no video expert.... The flash player can only play mp4 encoded w/ .h264 video codec.

Have you read this thread:
http://gallery.menalto.com/node/104388

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team