You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wondering if there's a way to read, and set analyzeduration and similar options,
let fmtCtx = AVFormatContext()
fmtCtx. something .analyzeduration = 1000
opt.h ...
int av_set_options_string(void *ctx, const char *opts,
const char *key_val_sep, const char *pairs_sep);
/**
* Parse the key-value pairs list in opts. For each key=value pair found,
* set the value of the corresponding option in ctx.
* .. etc
I'm wondering if there's a way to read, and set
analyzeduration
and similar options,opt.h ...
analyzeduration is an integer (microseconds)
https://ffmpeg.org/ffmpeg-formats.html
I had a guess at reading it,
let AD = try fmtCtx.integer(forKey: "analyzeduration")
crashes,
I had a guess at this sort of thing,
try fmtCtx.set(1000, forKey: "analyzeduration")
crashes ..
Is it possible?
The text was updated successfully, but these errors were encountered: