This is minor and only appears in the log entry (there is no visible error), but the log issues the following warning upon completion of the transcoding process:

FileField was trying to display the file sites/default/files/videos/[video], but it does not exist.

The video has been moved to the "original" folder by that point - the system shouldn't really need to be looking for it here anyway.

Rock on!

Comments

virtuali1151’s picture

Any word on a fix for this one..?? As this seems to be an error with our site as well... and it does add some serious entries to the watchdog.. (Using 6.4 dev version)

hypertext200’s picture

Thanks for the reporting it. It seems we are not updating the field entry once we moved the file, we should add the updating path some where here in the code.

    $files = file_create_path();
    $original = $files . '/videos/original';
    $converted = $files . '/videos/converted';

    if (!field_file_check_directory($original, FILE_CREATE_DIRECTORY)) {
      watchdog('video_transcoder', 'Video conversion failed.  Could not create the directory: ' . $orginal, array(), WATCHDOG_ERROR);
      return false;
    }
    if (!field_file_check_directory($converted, FILE_CREATE_DIRECTORY)) {
      watchdog('video_transcoder', 'Video conversion failed.  Could not create the directory: ' . $converted, array(), WATCHDOG_ERROR);
      return false;
    }

    $original = $original . '/' . $video->filename;
    //lets move our video and then convert it.
    if (file_move($video, $original)) {
      // Update our filepath since we moved it

bryanb229’s picture

Subscribing.

entrigan’s picture

I have the same issue. There must be something else going on here. 4.x is now on a beta 2 release, and only a few of us have had this problem since dec 4th?

entrigan’s picture

Version: 6.x-4.2-alpha2 » 6.x-4.2-beta2

(updating version)

mossill’s picture

having this issue also. running php 5.1.6

mossill’s picture

I upgraded to PHP 5.2 and I'm able to view the video. but filefield still looks for the original file in the files directory. It's not even looking for the file in the "videos/original" folder

virtuali1151’s picture

this is an error in the video mod coding. heshan will probably get a fix for this.

justingeeslin’s picture

(subscribing)

Is there a previous release that doesn't have this issue?
Thanks.

virtuali1151’s picture

@justingeeslin - Naa. they all have them same problem.

justingeeslin’s picture

Hm.. Apparently not everyone is having this issue.

I recently moved my installation from my Mac to a Gentoo Websever, PHP 5.3.3. And the problem went away. Not sure. Everything is kosher with me now. Maybe theres a clue in this.

mossill’s picture

I upgraded to PHP Version 5.2.17 and everything works fine

virtuali1151’s picture

I have php 5.2.17 and still have the issue.. so I am pretty sure its not the php version...

buzzeke’s picture

could it be that the issue still remains at current version?

dwees’s picture

Any update on how to fix this issue? With only a few videos on our site, and a few people watching them (less than 100 of each) that's still potentially 10k extra unnecessary lines in the Watchdog table....

dbinoj’s picture

subscribing

Jorrit’s picture

Status: Active » Postponed (maintainer needs more info)

Is this problem still present in the latest release?

Jorrit’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closed because of lack of response.