I've been tinkering with FlashVideo for a while and I am ultimately having trouble getting it to communicate with FFMPEG.

I installed a precomplied binary based off of this file:

http://forums.westhost.com/showthread.php?t=10805

I placed it here: /usr/bin/ffmpeg

Via SSH I was able to test it and ffmpeg works.

I followed all the instructions for install. The cron is set to: */5 **** /usr/bin/lynx http://www.mywebsite.com/cron.php

The page shows all the correct fields for upload and the upload works.

Raw Files are uploaded to here and I have checked this directory and that is where they land: /var/www/fof/sites/default/files/

Video Import Directory is set to default: video_import

*For Video Import Directory, am I supposed to create this folder within files? video_import
I tried doing this and I don't see raw files getting uploaded to it. They still go to just the main /default/files directory.

I set Original Directory to this: /var/www/fof/sites/default/files/video_import

* I'm not sure what the difference between Video Import Directory and Original Directory. Is VID the place raw files go to on upload and OD is the place where raw files go affter FFMPEG converts them?

I set Output Directory to this: /var/www/fof/sites/default/files

* This is where flvs and thumbs are supposed to go.

I have run the cron multiple times. I checked the log conversion data but nothing is showing. I'm a little confused at what I have missed. I'd appreciate any help that I can get, this module seems amazing!

Comments

bcobin’s picture

I have the same problem - I'm able to get flashvideo to run locally, but not on the production site. It's a great module - would love to get it to work - any ideas out there?

bcobin’s picture

Version: 6.x-1.x-dev » 5.x-2.7

Oops! I'm using 5.x version - running Drupal 5.7, not 6.

marcoBauli’s picture

Status: Active » Postponed (maintainer needs more info)

just a heads up about a FFMPG setting that got FlashVideo work for me after a long afternoon ;)

have a look at http://www.travistidwell.com/node/11#comment-433

and try changing your ffmpg Command to:

-i @input -f flv -ar 22050 -ab 64k -ac 1 @output

hope it helps

bcobin’s picture

I had some experience with a Westhost precompiled binary - don't use it unless audio isn't important to you. If it's the same one I used, the binary was compiled without LAME (necessary for audio), so it will seem to work, but you won't get audio and likely end up tearing your hair out.

I'll also add here that Westhost was really difficult with the whole FFMPEG issue - I lost about a week with them in getting bad information, then having them try to charge me $99 an hour for a tech.

Open Package Video (http://drupal.org/project/op_video) is also an excellent video solution - they have FFMPEG installation instructions on their website here.

If this is too much for you, they also offer FFMPEG encoding for $1 per hour of video which can be handled directly from the module on your site - pretty cool!

attheshow’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Closed due to inactivity.