Unable to upload flv files

mfoster711

Joined: 2005-03-06
Posts: 118
Posted: Thu, 2009-04-16 04:21

I am trying to upload flv files and it is not working. I use the Add Photo option, select an flv file, it seems to upload but is not there. No error, nothing.

Should this be working?

Two11.com is my test site.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2009-04-24 00:27

Check the log files in var/logs and your Apache error logs.

 
mfoster711

Joined: 2005-03-06
Posts: 118
Posted: Fri, 2009-04-24 02:33

Uncaught Exception: @todo MISSING_FFMPEG in file core/helpers/movie.php on line 107

Here is the error I am getting in the log.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2009-04-25 21:05

Ah, that's because you don't have ffmpeg installed. Try installing it (make sure it's in /usr/bin or somewhere else in a common path) and G3 will detect and use it. I've created http://apps.sourceforge.net/trac/gallery/ticket/232 for us to improve this in the future.

 
mfoster711

Joined: 2005-03-06
Posts: 118
Posted: Mon, 2009-04-27 02:19

That is what I was thinking. Is there any way for this to work with a shared hosting account? Or will I need to wait until that fix is in place? I tried following these directions but got stuck at the step where I needed to install and activate ffmpeg.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2009-04-30 15:53

You can work around it for now by editing core/helpers/movie.php and changing the code at line 107 from:

    if (!$ffmpeg = exec("which ffmpeg")) {
      throw new Exception("@todo MISSING_FFMPEG");
    }

to

   $ffmpeg = "/path/to/your/ffmpeg";
 
hmoreau

Joined: 2009-04-30
Posts: 1
Posted: Thu, 2009-04-30 23:30

I have the same problem. I have a shared hosting account and I can't install ffmpeg. I can't upload any movie in any format.
Do you think that you can solve this problem ?
Thank you

 
szafran

Joined: 2009-05-04
Posts: 2
Posted: Mon, 2009-05-04 20:54

Hi

First off... great job with Gallery.

I have the same problem, but I'm using Windows instead of Linux.
I've changed things to make imagemagick to work (and it does - IMO the issue of discovering IM unde windows should also be addressed).
I've also made the change suggested above by bhrat, but the only thing that has changed is that there is nothing in the log (by the way I'm using yesterdays svn snapshot) - the movies are uploaded (I've tried flv's; mp4 with xvid and x264 codecs) without errors, but nothing happens. how can I fix that ? (maybe the windows build of ffmpeg acts somehow different ? - I'm currently using SVN-r16573 win32 build version of ffmpeg)

Szafran

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2009-05-04 23:25
Quote:
IMO the issue of discovering IM unde windows should also be addressed

Sorry but:

G3 scope wrote:
Supported Configurations - Gallery 3 is supported on Linux / Unix servers, running a MySQL 5 and an Apache 2.2 web server with PHP 5.2. Emphasis on supported, not necessarily required. It may well work with MySQL 4.1 on MS Windows as well. But the Gallery team is going to focus its energy on making the best possible product on the supported configurations.

bharat wrote:
But this is open source, so if it's of enough interest to the community I'm sure you'll see some support emerging.

So it is up to the community to add support for windows. If you find a way to add support please assist with coding and testing.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
szafran

Joined: 2009-05-04
Posts: 2
Posted: Tue, 2009-05-05 20:01

Sorry, haven't read that before.
When I'll have some time then I'll look into what can be done in this manner (maybe on a weekend).
If I'll come up with something that will work then where can I post it, so the Gallery Team can take a look at it, and maybe add it to the project ?

Szafran

 
jontyprofit

Joined: 2009-06-11
Posts: 1
Posted: Thu, 2009-06-11 09:06

I am unable to upload videos now, without an error occurring almost right away. ... The same problem is still here! I can't upload a flv file either. ...

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2009-06-12 08:24

@jontyprofit: please report back with anything you find in your error logs
---
Problems? Check gallery3/var/logs before you post! and file bugs here!
Latest zip: http://github.com/gallery/gallery3/zipball/master
Latest git: http://codex.gallery2.org/Gallery:Using_Git

 
higorvaz
higorvaz's picture

Joined: 2009-07-04
Posts: 8
Posted: Mon, 2009-07-06 20:59

I tested the Latest zip and worked the FLV format only (Vista and Linux), more details: http://gallery.menalto.com/node/88871.
Thanks for this great work.
Higor

 
desiredbard

Joined: 2006-07-05
Posts: 80
Posted: Thu, 2010-03-04 11:42

Hi there havibg an issue like this with santa fe
Does ffmpeg still needs to be seperately installed