mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
Fix FFMPEG for Windows
This commit is contained in:
parent
f2f3e92125
commit
fe21f0aff1
@ -164,7 +164,10 @@ class Mpeg {
|
|||||||
enc->bit_rate = BITRATE;
|
enc->bit_rate = BITRATE;
|
||||||
enc->width = width;
|
enc->width = width;
|
||||||
enc->height = height;
|
enc->height = height;
|
||||||
st->time_base = (AVRational){ 1, framerate };
|
AVRational tb;
|
||||||
|
tb.num=1;
|
||||||
|
tb.den=framerate;
|
||||||
|
st->time_base = tb;
|
||||||
enc->time_base = st->time_base;
|
enc->time_base = st->time_base;
|
||||||
|
|
||||||
enc->gop_size = 200;
|
enc->gop_size = 200;
|
||||||
|
Loading…
Reference in New Issue
Block a user