Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Open-source replica: Using FFmpeg+SRS for live streaming transcoding cluster #2869

Closed
winlinvip opened this issue Jan 11, 2022 · 4 comments
Closed
Assignees
Labels
Solution It's a solution plan. TransByAI Translated by AI/GPT.

Comments

@winlinvip
Copy link
Member

winlinvip commented Jan 11, 2022

How to achieve multi-bitrate streaming for live streaming, so that the streams viewed on PCs and mobile phones are different, of course, using FFmpeg, but it involves some logic:

  • Match different streams from SRS, not all streams need to be transcoded.
  • Need a simple background to see the status of these transcoding tasks.
  • Need some template management to reduce the difficulty of using FFmpeg command line directly.

Currently, it mainly pushes streams to cloud vendors for transcoding, and it's worth making a DEMO.

If you need it, please leave a message in the comments section.

@winlinvip winlinvip added the Solution It's a solution plan. label Jan 11, 2022
@winlinvip winlinvip self-assigned this Jan 11, 2022
@lonelygo
Copy link

lonelygo commented Jan 11, 2022

Well, this Feather (Demo) is still very meaningful. Transcoding (1 input N output, ABR) is needed for multi-terminal/multi-network environment streaming testing/production.

@jinleileiking
Copy link

jinleileiking commented Jan 13, 2022

I personally think this is not something SRS should do; it should be done by a larger project (which we are currently doing). Transcoding is a transcoding system; the SRS system and the transcoding system are scheduled through an API: srs-cluster <-- grpc server -> trans system (ffmpegs)

@winlinvip
Copy link
Member Author

winlinvip commented Jan 13, 2022

@jinleileiking This is an open-source replica solution, not transcoding in SRS, but making an additional DEMO, combining FFmpeg and SRS, as well as the management background.

If it's a feature, it wouldn't be called "open-source replica"; it would be called invoking FFmpeg API for transcoding. Calling it an open-source replica means making a complete solution DEMO, and this kind of label is also a Solution, not a Feature.

Many people have implemented live streaming transcoding systems; Zhang San has implemented one, and Li Si has also implemented one, but no one has open-sourced it, and new friends still don't know how to do it. Newcomers can't possibly know how to create a live streaming transcoding system based on just one sentence.

If you're interested, we can work on it together, and there will be a separate repository coming out later.

@winlinvip winlinvip changed the title 开源复刻:用FFmpeg做直播转码集群 开源复刻:用FFmpeg+SRS做直播转码集群 Jan 13, 2022
@lonelygo
Copy link

lonelygo commented Jan 13, 2022

Yes, in larger usage scenarios, "Demo" it to let users understand the "best practices" and optional technical routes/solutions for SRS applications in such scenarios.

@ossrs ossrs deleted a comment from mc373906408 Jul 18, 2023
@ossrs ossrs deleted a comment from mc373906408 Jul 18, 2023
@winlinvip winlinvip changed the title 开源复刻:用FFmpeg+SRS做直播转码集群 Open-source replica: Using FFmpeg+SRS for live streaming transcoding cluster Jul 18, 2023
@ossrs ossrs locked and limited conversation to collaborators Jul 18, 2023
@winlinvip winlinvip converted this issue into discussion #3672 Jul 18, 2023
@winlinvip winlinvip added the TransByAI Translated by AI/GPT. label Jul 28, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Solution It's a solution plan. TransByAI Translated by AI/GPT.
Projects
None yet
Development

No branches or pull requests

3 participants