Haivision / srt

Secure, Reliable, Transport
https://www.srtalliance.org
Mozilla Public License 2.0
3.06k stars 840 forks source link

Piping Stransmit to ffplay in Windows ? #407

Open Svyatk0 opened 6 years ago

Svyatk0 commented 6 years ago

Hey guys.

Now, i know that named/unnamed pipes in windows is a rather grey area, so i am trying to pipe the output of stransmit to ffplay in windows without much success.

Has anyone tried and succeded?

thanks

maxsharabayko commented 5 years ago

Basically, after PR #488 it should work like this, when you transfer MPEG2-TS over SRT:

srt-test-live srt://<ip>:<port> file://con | ffplay -f mpegts -

The playback starts, but with a lot of errors, including visual artifacts, related to parsing and decoding errors. One the other hand, this way it works well:

srt-test-live srt://<ip>:<port> udp://127.0.0.1:<portB>
ffplay udp://127.0.0.1:<portB> -f mpegts

In the latest case the -f mpegts argument is optional.

Requires further investigation.