"You must specify an output type" ??
haojiang - March 12, 2009 - 06:14
| Project: | FFmpeg Wrapper |
| Version: | 6.x-1.1-beta1 |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Jump to:
Description
page : admin/settings/ffmpeg_wrapper/test
when i click the submit buttom-"transcode" ,
error : "admin/settings/ffmpeg_wrapper/test" showup
but in the configuration area , the widget "Output format" , there is nothing i can choose there, no items inside but just "select output type"
windows , drupal6,"C:/ffmpeg/ffmpeg.exe"
is this an error?

#1
subs
I have the same error
Ubuntu, drupal6
#2
You need to set the path to ffmpeg in the admin/settings/ffmpeg_wrapper- did you?
#3
of course i did
and i am sure that in the previous version , the same path with the same ffmpeg.exe configuration is all right
so , i think maybe there is something change in this version , so i still use the previous version now
#4
Is there a file that can be transcoded? Can you try the dev version? This does not happen for me, however I do not use windows.
#5
In thinking about it, your codecs are probably cached. If you clear this, you should be ok. In newer versions, this cache is cleared when you go to admin/settings/ffmpeg_wrapper
#6
I have the same problem -- no Output formats to choose from -- using 6.x-1.1-beta1.
Also on Windows, using WAMP (Apache & MySQL).
Is there any information I could provide that could help us troubleshoot this?
#7
Hi-
First clear your caches. Secondly give the dev version a try. Thirdly, can you confirm that the path to the ffmpeg binary is correct? That list is generated from ffmpeg, so it needs to have access to it to generate it.
#8
Hi,
I've cleared my cache (I think -- I've hit all the FFMPEG admin pages, and chosen to clear all the items available under 'Clear private data...' in FF) and downloaded and installed the dev version. I've also tried a different binary compiled for Windows. The paths to the binaries (both on the disk and what I'm using in the UI) are:
E:\Program Files\WinFF\ffmpeg.exe
for a binary obtained here: http://winff.org/html_new/
and
E:\wamp\www\ffmpeg\bin\ffmpeg.exe
for a binary obtained here: http://ffmpeg.arrozcru.org/builds/
In addition, I've noticed during this round of testing that an error message appears when I first go to the FFMPEG WRAPPER TEST CONVERSION tab after saving a configuration. The error is:
warning: Invalid argument supplied for foreach() in E:\wamp\www\boost\sites\all\modules\ffmpeg_wrapper\ffmpeg_wrapper.module on line 485.
Of course, I looked at line 485 and it's a listing of array items that store output formats -- which makes sense I guess, given the problem we're seeing. The error message goes away when the page is refreshed, so I don't know if it started showing up with the dev version or I just started noticing it then.
Thank you for your work on this. Please let me know if there's any more information I can provide that would be helpful.
#9
FYI, I have installed devel, and though I haven't used it yet, I'd be happy to try and use it to acquire info that might be helpful troubleshooting this.
#10
This is now working for me. I think the problem was the path and the location of the FFMPEG binary. It seems as though a path like this won't work:
E:\Program Files\WinFF\ffmpeg.exe
I put FFMPEG into the Drupal directory and then referred to it with a relative path --
/ffmpeg/bin/ffmpeg.exe
I also turned on the devel module and cleared the cache several times -- so that may have done something. In any case, using that path, I now have Output Format options.
One last note -- I got things working, then tried to isolate what I'd done to make it work, rolling things back a bit and trying to retrace steps one at a time. However, I couldn't get the thing to work again until, after much trial and error, I realized that I hadn't included the leading forward slash in the path. So that may be helpful for others -- if you put FFMPEG in the same directory as Drupal, make sure you're using a leading forward slash in your path. (EG, the path should like LIKE THIS:
/ffmpeg/bin/ffmpeg.exe
NOT like this: ffmpeg/bin/ffmpeg.exe <--won't work.
#11
I'm on CentOS 5.3, and i have the same problem. also it does not accepts vhooks. says it does not exists at the specified path. i checked both ffmpeg and vhook path and i'm sure the paths are correct. I cleard the cache in admin -> performance several times.
I also tried the latest dev version. Any suggestion?
#12
Ok , i found the solution. i check the log file and found hits : file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/ffmpeg) is not within the allowed path(s)
I have fastcgi installed on my server, clearly it says that the folders are no accessible by the user. so i created to symlink to ffmpeg and vhook and it recognized them finally.
ln -s /usr/lib/vhook /home/username/vhookln -s /usr/bin/ffmpeg /home/username/ffmpeg