Hi All,

After all the needed installation, I start to try some demo.

In the content creation page, I follow the guideline to upload video file using the newly "Video Upload" on the top of the page.

1. I just Select a video from local hard drive (about 0.3MB), and then hit Attach.
After the upload is finished, I hit submit.
But, no any file in my folder of 'video-import' on my server, even I check with ftp.
I' very sure I've set up the name of Video Import Directory in the FlashVideo settings as 'video_import'.

2. If after selecting a vedio from hard drive, then don't hit Attach, just hit submit directly, the uploaded file exist in the files folder under drupal.

My question is, is there any trick to set up the path of video import folder?
I just do as the guideline, don't know what's wrong?

Thanks,

Nicholas Chang

Comments

maqchang’s picture

To clarify more on my question, simple as:

1. If I hit 'Attach', then 'Submit', my video file disappear! I can't fint it in the video-import folder.
2. If I hit 'submit' directly, I can find it in the files folder. But, it is not supposed to do with flashvideo application.

So, my question is about, what's wrong on my case in setting the name or path of video-import folder?

Thanks,

Nicholas

maqchang’s picture

That means, after the process of creating a new article/blog with video using flashvideo module, I come back to edit the article/blog, I can't see any video file has been attached with it.

So, I'm wondering, when I set up the name of 'video-import' folder, seems it definitely exist under files folder, right?
But, I can specifiy any location of a 'video-output' folder, right?
So I need to input a full system path of a 'video-output' folder?

Thanks,

Nicholas Chang

travist’s picture

I think you are confusing what the video_import directory is used for. The video_import directory is used to import videos and is not used as the output directory for those videos. From what it sounds like, you should not even be worried about the video_import directory, but rather concentrate your efforts on just the output directory.

Thanks,

Travis.

maqchang’s picture

Hi Travis,

Thank for your reply.

Do you mean, after attaching a video file from creating a new node, it will not exist in the folder of video_import?
Dose that mean, the video_import folder is for the purpose of adding massive account of video by uploading video into this folder directly?

Thanks,

Nicholas

maqchang’s picture

Hi Travis,

I'm still curious on, what the loacation is if we uploading a new video source file from creating a new node?

I know if I upload a file from creating a new node, in the case of just hitting submit not attaching, the file will exist in the directry of /files.
But, where is the source video file after hitting the attaching & submit ?

Thanks,

Nicholas

tantotea’s picture

Title: Video file can't be uploaded to the 'video_import' folder » Video file can't be uploaded to the 'video_import' folder; Also video not converted.
Category: support » bug

I also have the same experience. I am stuck now, the module cannot work. I have followed everything in the tutorial.

First, the video uploaded is not in video_import, but uploaded into 'files' directory.

Second, after the video is uploaded and cron is run, I get a thumbnail image generated in the output directory, but I don't get the converted video.
So what I get is only " sorry... " word as the content of [video].

I have put Player.swf into the output directory.
I am wondering if my path to the ffmpeg is right. Is it correct to write the path: "d:\xampp\project\ffmpeg\ffmpeg.exe" ?
Should I use back slash (\) or forward slash (/) ? I tried both don't work.

What else could be the cause?

Thanks in advance

travist’s picture

So you are using a Windows server? I am not sure if this module has even been tested using a windows server. If you get a thumbnail and not a video, usually this is because you do not have the mp3 codec installed on your ffmpeg installation. FFMPEG does not come with a codec for mp3 conversion out of the box, so you will need to compile the lamemp3 codec into your ffmpeg installation. I am not sure how to do this for Windows, but could easily assist you if you have a Linux server.

Also, I need to clarify that the video_import directory is NOT the output directory... they are completely different. Unless you specify differently in your FlashVideo Settings, the video should be placed in the files directory.

Thanks,

Travis.

tantotea’s picture

Hi Travis.

Thanks for your response and pointing to FFMPEG for Windows as the possible issue.

Now it is working in me.

I got the FFMPEG from http://ffdshow.faireal.net/mirror/ffmpeg/

First I used the rev10464.7z one, and it didn't convert my video.
When I used the rev9260.7z it worked.
I chose the rev9260 one because the size was larger than the newest ones, so perhaps it contained the codec that you mentioned :) -- I know it was a silly guess of mine but I tried to use the rev10141 one and it didn't work too :)

Thanks man.. very nice module.. you are the star!

travist’s picture

Priority: Critical » Minor
Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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

glentsai’s picture

Title: Video file can't be uploaded to the 'video_import' folder; Also video not converted. » Flashvideo work in Windows. But just Blog. Page & Story don't work...

Hi! I have try to use Flashvideo in my Localhost (windowXP - Xammp) for testing before put to live site (unix base). It can function in Blog prefectly but don't work in Page & Story. In Page & Story the FFmpeg doesn't execute coversion. I can find the upload file but no thumbnail & FLV file (Blog work fine) . Anyone happen to know what I can do?

Anyways, this is a excellent module...

Glen

WorldFallz’s picture

Title: Flashvideo work in Windows. But just Blog. Page & Story don't work... » Video file can't be uploaded to the 'video_import' folder
Status: Closed (fixed) » Active

@tantotea (i would have contacted you directly, but you have no contact form on drupal.org so I'm making this active again hoping you'll see it)

I was also confused about the role of the video_import directory, but thanks to this issue I get it now.

I too am on a windows system and got ffmpeg exactly from where you did, but I still can't get my videos converted. I verified that FFMPEG is working fine by directly typing the commands from the Flash Settings page into a command prompt and got a functioning perfectly converted FLV file.

I'm assuming my problem is with the path specifications for windows.... can you tell me exactly what you used that is working?

This would be greatly appreciated-- if I can get this most excellent module working for windows, I'll be happy to type up a formal instruction page for it and submit it back to the maintainer.

FYI... i changed the subject back to OP's original topic.

travist’s picture

Status: Active » Closed (works as designed)

I am changing the status of this entry to "by design" since it really is working according to design. I will do some testing on Windows to see if there is some configuration that you guys are not doing to get this module to work.

tantotea’s picture

Hi WorldFallz,

Sorry I just logged in to Drupal after about 2 months and read your post, and realized that I didn't turn on my contact form.

Does your issue still remain?

tantotea’s picture

Hi WorldFallz, this is my setting under my Windows:

- Flash Player Settings

Flash Player Name
Player.swf -- I put this in "/files/video_output" directory

- ffmpeg settings

ffmepg Command
(I left it as default)

ffmpeg Thumbnail Command
(I left it as default)

ffmpeg path:
d:\xampp\htdocs\project\ffmpeg\ffmpeg.exe

Output Directory
video_output

I also have 'flashvideo_playlist.php' in my drupal base directory, although I am not sure if it is necessary.

WorldFallz’s picture

Thanks so much for the reply-- I'll give this module another shot with these settings. Now that I know it works with them, if I"m still having problems I should be able to narrow down the source of the problem more easily.

Again, many thanks. We windows users need to hang together! LOL.