|
|
@ -28,18 +28,18 @@ |
|
|
|
#include "libavutil/eval.h" |
|
|
|
#include "libavutil/eval.h" |
|
|
|
|
|
|
|
|
|
|
|
static const char *const var_names[] = { |
|
|
|
static const char *const var_names[] = { |
|
|
|
"n", /// packet index, starting from zero
|
|
|
|
"n", ///< packet index, starting from zero
|
|
|
|
"tb", /// timebase
|
|
|
|
"tb", ///< timebase
|
|
|
|
"pts", /// packet presentation timestamp
|
|
|
|
"pts", ///< packet presentation timestamp
|
|
|
|
"dts", /// packet decoding timestamp
|
|
|
|
"dts", ///< packet decoding timestamp
|
|
|
|
"nopts", /// AV_NOPTS_VALUE
|
|
|
|
"nopts", ///< AV_NOPTS_VALUE
|
|
|
|
"startpts", /// first seen non-AV_NOPTS_VALUE packet timestamp
|
|
|
|
"startpts", ///< first seen non-AV_NOPTS_VALUE packet timestamp
|
|
|
|
"startdts", /// first seen non-AV_NOPTS_VALUE packet timestamp
|
|
|
|
"startdts", ///< first seen non-AV_NOPTS_VALUE packet timestamp
|
|
|
|
"duration", "d", /// packet duration
|
|
|
|
"duration", "d", ///< packet duration
|
|
|
|
"pos", /// original position of packet in its source
|
|
|
|
"pos", ///< original position of packet in its source
|
|
|
|
"size", /// packet size
|
|
|
|
"size", ///< packet size
|
|
|
|
"key" , /// packet keyframe flag
|
|
|
|
"key" , ///< packet keyframe flag
|
|
|
|
"state", /// random-ish state
|
|
|
|
"state", ///< random-ish state
|
|
|
|
NULL |
|
|
|
NULL |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|