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
ffmpeg -f lavfi -i sine=frequency=1000:duration=5 -f lavfi -i sine=frequency=1000:duration=5 -filter_complex "[0:a][1:a]amerge=inputs=2[aout]" -map "[aout]" output.wav |
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
#!/bin/bash | |
# This script is for encoding videos in 1080p60 for YouTube using YouTube's recommendations | |
# Optionally allows for usage of nvenc instead of libx264 | |
# Usage: yt-1080p60.sh INFILE OUTFILE [nvenc] | |
INFILE="$1" | |
OUTFILE="$2" | |
ENCODER="$3" |
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
#!/bin/bash | |
# This script will download all of the appropriate and necessary components required to | |
# install FFMPEG on Ubuntu 14.04 and above. This uses checkinstall instead of the normal | |
# make install to generate a .deb so ffmpeg and the x265 library can be managed by the package manager. | |
# When passed the nvenc parameter, it will attempt to compile ffmpeg with the nvenc and nvenc_h265 encoders which use | |
# nvidia GPUs for encoding rather than CPU. Check https://developer.nvidia.com/nvidia-video-codec-sdk for more information. | |
set -e |