I have been trying for the Past 3 days to get FFMpeg working with Media Mover.
(I Have Drupal installed on a windows machine on my Local Host)

  • I have the right FFmpeg Path and Path to the FFmpeg vhook libraries.
  • I can see all the supported file formats and Installed Codecs.

However when I try to do a Test Conversion the Following things happen:

  • When I use a particular file to run the test on, the JQuery Returns
    file information but all fields except File Name (File) are empty (or) na
  • Errors found: FFmpeg Wrapper can not decode this file: !file

I tried to apply the following patch but it didn't help:

The same problem I'm having is described in this forum
but no solution has been posted:

I tried everything possible and double checked all my installation requirements.
Nothing seems to work. Can somebody please help me with this, Help greatly
appreciated! Thanks!!

CommentFileSizeAuthor
#13 FFMPEG setup.png307.62 KBharcher
#11 phpinfo ffmpeg29.62 KBharcher
#11 error1195.46 KBharcher
#11 error2144.58 KBharcher
#12 error51.85 KBharcher

Comments

rick_1809’s picture

Assigned: rick_1809 » Unassigned
rick_1809’s picture

Category: support » bug
rick_1809’s picture

Project: Drupal core » FFmpeg Wrapper
Version: 6.15 » 6.x-1.x-dev
Component: other » Code
rick_1809’s picture

Can someone please help with this issue

arthurf’s picture

You might want to try out the 2x version- I rebuilt the conversion testing from the ground up.

rick_1809’s picture

Hey Arthur, Thanks for your Reply! I figured out the problem, Media Mover
Doesn't seem to be working with the Later Versions of FFmpeg
, I finally installed
an older version SVN-r16573 and then everything fell right in place. Still have the
missing argument for option '-v' issue but its not affecting any of the tasks I want
to perform.

Thanks! :)

arthurf’s picture

there are some fixes in the works for newer versions of ffmpeg. I'm hoping to have that release together shortly.

harcher’s picture

Where do you get the path to the vhook directory???

I get:

"The vhook directory was not found on the path you specified"

tipplefip’s picture

forestmars’s picture

Is the path outside your Drupal install? That may be the issue.

However, ffmpeg_wrapper should work even if it cannot find the vhook directory.

In fact, vhooks have been deprecated (in favour of LibAVFilte) and development is strongly discouraged, except for bugfixes.
(as per: http://ffmpeg.arrozcru.org/wiki/index.php?title=Building_VHooks)

~ Forest Mars

harcher’s picture

StatusFileSize
new144.58 KB
new195.46 KB
new29.62 KB

The path to the ffmpeg.exe file is outside the drupal install. So when I add this path into the module, I use absolute path (C:\xampp171\ffmpeg\). Could this be the problem?

I'm running this locally on my windows xp.

drupal 6.16
xampp 1.7.1
php 5.2.9

I've setup ffmpeg and this is confirmed on phpinfo() page (see image "phpinfo ffmpeg").

All I need is to convert video files to flv format.

When viewing the video module setup page, admin/settings/video, I get an error (see image "error" from post below)

When viewing the ffmpeg_wrapper setup page, admin/settings/ffmpeg_wrapper/test, I get an error (see image "error2")

EDIT: image 'error1' is wrong and I can't delete it...

harcher’s picture

StatusFileSize
new51.85 KB
harcher’s picture

StatusFileSize
new307.62 KB

OK, I managed to fix...

The path to the file ffmpeg.exe was causing the problem. I placed this file in the root of the drupal installation and set the path to: ffmpeg.exe

Now it displays the ffmpeg version and all the supported formats and codecs on the ffmpeg_wrapper module page.

See image attached

tribsel’s picture

im using ffmpeg_wrapper 6x2x-dev, ffmpeg-0.6.0, php53 and have similar problem - can not see any info in ffmpeg wrapper's settings. no formats, codecs, ffmpeg version.

arthurf’s picture

@tribsel where is ffmpeg installed on your server and what path are you using in the ffmpeg settings?

tribsel’s picture

/usr/bin

arthurf’s picture

Are you sure that your web server can execute ffmpeg?

tribsel’s picture

via command line yes. i converted video this way without any problems.

arthurf’s picture

Right, but the web server user has to be able to execute it. Can you go to the ffmepg settings page and then check your logs?

tribsel’s picture

there is nothing in apache error log or drupal's log. after going to ffmpeg wrapper's settings. When I try to convert test video, this happens:

in source file details, there is just filename filled in. format, bit rate, Total bitrate... all other fields are either na or just empty.
Transcode using settings: Output format dropdown is empty. But I can submit form anyway by pressing Transcode button. Then I get this error:

There were errors during the conversion! There were errors during the conversion! (twice the same).
Errors found: The file could not be transcoded because this version of FFmpeg can not decode this kind of file

but this is the same file I transcoded via command line before.

arthurf’s picture

So what are you seeing on the ffmpeg settings page? FYI, you should probably upgrade to the 2.x version as there are a number of fixes in there for newer versions of ffmpeg