#ffmpeg clock time/time base is very very wonky
10 messages · Page 1 of 1 (latest)
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"
just a wild guess but 1000 is usually the denominator for the framerate so you probably need to also change the numerator
I have 0
clue
what ur on about
it should just gosh darn work
This is the fundamental unit of time (in seconds) in terms of which frame timestamps are represented.
t_seconds = pts_ticks × time_base_seconds_per_tick
which DOES HOLD TRUE IN MY CASE DAMN IT
I'm about to pull my hairs out
// ms precision is the de-facto standard timescale for mkv files
avpriv_set_pts_info(st, 64, 1, 1000);
I still have no clue what to do with this