ffmpeg - How to stream rawvideo x11grab desktop with zero latency -
i stream linux desktop ffmpeg rawvideo use command on server:
sudo ffmpeg -f x11grab -s 1280x720 -i :0.0 -vcodec rawvideo -pix_fmt bgr0 -threads 1 -f mpegts udp://localhost:1234
its take 900mb/s bandwidth on lan dont wanna use codecs cause create big latency playing games.
but cant use ffplay recognize stream
ffplay 'udp://localhost:1234?fifo_size=999000&overrun_nonfatal=1'
i got error: failed open file 'udp://localhost:1234?fifo_size=875000&overrun_nonfatal=1' or configure filtergraph
when save file after second have large file can open vlc cant open udp stream
edit2: sudo ffplay -f rawvideo -pixel_format bgr0 -video_size 1280x720 udp://localhost:1234?fifo_size=999000&overrun_nonfatal=1
working have green artifacts everywhere
Comments
Post a Comment