What does time_base
mean in ffmpeg? document(here) says it is "frames per second".
and I see in a real example that:
AVFormatContext->streams[video_index]->time_base
== 1 / 30000
But video's AVCodecContext->time_base
== 1001 / 60000
This makes me quite confused, and I don't understand them.
The second question is about av_seek_frame method. If seeking via time stamp (last parameter is AVSEEK_FLAG_BACKWARD or 0), the seek is started from current position read by av_seek_frame? or from the start of the file? or from the start position of decoding after last av_seek_frame call ?