Analyze video with GOP > 5 sec
oleh-poberezhets opened this issue · 2 comments
oleh-poberezhets commented
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 commented
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.
WoZ commented
Good, let do it.