[FFmpeg-user] repeat a frame

Mark Filipak (ffmpeg) markfilipak at bog.us
Wed Mar 3 00:32:42 EET 2021


On 2021-03-02 16:34, Jim DeLaHunt wrote:
> On 2021-03-02 13:13, Mark Filipak (ffmpeg) wrote:
> 
>> On 2021-03-02 15:18, Carl Eugen Hoyos wrote:
>>> …timebase is not 64bit, I believe this was already mentioned.
>>
>> No, it has not been mentioned.
> 
> Mark, I can point to three times it has been mentioned, in the last month, in threads which you 
> initiated.
> 
> 
> 1. https://lists.ffmpeg.org/pipermail/ffmpeg-user/2021-February/051961.html
> On 2021-02-14 17:28, Paul B Mahol wrote:
>> You need TB aka timebase too.
>>
>> TB is rational.
>> PTS is 64bit integer.
> 
> 
> 2. https://lists.ffmpeg.org/pipermail/ffmpeg-user/2021-February/052097.html
> On 2021-02-22 21:01, Jim DeLaHunt wrote:
> 
>> The Presentation Time Stamp (PTS) value which FFmpeg associates with video frames and audio data 
>> is a 64-bit integer. There is an associated time base attribute for each video or audio stream, 
>> which gives the number of seconds between successive values of PTS. This time base might be 
>> thought of as the resolution of PTS. Thus if you have two PTS values pts1 and pts2, then the 
>> difference in seconds between them is (pts2-pts1)*time_base. The time base can be represented as a 
>> rational number, e.g. 1001/30000.…
> 
> 
> 3. https://lists.ffmpeg.org/pipermail/ffmpeg-user/2021-February/052161.html
> On 2021-02-26 17:32, Jim DeLaHunt wrote:
> 
>> As I told you back on 23. February, ffmpeg uses a timebase that is a rational number, and is an 
>> attribute of the video stream, and can take various values. The timebase could be 1/360000, or 
>> 1/24, or 1001/24000.

Thank you, Jim. To the best of my knowledge, rational is not a 'C' datatype. I need to know the 
dimension (or 'C' datatype) of TB as it is used in PTC calculations.



More information about the ffmpeg-user mailing list