Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yaph/av-tools
A collection of programs for working with audio and video.
https://github.com/yaph/av-tools
audio-processing bash-script ffmpeg video-processing
Last synced: 10 days ago
JSON representation
A collection of programs for working with audio and video.
- Host: GitHub
- URL: https://github.com/yaph/av-tools
- Owner: yaph
- License: gpl-2.0
- Created: 2022-03-10T09:47:23.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-17T20:04:24.000Z (7 months ago)
- Last Synced: 2024-05-01T22:36:51.108Z (7 months ago)
- Topics: audio-processing, bash-script, ffmpeg, video-processing
- Language: Python
- Homepage: https://ukealong.com/
- Size: 37.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Audio Video Tools
Command line programs for processing audio and video created while working on https://ukealong.com/.
## Concatenate two video files omitting the audio
ffmpeg -i v1.mp4 -i v2.mp4 -filter_complex "[0:v][1:v]concat=n=2:v=1:a=0[v]" -map "[v]" out.mp4
## Find Videos and Show Sizes
Find video files with and list their file sizes and the total size of all videos.
find . -name "*.mp*" -print0 | du -shc --files0-from=-
## Fit Video
Fit a vertical video that is smaller than 1080x1920px on these dimensions:
ffmpeg -i input.mp4 -vf "pad=1080:1920:(ow-iw)/2:(oh-ih)/2" output.mp4
## Rotate Video
0 = 90 Counter Clockwise and Vertical Flip (default)
1 = 90 Clockwise
2 = 90 Counter Clockwise
3 = 90 Clockwise and Vertical Flipffmpeg -i input.mp4 -vf "transpose=2" output.mp4
## Speed-up Video
Speed up by a factor of 2.
ffmpeg -i input.mp4 -filter:v "setpts=0.5*PTS" output.mp4