Changes between Initial Version and Version 1 of Ticket #11132
- Timestamp:
- Aug 9, 2024, 9:12:26 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11132 – Description
initial v1 1 ###What I was trying to accomplish1 == What I was trying to accomplish 2 2 I am trying to transfer video data via TCP connection. 3 3 4 ###The problem I encountered5 FFmpeg resets the TCP connection if the *multi-client*mode is used (`listen=2`).6 7 The [documentation](https://ffmpeg.org/ffmpeg-all.html#toc-tcp)states the following:4 == The problem I encountered 5 FFmpeg resets the TCP connection if the "multi-client" mode is used (`listen=2`). 6 7 The documentation [https://ffmpeg.org/ffmpeg-all.html#tcp] states the following: 8 8 > listen=2|1|0 9 9 > Listen for an incoming connection. 0 disables listen, 1 enables listen in single client mode, 2 enables listen in multi-client mode. Default value is 0. 10 10 11 ###The exact command line I am using11 == The exact command line I am using 12 12 13 13 ffmpeg **server**: 14 14 15 ```shell 15 {{{ 16 16 ./ffmpeg \ 17 17 -v 9 \ … … 30 30 -f flv \ 31 31 rtmp://127.0.0.1:1935/temp/qqq 32 ``` 32 }}} 33 33 34 34 35 35 ffmpeg **client**: 36 36 37 ```shell 37 {{{ 38 38 ./ffmpeg \ 39 39 -v 9 \ … … 46 46 -f rawvideo \ 47 47 tcp://127.0.0.1:19010?tcp_nodelay=1 48 ``` 49 50 51 ###Console output48 }}} 49 50 51 == Console output 52 52 53 53 ffmpeg **server**: 54 54 55 ```shell 55 {{{ 56 56 ./ffmpeg \ 57 57 > -v 9 \ … … 315 315 [in#0/rawvideo @ 0x555b20ecbd00] Total: 0 packets (0 bytes) demuxed 316 316 [AVIOContext @ 0x555b20edcd80] Statistics: 0 bytes read, 0 seeks 317 ``` 317 }}} 318 318 319 319 320 320 ffmpeg **client**: 321 321 322 ```shell 322 {{{ 323 323 ./ffmpeg \ 324 324 > -v 9 \ … … 470 470 [in#0/decklink @ 0x55e3e8fcfbc0] Total: 22 packets (91238400 bytes) demuxed 471 471 Conversion failed! 472 ``` 473 474 475 ###Sufficient information472 }}} 473 474 475 == Sufficient information 476 476 477 477 - The same command using *single client* mode (`listen=1`) works fine.


