Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > VodaHost Web Hosting Support > mySQL & PHP

Notices

mySQL & PHP Discussions, information and help with mySQL and PHP.

Closed Thread
 
Thread Tools
  #1  
Old 11-26-2008, 02:20 AM
Sergeant
 
Join Date: Sep 2007
Posts: 33
Question Uploading...

Hi, i need some help on uploading, well its not so much the uploading part its the converting part i am having a problem with i want a person to upload a video but if its a video format other than flv i want that video to be converted to flv format can someone help me, step by step please.

Thank you,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #2  
Old 11-26-2008, 12:02 PM
Private
 
Join Date: Nov 2008
Posts: 1
Default Re: Uploading...

Dear Antonio
You have to download a software known as FLV Convertor and then you can easily convert every format to FLV

Regards.
Shoaib Shahnawaz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old 11-26-2008, 05:38 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,520
Default Re: Uploading...

Online converters are hard to find, and usually are part of YouTube like scripts.

Furthermore, on line converting might be very resources hungry so it will load the server a lot, if the videos are anything more than just a few minutes.

That could cause your account to be automatically suspended due to server overload.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old 11-27-2008, 11:02 PM
Sergeant
 
Join Date: Sep 2007
Posts: 33
Exclamation Re: Uploading...

Quote:
Originally Posted by navaldesign View Post
Online converters are hard to find, and usually are part of YouTube like scripts.

Furthermore, on line converting might be very resources hungry so it will load the server a lot, if the videos are anything more than just a few minutes.

That could cause your account to be automatically suspended due to server overload.
ya but what happens if i put a limit on the amount of mb a file can have, so if i do that then is it possible if you have a php code or something on how i can allow someone to upload a video and then once uploaded the code converts it to a flv format?

If not i do have a online program to do that just... well i don't really know how to install it onto my site its called flv tool and the ffmpeg. if u like i can show u the instructions on how to install it but i was confused on how, do u know how, if u can't find a php code that can convert any video files to flv.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old 11-28-2008, 06:28 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,520
Default Re: Uploading...

If you have a suitable script, then yes, you can do it.
Are you sure that the tool you mentioned is ONLINE? meaning that CAN BE USED for online conversion on YOUR site ?
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #6  
Old 11-28-2008, 09:50 PM
Sergeant
 
Join Date: Sep 2007
Posts: 33
Post Re: Uploading...

Quote:
Originally Posted by navaldesign View Post
If you have a suitable script, then yes, you can do it.
Are you sure that the tool you mentioned is ONLINE? meaning that CAN BE USED for online conversion on YOUR site ?
yes i am sure its called ffmpeg and flvtool and etc. here is the instructions but i don't understand can u explain.

1. Create a directory to do our work in
mkdir ~/ffmpeg
cd ~/ffmpeg
2. Get all the source files
wget http://www3.mplayerhq.hu/MPlayer/releases/codecs/ essential-20061022.tar.bz2
wget http://rubyforge.org/frs/download.php/9225/ flvtool2_1.0.5_rc6.tgz
wget http://easynews.dl.sourceforge.net/sourceforge/ lame/lame-3.97.tar.gz
wget http://superb-west.dl.sourceforge.net/sourceforge/ ffmpeg-php/ffmpeg-php-0.5.0.tbz2
wget http://downloads.xiph.org/releases/ ogg/libogg-1.1.3.tar.gz
wget http://downloads.xiph.org/releases/ vorbis/libvorbis-1.1.2.tar.gz
3. Extract all the source files
bunzip2 essential-20061022.tar.bz2; tar xvf essential-20061022.tar
tar zxvf flvtool2_1.0.5_rc6.tgz
tar zxvf lame-3.97.tar.gz
bunzip2 ffmpeg-php-0.5.0.tbz2; tar xvf ffmpeg-php-0.5.0.tar
tar zxvf libogg-1.1.3.tar.gz
tar zxvf libvorbis-1.1.2.tar.gz
4. Create the codecs directory & import them
mkdir /usr/local/lib/codecs/
mv /essential-20061022/* /usr/local/lib/codecs/
chmod -R 755 /usr/local/lib/codecs/
5. Install SVN/Ruby (Depends on OS, this is for RHEL/CentOS)
yum install subversion
yum install ruby
yum install ncurses-devel
6. Get the latest FFMPEG/MPlayer from the subversion
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
7. Compile LAME
cd ~/ffmpeg/lame-3.97
./configure
make
make install
8. Compile libOGG
cd ~/ffmpeg/libogg-1.1.3
./configure
make
make install
9. Compile libVorbis
cd ~/ffmpeg/libvorbis-1.1.2
./configure
make
make install
10. Compile flvtool2
cd ~/ffmpeg/flvtool2_1.0.5_rc6
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb install
11. Compile MPlayer
cd ~/ffmpeg/mplayer
./configure
make
make install
12. Compile FFMPEG
cd ~/ffmpeg/ffmpeg
./configure --enable-mp3lame --enable-libogg --enable-vorbis --disable-mmx --enable-shared
echo '#define HAVE_LRINTF 1' >> config.h
make
make install
13. Finalize the codec setups
ln -s /usr/local/lib/libavformat.so.50 /usr/lib/libavformat.so.50
ln -s /usr/local/lib/libavcodec.so.51 /usr/lib/libavcodec.so.51
ln -s /usr/local/lib/libavutil.so.49 /usr/lib/libavutil.so.49
ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0
ln -s /usr/local/lib/libavformat.so.51 /usr/lib/libavformat.so.51
14. Compile FFMPEG-PHP
cd ~/ffmpeg/ ffmpeg-php-0.5.0
phpize
./configure
make
make install
15. Install FFMPEG-PHP (make sure the php.ini path is correct.)
echo 'extension=/usr/local/lib/php/extensions/ no-debug-non-zts-20020429/ffmpeg.so' >> /usr/local/Zend/etc/php.ini
16. Restart Apache to load FFMPEG-PHP (Depends on OS, this is for RHEL/CentOS)
service httpd restart
17. Verify if it works
php -r 'phpinfo();' | grep ffmpeg
If you get a few lines such as
ffmpeg
ffmpeg support (ffmpeg-php) => enabled
ffmpeg-php version => 0.5.0
ffmpeg.allow_persistent => 0 => 0
Then everything is installed and working. FFMPEG, FFMPEG-PHP, MPlayer, MEncoder, flv2tool, LAME MP3 encoder & libOGG.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #7  
Old 12-01-2008, 03:23 AM
Sergeant
 
Join Date: Sep 2007
Posts: 33
Default Re: Uploading...

Quote:
Originally Posted by navaldesign View Post
If you have a suitable script, then yes, you can do it.
Are you sure that the tool you mentioned is ONLINE? meaning that CAN BE USED for online conversion on YOUR site ?
so how do i install it onto my site using the instructions above? ciuz i really wanna install it but don't know how :( ^
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #8  
Old 12-01-2008, 05:51 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,520
Default Re: Uploading...

The above instructions are for installation on a server where you have access and can compile php. In shared hosting you can NOT compile the additional features required, because you have no access to the core of the system.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #9  
Old 12-01-2008, 09:07 PM
Sergeant
 
Join Date: Sep 2007
Posts: 33
Default Re: Uploading...

Quote:
Originally Posted by navaldesign View Post
The above instructions are for installation on a server where you have access and can compile php. In shared hosting you can NOT compile the additional features required, because you have no access to the core of the system.
so i can't allow converting on my site....? =(
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT +1. The time now is 05:04 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209