#ffmpeg clock time/time base is very very wonky

10 messages · Page 1 of 1 (latest)

glossy glen
#

changing the clock time to anythinmg other than 1000 breaks, which I HAVE 0 clue why, all the assertions for time base pass

#

expected: changing CLOCK_RATE should do nothing, just use a mroe accurate clock
actual: if clock rate is lower than 1000 the video becomes faster and in turn shorter and when its greater than 1000 the opposite occurs

-# note CLOCK_RATE is in line 37 of the source code
-# the dependencies to build the example is [dependencies] ffmpeg = { version = "8", package = "ffmpeg-next" } flume = "0.12.0" anyhow = "1.0.102" bytes = "1.11.1"

tawny oyster
#

just a wild guess but 1000 is usually the denominator for the framerate so you probably need to also change the numerator

glossy glen
#

clue

#

what ur on about

#

t_seconds = pts_ticks × time_base_seconds_per_tick

which DOES HOLD TRUE IN MY CASE DAMN IT

#

I still have no clue what to do with this