add framerate options
Former-commit-id: 340d6cf9e0212cdb596f95007249887f504005e9
This commit is contained in:
@@ -47,7 +47,9 @@ pub struct EOptions {
|
||||
pub ffmpeg: String,
|
||||
pub aomenc: String,
|
||||
pub two_pass: bool,
|
||||
pub pix_fmt: EPixFmt
|
||||
pub pix_fmt: EPixFmt,
|
||||
#[serde(default)]
|
||||
pub fps: Option<(u16, u16)>
|
||||
}
|
||||
impl Default for EOptions {
|
||||
fn default() -> Self {
|
||||
@@ -55,7 +57,8 @@ impl Default for EOptions {
|
||||
ffmpeg: String::default(),
|
||||
aomenc: "--lag-in-frames=25 --tile-columns=0 --tile-rows=0 --enable-fwd-kf=1 --bit-depth=10 --cpu-used=3 --cq-level=30 --end-usage=q".to_string(),
|
||||
two_pass: false,
|
||||
pix_fmt: EPixFmt::I422
|
||||
pix_fmt: EPixFmt::I422,
|
||||
fps: Option::None
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user