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

Change stream resolution / bitrate #92

Closed
brystel opened this issue Oct 24, 2014 · 5 comments
Closed

Change stream resolution / bitrate #92

brystel opened this issue Oct 24, 2014 · 5 comments

Comments

@brystel
Copy link

brystel commented Oct 24, 2014

Hello,

I have to change HLS stream resolution and bitrate due to limited device performance.
Is there possibility to set a constant streaming resolution and bitrate? For example HD / SD resolutions and 70% quality?

Is there also possiblity to change bitrate on fly? I means the buffer starts at low bitrate and when it's loaded bitrate raises.

Thank you

@vipulpurohit
Copy link

Hello,
I also need to change RTMP live stream resolution and bitrate on the fly.
I know it's not in plan for now but can you please give us some hint or path which I should follow to achieve this functionality?
I just need a correct path so I can try to implement it.

Thanks

@bbcallen
Copy link
Contributor

Try flush avcodec between two streams.

@vipulpurohit
Copy link

I do not want to switch between two streams. In my case there will a single RTMP stream and what I need to do is change the resolution of the input stream on the fly and the updated resolution should be visible to user.
E.g. I've a 1280x720 RTMP stream and now I need to convert this resolution to 640x360. So user should see the 640x360 resolution video, not the 1280x720.

Thanks for your reply.
Hoping for your reply.

@bbcallen
Copy link
Contributor

No smooth switching, for now.

@bbcallen
Copy link
Contributor

Feel free to reopen if any more question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants