Lines 91-101
hb_avfilter_graph_init(hb_value_t * settings, hb_filter_init_t * init)
Link Here
|
91 |
|
91 |
|
92 |
filter_args = hb_strdup_printf( |
92 |
filter_args = hb_strdup_printf( |
93 |
"video_size=%dx%d:pix_fmt=%d:sar=%d/%d:" |
93 |
"video_size=%dx%d:pix_fmt=%d:sar=%d/%d:" |
94 |
"colorspace=%d:range=%d:" |
|
|
95 |
"time_base=%d/%d:frame_rate=%d/%d", |
94 |
"time_base=%d/%d:frame_rate=%d/%d", |
96 |
init->geometry.width, init->geometry.height, pix_fmt, |
95 |
init->geometry.width, init->geometry.height, pix_fmt, |
97 |
init->geometry.par.num, init->geometry.par.den, |
96 |
init->geometry.par.num, init->geometry.par.den, |
98 |
init->color_matrix, init->color_range, |
|
|
99 |
init->time_base.num, init->time_base.den, |
97 |
init->time_base.num, init->time_base.den, |
100 |
init->vrate.num, init->vrate.den); |
98 |
init->vrate.num, init->vrate.den); |
101 |
|
99 |
|
Lines 150-160
hb_avfilter_graph_init(hb_value_t * settings, hb_filter_init_t * init)
Link Here
|
150 |
} |
148 |
} |
151 |
filter_args = hb_strdup_printf( |
149 |
filter_args = hb_strdup_printf( |
152 |
"width=%d:height=%d:pix_fmt=%d:sar=%d/%d:" |
150 |
"width=%d:height=%d:pix_fmt=%d:sar=%d/%d:" |
153 |
"colorspace=%d:range=%d:" |
|
|
154 |
"time_base=%d/%d:frame_rate=%d/%d", |
151 |
"time_base=%d/%d:frame_rate=%d/%d", |
155 |
init->geometry.width, init->geometry.height, pix_fmt, |
152 |
init->geometry.width, init->geometry.height, pix_fmt, |
156 |
init->geometry.par.num, init->geometry.par.den, |
153 |
init->geometry.par.num, init->geometry.par.den, |
157 |
init->color_matrix, init->color_range, |
|
|
158 |
init->time_base.num, init->time_base.den, |
154 |
init->time_base.num, init->time_base.den, |
159 |
init->vrate.num, init->vrate.den); |
155 |
init->vrate.num, init->vrate.den); |
160 |
} |
156 |
} |
161 |
- |
|
|