When piping data in via stdin to srt-live-transmit, it works as expected on linux, but not on windows builds, where is seems to consistently only send (or receive) the 1st 13160 bytes.
Linux Source-side:
ffmpeg -re -i ./data/big_buck_bunny_480p_surround-fix.ts -codec copy -f mpegts pipe:1 | ./srt-live-transmit -v file://con srt://:5555
Linux Target-side:
./srt-live-transmit -v srt://127.0.0.1:5555 file://con > ./data2/output.ts
-or-
./srt-live-transmit -v srt://127.0.0.1:5555 file://con | ffplay -i pipe:0
The above receives the 'entire transmission' successfully on the target-side output.ts file.
Repeating the test using windows builds...
Windows Source-side:
ffmpeg.exe -re -i ./data/big_buck_bunny_480p_surround-fix.ts -codec copy -f mpegts pipe:1 | srt-live-transmit.exe -v file://con srt://:5555
Windows Target-side:
srt-live-transmit.exe -v srt://127.0.0.1:5555 file://con > ./data2/output-win.ts
-or-
srt-live-transmit.exe -v srt://127.0.0.1:5555 file://con | ffplay.exe -i pipe:0
The above only receives the 1st 13160 bytes of the output stream file.
When piping data in via
stdintosrt-live-transmit, it works as expected on linux, but not on windows builds, where is seems to consistently only send (or receive) the 1st 13160 bytes.Linux Source-side:
ffmpeg -re -i ./data/big_buck_bunny_480p_surround-fix.ts -codec copy -f mpegts pipe:1 | ./srt-live-transmit -v file://con srt://:5555Linux Target-side:
./srt-live-transmit -v srt://127.0.0.1:5555 file://con > ./data2/output.ts-or-
./srt-live-transmit -v srt://127.0.0.1:5555 file://con | ffplay -i pipe:0The above receives the 'entire transmission' successfully on the target-side output.ts file.
Repeating the test using windows builds...
Windows Source-side:
ffmpeg.exe -re -i ./data/big_buck_bunny_480p_surround-fix.ts -codec copy -f mpegts pipe:1 | srt-live-transmit.exe -v file://con srt://:5555Windows Target-side:
srt-live-transmit.exe -v srt://127.0.0.1:5555 file://con > ./data2/output-win.ts-or-
srt-live-transmit.exe -v srt://127.0.0.1:5555 file://con | ffplay.exe -i pipe:0The above only receives the 1st 13160 bytes of the output stream file.