Announcement

Collapse
No announcement yet.

Record Desktop with Sound?? (SOlved!!! Hurray)

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Record Desktop with Sound?? (SOlved!!! Hurray)

    I used this
    ffmpeg -r 30 -s 1366x768 -f x11grab -i :0.0 -vcodec msmpeg4v2 -qscale 2 filename.avi
    But i dont get any sound recording it...:/

    Is there a command like the one I use that comes with sound?? Thanks
    So what should i do totally lost.

    Thanks

    P.D.

    Plz if u know of any tool that works good for u while recording plz say so...Thanks

    #2
    Re: Install recorditnow latest version 0.8

    make shure you have build-essential installed to be able to compile.

    howevr I havent had good luck with recorditnow geting sound and vid together.

    IF you have ffmpeg this dose well

    Code:
    vinny@desktop:~$ ffmpeg -f x11grab -s xga -r 25 -i :0.0 -f oss -i /dev/dsp /tmp/out1.avi
    for a 1024x768 screen grab with sound check man ffmpeg for more size options -s

    VINNY
    i7 4core HT 8MB L3 2.9GHz
    16GB RAM
    Nvidia GTX 860M 4GB RAM 1152 cuda cores

    Comment


      #3
      Re: Install recorditnow latest version 0.8

      Tried ur command viny but i prefer mine.. :/ thanks anyways.

      ANy feedback of tools or recording commands plz!?

      Comment


        #4
        Re: Record Desktop with Sound?? (Tried almost every tool in KDE)

        thats fine use yours just insert this part
        -f oss -i /dev/dsp
        for sound

        -f =force oss =the sound system -i =input /dev/dsp whar to get the input from

        man ffmpeg is your frend

        so something like this may be more to your liking

        Code:
        ffmpeg -r 30 -s 1366x768 -f x11grab -i :0.0 -f oss -i /dev/dsp -vcodec msmpeg4v2 -qscale 2 filename.avi
        just tested it and works fine hear of coarse I had to change to 1024x768 as thats my screen size but worked great........yes I like your choice of options better

        VINNY
        i7 4core HT 8MB L3 2.9GHz
        16GB RAM
        Nvidia GTX 860M 4GB RAM 1152 cuda cores

        Comment


          #5
          Re: Record Desktop with Sound?? (Tried almost every tool in KDE)

          Hey that sounds awesome vinny the only problem now is I get this messege:

          [oss @ 0x8e54b90]/dev/dsp: No such file or directory

          So i cant playback either way I suppose I just have to change ''dsp'' for my sound device right Got any idea of what it is?? My computer is a laptop...i went to the directory of dev and found out these files.
          Attached Files

          Comment


            #6
            Re: Record Desktop with Sound?? (Tried almost every tool in KDE)

            sorry no I don't know what your audio is piping through hears my /dev
            vinny@desktop:~$ ls /dev
            Code:
            agpgart     hidraw0       oldmem  ram9    sg1    tty16 tty37 tty58  vboxnetctl
            audio      hpet        parport0 random   sg2    tty17 tty38 tty59  vboxusb
            audio1      input        pktcdvd  rfkill   sg3    tty18 tty39 tty6   vcs
            block      kmsg        port   root    sg4    tty19 tty4  tty60  vcs1
            bsg       log         ppp    rtc     sg5    tty2  tty40 tty61  vcs2
            bus       loop0        psaux   rtc0    sg6    tty20 tty41 tty62  vcs3
            cdrom      loop1        ptmx   scd0    shm    tty21 tty42 tty63  vcs4
            cdrw       loop2        pts    sda     snapshot tty22 tty43 tty7   vcs5
            char       loop3        ram0   sda1    snd    tty23 tty44 tty8   vcs6
            console     loop4        ram1   sdb     sndstat  tty24 tty45 tty9   vcs7
            core       loop5        ram10   sdb1    sr0    tty25 tty46 ttyS0  vcsa
            cpu_dma_latency loop6        ram11   sdb2    stderr  tty26 tty47 ttyS1  vcsa1
            disk       loop7        ram12   sdb3    stdin   tty27 tty48 ttyS2  vcsa2
            dri       lp0         ram13   sdb4    stdout  tty28 tty49 ttyS3  vcsa3
            dsp       mapper       ram14   sdb5    tty    tty29 tty5  urandom vcsa4
            dsp1       mcelog       ram15   sdb6    tty0   tty3  tty50 usbmon0 vcsa5
            dvd       mem         ram2   sdc     tty1   tty30 tty51 usbmon1 vcsa6
            dvdrw      mixer        ram3   sdd     tty10   tty31 tty52 usbmon2 vcsa7
            ecryptfs     mixer1       ram4   sde     tty11   tty32 tty53 usbmon3 vga_arbiter
            fb0       net         ram5   sdf     tty12   tty33 tty54 usbmon4 video0
            fd        network_latency   ram6   sequencer  tty13   tty34 tty55 usbmon5 zero
            full       network_throughput ram7   sequencer2 tty14   tty35 tty56 v4l
            fuse       null        ram8   sg0     tty15   tty36 tty57 vboxdrv
            vinny@desktop:~$
            you will half to find the right character device for you sound.

            VINNY
            i7 4core HT 8MB L3 2.9GHz
            16GB RAM
            Nvidia GTX 860M 4GB RAM 1152 cuda cores

            Comment


              #7
              Re: Record Desktop with Sound?? (Tried almost every tool in KDE)

              Oks I will compare it with mine right away ^^ Thanks


              kira@kira-Satellite-A665:/dev$ ls
              Code:
              agpgart     loop4        ram7   tty13 tty41 ttyS3
              autofs      loop5        ram8   tty14 tty42 uinput
              block      loop6        ram9   tty15 tty43 urandom
              bsg       loop7        random  tty16 tty44 usbmon0
              btrfs-control  mapper       rfkill  tty17 tty45 usbmon1
              bus       mcelog       root   tty18 tty46 usbmon2
              cdrom      mem         rtc    tty19 tty47 v4l
              cdrw       net         rtc0   tty2  tty48 vboxdrv
              char       network_latency   scd0   tty20 tty49 vboxnetctl
              console     network_throughput sda    tty21 tty5  vcs
              core       null        sda1   tty22 tty50 vcs1
              cpu       oldmem       sda2   tty23 tty51 vcs2
              cpu_dma_latency pktcdvd       sda3   tty24 tty52 vcs3
              disk       port        sda4   tty25 tty53 vcs4
              dri       ppp         sda5   tty26 tty54 vcs5
              dvd       psaux        sda6   tty27 tty55 vcs6
              dvdrw      ptmx        sg0    tty28 tty56 vcs7
              ecryptfs     pts         sg1    tty29 tty57 vcs8
              fb0       ram0        shm    tty3  tty58 vcsa
              fd        ram1        snapshot tty30 tty59 vcsa1
              full       ram10        snd    tty31 tty6  vcsa2
              fuse       ram11        sr0    tty32 tty60 vcsa3
              hidraw0     ram12        stderr  tty33 tty61 vcsa4
              hpet       ram13        stdin   tty34 tty62 vcsa5
              input      ram14        stdout  tty35 tty63 vcsa6
              kmsg       ram15        tty    tty36 tty7  vcsa7
              log       ram2        tty0   tty37 tty8  vcsa8
              loop0      ram3        tty1   tty38 tty9  vga_arbiter
              loop1      ram4        tty10   tty39 ttyS0 video0
              loop2      ram5        tty11   tty4  ttyS1 zero
              loop3      ram6        tty12   tty40 ttyS2
              kira@kira-Satellite-A665:/dev$

              Comment


                #8
                Re: Record Desktop with Sound?? (Tried almost every tool in KDE)

                Tried...almost all devices in there...at least the ones I thought might be...is there anyway to find out what sound device Im using?? for capture and output sound Thanks.

                Comment


                  #9
                  Re: Record Desktop with Sound?? (Tried almost every tool in KDE)

                  kiraitachi post the output of
                  Code:
                  lsmod
                  for me will ya ...after some research I think I have a lead.



                  VINNY
                  i7 4core HT 8MB L3 2.9GHz
                  16GB RAM
                  Nvidia GTX 860M 4GB RAM 1152 cuda cores

                  Comment


                    #10
                    Re: Record Desktop with Sound?? (Tried almost every tool in KDE)

                    Done as said

                    kira@kira-Satellite-A665:~$ lsmod
                    Module Size Used by
                    usbhid 36978 0
                    hid 67742 1 usbhid
                    joydev 8767 0
                    parport_pc 26378 0
                    ppdev 5556 0
                    vboxnetadp 6454 0
                    vboxnetflt 15152 0
                    vboxdrv 190647 2 vboxnetadp,vboxnetflt
                    snd_hda_codec_intelhdmi 9812 1
                    snd_hda_codec_realtek 218492 1
                    arc4 1165 2
                    snd_hda_intel 22267 4
                    snd_hda_codec 87552 3 snd_hda_codec_intelhdmi,snd_hda_codec_realtek,snd_ hda_intel
                    i915 295915 4
                    snd_hwdep 5040 1 snd_hda_codec
                    snd_pcm 71603 3 snd_hda_intel,snd_hda_codec
                    snd_seq_midi 4588 0
                    snd_rawmidi 17783 1 snd_seq_midi
                    drm_kms_helper 30200 1 i915
                    snd_seq_midi_event 6047 1 snd_seq_midi
                    snd_seq 47174 2 snd_seq_midi,snd_seq_midi_event
                    drm 168764 4 i915,drm_kms_helper
                    snd_timer 19067 2 snd_pcm,snd_seq
                    snd_seq_device 5744 3 snd_seq_midi,snd_rawmidi,snd_seq
                    iwlagn 179815 0
                    iwlcore 127479 1 iwlagn
                    mac80211 231959 2 iwlagn,iwlcore
                    uvcvideo 55911 0
                    snd 49038 16 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec, snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,sn d_seq_device
                    videodev 43098 1 uvcvideo
                    v4l1_compat 13359 2 uvcvideo,videodev
                    intel_agp 26926 2 i915
                    psmouse 59033 0
                    cfg80211 144694 3 iwlagn,iwlcore,mac80211
                    serio_raw 4022 0
                    jmb38x_ms 7483 0
                    i2c_algo_bit 5168 1 i915
                    soundcore 880 1 snd
                    intel_ips 11101 0
                    snd_page_alloc 7216 2 snd_hda_intel,snd_pcm
                    agpgart 32075 2 drm,intel_agp
                    memstick 8249 1 jmb38x_ms
                    video 18712 1 i915
                    output 1883 1 video
                    lp 7342 0
                    parport 31492 3 parport_pc,ppdev,lp
                    ahci 19198 2
                    libahci 21792 1 ahci
                    r8169 36777 0
                    mii 4425 1 r8169
                    sdhci_pci 6339 0
                    sdhci 15954 1 sdhci_pci
                    led_class 2633 1 sdhci
                    kira@kira-Satellite-A665:~$

                    Thanks Vinny for you're help, it is much appreciated that you help me out with this issued ^^.

                    Comment


                      #11
                      Re: Record Desktop with Sound?? (Tried almost every tool in KDE)

                      Originally posted by kiraitachi
                      Done as said

                      kira@kira-Satellite-A665:~$ lsmod
                      Module Size Used by
                      usbhid 36978 0
                      hid 67742 1 usbhid
                      joydev 8767 0
                      parport_pc 26378 0
                      ppdev 5556 0
                      vboxnetadp 6454 0
                      vboxnetflt 15152 0
                      vboxdrv 190647 2 vboxnetadp,vboxnetflt
                      snd_hda_codec_intelhdmi 9812 1
                      snd_hda_codec_realtek 218492 1
                      arc4 1165 2
                      snd_hda_intel 22267 4
                      snd_hda_codec 87552 3 snd_hda_codec_intelhdmi,snd_hda_codec_realtek,snd_ hda_intel
                      i915 295915 4
                      snd_hwdep 5040 1 snd_hda_codec
                      snd_pcm 71603 3 snd_hda_intel,snd_hda_codec
                      snd_seq_midi 4588 0
                      snd_rawmidi 17783 1 snd_seq_midi
                      drm_kms_helper 30200 1 i915
                      snd_seq_midi_event 6047 1 snd_seq_midi
                      snd_seq 47174 2 snd_seq_midi,snd_seq_midi_event
                      drm 168764 4 i915,drm_kms_helper
                      snd_timer 19067 2 snd_pcm,snd_seq
                      snd_seq_device 5744 3 snd_seq_midi,snd_rawmidi,snd_seq
                      iwlagn 179815 0
                      iwlcore 127479 1 iwlagn
                      mac80211 231959 2 iwlagn,iwlcore
                      uvcvideo 55911 0
                      snd 49038 16 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec, snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,sn d_seq_device
                      videodev 43098 1 uvcvideo
                      v4l1_compat 13359 2 uvcvideo,videodev
                      intel_agp 26926 2 i915
                      psmouse 59033 0
                      cfg80211 144694 3 iwlagn,iwlcore,mac80211
                      serio_raw 4022 0
                      jmb38x_ms 7483 0
                      i2c_algo_bit 5168 1 i915
                      soundcore 880 1 snd
                      intel_ips 11101 0
                      snd_page_alloc 7216 2 snd_hda_intel,snd_pcm
                      agpgart 32075 2 drm,intel_agp
                      memstick 8249 1 jmb38x_ms
                      video 18712 1 i915
                      output 1883 1 video
                      lp 7342 0
                      parport 31492 3 parport_pc,ppdev,lp
                      ahci 19198 2
                      libahci 21792 1 ahci
                      r8169 36777 0
                      mii 4425 1 r8169
                      sdhci_pci 6339 0
                      sdhci 15954 1 sdhci_pci
                      led_class 2633 1 sdhci
                      kira@kira-Satellite-A665:~$

                      Thanks Vinny for you're help, it is much appreciated that you help me out with this issue ^^.

                      Comment


                        #12
                        Re: Record Desktop with Sound?? (Tried almost every tool in KDE)

                        OK so it seems as though the newer ver of *buntu that use pulse dont load the oss moduals as it can caws pulse not to reload.

                        try a
                        modprobe snd-pcm-oss
                        and a
                        modprobe snd-mixer-oss
                        and see if the /dev/dsp is then created.

                        VINNY
                        i7 4core HT 8MB L3 2.9GHz
                        16GB RAM
                        Nvidia GTX 860M 4GB RAM 1152 cuda cores

                        Comment


                          #13
                          Re: Record Desktop with Sound?? (Tried almost every tool in KDE)

                          Before doing what you said look at this, I was messing around with Recorditnow and found this

                          kira@kira-Satellite-A665:~$ modprobe snd-pcm-oss
                          FATAL: Module snd_pcm_oss not found.
                          kira@kira-Satellite-A665:~$ modprobe snd-mixer-oss
                          FATAL: Module snd_mixer_oss not found.
                          kira@kira-Satellite-A665:~$
                          Attached Files

                          Comment


                            #14
                            Re: Record Desktop with Sound?? (Tried almost every tool in KDE)

                            ya I dont have eney luck with that though ....I can get sound but bad vid or good vid but no sound.........if you have better luck with it then good

                            if your not geting sound with hw:0,0 try pulse.

                            VINNY
                            i7 4core HT 8MB L3 2.9GHz
                            16GB RAM
                            Nvidia GTX 860M 4GB RAM 1152 cuda cores

                            Comment


                              #15
                              Re: Record Desktop with Sound?? (Tried almost every tool in KDE)

                              more

                              vinny@desktop:~$ modinfo snd-pcm-oss
                              filename: /lib/modules/2.6.32-28-generic/kernel/sound/core/oss/snd-pcm-oss.ko
                              alias: sound-service-?-12
                              alias: sound-service-?-3
                              license: GPL
                              description: PCM OSS emulation for ALSA.
                              author: Jaroslav Kysela <perex@perex.cz>, Abramo Bagnara <abramo@alsa-project.org>
                              srcversion: DC18D4275C8515CD15126C5
                              depends: snd-pcm,snd,snd-mixer-oss
                              vermagic: 2.6.32-28-generic SMP mod_unload modversions 586
                              parm: dsp_map:PCM device number assigned to 1st OSS device. (array of int)
                              parm: adsp_map:PCM device number assigned to 2nd OSS device. (array of int)
                              parm: nonblock_openon't block opening busy PCM devices. (bool)
                              vinny@desktop:~$
                              and a read on modules

                              https://help.ubuntu.com/community/Loadable_Modules
                              VINNY
                              i7 4core HT 8MB L3 2.9GHz
                              16GB RAM
                              Nvidia GTX 860M 4GB RAM 1152 cuda cores

                              Comment

                              Working...
                              X