File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
src/AvTranscoder/properties Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,18 @@ class AvExport VideoProperties : public StreamProperties
40
40
Rational getSar () const ; // sample/pixel aspect ratio
41
41
Rational getDar () const ; // display aspect ratio
42
42
43
- size_t getBitRate () const ; // /< in bits/s, 0 if unknown
43
+ /* *
44
+ * @return The video bitrate in bits/s.
45
+ * @warning If there is no such info available in the container, this data is estimate by decoding the first GOP.
46
+ */
47
+ size_t getBitRate () const ;
44
48
size_t getMaxBitRate () const ;
45
49
size_t getMinBitRate () const ;
46
- size_t getNbFrames () const ; // /< 0 if unknown
50
+ /* *
51
+ * @note 0 if unknown.
52
+ * @warning In case of a raw format, this data is estimate from the fps and the duration.
53
+ */
54
+ size_t getNbFrames () const ;
47
55
size_t getTicksPerFrame () const ;
48
56
size_t getWidth () const ;
49
57
size_t getHeight () const ;
@@ -63,7 +71,8 @@ class AvExport VideoProperties : public StreamProperties
63
71
64
72
/* *
65
73
* @brief Override method.
66
- * @return the stream duration in seconds, 0 if not available
74
+ * @return The stream duration in seconds, 0 if not available.
75
+ * @warning In case of a raw format, this data is estimate from the file size.
67
76
*/
68
77
float getDuration () const ;
69
78
You can’t perform that action at this time.
0 commit comments