Netflix clone Site based in Laravel
- PHP 8.2
- Laravel 10
- Twitter bootstrap
- Postgres
- OpenAdmin
Construct docker image
docker build -t gflix .
Run and access to php machine
docker run -p 80:80 -p 443:443 --name gflix -it gflix /bin/bash
Docker-compose
docker-compose build
docker-compose up -d
Online Subtitle format converter from .srt -> .vtt https://www.happyscribe.com/subtitle-tools/convert-srt-to-vtt
Covert subtitle with ffmpeg
ffmpeg -i halo_s01e05.srt halo_s01e05.vtt
Convert video format
ffmpeg -i halo_s01e05.avi halo_s01e05.mp4
Extract poster from video frame
ffmpeg -ss 00:04:12 -i wednesday.s01e01.mp4 -vframes 1 -q:v 2 screenshot.png
Download HandBrake https://handbrake.fr Important: Check web optimized
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ./etc/ssl/private/gflix.key -out ./etc/ssl/certs/gflix.crt
php artisan admin:create-user
pg_dump -U postgres -d gflix > gflix.sql
sudo apt-get install postgresql-client