[LAU] screencast using jack
Federico Bruni
fedelogy at gmail.com
Mon Mar 18 21:54:27 UTC 2013
Il 18/03/2013 00:10, David Adler ha scritto:
> You mean setting the connection(s)? use
> $ jack_connect <src> <dst>
>
> Your <src> contains special characters (the spaces), so we
> need to quote that one with single or double quiotes:
> $ jack_connect 'firewire_pcm:000f1b100002724f_MicIn 1+2 left_in'
> jack_capture:input1
It's working on the command line, but not if I copy it in the bash script.
What's wrong with it?
#!/bin/bash
DATE=`date +%Y%m%d`
TIME=`date +%Hh%M`
xterm -e jack_capture -mc -b 24
$HOME/Video/screencast/screencast_audio_$DATE-$TIME.wav &
jack_connect 'firewire_pcm:000f1b100002724f_MicIn 1+2 left_in'
jack_capture:input1 &
ffmpeg -an -f x11grab -r 30 -s 1280x800 -i :0.0 -vcodec libx264 -preset
ultrafast -threads 4 $HOME/Video/screencast/screencast_video_$DATE-$TIME.mkv
killall jack_capture
Thanks
--
Federico
More information about the Linux-audio-user
mailing list