-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish by MPEG-TS over UDP to SRS. #250
Comments
…c(adts) in mpegts over udp. 3.0.109.
MPEG-TS over UDP push to local machine.
When playing the above configuration of SRS on the local PotPlayer, you will find that the content is all distorted, and only occasionally can you see one or two recognizable frames of the image. If I use another encoder to encode and stream separately with the command "-vcodec copy", it works normally without any distortion. It seems to be a problem with this feature of SRS. I hope it can be fixed.
|
Where is the log? Can you record a TS segment?
|
I would like to ask: Currently, I am able to push H.264 streams to SRS using ffmpeg. However, I want to directly receive UDP streams using SRS, for example, udp://238.1.1.1:1234. The problem I have now is, how can I run the SRS command to make SRS receive udp://238.1.1.1:1234 and convert it to rtmp://localhost/live/livestream/238-1-1-1-1234?
|
Previously, I used the command to run SRS directly, listening on port 1234, and I was able to receive the stream. But this process can only run one at a time! What should I do if I have dozens of streams?
|
An process can open multiple stream casters.
|
I'm really sorry, but I don't have enough understanding. How should I write "一个进程可以开多个stream caster" in the conf file?
|
Hello, I encountered this problem when using the MPEG-TS over UDP feature in SRS 2.0.
|
Hello. My configuration is as follows: listen 1935; max_connections 1000; daemon off; srs_log_tank console; stream_caster {
stream_caster
} stream_caster
} vhost defaultVhost { I have set up three casters to stream output: 0.0.0.0:6001, 0.0.0.0:6002, 0.0.0.0:6003. After these three streams are outputted, SRS can automatically convert them to RTMP. My question is: Can I only output addresses like 0.0.0.0? Where can I configure it to use standard multicast, such as 238.1.1.1:6001? Currently, when I output the stream using multicast 238, SRS does not receive it. It seems that I need to run VLC on Linux to play it and then SRS can receive it, but there are a lot of errors. May I ask if there is something wrong with my configuration? Thank you.
|
Hello, I would like to ask if stream_caster supports multicast addresses? For example, 238.0.0.1:1234. If it does, how should I set the listen option?
|
Hello, may I ask how you solved this problem? Could you please share the solution? Thank you very much~
|
Using ffmpeg to push UDP streams often causes SRS to fail to play. ffmpeg push command: Configuration file: Error message when a problem occurs:
|
The cause of the problem has been roughly identified. It is due to the configuration of
|
Support MPEGTS over UDP streaming to SRS.
Start SRS.
Start FFmpeg streaming.
Play: http://localhost:8080/players/srs_player.html?autostart=true
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: