This should kill ongoing ffmpeg processes
Code: Select all
kill -9 `ps | grep ffmpeg | awk '{print $1}'`
Sigmund
Code: Select all
kill -9 `ps | grep ffmpeg | awk '{print $1}'`
How about the -t option?then stop it at a later predetermined time.
Code: Select all
~# ffmpeg -h|grep duration
...
-t duration record or transcode "duration" seconds of audio/video
So , you installed the Pshcehule pet in the main post, and it still shows version 0.7 ?Frank Cox wrote:I loaded version .08 but it still says .07 even after a reboot.
I am running 431.
Also what would the command be if I wanted pschedule to play a song say in sda1/documents/my music/some-tune.mp3 ?
TIA
Code: Select all
# pschedule -v
Pschedule 0.8
Pmusic has also the -t switchdisciple wrote:How about the -t option?then stop it at a later predetermined time.Code: Select all
~# ffmpeg -h|grep duration ... -t duration record or transcode "duration" seconds of audio/video
Code: Select all
# pmusic --help
Usage: pmusic [OPTION(S)] [FILE(S) / DIR(S) / URL(S)]
Options
-a Add [FILE(S) / DIR(S) / URL(S)] to playlist instead of playing it
-b use Pmusic as backend - no GUI
-c Loads CD-audio disc into playlist and starts playing
-h Show this help message
-p PRESET Use This GUI-preset instead of the one defined in rc
Available GUIs are stored in /usr/local/pmusic/presets/
-r Add/open directories recursively
-s SIGNAL Send signal to a running instance of Pmusic
next - Play next song in playlist
mute - Turn volume On/Off
pause - Pause/Play audio
prev - Play previous song in playlist
quit - Quit all pmusic processes
volup - Increase volume level with 10%
voldown - Decrease volume level with 10%
-t xx:xx Set the start time offset
This does not work with the -a switch
-v Show Pmusic version
Supported formats (with working alsa and ffmpeg):
\.aiff|\.aac|\.ape|\.asf|\.au|\.flac|\.gsm|\.m4a|\.mp3|\.mp4|\.ogg|\.ra|\.raw|\.shn|\.voc|\.wav|\.wma
Code: Select all
# pschedule -v
Pschedule 0.8
Code: Select all
cd /mnt/sda5 && arecord -d 5200 -f cd -D hw out90.wav
cd /mnt/sda5 && arecord -d 3600 -f cd -D hw out1.wav
cd /mnt/sda5 && arecord -d 7200 -f cd -D hw out2.wav
cd /mnt/sda5 && arecord -d 10800 -f cd -D hw out3.wav
cd /mnt/sda5 && arecord -d 14400 -f cd -D hw out4.wav
cd /mnt/sda5 && arecord -d 20000 -f cd -D hw out5.wav
cd /mnt/sda5 && arecord -d 21600 -f cd -D hw out6.wav
Code: Select all
crontab -l
Code: Select all
killall arecord
Got itdon570 wrote:Bug report
There is a misspelt word. It should be Wednesday instead of Wedensday.
Code: Select all
urxvt -g 64x9+0+0 -e vi /root/my-documents/note.txt
You need to fix/update the URL.zigbert wrote:I have added the fix from broomdodger, and uploaded a new pet.
Thank you for helping!!!
Sigmund