Hi,

Using test, i got this error:

warning: file_get_contents(/misc/autocomplete.js) [function.file-get-contents]: failed to open stream: No such file or directory in includes\locale.inc on line 1713.

Errors in conversion
There were errors during the conversion process
Errors found:
FFmpeg failed to create an output file. This could be due to permission problems or an error from the encoding settings.
Command: C:^\Windows^\SysWOW64^\ffmpeg.exe -i ^'C:^\xampp^\tmp/myfile.mov^' ^'C:^\xampp^\tmp/converted-file.flv^' -v -1

FFmpeg Wraper, at least in windows 7 ambient, is adding wrong slashes and also "^" wich leads to a "not found file" ffmpeg anwser.

Runing with command on dos, i can convert using this:
C:\Windows\SysWOW64\ffmpeg.exe -i C:\xampp\tmp\myfile.mov C:\xampp\tmp\OK.flv -v -1

How can i change this behavior?

Thanks
Carlos
PS: Using Media Mover i get the same kind of mistake.

Comments

carvalhar’s picture

Media Mover ffmpeg and Ffmpeg Wrapper are causing the same mistake, so i'm adding here the post at the other' module page:
http://drupal.org/node/1213178

maybe one solution will serve both.

thanks

carvalhar’s picture

using the module video ffmpeg works.

so it's something with the arguments for ffmpeg converter...

do you have an idea?

thanks.

arthurf’s picture

can you put a dpm() or a print_r() in $ffmpeg->command() to see what ffmpeg is passing to the command line?

carvalhar’s picture

but where do i add this code? which file? line?

I'm using the module Video and the ffmpeg conversion is working correctly.

I think the cause is the way that ffmpeg wrapper writes the command to ffmpeg, giving path problems with slashes in windows and the character "^". This modules prints the command with "^'C:^\xampp^\tmp/myfile.mov^", where the character "^" shouldn't be there and the slash for windows would be "\" not "/" as linux and web systems.

thanks

SlayJay’s picture

I'm having this same issue.