| 187 | | which I would guess will try and (as a client) establish a connection do that host on that port (assuming it has a server waiting for the incoming connection). |
| 188 | | |
| 189 | | Another option is to use rtp (which by default uses udp) but specify tcp: |
| 190 | | |
| 191 | | ffmpeg... -rtsp_transport tcp [http://ffmpeg.org/ffmpeg.html#rtsp see here] |
| 192 | | |
| 193 | | Then you may be able to receive it like this: |
| 194 | | |
| 195 | | ffplay rtsp://blabla/file?tcp |
| 196 | | |
| 197 | | or possibly like |
| 198 | | |
| 199 | | ffmpeg... -rtsp_flags listen [http://ffmpeg.org/ffmpeg.html#rtsp see here] |
| 200 | | |
| 201 | | ffmpeg also has a "listen" option for rtmp to it may be able to receive "straight" rtmp streams from a single client. |
| | 187 | which I would guess will try and (as a client) establish a connection do that host on that port (assuming it has a server waiting for the incoming connection). You could receive it like this: |
| | 188 | |
| | 189 | ffmpeg -i tcp://local_hostname:port?listen |
| | 190 | |
| | 191 | Another option is to use rtp (which by default uses udp) but by specifying it use tcp: |
| | 192 | |
| | 193 | ffmpeg -i input -f rtsp -rtsp_transport tcp rtsp://localhost:8888/live.sdp [http://ffmpeg.org/ffmpeg.html#rtsp lists the option] |
| | 194 | |
| | 195 | Then you may receive it like this (ffplay or ffmpeg): |
| | 196 | |
| | 197 | ffplay -rtsp_flags listen rtsp://localhost:8888/live.sdp?tcp # ending ?tcp may not be needed -- you will need to start the server up first, before the sending client |
| | 198 | |
| | 199 | ffmpeg also has a "listen" option for rtmp so it may be able to receive a "straight" rtmp streams from a single client that way. |