mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
OP-4706 - add vn tag for ffmpeg
This tag ignores any graphic data from secondary audio input. This solves an issue where audio stream should be used from mp4/mov. Without it ffmpeg uses graphical data from this input too.
This commit is contained in:
parent
afdba990e2
commit
6cfab9bd31
1 changed files with 3 additions and 0 deletions
|
|
@ -1038,6 +1038,9 @@ class ExtractReview(pyblish.api.InstancePlugin):
|
|||
# Set audio duration
|
||||
audio_in_args.append("-to {:0.10f}".format(audio_duration))
|
||||
|
||||
# Ignore video data from audio input
|
||||
audio_in_args.append("-vn")
|
||||
|
||||
# Add audio input path
|
||||
audio_in_args.append("-i {}".format(
|
||||
path_to_subprocess_arg(audio["filename"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue