Skip to content

Commit

Permalink
Exclude subtitle tracks from samples (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexheretic committed Jan 16, 2024
1 parent 9012146 commit 4399a14
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Unreleased
* Use a single ffmpeg process to calculate VMAF replacing multi process piping.
* Exclude subtitle tracks from samples.

# v0.7.12
* Improve eta stability.
Expand Down
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/sample.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ pub async fn copy(
.arg2("-frames:v", frames)
.arg2("-c:v", "copy")
.arg("-an")
.arg("-sn")
.arg(&dest)
.stdin(Stdio::null())
.output()
Expand All @@ -62,6 +63,7 @@ pub async fn copy(
.arg2("-frames:v", frames)
.arg2("-c:v", "copy")
.arg("-an")
.arg("-sn")
.arg(&dest)
.stdin(Stdio::null())
.output()
Expand Down

0 comments on commit 4399a14

Please sign in to comment.