getcwd() in windows , it output c:\XXXX\XXX , "http://www.w3school.com.cn/php/func_directory_getcwd.asp"
and if in *nux , it output /pub/XXXX , "http://cn2.php.net/getcwd"

just a hypothesis , i know little about php.
i just have to dig into the code , because i try a million time to config it .

and during that time , i have already configure right "ffmpeg_wrapper" , and this module told me that my ffmpeg works fine. so …… , i doubt it is about flashvideo , maybe i doesn't win

if my hypothesis is correct , could anybody help to fix

CommentFileSizeAuthor
#3 flashvideo.rar_.zip56.94 KBhaojiang

Comments

haojiang’s picture

i follow the input from flashvideo and find that drupal use a """"escapeshellarg(str_replace('/'"""" to handle but flashvideo did not .

haojiang’s picture

here is the module getid3 use it to handle :
escapeshellarg(str_replace('/', DIRECTORY_SEPARATOR, $file)).

but flashvideo didn't

still guess, and i am now trying to great a new drupal contain flashvideo and its necessary modules only to test

haojiang’s picture

StatusFileSize
new56.94 KB

yeah, i am sure i am right now
i use tool "search and replace" to find all getcwd function in flashvideo and the change the string with another php function str_replace('/', DIRECTORY_SEPARATOR,"all string type using getcwd() in line")
and now , my site have finally work with flashvideo .
and in the attachment , i upload my flashvideo.rar here (i have to chane is name to *.zip due to the upload limit)
you can diff what changes i have done (i just change the line which have getcwd,and do nothing else)

and another thing you should do is to create a new site to test if your origin site have once install flashvideo , because i found another strange thing is that i can't fully uninstall this module and thus my origin site still not support this.

by the way
winXP-sp3,drupal6,flashvideo-rc2
i just change two configuration in "admin/settings/flashvideo/edit/global"
1."""ffmpeg Command: *""" "-i @input -f flv -acodec libmp3lame -ar 22050 -ab 64k -ac 1 @output" , notice that mp3-->libmp3lame
2."""ffmpeg Path: *""" "C:\server\FFmpeg\ffmpeg.exe"
and leave the other thing default

enable Page-contentype and test. looking sites\default\files after submit your node , and you'll have a *.flv

i hope this would help someone who want to use the awesome module and dash_player in windows , and please forgive my poor english.

travist’s picture

Status: Active » Needs review

Has this been tested for non-windows installs? I will not commit this unless it is tested on all platforms.

haojiang’s picture

sorry , travist , i know little about *nix, and i just test it in windows , and i am sure it's not fit for *nix .
and i am not a coder and don't know how to write a patch for it

haojiang’s picture

i think if *nix , just use the origin program is ok
great , i found that you have relase the final edition of flashvideo ,
thank you for your great job and share

attheshow’s picture

Status: Needs review » Closed (won't fix)