2 ms·
I was able to use fauxstream as a starting point for part of my streaming project. My experiment was streaming via a ipfs transport layer. fauxstream is a ver
by somat 4y ago
I was able to use fauxstream as a starting point for part of my streaming project.
My experiment was streaming via a ipfs transport layer.
fauxstream is a very thin wrapper around ffmpeg, it proved invaluable in providing a reference command I could iterate off of to get my stream working.
https://github.com/rfht/fauxstream https://github.com/rfht/fauxstream
edit: it is hard to tell what op wants but it could be as simple(hah, the ffmpeg command line terrifies me) as
stream caster:
ffmpeg -video_size 1280x720 -f x11grab -i :0 -r 30 -c:v libx264 -vb 3500k -minrate 3500k -maxrate 3500k -bufsize 7000k -preset ultrafast -vf format=yuv420p -g 60 -keyint_min 30 -f flv - | nc -l 1234
stream viewer:
nc stream_caster 1234 | ffplay -