Recording application video with sound: Alsa + Recordmydesktop

How to capture video from an application with the sound?

Continue reading “Recording application video with sound: Alsa + Recordmydesktop”

Don’t know if it’s by default, but in my Xubuntu, only a sound from the microphone can be recorded. This link came with help: https://trac.ffmpeg.org/wiki/Capture/ALSA. How to do the same with a recordmydesktop application:

  1. Create .asoundrc file in Your home directory like in mentioned webpage:
    # .asoundrc
    # uncomment to record audio from applications. uncomment afterwards to
    # restore default Alsa settings:
    # pcm.!default { type plug slave.pcm "hw:Loopback,0,0" }
    

    When the last line is uncommented, there will be no sound for every application launched from that moment, because generally it’s redirected to the recording output.

  2. Load the snd_aloop module:
    modprobe snd-aloop pcm_substreams=1
    
  3. Launch an application, from which the video will be captured. Check it’s window id with xwinfo and by pointing application’s window:
    xwininfo | grep 'id:'
    
  4. Invoke recordmydesktop with hw:Loopback,1,0 as a sound device. PID will be needed to send signal to stop recording (‘& echo$!’)
    recordmydesktop --windowid [application wid] --device
    hw:Loopback,1,0 --v_quality 45 --s_quality 7 --overwrite & echo $!
    
  5. Stop recording by sending SIGTERM signal:
    kill -s SIGTERM [recordmydesktop PID]
    
  6. Uncomment line in .asoundrc file to restore Alsa settings.

Mass e-mails: avoid being marked as a spam.

For four months now I’m volunteering my time at Uniwersytet Dzieci organization (a child university). Amongs the others I’m helping in running lessons about the Blender software. Lessons are crowned with a show, where students can present their new skills. After organizing students mailing list I’ve encountered some problems.

Continue reading “Mass e-mails: avoid being marked as a spam.”

The problem

I’ve gathered more than 40 emails to write to students about their roles in the show. I’ve created a couple of mailing lists, e.g. the list including all of the students. First mail was composed by adding this list as BCC to make addresses private. On the last lesson I’ve realized, that Gmail users had not received my mail, while students with addresses from other domains did.

The reason is unknown, but I’ve searched the web and have found some clues:

  • filters can reject mails, where receiver is in BCC
  • filters can reject mails if there is a big number of receivers
  • filters can reject mails if the server had received a big amount of messages from one address in a short period of time

I’m not completely sure if above statements are true (it was a quick search throught the forums), but none the less, Gmail was rejecting my mass messages, while individual written mails were delievered.

The solution

Thunderbird Mail Merge add on.

I’m composing mails from mailing lists as always, but instead messages are sent:

  • individually (just like I would send mails one by one)
  • in a 10 seconds intervals

I don’t know if this solves a problem, but I’m sure that there is no more I can do to avoid spam filters. Because in the end: Mail Merge is doing the same job, as if I would compose 40 emails one by one.