User Tools

Site Tools


docu:csheet:sysadm:files:share_ffmpeg_stream

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

docu:csheet:sysadm:files:share_ffmpeg_stream [2023/04/15 19:47] – created admindocu:csheet:sysadm:files:share_ffmpeg_stream [2023/04/15 19:48] (current) admin
Line 23: Line 23:
 sudo cat /dev/fb0 | nc -l -p 1234 sudo cat /dev/fb0 | nc -l -p 1234
 ## Client (replace 1920x1080 with the server's resolution): ## Client (replace 1920x1080 with the server's resolution):
-nc 127.0.0.1 1234 | ffplay -f rawvideo -vcodec rawvideo -pixel_format bgra -video_size 1920x1080 -i pipe:0+nc SERVERIP 1234 | ffplay -f rawvideo -vcodec rawvideo -pixel_format bgra -video_size 1920x1080 -i pipe:0
 </code> </code>
  
 Source: https://gist.github.com/cbarraco/f6cb40e3f5eb1f2733b5 Source: https://gist.github.com/cbarraco/f6cb40e3f5eb1f2733b5
docu/csheet/sysadm/files/share_ffmpeg_stream.1681588051.txt.gz · Last modified: 2023/04/15 19:47 by admin