added audio command

This commit is contained in:
zombie maniac 2023-01-02 20:06:15 -05:00
parent 8868acc4ce
commit bfb14d6c36
Signed by: nbrooks211
GPG key ID: F43C85C0DF0C334E

View file

@ -52,3 +52,11 @@ done
``` ```
ffmpeg -i Teen\ Titans\ S04E11.mkv -s 960x540 -c:v libx264 -preset veryslow -crf 30 -c:a copy output540pveryslow30ep11kleiner.mkv ffmpeg -i Teen\ Titans\ S04E11.mkv -s 960x540 -c:v libx264 -preset veryslow -crf 30 -c:a copy output540pveryslow30ep11kleiner.mkv
``` ```
Common info commands
--------------------
### this gets the info of all the audio of the videos in the current dir and displays it neatly (is useful for finding problems with the audio)
```
for i in *.mkv; do mediainfo "$i" | grep -e "Complete name" -e "Video" -e "Audio" -e "channels" -e "Bit rate"; echo "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="; done
```