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

GopInvalidData: invalid difference between gop start and end time: 0 #91

Open
zarej opened this issue Oct 6, 2019 · 2 comments
Open

Comments

@zarej
Copy link
Contributor

zarej commented Oct 6, 2019

I am trying to monitor encoder stats with example from here: https://github.com/appmodule/video-quality-tools#processframesencoderstatsframes

Image from debugger: https://i.imgur.com/r1SNTR7.png

Why I am alweys get invalid difference between gop start and end time: 0 ?
If you can explain me how to fix this I am eager to contribute with pull request

@zarej
Copy link
Contributor Author

zarej commented Oct 6, 2019

This issue occurs if HLS has multiple bitrates and in ffprobe command is not selecting stream. When I put HLS with a single bitrate it works.

Need improvement to support adaptive streams, or to put chunk playlist instead of a master playlist.

@WoZ
Copy link
Member

WoZ commented Oct 8, 2019

Thank you for the issue!

May you provide HLS stream (master playlist, ts chunks) you've tested? I see in your screenshot from the debugger that startTime and endTime in gop is the same. So, I see 2 options:

  1. the lack of adaptive bitrate may cause a merge of frames and both frames have the same pkt_pts_time
  2. the stream is broken because technically it's impossible to have two frames with the same pkt_pts_time.

It will be great to provide stram data, ffprobe output for the
ffprobe -hide_banner -v info -fflags nobuffer -show_frames -show_entries frame=pkt_size,pkt_pts_time,media_type,pict_type,key_frame,width,height -i %URL%

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