Re: [LAU] screencast using jack

From: Federico Bruni <fedelogy@email-addr-hidden>
Date: Mon Mar 18 2013 - 23:54:27 EET

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
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Tue Mar 19 04:15:01 2013

This archive was generated by hypermail 2.1.8 : Tue Mar 19 2013 - 04:15:02 EET