Personal collection of basic examples / scripts.
FFmpeg Documentation
A complete, cross-platform solution to record, convert and stream audio and video.
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 | |
| # resize and crop | |
| # ffmpeg: 1440x1072 -> 1452x1080 -> 1440x1080 rockchip h264_rkmpp | |
| ffmpeg-rockchip -i input.mp4 -b:v 2472k -vcodec h264_rkmpp -s 1452x1080 -r 30 -g 60 -b:a 160k -ar 44100 -threads 4 tmp.mp4 | |
| ffmpeg-rockchip -i tmp.mp4 -b:v 2472k -vcodec h264_rkmpp -s 1440x1080 -r 30 -g 60 -filter:v \"crop=1440:1080:6:0\" -aspect 4:3 -acodec copy -threads 4 output.mp4 |
- ffmpeg: [Official site][1], [Download][2]
- Download ffmpeg from [link][2]
- Extract the ffmpeg.exe from zip package and copy to the directory contain the audio file
- Copy the volumeDetect.bat into the folder. (Just make sure the bat file and ffmpeg.exe are in the same directory)
- Doulbe click volumeDetect.bat and drag the file into the window.
- Press enter and get the result.