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

Analyze video with GOP > 5 sec #97

Closed
oleh-poberezhets opened this issue Dec 14, 2019 · 2 comments · Fixed by #98
Closed

Analyze video with GOP > 5 sec #97

oleh-poberezhets opened this issue Dec 14, 2019 · 2 comments · Fixed by #98
Assignees
Labels
enhancement New feature or request

Comments

@oleh-poberezhets
Copy link
Member

StreamsInfo and FramesMonitor detects the only audio stream if video GOP is more then 5 sec.
In FFmpeg v3.x it leads to process crash with error: Program received signal SIGSEGV, Segmentation fault.

@oleh-poberezhets oleh-poberezhets added the enhancement New feature or request label Dec 14, 2019
@oleh-poberezhets oleh-poberezhets self-assigned this Dec 14, 2019
@oleh-poberezhets
Copy link
Member Author

oleh-poberezhets commented Dec 14, 2019

FFmpeg has a special option for this case:

analyzeduration integer (input)
Specify how many microseconds are analyzed to probe the input. A higher value will enable detecting more accurate information, but will increase latency. It defaults to 5,000,000 microseconds = 5 seconds.

https://www.ffmpeg.org/ffmpeg-all.html#Format-Options

@WoZ
Copy link
Member

WoZ commented Dec 17, 2019

Good, let do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants