Newer
Older
SmartAlarm / alarm_start.sh
root on 7 May 212 bytes Initial commit
#!/bin/bash
# -ss = seconds to crop from begining, 1800 = 30 min
ffmpeg -f alsa -ac 2 -ar 44100 -i hw:0,0 -acodec libmp3lame -nostdin -ss 1800 /opt/SmartAlarm/tmp/tmp.mp3 &
/usr/bin/vlc --started-from-file "$*"