Upload and watch videos on the Blast EVM blockchain.
No logical reason to do this.
Watch videos & upload: https://onchainvideo.win
Hackers can upload bigger videos with https://github.com/DaWe35/Onchain-Video-CLI
Start local development server:
npm install
npm run dev
Access the development server at: http://localhost:5000
This project is set up for deployment using Docker Compose with Node.js 20 and Express.js. Follow these steps:
-
Ensure you have Docker and Docker Compose installed on your production server.
-
Clone this repository to your server.
-
Navigate to the project directory.
-
Run the following command to start the application:
docker compose up -d
This will start the application in detached mode.
-
Your application will be available on port 80 of your server.
To stop the application, run:
docker compose down
Note: Make sure your smart contract addresses and other configuration are set correctly for the production environment.
FFmpeg:
ffmpeg -i input.mp4 -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -c:v libx264 -profile:v main -level:v 4.2 -c:a aac -b:a 128k -shortest -movflags frag_keyframe+empty_moov+default_base_moof -f mp4 output_fragmented.mp4
Btw FFmpeg wasm is awesome, I promise I'll use it in a real project. I missed you guys so much