Page 4 of 4 FirstFirst ... 234
Results 31 to 39 of 39

Thread: HOWTO: Record Internal Audio Mix with gtk-recordmydesktop using PulseAudio and JACK

  1. #31
    Join Date
    Sep 2006
    Beans
    548

    Re: HOWTO: Record Internal Audio Mix with gtk-recordmydesktop using PulseAudio and J

    It doesn't work for me, just records silence, this is what I get:

    Code:
    1) Audacious: xxxxx
    2) VBox: temp liveCD (pcm_out)
    3) ALSA plug-in [firefox]: ALSA Playback
    
    ID of stream to record: 3
    Loading a null sink...
    Starting recorder...
    Encoding standard input to 
             "recording.ogg" 
    at approximate bitrate 96 kbps (VBR encoding enabled)
    Recording raw data 'stdin' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
    	Encoding [ 0m01s so far] | Moving ALSA Playback to null.2...
    You have to specify a sink input index and a sink
    Moving recorder to null.2...
    You have to specify a source output index and a source
    Stream recording to recording.ogg!
    	Encoding [ 0m15s so far] | ^CAborted by signal Interrupt...
    Exception KeyboardInterrupt in <module 'threading' from '/usr/lib/python2.6/threading.pyc'> ignored

  2. #32
    Join Date
    Nov 2005
    Location
    Leeds, UK
    Beans
    1,634
    Distro
    Ubuntu Development Release

    Re: HOWTO: Record Internal Audio Mix with gtk-recordmydesktop using PulseAudio and J

    Hmm, for some reason I can't replicate that problem. Could you post the output of pactl stat at the point that you run the script?
    Do you have jack or something else running that may interfere with the script? I really want to get it working for all main environments but I don't really have them set up here so if you could help me debug this, that would be great!

    You could try changing:
    Code:
    # Move stream to null sink
    print "Moving %s to %s..."%(streams[stream_id][1],null_name)
    os.popen('pactl move-sink-input %s %s'%(stream_id,null_name))
    
    # Move recorder to null monitor
    print "Moving recorder to %s..."%null_name
    os.popen('pactl move-source-output %s %s'%(recorder_id,null_name+".monitor"))
    to:
    Code:
    # Move stream to null sink
    print "Moving %s to %s..."%(streams[stream_id][1],null_name)
    os.popen('pactl move-sink-input "%s" "%s"'%(stream_id,null_name))
    
    # Move recorder to null monitor
    print "Moving recorder to %s..."%null_name
    os.popen('pactl move-source-output "%s" "%s"'%(recorder_id,null_name+".monitor"))
    That may help. I really should have done that from the start.

  3. #33
    Join Date
    Jun 2007
    Beans
    3

    Re: HOWTO: Record Internal Audio Mix with gtk-recordmydesktop using PulseAudio and J

    So I'm sure this is the same as what you're doing or an easier way to do it. (first in volume control, go to preferences and make sure capture mux, speaker, and capture are on, (also go to the recording tab and drag both bars up))

    Go into the terminal and type:

    sudo apt-get install pavucontrol

    then when that's finished type:

    pavucontrol

    then start your audio and in another terminal type:

    arecord -c 2 -f cd test

    (so that you are both playing audio and recording it)
    then, the last step, in pavucontrol go to the recording tab and click the down arrow to the right of "ALSA Capture" >> click "Move Stream" >> click "Monitor source of ALSA PCM...."

    I don't know if this an actual easier way or what you're describing but you guys are just doing it in more depth but that's what worked for me and it's pretty easy. (Aka, feedback's good so I can know if I just repeated everything like an idiot or not)

  4. #34
    Join Date
    Nov 2005
    Location
    Leeds, UK
    Beans
    1,634
    Distro
    Ubuntu Development Release

    Re: HOWTO: Record Internal Audio Mix with gtk-recordmydesktop using PulseAudio and J

    Yeah, thats pretty much what the other methods are about but I think PA's changed a bit since this thread started.

  5. #35
    Join Date
    Feb 2005
    Beans
    126
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: HOWTO: Record Internal Audio Mix with gtk-recordmydesktop using PulseAudio and J

    1.Install gtk-recordmydesktop.
    2.Press the red button on the taskbar.
    3.Press the same button when done recording.
    4.Watch video with audio.

    You don't need Jack, or anything else, except a working system.

  6. #36
    Join Date
    Sep 2009
    Beans
    401
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Record Internal Audio Mix with gtk-recordmydesktop using PulseAudio and J

    Quote Originally Posted by Anubis View Post
    You don't need Jack, or anything else, except a working system
    ... with a 16bit sound card from 1997.

    Welcome to 2010. Audio loopback in hardware is a thing of the past.

  7. #37
    Join Date
    Jul 2008
    Beans
    21

    Re: HOWTO: Record Internal Audio Mix with gtk-recordmydesktop using PulseAudio and J

    I'm maybe off topic but pulse do have the transfer function for recording called "Monitor device ..."

    take a look at http://blog.stebalien.com/2009/03/ho...uter-with.html
    or
    https://wiki.ubuntu.com/PulseAudio#Recording example using PulseAudio and Audacity the latest one ie last part

  8. #38
    Join Date
    Mar 2009
    Location
    Jipijapa/Manabí/Ecuador
    Beans
    10
    Distro
    Ubuntu

    Re: HOWTO: Record Internal Audio Mix with gtk-recordmydesktop using PulseAudio and J

    the only way to work Recordmydesktop from Jack

    O.S. used UbuntuStudio 12.04.2 (32bits), Laptop Dell Inspiron 1750


    Steps I did:

    I uninstalled (via Synaptic):

    recordmydesktop (this dont working)
    gtk-recordmydesktop

    Note: This uninstalled Kdenlive, but then returned to install.

    I Download:

    recordmydesktop_0.3.8.1 svn602-2 + + jackfix_i386.deb

    from:

    http://www.remastersys.com/forums/in...p?topic=1608.0

    and install it from the terminal: sudo dpkg-i *. deb:

    Then I installed (via Synaptic):

    gtk-recordmydesktop

    Ready now

    I opened Jack Control (QjackCtl) and run Jack Server (Play button)

    With Gtk-recordmydesktop opened, in Tab "Sound" Select the audio to be captured from Jack (crushing Ctrl):

    system: capture_1
    system: capture_2

    I closed the window, and click Record buttom

    STEREO MIX
    You must configure your PC in pulseaudio Tab "Input devices" in "Port" record from the microphone of the laptop (if you have it) adjust the volume, I have to put such halfway to not sound ugly, or "Line In" if you use a external Mic. And Jack Control (qjackctl) you must click on the "Connections" tab "Audio" manually connect the music player that is playing to "recordmydesktop", you can use:

    Audacious (must choose "File / Preferences / Output Options" JACK)
    VLC (but must install from Synaptic vlc-plugin-jack





    and ready, that's all, ESTERO MIX WITH JACK FROM RECORDMYDESKCOP

    Saturday 13 April 2013 10:12
    Last edited by wachin; April 13th, 2013 at 06:11 PM.

  9. #39
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    14,845
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Record Internal Audio Mix with gtk-recordmydesktop using PulseAudio and J

    Thanks for sharingThread closed. Please do not post in old threads.

Page 4 of 4 FirstFirst ... 234

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •