I got the following error message

PHPVideoToolkit Error: Execute error. Output for file "$DOCROOT/sites/example.com/files/private/videos/original/file.flv" was not found. Please check server write permissions and/or available codecs compiled with FFmpeg. You can check the encode decode availability by inspecting the output array from PHPVideoToolkit::getFFmpegInfo().

How do I inspect the ouput array from PHPVideoToolkit::getFFmpegInfo()?


Quickest way I can think of:

When you run that code you should be presented with a nicely formatted array in the messages area that you can inspect.

If you get an error that PHPVideoToolkit does not exist then find out what file in your installation declares that class, and make sure it's included using either module_load_include() or PHP's include/require.

| improve this answer | |
  • When I execute print Begin; $info = PHPVideoToolkit::getFFmpegInfo(); dpm($info); print End; only "Begin" is printed. What does that indicate? – htoip Mar 7 '12 at 22:10
  • It would usually indicate that PHPVideoToolkit::getFFmpegInfo() is returning FALSE or NULL. There seems to be a bit of a discussion about something similar here, it might be worth a look – Clive Mar 7 '12 at 22:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.