2015/10/02

the fixed recorder,Vokoscreen


It is a graphical interface for avconv simple and intuitive.
It allows you to record your desktop or a chosen area, useful for demonstrations and presentations.
Under ~/.config/vokoscreen/ we find the configuration file and log


~$ ls -l .config/vokoscreen/
total 12
drwxr-xr-x 2 leopoldo leopoldo 4096 Sep 29 11:23 crashed
-rw-r--r-- 1 leopoldo leopoldo  570 Oct  2 09:44 vokoscreen.conf
-rw-r--r-- 1 leopoldo leopoldo  383 Oct  2 09:42 vokoscreen.log


usually the interface works, but in the case to make permanent choices edit file .conf

vokoscreen.conf

[Alsa]
Alsa=true
NameCaptureCard="[hw:0,0] HDA Intel PCH"



In the log files are the string cmd start

vokoscreen.log


vokoscreen Version: 2.1.0
Record resolution: 1366x768
Alsa string: -f alsa -ac 2 -i hw:0,0
Qt Version: 4.8.2
avconv Version: 0.8.16-6:0.8.16-1
Record String: avconv  -f x11grab -r 4 -video_size 1366x768 -i :0.0+0,0 -dcodec copy -f alsa -ac 2 -i hw:0,0  -pix_fmt yuv420p -c:v libx264 -preset veryfast -c:a libmp3lame  -q:v 1  /home/leopoldo/Videos/vokoscreen-2015-10-02_09-42-28.avi


hence the session initiated by shell, we have a log of actions recorded here

$ vokoscreen

[vokoscreen] Locale: "en_US"
[vokoscreen] Version: "2.1.0"
[vokoscreen] Qt Version:  4.8.2
[vokoscreen] asoundlib Version: "1.0.25"
[vokoscreen] current icon-theme: "hicolor"

[vokoscreen] ---Begin Search external tools---
[vokoscreen] Find avconv Version: "0.8.16-6:0.8.16-1"
[vokoscreen] Find pactl Version: "2.0"
[vokoscreen] Find mkvmerge Version: "v5.6.0"
[vokoscreen] ---End search external tools---

[vokoscreen] ---Begin search Screen---
[vokoscreen] Number of screens: 1
[vokoscreen] "Display 1:  1366 x 768+0+0"
[vokoscreen] ---End search Screen---


[vokoscreen] added device ("video0")
[vokoscreen] connected devices ("video0")


### v4l2 device info [/dev/video0] ###
[vokoscreen] ---Begin search Videoplayer---
[vokoscreen] Find Videoplayer : "/usr/bin/totem"
[vokoscreen] Find Videoplayer : "/usr/bin/vlc"
[vokoscreen] ---End search Videoplayer---

[vokoscreen] [Regional selection] Frame locked: false

[vokoscreen] ---Begin search PulseAudio Plugin---
[vokoscreen] Found file .asound for PulseAudio Plugin
[vokoscreen] ---End search PulseAudio Plugin---


[vokoscreen] ---Begin Pulse unload Module---
[vokoscreen] ---End Pulse unload Module---

[vokoscreen] ---Begin search Alsa capture device---
[vokoscreen] alsa_device_sample() in alsadevice.c: open audio device hw:0,0 (Success)
[vokoscreen] alsa_device_sample() in alsadevice.c: Samplerate = 44100
[vokoscreen] Find CaptureCard: "[hw:0,0] HDA Intel PCH"
[vokoscreen] ---End search Alsa capture device---

[vokoscreen] ---Begin search PulseAudio Capture Devices---
[vokoscreen] ---End search PulseAudio Capture Devices---


[vokoscreen] Report: recording fullscreen:  0

from here you start recording:D.

[vokoscreen] Executive command : "avconv  -f x11grab -r 4 -video_size 1366x768 -i :0.0+0,0 -dcodec copy -f alsa -ac 2 -i hw:0,0  -pix_fmt yuv420p -c:v libx264 -preset veryfast -c:a libmp3lame  -q:v 1  /tmp/vokoscreen-vokoscreen/vokoscreen-2015-10-02_09-42-28.avi"

[vokoscreen] "avconv" is running and is ready for reading and writing

[vokoscreen] "avconv" is not running
[vokoscreen] [Regional selection] Frame locked: false


[vokoscreen] ---Begin Pulse unload Module---
[vokoscreen] ---End Pulse unload Module---


[vokoscreen] ---Begin Pulse unload Module---
[vokoscreen] ---End Pulse unload Module---

and here the result of what has been done