I want to create some screencast, I am using avconv (recent ffmpeg counterpart) for doing so.
This is the reference for command I used. I also referred the avconv manual pages. Due to some reason I am unable to record audio from microphone into the screencast.
What is the -f
switch for audio from microphone? I tried -f jack
but it gives an error message.
I am not sure whether the microphone audio drivers are installed on my PC. Command I used is as follows:
avconv -f x11grab -f jack -s hd1080 -r 30 -i 0:0 screencast.mov
Error message I get is:
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
exec of JACK server (command = "/usr/bin/jackd") failed: No such file or directory
jack server is not running or cannot be started
[jack @ 0x9b6dc80] Unable to register as a JACK client
0:0: Input/output error
ls /usr/share/avconv/libx264-*
That will list what presets you can use. Reference: http://forums.heroesofnewerth.com/showthread.php?229469-HOWTO-Streaming-in-Linux/page2
– Chirag Aug 06 '12 at 04:42avconv -f alsa -i pulse -f x11grab -r 30 -s 1280x800 -i :0.0 -vcodec libx264 -preset libx264-lossless_ultrafast -threads 4 -y myscreencast.mp4
now getting this errorError while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
– M. Ahmad Zafar Aug 06 '12 at 06:42