[Ekiga-list] How can I record an Ekiga conversation ?

Mario Rossi mariofutire at googlemail.com
Wed Dec 20 16:58:05 UTC 2006


>easier way: using Alsa. Read the thread:
>http://tech.groups.yahoo.com/group/twinklephone/message/790

Since Ekiga does not let the user choose the device, I've managed to
create a .asoundrc for this purpose (I'm not sure about the difference
between "file" and "tee")

pcm.input_raw {
        type file
        slave.pcm "hw:0,0"
        file "/tmp/input.raw"
}

pcm.output_raw {
        type file
        slave.pcm "hw:0,0"
        file "/tmp/output.raw"
}

pcm.playback {
        type plug
        slave {
                pcm "output_raw"
#               format S16_LE
#               channels 2
#               rate 48000
        }
}

pcm.capture {
        type plug
        slave {
                pcm "input_raw"
#               format S16_LE
#               channels 2
#               rate 48000
        }
}

pcm.!default {
        type asym
        playback.pcm "playback"
        capture.pcm "capture"
}

Then, choosing DEFAULT everything is recorded.
To play those files

aplay -f S16_LE -r8000 -c 2 XXXX.raw

It would be good to force a format, so that one has not to guess what
has been used (I imagine it depends on the codec used). But it does
not work for Ekiga.



More information about the ekiga-list mailing list