January27
Looking to create a website just like youtube.com , dailymotion.com?
I will highly recommend taking into consideration one of the popular video sharing script- PHPMotion.
PHPmotion is a free video sharing software that also has support for other types of media such as audio/mp3 sharing. PHPMotion- Content Managent System or (media cms application) will allow you to create and run your very own Video Sharing website, Music Sharing Site, Picture Sharing Site.
- PHPmotion is 100% free to download and to use
- Template based design of PHPmotion means you change the look and feel.
- A growing user base of over 100 000 webmastes have already downloaded PHPmotion
- PHPmotion also has a fully featured admin area to manage your site
- Full support for mp3 audio (can be disabled)
- Supports playlists
- Fully CSS based template for easy editing
System Requirements:
Servers – Linux/Unix server
– PHP 4.3 and above (including support of CLI)
- MySQL database server
- LAME MP3 Encoder
- Libogg + Libvorbis
- Mencoder and also Mplayer
- FFMpeg-PHP
- GD Library 2 or higher
- CGI-BIN
- Be able to run background processes
PHP Settings
– open_basedir = (no value)
- upload_max_filesize = 100M
- post_max_size = 100M
- max_execution_time = 1500
- session.gc_maxlifetime = 14000
- safe_mode = off
- Thread saftery = disabled
- enable_dl = On
November21
After installing FFMpeg , when you execute the command : ffmpeg or ffmpeg -v, you may receive an error.
ffmpeg: error while loading shared libraries: libavformat.so.50:
Solution :
Execute the following command :
export LD_LIBRARY_PATH=/usr/local/lib:LD_LIBRARY_PATH
But this value will be cleared once you log off that session.
So it is recommended to save this value in bashrc.
vi .bashrc
LD_LIBRARY_PATH=/usr/local/lib
November21
The error received is:
checking for ffmpeg support…checking for ffmpeg headers… configure: error: ffmpeg headers not
found. Make sure you’ve built ffmpeg as shared libs using the –enable- shared option
This is due to missing header files in “/usr/local/include/ffmpeg” directory.
Check whether the directory “/usr/local/include/ffmpeg” exists else create it.
mkdir /usr/local/include/ffmpeg
Then copy the header files.
cp -p /usr/local/src/ffmpeg/libavformat/avio.h /usr/local/include/ffmpeg
cp -p /usr/local/src/ffmpeg/libavformat/avformat.h /usr/local/include/ffmpeg
cp -p /usr/local/src/ffmpeg/libavcodec/avcodec.h /usr/local/include/ffmpeg
You need to reinstall ffmpeg. After installing ffmpeg, install ffmpeg-php.
November21
This is a common error when we hit “php -v” over command line or when we browse a phpinfo.php on a site.
To fix this problem you will need to recompile your ffmpeg-php again.
To fix this:
Go to the source directory ffmpeg-phpXX.XX
#vi ffmpeg-php.c
remove/comment the call to av_free_static()
Save.
Now rebuild ffmpeg-php and place the new ffmpeg.so on your extension directory.