Created by: crackwitz
I didn't notice an encoding example that uses PTSes so I thought I'd add one.
I hope I got this right. I realize ffmpeg's notions of time are "implementation-defined", to put it mildly, and PyAV can't hide that in any good way.
- setting
stream.codec_context.time_base
- setting
frame.pts
calculated fromstream.codec_context.time_base