Hi,
Great your FFmpeg version is the same as mine so far we are on the right page. Lets start with the first question...
1. Is ffmpeg and ffmpeg-php different ?
FFmpeg and FFmpeg-php are separate software however FFmpeg-php dose rely on the php software and FFmpeg video library to function. VShare uses FFmpeg-php to create thumbnail images from movies. More info is at http://ffmpeg-php.sourceforge.net/
2. For thumbnails I have three options, I chose ffmpeg.
Should i select ffmpeg-php ?
I personal use menplayer because some say it gives better results. It dose not really matter witch one you choose you can always switch the settings and recreate the thumb nails in the admin section.
3. As per my understanding,
The only line i have to replace with the code u gave is:
$cmd_all = $cmd_mencoder;
Right ?
Yes just replace the code with the one I gave you. If you want to just past the video_conversion.php code and I will past the new code.
4. Most of the videos uploaded on my site are .FLV
Please let us know the changes to be done in the vShare script.
Just to let you know I am using a heavily modified version of vShare 2.8 how ever this should work on vShare 2.7, I don't see why not.
You would need to edit 2 files
- /include/settings/video_conversion.php
- /include/functions_upload.php
Add this code to the end of video_conversion.php
PHP Code:
$convert_flv = $cmd_all;
The easy way for the functions_upload.php file would be if you were to upload the file as an attachment and I will upload the changes, or you can change the coding. Just find the following code below ( it is past the middle of the page )
PHP Code:
if ($flv_metadata != 'none' && $file_extn == 'flv')
and replace the $file_extn == 'flv' with a non video extention like txt. It should look like this.
PHP Code:
if ($flv_metadata != 'none' && $file_extn == 'txt')
Again I am using this code from vShare 2.8 so it may be better if you upload the video_conversion.php file. I hope this helps.
~zelda180~
www.80TOONS.com
Bookmarks