Re: screencast using jack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux