Forum topic: Transcoding Fails - Everything seems correct

Hello!
After working with my hosting company to configure PHP, I am now able to upload a 6MB video using Drupal and OpenVideo Package module.

When the video is uploaded, I run cron.php manually. However, the video does not get transcoded and I get a strange message on the page after running cron. This is all I see on the page:

export MALLOC_CHECK_=1; time /usr/local/bin/ffmpeg -v 0 -y -i 'sites/default/files/videos/original/Last_Day.wmv' -b 320k -r 24 -g 48 -s 320x240 -ab 64k -ac 2 -ar 44100 sites/default/files/videos/temp/1.flv -pass 1 -passlogfile sites/default/files/videos/temp/2pass.1.log 2>&1 export MALLOC_CHECK_=1; time /usr/local/bin/ffmpeg -v 0 -y -i 'sites/default/files/videos/original/Last_Day.wmv' -b 320k -r 24 -g 48 -s 320x240 -ab 64k -ac 2 -ar 44100 sites/default/files/videos/temp/1.flv -pass 2 -passlogfile sites/default/files/videos/temp/2pass.1.log 2>&1

** The original video is in sites/default/files/videos/original
** After running cron, there is nothing in sites/default/files/videos/transcoded
** I have set the path to ffmpeg to /usr/local/bin/ffmpeg.

Do I have things set up correctly?

Any help is appreciated.

Hi, I had the same problem, the reason might be, that the apache has not enough rights. I changed the the owner to off the ffmpeg, after that it worked.
Might helpt.

Greetings

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h1> <h2> <h3> <h4> <b>
  • Lines and paragraphs break automatically.
  • Internal paths in double quotes, written as "internal:node/99", for example, are replaced with the appropriate absolute URL or relative path.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options