WEB i need a video upload/streaming script

Discussion in 'OT Technology' started by dpakman91, May 5, 2008.

  1. dpakman91

    dpakman91 New Member

    Joined:
    Jun 21, 2003
    Messages:
    13,138
    Likes Received:
    0
    Location:
    Massachusetts
    I want to install a simple script, ideally a free one, that let's me just upload video files (mpeg, mov, whatever it needs to be) and it will convert them to streaming video in a youtube-like player. ideally it will create a unique URL just like youtube or those.

    if it also offers an "embed" code so people could embed the whole player into their sites, and still run the videos i'm hosting on my server, that would be cool too.

    what can anyone recommend?
     
  2. Browning

    Browning Active Member

    Joined:
    Feb 14, 2005
    Messages:
    89,465
    Likes Received:
    10
    php melody does this I think:dunno:
     
  3. dpakman91

    dpakman91 New Member

    Joined:
    Jun 21, 2003
    Messages:
    13,138
    Likes Received:
    0
    Location:
    Massachusetts
    it look like that only posts youtube videos. i need to be able to upload videos i make and not involve youtube at all
     
  4. Browning

    Browning Active Member

    Joined:
    Feb 14, 2005
    Messages:
    89,465
    Likes Received:
    10
    oh sorry:o
     
  5. Deviance

    Deviance Can't you smell that smell? OT Supporter

    Joined:
    Jul 10, 2007
    Messages:
    4,978
    Likes Received:
    10
    Location:
    Rocky Mountain High
  6. dpakman91

    dpakman91 New Member

    Joined:
    Jun 21, 2003
    Messages:
    13,138
    Likes Received:
    0
    Location:
    Massachusetts
  7. vincentfasho

    vincentfasho New Member

    Joined:
    Jun 17, 2004
    Messages:
    1,322
    Likes Received:
    0
    Location:
    Houston
    google up Clipshare. also, you might need a dedi server bc you're gonna need ffmpeg and it's dependencies installed.
     
  8. crazybenf

    crazybenf Active Member

    Joined:
    Nov 14, 2001
    Messages:
    15,575
    Likes Received:
    2
    +1 for clipshare... ffmpeg can be tough for someone inexperienced to install though.
     
  9. dpakman91

    dpakman91 New Member

    Joined:
    Jun 21, 2003
    Messages:
    13,138
    Likes Received:
    0
    Location:
    Massachusetts
    yeah it seems i might be better off trying phpmotion
     
  10. crazybenf

    crazybenf Active Member

    Joined:
    Nov 14, 2001
    Messages:
    15,575
    Likes Received:
    2
    phpmotion also requires ffmpeg.
     
  11. dpakman91

    dpakman91 New Member

    Joined:
    Jun 21, 2003
    Messages:
    13,138
    Likes Received:
    0
    Location:
    Massachusetts
    where can i learn about installing that? can i do it or does my host have to?
     
  12. vincentfasho

    vincentfasho New Member

    Joined:
    Jun 17, 2004
    Messages:
    1,322
    Likes Received:
    0
    Location:
    Houston
    your host will have to and it's usually about 50-150 to install depending on who your host is.

    usually installed in SSH, and if you're not comfy in a command line environent, most likely you're gonna have to pay for it.
     
  13. Deviance

    Deviance Can't you smell that smell? OT Supporter

    Joined:
    Jul 10, 2007
    Messages:
    4,978
    Likes Received:
    10
    Location:
    Rocky Mountain High
    If youre on a shared server, it's probably already installed.

    It isn't too difficult though.

    Code:
    [B]FFMPEG INSTALLATION FROM SOURCE[/B]
    FFMPEG INSTALLATION FROM SOURCE
    installed by:
    Robertas Dereskevicius
    Edited by Jon Nikolakakis
    OS/ Fedora Core 5
     
    Summary
    download and install:
    libffac
    libffad2
    xvid
    libogg,libvorbis
    mp3lame
    ffmpeg
     
    Setting Up Install Folder, Logging and download Packages
    1)Log into ssh
    2) cd /usr/src && mkdir install && cd install
    3) Download faad2 and faac
    from [URL]http://faac.sourceforge.net/oldsite/download.php[/URL] get Faad2 and faac (new versions)
     
    wget [URL="http://prdownloads.sourceforge.net/faac/faad2-2.0.tar.gz?download"]http://prdownloads.sourceforge.net/f...ar.gz?download[/URL]
    wget [URL="http://prdownloads.sourceforge.net/faac/faac-1.24.tar.gz?download"]http://prdownloads.sourceforge.net/f...ar.gz?download[/URL]
     
    4) Verify that you have these components are installed
    rpm -qa automake
    rpm -qa autoconf
    rpm -qa libtool
    rpm -qa m4
    rpm -qa gcc-c++
     
    If any are missing than simply yum install (packagename), if you dont have a package manager than get one, it will save you alot of time
    and headaches.
     
    Installing Faac
    5)tar -zxvf faac-1.24.tar.gz && cd faac
    6) sh bootstrap
    7) ./configure
    8) make
    9) make install
    10) cd ..
     
    Installing Faad2
    11) tar -zxvf faad2-2.0.tar.gz
    12) cd faad2 && less README.linux
    13) There is 2 bugs with this package, so need to manually edit these files
    14) nano Makefile.am
    Edit the file to look like this
    SUBDIRS = libfaad common frontend plugins
    EXTRA_DIST = faad2.spec
     
    15) cd common/mp4ff && nano mp4ffint.h
    16) Comment out this line
    //void mp4ff_track_add(mp4ff_t *f);
     
    17)Save file and cd ../..
    18)autoreconf -vif
    19) ./configure
    20) make
    21) make install
     
    Installing Libogg and Libvorbis
    22)cd .. and then Check to see if libogg and libvorbs
    rpm -qa libogg-devel
    rpm -qa libvorbis-devel
    rpm -qa libncurses-devel
     
    If not installed then simply Package Install (replace yum and install settings with your package manager)
    yum install libogg-devel
    yum install libvorbis-devel
    yum install libncurses-devel
     
    Installing LAME (for audio)
    23)go into lame sourceforge - [URL="http://sourceforge.net/project/showfiles.php?group_id=290&package_id=309"]http://sourceforge.net/project/showf...package_id=309[/URL]
    24)wget [URL="http://mesh.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz"]http://mesh.dl.sourceforge.net/sourc...me-3.97.tar.gz[/URL]
    25)tar -zxvf lame-3.97.tar.gz
    26)cd lame*
    27) ./configure; make;make install
     
    Installing Xvid
    28) cd .. && wget [URL="http://downloads.xvid.org/downloads/xvidcore-1.1.2.tar.gz"]http://downloads.xvid.org/downloads/...e-1.1.2.tar.gz[/URL]
    29)tar -zxvf xvidcore-1.1.2.tar.gz && cd xvid*/build/generic/
    30) ./configure; make; make install;
    31) cd ../../..
     
    Installing ffmpeg
    32) rpm -q subversion If not install, then install subversion
    33)svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg && cd ffmpeg
    34) ./configure --enable-shared --enable-xvid --enable-vorbis --enable-libogg --enable-mp3lame --enable-gpl --enable-faad --enable-faac --enable-a52
    35)make
    36)make install
     
    If Installation went ok, run
    ldd ./ffmpeg
    If Path to Lib Libraries are not ok
     
    37)Check to see if /usr/local/lib exists on this file
    cat /etc/ld.so.conf
     
    If not
    echo /usr/local/lib >>/etc/ld.so.conf
     
    38) cat/etc/ld.so.conf Now check to see if (/usr/local/lib exist)
    39) save file
    40) ldconfig
    41) run ldd ./ffmpeg
     
    FFmpeg should be complete and installed. On some servers you may need to add Disable Shared and enable flags.
    
     		 	 		 		 
     
  14. vincentfasho

    vincentfasho New Member

    Joined:
    Jun 17, 2004
    Messages:
    1,322
    Likes Received:
    0
    Location:
    Houston
    for the most part that should work, may be a few things you need to customize since all system paths are different..
     

Share This Page