File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
src/AvTranscoder/properties Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -329,9 +329,10 @@ size_t VideoProperties::getBitRate() const
329
329
if (_codecContext->bit_rate || _codecContext->rc_max_rate )
330
330
return _codecContext->bit_rate ;
331
331
332
+ LOG_WARN (" The bitrate of the stream '" << _streamIndex << " ' of file '" << _formatContext->filename << " ' is unknown." )
332
333
if (_levelAnalysis == eAnalyseLevelHeader)
333
334
{
334
- LOG_WARN ( " The bitrate of the stream ' " << _streamIndex << " ' of file ' " << _formatContext-> filename << " ' is unknown ." )
335
+ LOG_INFO ( " Need a deeper analysis: see eAnalyseLevelFirstGop ." );
335
336
return 0 ;
336
337
}
337
338
Original file line number Diff line number Diff line change @@ -42,7 +42,9 @@ class AvExport VideoProperties : public StreamProperties
42
42
43
43
/* *
44
44
* @return The video bitrate in bits/s.
45
- * @warning If there is no such info available in the container, this data is estimated by decoding the first GOP.
45
+ * @note 0 if unknown.
46
+ * @warning If there is no such info available in the container, this data is estimated using the information of the first GOP.
47
+ * @see eAnalyseLevelFirstGop
46
48
*/
47
49
size_t getBitRate () const ;
48
50
size_t getMaxBitRate () const ;
You can’t perform that action at this time.
0 commit comments