mirror of
https://github.com/RealOrangeOne/notes.git
synced 2024-12-22 19:05:59 +00:00
Add notes about how to downmix audio
This commit is contained in:
parent
07058c3233
commit
cb3297d70a
1 changed files with 15 additions and 0 deletions
15
notes/ffmpeg-downmixing-audio.md
Normal file
15
notes/ffmpeg-downmixing-audio.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
title: Downmixing audio channels
|
||||
tags:
|
||||
- Media
|
||||
emoji: 🎵
|
||||
link: https://trac.ffmpeg.org/wiki/AudioChannelManipulation
|
||||
---
|
||||
|
||||
```bash
|
||||
ls -1 *.mp4 | xargs -I{} ffmpeg -y -i {} -ac 2 -c:v copy /path/to/out/{}
|
||||
```
|
||||
|
||||
Downmixes multi-channel audio into stereo. Reduces the chances of weird things happening during playback.
|
||||
|
||||
`-c:v copy` is important for performance as it means the video isn't re-encoded (10x improvement in speed).
|
Loading…
Reference in a new issue