| | 155 | == Point to point streaming == |
| | 156 | |
| | 157 | If you want to stream "from one computer to another", you could start up a server on one, and then stream from FFmpeg to that server, then have the client connect to that server. Or you could do a point to point type stream, like: |
| | 158 | |
| | 159 | ffmpeg -i INPUT -acodec libmp3lame -ar 11025 --f rtp rtp://host:port |
| | 160 | where host is the receiving IP. Then receive the stream using VLC or ffmpeg from that port (since rtp uses UDP, it can start up any time). |
| | 161 | |
| | 162 | or |
| | 163 | |
| | 164 | ffmpeg -i INPUT -f mpegts udp://host:port |
| | 165 | |
| | 166 | or possibly |
| | 167 | |
| | 168 | ffmpeg -i INPUT -f mpegts tcp://host:port |
| | 169 | |
| | 170 | which I would guess will try and (as a client) establish a connection with that host and port. |
| | 171 | |
| | 172 | With tcp you may be able to use any formatting/muxer, but with the others you need to be careful and only use a format that supports 'connecting anytime' like mpegts. |