Results 1 to 9 of 9
  1. #1

    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

  2. #2
    You need to embed a flash player into the page and point it to the file you need to stream.
    478east
    High Bandwidth Servers
    Custom Hosting Solutions

  3. #3
    Join Date
    Dec 2006
    Posts
    398

  4. #4
    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

  5. #5
    Quote Originally Posted by cristibighea View Post
    You need to embed a flash player into the page and point it to the file you need to stream.
    you mean flash player 8 on clients side. if so then whats the use for mplayer installed in the server.

    if somebody can post the embed code here, it would be much appreciated!

  6. #6
    Join Date
    Aug 2003
    Location
    Dallas, TX USA
    Posts
    2,812
    Quote Originally Posted by olddocks View Post
    you mean flash player 8 on clients side. if so then whats the use for mplayer installed in the server.

    if somebody can post the embed code here, it would be much appreciated!
    Umm, mplayer is a transcoder.


  7. #7
    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

  8. #8
    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

    Vito
    DemoDemo.com - Flash tutorials since 2002
    DemoWolf.com - 5,300+ Flash tutorials for hosting companies, incl. Voice tutorials

  9. #9
    Join Date
    Dec 2006
    Posts
    398
    Quote Originally Posted by olddocks View Post
    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
    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •