vokoscreen crashes as soon as I attempt to record screen

Ugh while its nice netrunner rolling comes with vokoscreen for bizarre reason it wont work as soon as I attempt to use it, why?

here is the command line output if it helps

[code]vokoscreen

[vokoscreen] Locale: “en_US”
[vokoscreen] Version: “1.9.0”
[vokoscreen] Qt Version: 4.8.6
[vokoscreen] asoundlib Version: “1.0.28”

[vokoscreen] —Begin Search external tools—
[vokoscreen] Find ffmpeg Version: “02.03.3()2000-2014”
[vokoscreen] Find pactl
[vokoscreen] Find mkvmerge
[vokoscreen] —End search external tools—

[vokoscreen] —Begin search Videoplayer—
[vokoscreen] Find Videoplayer : “/usr/bin/ffplay”
[vokoscreen] Find Videoplayer : “/usr/bin/smplayer”
[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 ATI SB”
[vokoscreen] alsa_device_sample() in alsadevice.c: cannot open audio device hw:1,3 (No such file or directory)
[vokoscreen] Find CaptureCard: “[hw:1,3] HDA ATI HDMI”
[vokoscreen] alsa_device_sample() in alsadevice.c: open audio device hw:2,0 (Success)
[vokoscreen] alsa_device_sample() in alsadevice.c: Samplerate = 40000
[vokoscreen] Find CaptureCard: “[hw:2,0] Yeti Stereo Microphone”
[vokoscreen] —End search Alsa capture device—

[vokoscreen] —Begin search PulseAudio Capture Devices—
[vokoscreen] Find CaptureCard: “Monitor of RS880 HDMI Audio [Radeon HD 4200 Series] (M4A785TD Motherboard) Digital Stereo (HDMI)” with device: “alsa_output.pci-0000_01_05.1.hdmi-stereo.monitor”
[vokoscreen] Find CaptureCard: “Monitor of 1.1 root hub Analog Stereo” with device: “alsa_output.usb-Blue_Microphones_Yeti_Stereo_Microphone-00-Microphone.analog-stereo.monitor”
[vokoscreen] Find CaptureCard: “1.1 root hub Analog Stereo” with device: “alsa_input.usb-Blue_Microphones_Yeti_Stereo_Microphone-00-Microphone.analog-stereo”
[vokoscreen] —End search PulseAudio Capture Devices—

[vokoscreen] Report : "-report "
[vokoscreen] ffmpegcommand : “ffmpeg -report -f alsa -i pulse -f x11grab -r 25 -s 1366x768 -i :0.0+0,0 -pix_fmt yuv420p -vcodec mpeg4 -acodec libmp3lame -ar 48000 -qscale 1 -r 25 /tmp/vokoscreen-vokoscreen/vokoscreen-2014-09-25_23-35-00.mkv”

[vokoscreen] ffmpeg is running and is ready for reading and writing

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

[vokoscreen] Download of http://kohaupt-online.de/hp/version/VERSION succeeded (saved to vokoscreenVERSION)
[/code]

sudo pacman -S gst-plugins-ugly gst-libav gstreamer0.10-ffmpeg

nope, that did nothing.

I have installed kazam and that works fine, just sucks that the installed screen recorder doesnt work for me for some reason.

Vokoscreen uses libav or ffmpeg directly.
Would be interesting to see the error output of vokoscreen when run from the terminal. (Please use quote or code tags to paste that terminal output here in the forum)

@leszek, This person already posted the output from the terminal.

Upps, somehow my mobile phone did not show that command output. Strange.
What would be interesting is the output of this command

This should throw an error which might help debugging this problem.

@TheMadOne
First, try it without the usb Yeti Stereo Microphone connected.

I just ran vokoscreen and it is working fine on my machine, I’m not getting a crash, it’s recording fine.

Here is my output:

[code]vokoscreen

[vokoscreen] Locale: “en_US”
[vokoscreen] Version: “1.9.0”
[vokoscreen] Qt Version: 4.8.6
[vokoscreen] asoundlib Version: “1.0.28”

[vokoscreen] —Begin Search external tools—
[vokoscreen] Find ffmpeg Version: “02.03.3()2000-2014”
[vokoscreen] Find pactl
[vokoscreen] Find mkvmerge
[vokoscreen] —End search external tools—

[vokoscreen] —Begin search Videoplayer—
[vokoscreen] Find Videoplayer : “/usr/bin/ffplay”
[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] Find CaptureCard: “Monitor of Built-in Audio Analog Stereo” with device: “alsa_output.pci-0000_00_1b.0.analog-stereo.monitor”
[vokoscreen] Find CaptureCard: “Built-in Audio Analog Stereo” with device: “alsa_input.pci-0000_00_1b.0.analog-stereo”
[vokoscreen] Find CaptureCard: “VMS4 AUDIO MIDI Device Analog 4-channel Input” with device: “alsa_input.usb-American_Audio_VMS4_AUDIO_MIDI_Device_140262614-00-Device.analog-4-channel-input”
[vokoscreen] —End search PulseAudio Capture Devices—

[vokoscreen] Report : "-report "
[vokoscreen] ffmpegcommand : “ffmpeg -report -f alsa -i pulse -f x11grab -r 25 -s 1600x900 -i :0.0+0,0 -pix_fmt yuv420p -vcodec mpeg4 -acodec libmp3lame -ar 44100 -qscale 1 -r 25 /tmp/vokoscreen-vokoscreen/vokoscreen-2014-09-26_04-12-38.mkv”

[vokoscreen] ffmpeg is running and is ready for reading and writing
[vokoscreen] Download of http://kohaupt-online.de/hp/version/VERSION succeeded (saved to vokoscreenVERSION)

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

[vokoscreen] —Begin Pulse unload Module—
[vokoscreen] —End Pulse unload Module—[/code]

nope still a no go, wonder whats happening here.
in any case will probably just be rid of vokoscreen now that kazaam seems to work fine.
Keep this thread in reference though

I think I see the issue remove mplayer and smplayer, I remember reading a while ago that vokoskreen sometimes has issues with mplayer…

No that changed nothing, vokoscreen is simply broken on my system.

I am still waiting for the ffmpeg command output (see my last comment). This might give us a clue what’s going wrong.

ffmpeg -report -f alsa -i pulse -f x11grab -r 25 -s 1366x768 -i :0.0+0,0 -pix_fmt yuv420p -vcodec mpeg4 -acodec libmp3lame -ar 48000 -qscale 1 -r 25 /tmp/vokoscreen-2014-09-25_23-35-00.mkv ffmpeg started on 2014-10-01 at 11:36:29 Report written to "ffmpeg-20141001-113629.log" ffmpeg version 2.3.3 Copyright (c) 2000-2014 the FFmpeg developers built on Sep 7 2014 10:33:28 with gcc 4.9.1 (GCC) configuration: --prefix=/usr --disable-debug --disable-static --enable-avisynth --enable-avresample --enable-decoder=atrac3 --enable-decoder=atrac3p --enable-dxva2 --enable-fontconfig --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-pic --enable-postproc --enable-runtime-cpudetect --enable-shared --enable-swresample --enable-vdpau --enable-version3 --enable-x11grab libavutil 52. 92.100 / 52. 92.100 libavcodec 55. 69.100 / 55. 69.100 libavformat 55. 48.100 / 55. 48.100 libavdevice 55. 13.102 / 55. 13.102 libavfilter 4. 11.100 / 4. 11.100 libavresample 1. 3. 0 / 1. 3. 0 libswscale 2. 6.100 / 2. 6.100 libswresample 0. 19.100 / 0. 19.100 libpostproc 52. 3.100 / 52. 3.100 Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, alsa, from 'pulse': Duration: N/A, start: 1412177789.072068, bitrate: 1536 kb/s Stream #0:0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s [x11grab @ 0x17971c0] device: :0.0+0,0 -> display: :0.0 x: 0 y: 0 width: 1366 height: 768 [x11grab @ 0x17971c0] shared memory extension found Input #1, x11grab, from ':0.0+0,0': Duration: N/A, start: 1412177789.129003, bitrate: 839270 kb/s Stream #1:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1366x768, 839270 kb/s, 25 tbr, 1000k tbn, 25 tbc Please use -q:a or -q:v, -qscale is ambiguous File '/tmp/vokoscreen-2014-09-25_23-35-00.mkv' already exists. Overwrite ? [y/N] y Output #0, matroska, to '/tmp/vokoscreen-2014-09-25_23-35-00.mkv': Metadata: encoder : Lavf55.48.100 Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1366x768, q=2-31, 200 kb/s, 25 fps, 1k tbn, 25 tbc Metadata: encoder : Lavc55.69.100 mpeg4 Stream #0:1: Audio: mp3 (libmp3lame) (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p Metadata: encoder : Lavc55.69.100 libmp3lame Stream mapping: Stream #1:0 -> #0:0 (rawvideo (native) -> mpeg4 (native)) Stream #0:0 -> #0:1 (pcm_s16le (native) -> mp3 (libmp3lame)) Press [q] to stop, [?] for help [swscaler @ 0x173b060] Warning: data is not aligned! This can lead to a speedloss frame= 28 fps=0.0 q=1.0 size= 1336kB time=00:00:01.12 bitrate=9772.2kbits/sframe= 60 fps= 60 q=1.0 size= 1997kB time=00:00:02.40 bitrate=6817.8kbits/sframe= 94 fps= 62 q=1.0 size= 2758kB time=00:00:03.76 bitrate=6010.0kbits/sframe= 117 fps= 58 q=1.0 size= 3432kB time=00:00:06.26 bitrate=4489.2kbits/sframe= 130 fps= 52 q=1.0 size= 3878kB time=00:00:07.46 bitrate=4257.1kbits/sframe= 143 fps= 47 q=1.0 size= 4273kB time=00:00:08.87 bitrate=3942.3kbits/sframe= 155 fps= 44 q=1.0 size= 4580kB time=00:00:09.93 bitrate=3776.5kbits/sframe= 168 fps= 42 q=1.0 size= 4962kB time=00:00:10.84 bitrate=3747.4kbits/sframe= 179 fps= 39 q=1.0 size= 6607kB time=00:00:11.37 bitrate=4758.0kbits/sframe= 192 fps= 38 q=1.0 size= 8158kB time=00:00:11.85 bitrate=5637.6kbits/sframe= 204 fps= 37 q=1.0 size= 8800kB time=00:00:12.38 bitrate=5821.4kbits/sframe= 217 fps= 36 q=1.0 size= 9706kB time=00:00:12.83 bitrate=6193.0kbits/sframe= 230 fps= 35 q=1.0 size= 10246kB time=00:00:13.36 bitrate=6279.5kbits/sframe= 242 fps= 34 q=1.0 size= 10773kB time=00:00:13.87 bitrate=6362.4kbits/sframe= 255 fps= 34 q=1.0 size= 11421kB time=00:00:14.37 bitrate=6508.7kbits/sframe= 263 fps= 33 q=1.0 size= 12801kB time=00:00:14.87 bitrate=7047.7kbits/sframe= 274 fps= 32 q=1.0 size= 14124kB time=00:00:15.35 bitrate=7533.0kbits/sframe= 287 fps= 32 q=1.0 size= 14790kB time=00:00:15.88 bitrate=7626.1kbits/sframe= 296 fps= 31 q=1.0 size= 16463kB time=00:00:16.39 bitrate=8228.1kbits/sframe= 305 fps= 30 q=1.0 size= 17955kB time=00:00:16.89 bitrate=8706.3kbits/sframe= 317 fps= 30 q=1.0 size= 19584kB time=00:00:17.42 bitrate=9207.8kbits/sframe= 330 fps= 30 q=1.0 size= 20439kB time=00:00:17.90 bitrate=9352.6kbits/sframe= 341 fps= 29 q=1.0 size= 21363kB time=00:00:18.43 bitrate=9495.1kbits/sframe= 348 fps= 29 q=1.0 size= 22678kB time=00:00:18.95 bitrate=9799.0kbits/sframe= 360 fps= 28 q=1.0 size= 24243kB time=00:00:19.46 bitrate=10203.9kbits/frame= 373 fps= 28 q=1.0 size= 26150kB time=00:00:19.99 bitrate=10715.8kbits/frame= 386 fps= 28 q=1.0 size= 27835kB time=00:00:20.49 bitrate=11125.8kbits/frame= 398 fps= 28 q=1.0 size= 29354kB time=00:00:20.99 bitrate=11451.4kbits/frame= 411 fps= 28 q=1.0 size= 31026kB time=00:00:21.50 bitrate=11819.8kbits/frame= 424 fps= 28 q=1.0 size= 31985kB time=00:00:21.98 bitrate=11918.6kbits/frame= 437 fps= 28 q=1.0 size= 32510kB time=00:00:22.51 bitrate=11830.7kbits/frame= 450 fps= 28 q=1.0 size= 33002kB time=00:00:23.01 bitrate=11746.2kbits/frame= 463 fps= 28 q=1.0 size= 33510kB time=00:00:23.54 bitrate=11659.7kbits/frame= 475 fps= 28 q=1.0 size= 33752kB time=00:00:24.04 bitrate=11498.1kbits/frame= 488 fps= 28 q=1.0 size= 33978kB time=00:00:24.55 bitrate=11337.6kbits/frame= 501 fps= 27 q=1.0 size= 34236kB time=00:00:25.05 bitrate=11193.8kbits/frame= 514 fps= 27 q=1.0 size= 34470kB time=00:00:25.58 bitrate=11037.6kbits/frame= 526 fps= 27 q=1.0 size= 34916kB time=00:00:26.06 bitrate=10974.7kbits/frame= 539 fps= 27 q=1.0 size= 35368kB time=00:00:26.56 bitrate=10905.7kbits/frame= 552 fps= 27 q=1.0 size= 35901kB time=00:00:27.07 bitrate=10864.0kbits/frame= 564 fps= 27 q=1.0 size= 36432kB time=00:00:27.62 bitrate=10804.5kbits/frame= 572 fps= 27 q=1.0 Lsize= 37042kB time=00:00:28.03 bitrate=10825.3kbits/s video:36589kB audio:438kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.039424%

Hmm… so that command seems to work. Please check if the /tmp/vokoscreen-*.mkv file recorded your desktop.
If it worked its not a ffmpeg issue but a vokoscreen gui issue somehow.

No I only have a video in /tmp/

Does that mean the above ffmpeg command recorded a video successfully or not.
From the output I see it recorded something.

My output looks very similar to yours so I can’t tell where it is failing on you. Does the GUI disepair on you or is it that you just can’t find the files it created? By default vokoscreen saves it’s videos under /home/{user_name}/Videos.

Could you post your graphics chip and whether or not your using the free (opensource) or non-free (proprietary) drivers? All of my systems are Intel only so this may be why I’m not getting the issue.

I am using the opensource driver, I know where vokoscreen usually puts its files but it doesnt record a split second of video.
It just stops.

I am using a old ATI HD4200 card here which by now doesnt have prorpietary drivers in linux anymore.
I have to use the open source driver

Have you tried installing the Vokoscreen 2.0.0-1 version from the AUR?

yaourt -S vokoscreen

I’m thinking that this might just be some kind of unique compatibility bug with the 1.9.0-1 version from the blueshell repository, maybe something to do with it being compiled against older libraries, or something similar.

As vokoscreen is usually only compiled against qt4 and not against libav or something (it just uses avconc or ffmpeg command directly) I can only imaging it failing because of the ffmpeg output being different then expected. Vokoscreen tries to scan the output of the command to interactively show the framerate when recording.

Yes, but couldn’t some of the changes to the latest ffmpeg update be changing the output just enough that the older version of vokoscreen doesn’t understand them.

Here is the ffmpeg release notes for version 2.3.3
http://git.videolan.org/?p=ffmpeg.git;a=blob;f=RELEASE_NOTES;hb=489d066

The next update pack will include ffmpeg 2.4.1, here is those release notes:
http://git.videolan.org/?p=ffmpeg.git;a=blob;f=RELEASE_NOTES;hb=release/2.4

There is also ffmpeg-compat in the repositories that provides an older ffmpeg version.