on my Unix box, I am so sure that my ffmpeg was installed in location /usr/local/bin/ffmpeg. I am using ffmpeg_converter.module on the other site (same server) and I remember trying your previous version of video.module. all settings are /usr/local/bin/ffmpeg.

but for no reason, at the video settings page, it returned me an error message: Please specify correct executable path to Transcoder whenever I tried to set to my correct path.

Comments

heshanlk’s picture

Can you create video? auto thumbnails are creating?

sadist’s picture

hi heshan, thanks for the respond.

neither thumbnail has been created nor anything being converted. only the original uploaded file (wmv) and that's all.

btw even if I save the default configuration (without changing anything) with path: /usr/bin/ffmpeg, it will still prompt me the same error message.

heshanlk’s picture

In command line type

$ ffmpeg

and let me know the responce

sadist’s picture

FFmpeg version SVN-r19340, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --enable-libmp3lame --disable-mmx --enable-shared --enable-gpl --enable-postproc --enable-nonfree --enable-postproc --enable-libfaad --enable-avfilter --enable-pthreads --enable-libxvid --enable-libx264 --enable-libfaac --disable-ffserver --disable-ffplay --enable-libamr-wb --enable-libamr-nb
  libavutil     50. 3. 0 / 50. 3. 0
  libavcodec    52.32. 0 / 52.32. 0
  libavformat   52.36. 0 / 52.36. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    0. 5. 0 /  0. 5. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Jul  4 2009 07:31:52, gcc: 4.1.2 20080704 (Red Hat 4.1.2-44)
At least one output file must be specified
heshanlk’s picture

Seems you have successfully installed FFMPEG, if you installed, then it should work when you upload videos. Try create video node, and hit upload to upload video let me know whether thumbnails r created or not

sadist’s picture

ya i did that (#2). i've been using my ffmpeg for other modules without problem.

heshanlk’s picture

Wioll tlk to u prv

aohanian’s picture

I am having the same problem. Please post the solution when available.

heshanlk’s picture

What is the FFMPEG version your using and what is the OS?
just try

$ /usr/bin/ffmpeg -i FILENAME

and let me know the out put

heshanlk’s picture

FILENAME is something like sites/all/files/flash.flv

zuzu83’s picture

hi,

I have same probleme...

my ffmpeg path is : /usr/local/bin/ffmpeg

I find my ffmpeg file with cmd #which ffmpeg my server return result /usr/local/bin/ffmpeg

and I am executed $ ffmpeg return

FFmpeg version SVN-r19191, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --enable-libmp3lame --enable-libamr-nb --enable-nonfree --enable-libfaad --enable-gpl --disable-mmx --enable-shared
  libavutil     50. 3. 0 / 50. 3. 0
  libavcodec    52.31. 2 / 52.31. 2
  libavformat   52.34. 0 / 52.34. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0. 7. 1 /  0. 7. 1
  built on Jun 14 2009 20:56:55, gcc: 4.3.2
At least one output file must be specified

In my admin video page, I configure my ffmpeg path "/usr/local/bin/ffmpeg" return error "Please specify correct executable path to Transcoder".

Where is probleme

tanks

"My server is DEBIAN Lenny 64 bit"
Drupal version 6.15
Video module version 6.dev

xmacinfo’s picture

I am migrating from Flashvideo to Video and I have the same error.

In admin/settings/video the Path to Video Transcoder give me a validation error:

Please specify correct executable path to Transcoder.

The ffmpeg location is at: "/usr/local/bin/ffmpeg" which other sites I have are using properly to do the conversion.

Somehow Video does not validate properly the path while it's good.

$ which ffmpeg
/usr/local/bin/ffmpeg
$ ffmpeg
FFmpeg version UNKNOWN, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --enable-libmp3lame
  libavutil     49.12. 0 / 49.12. 0
  libavcodec    52. 7. 0 / 52. 7. 0
  libavformat   52.23. 1 / 52.23. 1
  libavdevice   52. 1. 0 / 52. 1. 0
  built on Dec 18 2008 17:34:20, gcc: 4.0.1 (Apple Inc. build 5490)
At least one output file must be specified

Yes, I am on a Mac and ffmpeg was built on it from source.

However other modules and sites can use it properly.

heshanlk’s picture

@xmacinfo can you create video nodes, and convert them? in that validation I will only try this

validation funcation
  if (function_exists('is_executable')) {
    $test = 'is_executable';
  } else {
    $test = 'file_exists';
  }

// video.admin.inc
// validation API
function video_admin_settings_validate($form, &$form_state) {
//    $function = variable_get('vid_convertor', 'ffmpeg') . '_check_exe_path';
//    if (function_exists($function)) {
//      $executable = variable_get('video_transcoder_path', '/usr/bin/ffmpeg');
//      if(!$function($executable)){
//        form_set_error('video_transcoder_path', t('Please specify correct executable path to Transcoder.'));
//      }
//    }
//    else {
//      form_set_error('vid_convertor', t('Transcoder <b>'. variable_get('vid_convertor', 'ffmpeg').'</b> not implemented properly.'));
//    }
    
}

Please comment the above function body as shown in above in video.admin.inc

zuzu83’s picture

@heshanmw

yes video node has create but video not converter and thumbnail hot generate...

look my config #11

heshanlk’s picture

Until you save configurations you cannot convert videos or create thumbnails. Please use my code above and check. :)

zuzu83’s picture

Status: Active » Fixed

It's ok...

probleme fixed with last dev version!

tanks

xmacinfo’s picture

Confirmed. This is fixed in video-6.x-3.3.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.