Last active
April 15, 2021 10:39
-
-
Save wader/985880d06230bd6c66482b168227b429 to your computer and use it in GitHub Desktop.
ffmpeg goodies
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
| Lots of verbose output: | |
| ffmpeg -v trace -xerror -err_detect aggressive -debug_ts -progress pipe:1 ... | |
| Generate test files: | |
| ffmpeg -f lavfi -i anullsrc -ac 2 -ar 44100 -t 500ms test.mp3 | |
| ffmpeg -f lavfi -i anullsrc -f lavfi -i testsrc -ac 2 -ar 44100 -t 500ms test.mp4 | |
| -f lavfi -i sine | |
| -f lavfi -i anoisesrc | |
| Test decode: | |
| ffmpeg -i file -f null - | |
| Render audio waveform png | |
| ffmpeg -y -i file.mp3 -filter_complex '[0:a:0]aformat=channel_layouts=mono,showwavespic=s=6400x120:scale=sqrt:colors=black[wave]' -map '[wave]' -frames:v 1 -c:v png wave.png | |
| https://github.com/FFmpeg/FFmpeg/blob/master/libavfilter/avfiltergraph.c#L545 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment