Results 1 to 9 of 9
Thread: playing flv video files?
-
05-02-2008, 07:38 AM #1WHT Addict
- Join Date
- May 2006
- Posts
- 134
playing flv video files?
ok, i have installed ffmpeg + mplayer +flv and all other codecs in my dedicated box and even converted a sample video to flv. but how to i play the video in the clients browser? should i call mplayer from php.
just cant seem to understand this. i am planning to start a video website
Any help or suggestions here would be more than helpful
-
05-02-2008, 07:46 AM #2Custom Hosting Master
- Join Date
- Jan 2007
- Posts
- 2,602
You need to embed a flash player into the page and point it to the file you need to stream.
-
05-02-2008, 07:48 AM #3Aspiring Evangelist
- Join Date
- Dec 2006
- Posts
- 398
-
05-02-2008, 08:20 AM #4Web Hosting Master
- Join Date
- Feb 2007
- Location
- USA, UK, Singapore
- Posts
- 3,481
Also be sure to setup required MIME type on the server for playing the flv file..
██ SoftSys Hosting ██ - 14 Years In Business - 24/7 In-House Support - Enterprise Class Replicated Cloud Servers For HA
Cloud Hosting With Anti-Malware, IDS/IPS, WAF & Litespeed - Windows 2019 Shared Hosting w/ Plesk
-
05-02-2008, 09:06 AM #5WHT Addict
- Join Date
- May 2006
- Posts
- 134
-
05-02-2008, 09:13 AM #6Web Hosting Master
- Join Date
- Aug 2003
- Location
- Dallas, TX USA
- Posts
- 2,812
-
05-03-2008, 06:45 PM #7WHT Addict
- Join Date
- May 2006
- Posts
- 134
can someone please help me? my question is would ffmpeg alone enough if we run a youtube like clone.
what is the use of mplayer, flvtool2?
what video player i need (free one) to play flv files in my site.
i am absolute n00b with video and other stuff. Thanks
-
05-03-2008, 07:00 PM #8Eternal Member
- Join Date
- Jan 2002
- Location
- Toronto, Canada
- Posts
- 11,052
Are you using a youtube clone script? If so, many of them require a lot more than ffmeg. Most of them will require:
1. MySQL (version 4 or higher)
2. PHP (version 4 or higher)
3. ffmpeg (http://ffmpeg.mplayerhq.hu)
4. ffmpeg-php (http://ffmpeg-php.sourceforge.net)
5. mplayer + mencoder (http://www.mplayerhq.hu/design7/dload.html )
6. flv2tool (http://inlet-media.de/flvtool2)
7. LAME MP3 Encoder
8. Libogg + Libvorbis (http://www.xiph.org/downloads)
9. gcc
10. automake
11. autoconf
12. libtool
13. ruby
14. Zend Optimizer
VitoDemoDemo.com - Flash tutorials since 2002
DemoWolf.com - 5,300+ Flash tutorials for hosting companies, incl. Voice tutorials
-
05-04-2008, 08:39 AM #9Aspiring Evangelist
- Join Date
- Dec 2006
- Posts
- 398
Maybe you should do a bit of research instead of asking vague question. There's plenty of information found on the net about this already.
BTW, you need quite a bit of knowledge to successfully run a "youtube like clone". Startup can be painful be. I know --- I own just such a site. Though we developed all of the workflow software internally --- maybe you can find a pre-developed package somewhere.
On a side note, why a youtube clone? Aren't there plenty out there already?