I am trying to get the video module working in drupal 7.12. I am using the VideoJs player. I am using FFmpeg to transcode to MP4 files with default settings (just to get it working). I use the video presets module to customize these settings. I am using a windows server (for now) and I am not willing to change that at the moment. I gave the full path for FFMpeg and it said it found it (version svn:38622). When I click the upload button for uploading a wmv file it seems to work but displays the following:

Strict warning: Only variables should be passed by reference in PHPVideoToolkit->execute() (line 2846 of C:\xampp\htdocs\drupal\sites\all\modules\video\libraries\phpvideotoolkit\phpvideotoolkit.php5.php).
Strict warning: Only variables should be passed by reference in PHPVideoToolkit->execute() (line 2846 of C:\xampp\htdocs\drupal\sites\all\modules\video\libraries\phpvideotoolkit\phpvideotoolkit.php5.php).
Strict warning: Only variables should be passed by reference in PHPVideoToolkit->execute() (line 2846 of C:\xampp\htdocs\drupal\sites\all\modules\video\libraries\phpvideotoolkit\phpvideotoolkit.php5.php).
Strict warning: Only variables should be passed by reference in PHPVideoToolkit->execute() (line 2846 of C:\xampp\htdocs\drupal\sites\all\modules\video\libraries\phpvideotoolkit\phpvideotoolkit.php5.php).
Strict warning: Only variables should be passed by reference in PHPVideoToolkit->execute() (line 2846 of C:\xampp\htdocs\drupal\sites\all\modules\video\libraries\phpvideotoolkit\phpvideotoolkit.php5.php).

then when I try to tell it to transcode the video I get this error and it fails to transcode:

Notice: Undefined index: formats in PHPVideoToolkit->getFFmpegInfo() (line 626 of C:\xampp\htdocs\drupal\sites\all\modules\video\libraries\phpvideotoolkit\phpvideotoolkit.php5.php).
Notice: Undefined index: in PHPVideoToolkit->getFFmpegInfo() (line 626 of C:\xampp\htdocs\drupal\sites\all\modules\video\libraries\phpvideotoolkit\phpvideotoolkit.php5.php).
Notice: Undefined index: codecs in PHPVideoToolkit->getFFmpegInfo() (line 641 of C:\xampp\htdocs\drupal\sites\all\modules\video\libraries\phpvideotoolkit\phpvideotoolkit.php5.php).
Notice: Undefined index: in PHPVideoToolkit->getFFmpegInfo() (line 641 of C:\xampp\htdocs\drupal\sites\all\modules\video\libraries\phpvideotoolkit\phpvideotoolkit.php5.php).
Warning: file_put_contents(/tmp/_ffmpeg_info.php) [function.file-put-contents]: failed to open stream: No such file or directory in PHPVideoToolkit->getFFmpegInfo() (line 716 of C:\xampp\htdocs\drupal\sites\all\modules\video\libraries\phpvideotoolkit\phpvideotoolkit.php5.php).
Strict warning: Only variables should be passed by reference in PHPVideoToolkit->execute() (line 2846 of C:\xampp\htdocs\drupal\sites\all\modules\video\libraries\phpvideotoolkit\phpvideotoolkit.php5.php).
Something went wrong with your video transcoding. Please check your recent log entries for further debugging.

Comments

balornt’s picture

If I upload a premade mp4, it works with just one warning of the same type:

Strict warning: Only variables should be passed by reference in PHPVideoToolkit->execute() (line 2846 of C:\xampp\htdocs\drupal\sites\all\modules\video\libraries\phpvideotoolkit\phpvideotoolkit.php5.php).

Plays great too.

Jorrit’s picture

Status: Needs review » Postponed (maintainer needs more info)

Could you try to use Video module version 7.x-2.x-dev and see if it solves your problems?

balornt’s picture

Now I get the errors found in this thread: http://drupal.org/node/1325664

I will follow it and post further issues there.

Jorrit’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Okay, I will close this one.