We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1509051 commit 76740bbCopy full SHA for 76740bb
src/AvTranscoder/properties/VideoProperties.cpp
@@ -337,6 +337,9 @@ size_t VideoProperties::getBitRate() const
337
if(getGopSize() == 0)
338
throw std::runtime_error("cannot compute bit rate: need to get info from the first gop (see eAnalyseLevelFirstGop)");
339
340
+ LOG_WARN("The bitrate of the stream '" << _streamIndex << "' of file '" << _formatContext->filename << "' is unknown.")
341
+ LOG_INFO("Decode the first GOP to compute the bitrate.")
342
+
343
// discard no frame type when decode
344
_codecContext->skip_frame = AVDISCARD_NONE;
345
0 commit comments