Skip to content

Make your Personal Movie Streaming Server and Share it with your Friends and Family, Host your Series in Cloud and Watch them from Anywhere you want, Movie Streaming Server for Mobile and PC,

Notifications You must be signed in to change notification settings

r7avi/Stream-Movies-from-Your-Server

Repository files navigation

Deploy Application on Your Server (Supported PHP 7.4 , 8.0)

  1. Configure Database:

    • Edit config/db.php and replace the placeholders with your database credentials. here
  2. Import Database:

    • Import the database.sql file into your database. You can find the file here.
  3. Enable FFMpeg for Thumbnail Preview:

    • Ensure FFMpeg is enabled for generating previews of thumbnails.
  4. Upload Movies or Series:

    • Upload your movies or series to the public/drive folder. You can find this folder here.
  5. Access Login Logs:


NOTE:

  • Please upload files in MP4 format.
  • If you upload files in MKV format, you can convert them using to MP4 using convert.sh bash script located in the home directory. This step is only applicable for VPS users with root permissions.

Set Permissions for Bash Scripts

To give the required permissions to the bash scripts, follow these steps:

  1. Open the directory containing convert.sh and delete.sh.

  2. Install FFMepg

    sudo apt-get install ffmpeg
  3. Run the following command:

    sudo apt-get install dos2unix   # Install dos2unix if not already installed
    dos2unix convert.sh && dos2unix delete.sh
    chmod +x convert.sh && chmod +x delete.sh

    This command adds execute permissions to the scripts. if you face problem try to enter each seperatly

  4. After running the command, you can execute the scripts with:

    ./convert.sh #convert MKV to MP4

    or

    ./delete.sh  # Delete MKV files after Convert
  5. After converting files from MKV to MP4, run delete.sh to remove the MKV files.

(Edit URL Path in Convert.sh : root_directory="/home/ktmracing.site/public_html/public/drive" with your Server URL )

sceenshots : Screenshot 2024-08-20 172033 Screenshot 2024-08-20 172336 screencapture-ktmracing-site-public-play-php-2024-08-20-17_24_05

CURRENTLY WORKING ON ADDING MONGODB SUPPORT

About

Make your Personal Movie Streaming Server and Share it with your Friends and Family, Host your Series in Cloud and Watch them from Anywhere you want, Movie Streaming Server for Mobile and PC,

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published