When I attempt to run a configuration to create thumbnails from video files (have tried .avi and .wmv) I get this:

Harvesting.... 
Configurationg process: harvest found 2 files
Configuration process: process is acting on 2 files
Configuration process: storage is acting on 0 files
Configuration process: complete is acting on 0 files

When I check the log I get:

Type: media_mover 
Date: Saturday, September 6, 2008 - 16:43 
User: davidlerin 
Location: http://localhost/mbi/admin/media_mover/config/24/run 
Referrer: http://localhost/mbi/admin/media_mover/config/24 
Message: Media Mover FFmpeg failed to create this file files/media_mover/ffmpeg/thumbnails/24/redblue.avi.thumb24.jpg 
Severity: notice 
Hostname: 127.0.0.1

When I go to Media Mover -> Overview, and then click on the files that media mover is processing I get:

Warning: Missing argument 2 for media_mover_api_files_list() in C:\xampp\htdocs\mbi\sites\all\modules\drupal-contrib\media_mover\media_mover_api.module on line 2500.

There are 2 files that Media Mover has not finished processing. These files may not ever finish. You can remove them all at once.

This is with the new Beta-3 version of MM. I also tried two other versions (5.x-1.0-alpha3 and 5.x-0.6-0), but thumbnail creation failed with each of those as well--without any useful messages.

I am, as ever, very grateful for any help you can provide: it will be a lifesaver if I can get this working!

Comments

arthurf’s picture

Status: Active » Postponed (maintainer needs more info)

The warning about missing argument 2 shouldn't be a problem here, though I've fixed this now in CVS (thanks!).

Looking at the thumbnail failure, there was a miss-named variable during the error checking process, but as far as I can tell, your error would have happened above this, so something else is amiss. I've changed around the error processing a bit in FFmpeg- can you give the CVS version a go and let me know if that's working for you?

xcusso@drupal.cat’s picture

Version: 5.x-1.0-beta3 » 5.x-1.0-beta4
Category: support » bug
Priority: Normal » Minor

Looking in the code I found a missing argument in module mm_content.module. In the line 175 a $ field argument is needed to work, between $node and $file.

Congratulations: is a great module!

arthurf’s picture

@xcusso - do you mean:

<?php
	  switch ($field['type']) {
	  	case 'text':
	  		$node->{$field['field_name']} = array(array('value' => $file['process_file']));
	    break;
?>

That's line 175 in trunk- I'm a bit unclear on what you're wanting to update- can you clarify?

xcusso@drupal.cat’s picture

Version: 5.x-1.0-beta4 » 5.x-1.0-beta7

Sorry, in the new version (beta 7) is in line 180:

	    // handle image field case
	  	case 'image':
	  		mm_content_field_image($node, $file, $configuration);
	    break;

I think that the right correct code is:

// handle image field case
	  	case 'image':
	  		mm_content_field_image($node, $field, $file, $configuration);
	    break;
arthurf’s picture

Status: Postponed (maintainer needs more info) » Fixed

fix is in cvs, thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.