diff options
author | Andrew Cady <d@jerkface.net> | 2017-12-11 10:43:40 -0500 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2017-12-11 10:43:40 -0500 |
commit | 6ef05c91886952648d5a8d2194d21bf90d94f165 (patch) | |
tree | 58ec1612fa970ed428021de6dbe8dd1aa840ac9b /dot/local/bin/selfie | |
parent | 9173ffa4de888bc4c03e98f9a26a1e5f83ee9a08 (diff) |
Change ffmpeg command line
The newer ffmpeg crashes without this change
Note:
||/ Name Version Architecture
+++-==============-================-============
ii ffmpeg 7:3.2.9-1~deb9u1 amd64
Diffstat (limited to 'dot/local/bin/selfie')
-rwxr-xr-x | dot/local/bin/selfie | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dot/local/bin/selfie b/dot/local/bin/selfie index 5046fad..9fa2a45 100755 --- a/dot/local/bin/selfie +++ b/dot/local/bin/selfie | |||
@@ -16,7 +16,7 @@ record() | |||
16 | ffmpeg -hide_banner -loglevel error -stats \ | 16 | ffmpeg -hide_banner -loglevel error -stats \ |
17 | $timeout -f video4linux2 -i "$VIDEO_DEVICE" \ | 17 | $timeout -f video4linux2 -i "$VIDEO_DEVICE" \ |
18 | $timeout -f "$AUDIO_DEVICE" -i default \ | 18 | $timeout -f "$AUDIO_DEVICE" -i default \ |
19 | -f xv win \ | 19 | -c:v rawvideo -pix_fmt yuv420p -f xv win \ |
20 | -c:a mp3 \ | 20 | -c:a mp3 \ |
21 | -c:v libxvid \ | 21 | -c:v libxvid \ |
22 | "$1" | 22 | "$1" |