thank you UncleCheese
you are a genius,i am new in this work so have created lots of mistake,but you helped me a lot,thank you once again,
Now my flv videos are working fine .
I have one more problem though it is not related to any module but hope you can help me in finding a solution,
In my server ffmpeg is working fine and even i can convert and take thumbnail using ffmpeg but in core php code not in silverstripe.
I tried to find the path of ffmpeg using linux command
which ffmpeg (which gives the location )
it gives me this path
/usr/bin/ffmpeg
so i have written
FLV::set_ffmpeg_root('/usr/bin/'); in my _config.php file
but it is neither converting the avi file into flv nor creating thumbnail.
i have also tried
FLV::set_ffmpeg_root('/usr/bin/ffmpeg'); in my _config.php file
but no success,
i have created the log file for ffmpeg and when I open it ,i got this written there
[2010-01-26 10:29:03] /usr/bin/ffmpeg -i /home/equestri/public_html/silverstripe/assets/Uploads/2.avi -ar 22050 -ab 32 -f flv /home/equestri/public_html/silverstripe/assets/Uploads/2.flv
[2010-01-26 10:29:03] sh: /ffmpeg: No such file or directory
[2010-01-26 10:29:03] /usr/bin/ffmpeg -y -i /home/equestri/public_html/silverstripe/assets/Uploads/2.flv -an -s 640x480 -ss 10 -an -r 1 -vframes 1 -y -vcodec mjpeg -f mjpeg /home/equestri/public_html/silverstripe/assets/video_thumbnails/2.jpg
[2010-01-26 10:29:03] sh: /ffmpeg: No such file or directory
[2010-01-26 10:29:03] /usr/bin/ffmpeg -i /home/equestri/public_html/silverstripe/assets/Uploads/2.avi -ar 22050 -ab 32 -f flv /home/equestri/public_html/silverstripe/assets/Uploads/2.flv
[2010-01-26 10:29:03] sh: /ffmpeg: No such file or directory
[2010-01-26 10:29:03] /usr/bin/ffmpeg -y -i /home/equestri/public_html/silverstripe/assets/Uploads/2.flv -an -s 640x480 -ss 10 -an -r 1 -vframes 1 -y -vcodec mjpeg -f mjpeg /home/equestri/public_html/silverstripe/assets/video_thumbnails/2.jpg
[2010-01-26 10:29:03] sh: /ffmpeg: No such file or directory
any idea of how to solve this problem...
One more small help,
I am uploading a avi file with name as 123.avi but when it is converting it is taking as 2.avi and also trying to create 2.flv,is that the normal procedure or i am again doing some silly mistake?
Thank you once again for your valuable time and help.