Code and information to get you started with ffmpeg all the way through to advanced user.
- Site Admin
- Posts: 1515
- Joined: Thu Mar 22, 2018 10:19 am
use you local ip address for the stream and assign a port
Code: Select all
ffmpeg -video_size 320x480 -framerate 25 -f x11grab -i :0.0+100,200 -c:v libx264 -preset ultrafast -maxrate 50k -bufsize 50k -vf "format=yuv420p" -g 60 -c:a aac -b:a 128k -ar 44100 -f mpegts udp://192.168.1.2:5000
this particular config is suitable for Sega Mega Drive, (given the resolution and fps) streaming in real time, but remember that the CPU or GPU needs to be extremely fast.
open a network stream with
make sure you are using the same port