Hello there,

I appreciate your hard work on the flash video module.

But its been a hard time for me to get very BASIC functionality of the module!!

I think this version of module is buggy. First I had to fix manually one php bug in "[FileType, MIMEType, DefaultPlayer] configuration: " config logic. There was some wrong php logic to parse this value. So fix at the my end was to include only one format ([avi, video/avi, 0]) in that text box value.

Second however I got to manage the thumbnail creation of video.. But I didnt find any command which converts video to flv... since I need to debug all this due to my simple avi video was not converting to flash..

I m using WAMP, Drupal 6.8 with FlashVideo 6.x-1.5-rc2. I have FFMPEG exe at right place since thumb generation is working.

Any help greatly appreciated, since it's frustrating to see such good module not working at it's basic functionality!!

Thanks,
Sajal

Comments

attheshow’s picture

Title: VIdeo is not converted to .FLV at all!! » Video not converting on Windows
Category: bug » support
Priority: Critical » Normal

I know others have had problems setting up and configuring FFMPEG correctly on Windows. You might try testing out some sample FFMPEG conversion commands from the command line. If you can get those working on your machine, FlashVideo is much more likely to work for you.

sajalsoni’s picture

Hello attheshow,

Thanks for you feedback.. I tried FFMPEG commands it working quite fine!!! For both thumbnails and flv conversions....

But I really don't know why this is not working with Flashvideo... As I just said. thumbnail conversion is working.. but not flv !!

Any other video coversion module out there? It would be greatly appreciated!!

Thanks,
Sajal

attheshow’s picture

Status: Active » Postponed (maintainer needs more info)

Are you receiving a message from Drupal when your video conversion runs or is it saying that it converted the file successfully? If the conversion fails, FlashVideo should display a message and include the command that was attempted. Try that command from the command line. If there's something wrong with the command that FlashVideo is using, then you need to double-check your configuration options.

sajalsoni’s picture

I just get "Conversion Failed". that's it no command of anything.... one of the time I got that command when I run cron... and when I ran that command it ran perfectly... on my command line .... !!

I think i would need to move combination of Media Mover and SWF Tools for the video feature.. but they are still buggy!!.

I really wonder in Drupal there is no out of box module for video.. :(...

I think I would need to make my own :)... It's good to do yourself sometimes than blamming other ones :)

Woggers’s picture

I'm on a linux dedicated server and after spending the last hour setting everything up on my hosting site, I also am just getting a standard "Conversion failed." with no other output after submitting.

attheshow’s picture

I haven't been able to duplicate this issue. I'm seeing "Conversion failed" and then "Command: "... as expected.

ltwinner’s picture

I couldnt get flashvideo to perform the converstion on windows/wamp either but I got it going today. Here's what I did

1). Set your ffmpeg field in FlashVideo->Universal Settings to c:\{Your directory}\ffmpeg.exe ----- mine was c:\ffmpeg\bin\ffmpeg.exe
2). Go to approximatley line 946 in flashvideo.module and find where it says $filepath = getcwd() .'/'. $file->filepath;. Add in this code right after it - $filepath = str_replace('/', '\\', $filepath); to change the forward slashes to backslashes.
2). Go to approximatley line 977 in flashvideo.module and find where it says $output_path = getcwd() .'/'. $newfile->filepath;. Add in this code right after it - $output_path = str_replace('/', '\\', $output_path); to change the forward slashes to backslashes.
3). It still wasn't working for me after this and when I printed out the $ffmpeg_data variable the text ended with a phrase like 'unknown encoder: mp3'. I then went to admin/settings/flashvideo and on the content type I use for video I clicked 'Edit settings for this content type.' Then in FFMPEG settings I changed the text in 'ffmpeg command' to "-i @input @output". I then ran cron and the video converted successfully. Audio was working too even thought I deleted the text in the ffmpeg command field.

sajalsoni’s picture

Thanks for your feedback.

I would try this, but just to ask you... Once you add new flash video node and upload video file.. was that able to get converted immidiately Or it was something like "Video is currently processed" ?

ltwinner’s picture

It doesn't get converted on uploading, you have to run cron to get it to convert.

sajalsoni’s picture

Ok, I really gave up on Flashvideo.

Instead i choose Media Mover with FLV Tools.

Media mover is great tool for media related stuff (conversion, crop, compress... ).
While FlV tools provide cool way to display your media files with support of lots of third party players as well.

Thanks,
Sajal

attheshow’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Dear sajalsoni,

I'm sorry you weren't able to get the module working on your environment. Please let us know if you have any further issues.

-Mark

DropdeadFredd’s picture

I had the same problem on a WAMP install. I followed the instructions given by ltwinner but it still didn't work. It turned out that PHP was running in Safe Mode and it wouldn't allow the use of back slashes.

Turned off Safe Mode and eveything started working.