Skip to content
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

More then one out_addr option #10

Closed
ashiq54689 opened this issue Mar 19, 2019 · 3 comments
Closed

More then one out_addr option #10

ashiq54689 opened this issue Mar 19, 2019 · 3 comments

Comments

@ashiq54689
Copy link

Is it possible? More than one out_addr?

@ashiq54689
Copy link
Author

ashiq54689 commented Mar 19, 2019

Like

out_addr_1 = rtmp://hls/address/key

@jb-alvarado
Copy link
Member

You can try to use the tee muxer

The config have to look like:

post_comp_extra = ["-threads", "2", "-flags", "+global_header", "-f", "tee", "-map", "0:v", "-map", "0:a"]
out_addr = "[f=flv]rtmp://example1.org/live/stream|[f=flv]rtmp://example2.org/live/stream"

I'm not totally sure if this works, maybe the mapping will fail.

@ashiq54689
Copy link
Author

ashiq54689 commented Mar 19, 2019

Instead of using ffplayout, I used nginx rtmp to push the ffplayout stream to another one. This is better.

jb-alvarado added a commit that referenced this issue Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants