On Tue, March 19, 2013 8:54 am, Federico Bruni wrote:
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'
Try:
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
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user(a)lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user
--
Patrick Shirkey
Boost Hardware Ltd