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

Cannot start stream with NvFBC #137

Closed
xhejtman opened this issue Mar 7, 2024 · 4 comments
Closed

Cannot start stream with NvFBC #137

xhejtman opened this issue Mar 7, 2024 · 4 comments

Comments

@xhejtman
Copy link
Contributor

xhejtman commented Mar 7, 2024

Sometimes, the browser is unable to sync on the first stream keyframe. Using my nvfbc encoder, I have debug messages showing:

** (python3:9745): WARNING **: 10:45:50.479: got event: 69121, subtype: GstForceKeyUnit

** (python3:9745): WARNING **: 10:45:50.479: Forcing keyframe

** (python3:9745): WARNING **: 10:45:50.503: Forced keyframe

** (python3:9745): WARNING **: 10:45:50.636: got event: 69121, subtype: GstForceKeyUnit

** (python3:9745): WARNING **: 10:45:50.637: Forcing keyframe

** (python3:9745): WARNING **: 10:45:50.669: Forced keyframe

** (python3:9745): WARNING **: 10:45:50.808: got event: 69121, subtype: GstForceKeyUnit

** (python3:9745): WARNING **: 10:45:50.808: Forcing keyframe

** (python3:9745): WARNING **: 10:45:50.836: Forced keyframe

** (python3:9745): WARNING **: 10:45:50.979: got event: 69121, subtype: GstForceKeyUnit

** (python3:9745): WARNING **: 10:45:50.979: Forcing keyframe

** (python3:9745): WARNING **: 10:45:51.003: Forced keyframe

** (python3:9745): WARNING **: 10:45:51.151: got event: 69121, subtype: GstForceKeyUnit

** (python3:9745): WARNING **: 10:45:51.151: Forcing keyframe

** (python3:9745): WARNING **: 10:45:51.169: Forced keyframe

** (python3:9745): WARNING **: 10:45:51.308: got event: 69121, subtype: GstForceKeyUnit

** (python3:9745): WARNING **: 10:45:51.308: Forcing keyframe

** (python3:9745): WARNING **: 10:45:51.336: Forced keyframe

I believe, it is independent of the used encoder. Maybe the keyframe does packet burst and some of it is always lost? It is happening with gstreamer 1.20.3 and 1.24.0, seems to be omnipresent.

After several browser window reload, the stream usually starts.

@ehfd ehfd changed the title Cannot start stream sometimes Cannot start stream with NvFBC Mar 12, 2024
@ehfd
Copy link
Member

ehfd commented Mar 12, 2024

@xhejtman Could you post the link for your custom nvfbc plugin?

@ehfd
Copy link
Member

ehfd commented Mar 12, 2024

In continuum to #30.

@xhejtman
Copy link
Contributor Author

@ehfd
Copy link
Member

ehfd commented Apr 2, 2024

I'm tracking this in #30.

@ehfd ehfd closed this as completed Apr 2, 2024
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