Compare commits
2 commits
52c89dc95a
...
cbdf55335a
Author | SHA1 | Date | |
---|---|---|---|
cbdf55335a | |||
6934012c11 |
2 changed files with 3 additions and 2 deletions
|
@ -135,7 +135,8 @@ fn main() {
|
||||||
let lower = name.to_ascii_lowercase();
|
let lower = name.to_ascii_lowercase();
|
||||||
if (lower.ends_with(".mp4")
|
if (lower.ends_with(".mp4")
|
||||||
|| lower.ends_with(".mts")
|
|| lower.ends_with(".mts")
|
||||||
|| lower.ends_with(".mkv"))
|
|| lower.ends_with(".mkv")
|
||||||
|
|| lower.ends_with(".mov"))
|
||||||
&& !entry.file_type().unwrap().is_dir()
|
&& !entry.file_type().unwrap().is_dir()
|
||||||
{
|
{
|
||||||
files.push(String::from(name));
|
files.push(String::from(name));
|
||||||
|
|
|
@ -335,7 +335,7 @@ impl Ffmpeg {
|
||||||
},
|
},
|
||||||
FfmpegFilter::Loudnorm { stereo: false } => {
|
FfmpegFilter::Loudnorm { stereo: false } => {
|
||||||
cmd.arg("-af").arg(concat!(
|
cmd.arg("-af").arg(concat!(
|
||||||
"pan=mono|c0=FR,",
|
"pan=mono|c0=FL,",
|
||||||
"loudnorm=dual_mono=true:print_format=summary,",
|
"loudnorm=dual_mono=true:print_format=summary,",
|
||||||
"pan=stereo|c0=c0|c1=c0,",
|
"pan=stereo|c0=c0|c1=c0,",
|
||||||
"aformat=sample_rates=48000"
|
"aformat=sample_rates=48000"
|
||||||
|
|
Loading…
Reference in a new issue