Having some problems with the module validating the path on LEMP Ubuntu 10.04. ffmpeg is installed and working with ffmpeg wrapper test file conversion (I converted a mp4 to flv). The binary is located at /usr/bin/ffmpeg. Here is the output from the ffmpeg -version command:

FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.2, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --extra-version=4:0.5.1-1ubuntu1.2 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 1 / 52.20. 1
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Sep 16 2011 17:08:44, gcc: 4.4.3
FFmpeg SVN-r0.5.1-4:0.5.1-1ubuntu1.2
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 1 / 52.20. 1
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0

Any thoughts on how to debug or where to look in the logs for the problem?

Thanks,
Michael

Comments

slashrsm’s picture

Have you tried to visit admin/config/media/ffmpeg_simple to see if Drupal looks for ffmpeg binary at the right place?

Anonymous’s picture

I actually got it to encode a .flv file to .mp4 with no problem. I think the real issue is that there is no output from the ffmpeg command to the admin overlay when the correct path is input on the engine setup form. I hope I said that in a way that makes since.

Peace and Happy New Year,
Michael

Anonymous’s picture

Status: Active » Closed (fixed)

Found the problem. I am running a distribution of BOA (Drupal project Barracuda) and it seems that the latest release has a change in the php.ini where it disables popen(). You may want to add this your knowledge base for requirements.

Peace,
Michael

slashrsm’s picture

Good to know that! Thanks.

Do you know any more robust way to achieve the same thing?

Anonymous’s picture

I am only minor league at figuring such things out, asking the question now over in the BOA group.

Peace,
Michael

Anonymous’s picture

Here is a link to the question I posted in the BOA group about performance:
http://groups.drupal.org/node/202728

Peace,
Michael