Skip to content

Image panel stuck on black screen if stream starts with a non-keyframe #1020

Closed Answered by jtbandes
AlexKirko asked this question in Bugs
Discussion options

You must be logged in to vote

Testing these files:

  • I see that "no_missing_key_frame" indeed has a keyframe at the beginning and plays correctly.
  • It appears that "missing_key_frame" does not have a keyframe until the very end of the file (around 45.8 seconds elapsed). It also appears the key frame is missing the SPS, since I see this error message:

Could you try changing your encoder to include SPS in every key frame?

It is expected behavior that the video will not display until a key frame is reached – this is the nature of video compression. If you would like to be able to start playback from an arbitrary point, you could consider configuring the encoder/publisher to add key frames every so often (for example ever…

Replies: 9 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jtbandes
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@snosenzo
Comment options

@AlexKirko
Comment options

@AlexKirko
Comment options

Comment options

You must be logged in to vote
1 reply
@jtbandes
Comment options

Comment options

You must be logged in to vote
1 reply
@jtbandes
Comment options

Answer selected by jtbandes
Comment options

You must be logged in to vote
1 reply
@snosenzo
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Bugs
Labels
None yet
4 participants