|
|
|
@ -383,8 +383,13 @@ Suckless sent: |
|
|
|
Hack |
|
|
|
|
|
|
|
Video and audio editing: |
|
|
|
Inspect media file: |
|
|
|
ffprobe in.mp{3,4} |
|
|
|
Cut video/audio: |
|
|
|
ffmpeg -ss "start" [-t "duration"|-to "end"] -i input.mp3 -acodec copy output.mp3 |
|
|
|
Extract audio from video: |
|
|
|
# Lossless extract, use ffprobe to identify audio stream type |
|
|
|
ffmpeg -i input-video.avi -vn -acodec copy output-audio.aac |
|
|
|
Remove audio from video file |
|
|
|
ffmpeg -i in.mp4 -an out.mp4 |
|
|
|
Nvidia hardware encoding |
|
|
|
@ -719,6 +724,7 @@ Runit logging: |
|
|
|
runsv |
|
|
|
* if <service>/log exists, redirects service's stdout to logger's stdin |
|
|
|
* by default, runsv's stderr, stdout (and stdin?) are redirected to /dev/console |
|
|
|
|
|
|
|
Android: |
|
|
|
Uncompress android .ab backup files: |
|
|
|
# https://stackoverflow.com/questions/18533567/how-to-extract-or-unpack-an-ab-file-android-backup-file |
|
|
|
|