Upload generally fine, conversion does not happen, and lots of weird new stuff shows up
| Project: | FlashVideo |
| Version: | 6.x-1.5-rc2 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Usually I do my best to figure things out, but I have no clue what's going on here.
Here is what I am using to give a pretty good overview:
Drupal 6.x (whatever is the most current)
Path alias
Clean URLs
FlashVideo enabled for pages only
Private Download
FFMPEG correctly installed on server at /usr/bin/ffmpeg
Private Download Directory: /home/username/drupal_files - 775
Video Upload Directory: /home/wildcatm/drupal_files/video_import - 775
Output Directory: /home/wildcatm/drupal_files/videos - 775
Here's what's happening...
1. Vid.AVI gets uploaded and the node gets saved
1a. Videos are uploaded to /home/username/drupal_files (not the import directory), not sure if this is where they're supposed to go or not
1b. Copy video to /home/username/drupal_files/video_import just to be safe
2. Run cron
3. Check and find out the video has been moved from /home/username/drupal_files/video_import to /home/username/drupal_files and renamed Vid01.AVI - no conversion has taken place, only the move and rename
4. New page nodes have been created with Vid01.AVI as title
5. Check database for any errors in the ffmpeg_data table and nothing is listed
6. Check the flashvideo table and additional entries have been created (still only one video uploaded at this point) and all have status '0'
What am I missing? I followed the tutorial minus the ConTemplate step. Is that the mistake? Or am I screwing it up by using private downloads with incorrect paths? Or is this a bug somewhere?

#1
I am having this exact same problem. I am running on a localhost site under OS X 10.5.
#2
Are you trying to have your users upload videos? Or have them automatically imported from the video import directory? If you're not doing some automatic import process, I wouldn't even mess with uploading files into the import directory.
I've never tried using FlashVideo with the "private downloads" Drupal functionality, so I'm not sure if that creates any issues.
#3
I am trying to upload videos myself through a new content type "video"
I am currently logged in as admin.
After changing to "public downloads," the file uploads to the correct directory (/home/username/public_html/file_cabinet/files/videos). When cron is run, the file disappears completely from the video directory and a new "video" node has been created by "Annonymous." The title of the new node is the original video file name. It also has the original video file attached that links to the upload directory, but now that video is 0 bytes in size.
Double checked the database tables...ffmpeg_data still has no entries and flashvideo has the status as "0"
#4
Update:
After messing around with some file settings, file uploaded and now converted.
The module is still creating a new video node with the original name as the title. The new node correctly plays the video.
The node from which the video was originally uploaded does not play the video. Is this the way it's supposed to work?
#5
FIXED.
In "Content Type Settings" - import directory cannot be the same directory as video upload fields when using FileField.
I now understand that FlashVideo pulls in videos from the import directory and creates new nodes for the new videos.
#6
User figured out solution him/herself. Closing issue.