Page 1 of 1

capture x11 and stream to vlc using udp

Posted: Thu Jan 16, 2020 12:17 pm
by Administrator
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

Code: Select all

upd://@:5000
make sure you are using the same port