Last active
May 25, 2020 10:05
-
-
Save ArneAnka/29edc60a5f286404de40bdf352a3eaf3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. youtube-dl -a lista.txt | |
| 2. ffmpeg -i input.mp4 -f mp3 -ab 192000 -vn output.mp3 | |
| 3. ffmpeg -i output.mp3 -af "highpass=f=200, lowpass=f=3000" output_clean.mp3 | |
| 4. ffmpeg -i output_clean.mp3 -af silenceremove=1:0:-50dB output_stripped.mp3 |
Author
Author
Final version!
for f in *.mp4; do ffmpeg -i "$f" \
-af "silenceremove=stop_periods=-1:stop_duration=1:stop_threshold=-40dB,highpass=f=200,lowpass=f=3000,loudnorm" \
-codec:a libmp3lame -q:a 5 -vn "$(basename "$f" .mp4).mp3"; doneFor reference I found this reddit thread
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
final??