I've just updated to Beta3, and the video processing is failing.
I got a PHP fatal error:
Argument 2 passed to video_localcommand::getDimensionParameters() must be an array, null given, called in /home/pony/www/sites/all/modules/pony/video/transcoders/video_localcommand.inc on line 148 and defined in /home/pony/www/sites/all/modules/pony/video/transcoders/video_localcommand.inc on line 399.
I can identify two issues:
- _video_aspect_ratio can return NULL if it fail, but video_localcommand::getDimensionParameters second arg is binded as array with no default. Somethings need to be done when _video_aspect_ratio fail, returning NULL is not a solution if other part of the code need the video dimensions
- _video_aspect_ratio fail because the filepath is wrong, the command lanched is:
nice -n 19 /usr/bin/ffmpeg -i 'sites/default/files/videos/video-4.mov' 2>&1but there is no such file, my video is still in sites/default/files/videos/original/video-4.mov, not videos/.
I'm using PHP 5.3.3-7.
Comments
Comment #1
Jorrit commentedThanks for your report. At what moment do you get this error? Are there any errors in your Drupal database logs? The error you get may be related to some error that happened right before this one.
Are you using the "Convert video on save" option?
During normal operations, the database should have been updated with the new path before the code from the error is run.
Comment #2
Jorrit commentedClosed because of lack of response.