SimpleScreenRecorder has no audio (Solved)

Moderators: 666philb, Forum moderators

Post Reply
User avatar
wizard
Posts: 1992
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2664 times
Been thanked: 694 times

SimpleScreenRecorder has no audio (Solved)

Post by wizard »

Fossapup64 9.5
Hardware=Intel desktop, Intel audio chip ALC888, driver=snd-hda-intel.ko
Alsamixer & Retrovol Loopback=enable

Been trying to capture Youtube video with SimpleScreenRecorder, but get no audio. Anyone done this successfully?
These are audio devices shown by SimpleScreenRecorder, none work.

Screenshot.jpg
Screenshot.jpg (14.81 KiB) Viewed 1317 times

Thanks
wizard

Last edited by wizard on Thu Jan 19, 2023 8:44 pm, edited 1 time in total.

Big pile of OLD computers

Geek3579
Posts: 269
Joined: Sat Jul 18, 2020 1:07 pm
Has thanked: 81 times
Been thanked: 68 times

Re: SimpleScreenRecorder no audio

Post by Geek3579 »

I have done this with Bionicpup64 with little or no tweaking to ALSA. Not tried with Fossapup as I have pulseaudio installed so I can run other apps.

Why not use yt-dl and download the whole youtube ?

User avatar
wizard
Posts: 1992
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2664 times
Been thanked: 694 times

Re: SimpleScreenRecorder no audio

Post by wizard »

@Geek3579

I can record audio if I install pulse, but thought maybe someone might have found a way to do it on stock Fossapup64. Have never tried yt-dl, may give it a try. SimpleScreenRecorder is a better solution for me since I record from multiple sources.

Thanks for response
wizard

Big pile of OLD computers

User avatar
mikeslr
Posts: 2970
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 179 times
Been thanked: 926 times

Re: SimpleScreenRecorder no audio

Post by mikeslr »

Don't have the technical ability to solve the problem with SimpleScreenRecorder.

To download videos with sound --other than from Youtube-- I use addons/extensions. On Chromium & Clones I install Video Downloader Plus; on firefox Videodownload helper [and install the net.downloadhelper.coapp-1.6.3_amd64.deb]. I install classic Add-ons Archive into Palemoon and older versions of Seamonkey, after which I can install NetVideoHunder version 1.20.. Waterfox-Classic can use that and/or Videodownloadhelper 7.6.6. Even though I have classic addon archives installed I think Videodownloadhelper 7.6.6 was a direct addon install.

User avatar
amethyst
Posts: 2420
Joined: Tue Dec 22, 2020 6:35 am
Has thanked: 57 times
Been thanked: 506 times

Re: SimpleScreenRecorder no audio

Post by amethyst »

y2mate.com - can download the full video or just the audio. You may see unwanted ads. This is a better option than recording because the original video sound track is just seperated from the video so the quality stays the same, it is not re-encoded as with recording.

User avatar
mr_gs
Posts: 38
Joined: Tue Dec 14, 2021 6:39 am
Has thanked: 7 times
Been thanked: 8 times

Re: SimpleScreenRecorder no audio

Post by mr_gs »

I was also facing the same problem. Someone in the forum suggested me to install pulseaudio.
Now it works perfectly. Also the new version of simple screen recorder to get support of pulseaudio
Simple screen recorder focal: https://easyupload.io/m/1ly8ko

Fossapup 9.5 64bit Kernel 5.4.53
Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
8GB RAM
Intel (R) UHD Graphics

User avatar
mikewalsh
Moderator
Posts: 6169
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 799 times
Been thanked: 1987 times

Re: SimpleScreenRecorder no audio

Post by mikewalsh »

@wizard :-

I tend to agree with Nic on this one, mate. These YT downloader sites always download the video in question in way better video/audio quality than any screen recorder can achieve.......because the original media streams are being used. TBH, I discovered this problem with YT audio a long time ago, and it's for the same reason that Nic gives; despite that the on-site media player combines everything together so you aren't aware of anything being different, the video & audio streams are in fact coming in separately.....and that's why screen recorders don't pick up on the audio portion. The two are only combined in the on-site player at the "moment of consumption", y'know?

Big Brother did this specifically to stop folks like you and me trying to "unofficially" download stuff. They'd far rather you kept visiting the site; more visits = more 'hits' for them, and keeps their SEO page rankings as high as possible.

It's ALL about SEO these days, believe me..! Google (YT's owners) should know about such stuff; it figures in a large proportion of their bread'n'butter income, after all.

Mike. ;)

User avatar
amethyst
Posts: 2420
Joined: Tue Dec 22, 2020 6:35 am
Has thanked: 57 times
Been thanked: 506 times

Re: SimpleScreenRecorder no audio

Post by amethyst »

Remember that all videos uploaded to youtube are re-encoded for use on the site by youtube even before we have access to it. The uploader may (very likely) also have re-encoded the video file whilst compiling it, so in most cases you are already sitting with material which has been processed at least twice once available on youtube. Recording it will process it again. Every time the file is processed (re-encoded) there's degration of quality.

xx_T3n0ch_X
Posts: 36
Joined: Thu Jul 22, 2021 1:31 am
Has thanked: 3 times
Been thanked: 10 times

Re: SimpleScreenRecorder no audio

Post by xx_T3n0ch_X »

wizard wrote: Sat Jan 14, 2023 6:05 pm

Fossapup64 9.5
Hardware=Intel desktop, Intel audio chip ALC888, driver=snd-hda-intel.ko
Alsamixer & Retrovol Loopback=enable

Been trying to capture Youtube video with SimpleScreenRecorder, but get no audio. Anyone done this successfully?
These are audio devices shown by SimpleScreenRecorder, none work.
Screenshot.jpg
Thanks
wizard

I have the same problem using FOSSA. The way I understand things, loopback should help to capture the system audio but It has never worked for me, I feel like there is something else that needs to be done perhaps some alsa configuration file?

User avatar
amethyst
Posts: 2420
Joined: Tue Dec 22, 2020 6:35 am
Has thanked: 57 times
Been thanked: 506 times

Re: SimpleScreenRecorder has no audio

Post by amethyst »

Just checked the y2mate.com option again. It does look as if the audio may be re-encoded again. This is not what we want. So try https://getvideo.at/en/
IMPORTANT - Right Click the highest M4A option and select Save Link As (may differ depending on the browser you are using). This will ensure that you download the original audio part of the video file. The download was very slow with the video I tried (it seems as if it's downloading at the same rate/time the file plays at because it fetches directly from the google stream) but at least it's the original audio track.

Geek3579
Posts: 269
Joined: Sat Jul 18, 2020 1:07 pm
Has thanked: 81 times
Been thanked: 68 times

Re: SimpleScreenRecorder no audio

Post by Geek3579 »

wizard wrote: Sun Jan 15, 2023 2:27 pm

@Geek3579

I can record audio if I install pulse, but thought maybe someone might have found a way to do it on stock Fossapup64. Have never tried yt-dl, may give it a try. SimpleScreenRecorder is a better solution for me since I record from multiple sources.

Thanks for response
wizard

I tried Simple screen recorder with Fossa64 and could not get audio to work, also. As I needed a quick solution, I moved on. This is with pulseaudio installed, as I recall. In the end I wrote my own script, and after that i found two other methods (but needing pulseaudio, still).

User avatar
mikewalsh
Moderator
Posts: 6169
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 799 times
Been thanked: 1987 times

Re: SimpleScreenRecorder no audio

Post by mikewalsh »

Geek3579 wrote: Mon Jan 16, 2023 7:40 am
wizard wrote: Sun Jan 15, 2023 2:27 pm

@Geek3579

I can record audio if I install pulse, but thought maybe someone might have found a way to do it on stock Fossapup64. Have never tried yt-dl, may give it a try. SimpleScreenRecorder is a better solution for me since I record from multiple sources.

Thanks for response
wizard

I tried Simple screen recorder with Fossa64 and could not get audio to work, also. As I needed a quick solution, I moved on. This is with pulseaudio installed, as I recall. In the end I wrote my own script, and after that i found two other methods (but needing pulseaudio, still).

I suspect you'll find it boils down to one thing. Maarten Baert, the guy behind SimpleScreenRecorder, has taken the path of least resistance. All mainstream distros now use PulseAudio, along with systemd. So he's taken the obvious route, and coded for exactly that combination. It makes his life easier. You can't exactly blame the guy; nobody in their right mind voluntarily MAKES more work for themselves, do they??

We're the "outcasts", "misfits", call it what you like, for NOT "toeing the line", and "following the herd".....y'know? In the eyes of the rest of the Linux community, we generate our own problems....

(*shrug*)

Mike. ;)

Geek3579
Posts: 269
Joined: Sat Jul 18, 2020 1:07 pm
Has thanked: 81 times
Been thanked: 68 times

Re: SimpleScreenRecorder no audio

Post by Geek3579 »

mikewalsh wrote: Mon Jan 16, 2023 11:20 am
Geek3579 wrote: Mon Jan 16, 2023 7:40 am
wizard wrote: Sun Jan 15, 2023 2:27 pm

@Geek3579

I can record audio if I install pulse, but thought maybe someone might have found a way to do it on stock Fossapup64. Have never tried yt-dl, may give it a try. SimpleScreenRecorder is a better solution for me since I record from multiple sources.

Thanks for response
wizard

I tried Simple screen recorder with Fossa64 and could not get audio to work, also. As I needed a quick solution, I moved on. This is with pulseaudio installed, as I recall. In the end I wrote my own script, and after that i found two other methods (but needing pulseaudio, still).

I suspect you'll find it boils down to one thing. Maarten Baert, the guy behind SimpleScreenRecorder, has taken the path of least resistance. All mainstream distros now use PulseAudio, along with systemd. So he's taken the obvious route, and coded for exactly that combination. It makes his life easier. You can't exactly blame the guy; nobody in their right mind voluntarily MAKES more work for themselves, do they??

We're the "outcasts", "misfits", call it what you like, for NOT "toeing the line", and "following the herd".....y'know? In the eyes of the rest of the Linux community, we generate our own problems....

(*shrug*)

Mike. ;)

But who wants to follow the herd ?? What problems new versions of Puppy Linux throw up are more than offset by the help on the PL Forum. I dont know of any linux forum which has such a diverse suite of how-to topics, development and tweaks. Ok, users may have to do self-maintenance, but if you like a challenge, there's plenty of opportunity.

User avatar
mikewalsh
Moderator
Posts: 6169
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 799 times
Been thanked: 1987 times

Re: SimpleScreenRecorder no audio

Post by mikewalsh »

Geek3579 wrote: Tue Jan 17, 2023 8:51 am

But who wants to follow the herd ?? What problems new versions of Puppy Linux throw up are more than offset by the help on the PL Forum. I dont know of any linux forum which has such a diverse suite of how-to topics, development and tweaks. Ok, users may have to do self-maintenance, but if you like a challenge, there's plenty of opportunity.

^^^ +1 !!

Absolutely, mate..! Couldn't have put it better myself.....

I concur with every word of that.

Mike. :thumbup: :thumbup:

xx_T3n0ch_X
Posts: 36
Joined: Thu Jul 22, 2021 1:31 am
Has thanked: 3 times
Been thanked: 10 times

Re: SimpleScreenRecorder has no audio

Post by xx_T3n0ch_X »

@wizard

I had success using this alsa configuration file:

Code: Select all

pcm.card0 {
  type hw
  card 0
# mmap_emulation true
}

pcm.card2 {
  type hw
  card 2
# mmap_emulation true
}

#pcm.dmix0 {
#  type dmix 
#  ipc_key 34521 
#  slave {
#    pcm "card0" 
#  }
#}

pcm.dmix0 {
        type dmix
        ipc_key 1024 ## needs to be a power of 2
		ipc_perm 0666
        slave {
                pcm "hw:0"
#								pcm "multi"
                period_time 0
                period_size 1024
                buffer_size 8192
        				channels 2 # must match bindings
              # format S16_LE
              # rate 44100 ## not necessary
        }
    bindings {
        0 0
        1 1
    }
#slowptr true
}

pcm.dmixerloop {
    type dmix
    ipc_key 2048
    ipc_perm 0666 # allow other users
    slave.pcm "hw:Loopback,0,0"
    slave {
        period_time 0
        period_size 1024
        buffer_size 4096
        channels 2 # must match bindings
    }
    bindings {
        0 0
        1 1
    }
}

pcm.dsnoop0 {
  type dsnoop 
  ipc_key 2048
  ipc_perm 0666 # allow other users
  slave {
    pcm "card0" 
  #  rate 48000
    period_time 0
    period_size 1024
    buffer_size 4096
    channels 2 
  }
    bindings {
        0 0
        1 1
    }
}

pcm.dsnooperloop {
  type dsnoop 
  ipc_key 4096
  ipc_perm 0666 # allow other users
  slave {
    pcm "hw:Loopback,1,0" 
  #  rate 48000
    period_time 0
    period_size 1024
    buffer_size 4096
    channels 2 
  }
    bindings {
        0 0
        1 1
    }
}

pcm.dsnoop2 {
  type dsnoop 
  ipc_key 4096
  slave {
    pcm "card2" 
  #  rate 48000
    period_time 0
    period_size 1024
    buffer_size 4096
    channels 2 
  }
    bindings {
        0 0
        1 0
    }
}

pcm.asym0 {
  type asym 
  playback.pcm "multi" 
  capture.pcm "multi_snoop"
}

pcm.pasym0 {
  type plug 
  slave.pcm "asym0"
}

pcm.usbaudio {
  type plug 
  slave.pcm "multi_snoop2"
}

# 'dsp0' is expected by OSS emulation etc.
pcm.dsp0 {
  type                  plug
  slave.pcm            "asym0"
}

ctl.dsp0 {
    type                hw
    card                0
}

#pcm.!default {
#    type asym
#    playback.pcm "multi"
#    capture.pcm "dsnoop0"
#}

pcm.!default {
       type plug
       slave.pcm "asym0"
}
#pcm.!default {
#  type                  plug
#  slave.pcm            "asym0"
#}

ctl.!default {
    type                hw
    card                0
}

pcm.multi {
    type route;
    slave.pcm {
        type multi;
        slaves.a.pcm "dmix0";
        slaves.b.pcm "dmixerloop";
        slaves.a.channels 2;
        slaves.b.channels 2;
        bindings.0.slave a;
        bindings.0.channel 0;
        bindings.1.slave a;
        bindings.1.channel 1;
        bindings.2.slave b;
        bindings.2.channel 0;
        bindings.3.slave b;
        bindings.3.channel 1;
    }

    ttable.0.0 1;
    ttable.1.1 1;
    ttable.0.2 1;
    ttable.1.3 1;
}

pcm.multi_snoop {
    type route;
    slave.pcm {
        type multi;
        slaves.a.pcm "dsnoop0";
        slaves.b.pcm "dsnooperloop";
        slaves.a.channels 2;
        slaves.b.channels 2;
        bindings.0.slave a;
        bindings.0.channel 0;
        bindings.1.slave a;
        bindings.1.channel 1;
        bindings.2.slave b;
        bindings.2.channel 0;
        bindings.3.slave b;
        bindings.3.channel 1;
    }

    slave.channels 4    # the slave has 4 channels
    ttable.0.0 0.5      # master ch 0 - slave ch 0
    ttable.1.1 0.5      # master ch 1 - slave ch 1
    ttable.0.2 0.5      # master ch 0 - slave ch 2
    ttable.1.3 0.5      # master ch 1 - slave ch 3
}

pcm.multi_snoop2 {
    type route;
    slave.pcm {
        type multi;
        slaves.a.pcm "dsnoop2";
        slaves.b.pcm "dsnooperloop";
        slaves.a.channels 2;
        slaves.b.channels 2;
        bindings.0.slave a;
        bindings.0.channel 0;
        bindings.1.slave a;
        bindings.1.channel 1;
        bindings.2.slave b;
        bindings.2.channel 0;
        bindings.3.slave b;
        bindings.3.channel 1;
    }

    slave.channels 4    # the slave has 4 channels
    ttable.0.0 0.5      # master ch 0 - slave ch 0
    ttable.1.1 0.5      # master ch 1 - slave ch 1
    ttable.0.2 0.5      # master ch 0 - slave ch 2
    ttable.1.3 0.5      # master ch 1 - slave ch 3
}

#pcm.!default {
#	type plug
#	slave.pcm "multi"
#} 

pcm.loopin {
	type plug
	slave.pcm "hw:Loopback,0,0"
}

pcm.loopout {
	type plug
	slave.pcm "hw:Loopback,1,0"
}

pcm.snoopin {
	type plug
	slave.pcm "hw:Loopback,0,1"
}

pcm.snoopout {
	type plug
	slave.pcm "hw:Loopback,1,1"
}

:
source: http://www.macpczone.co.uk/content/mixi ... y-recorded

IMO, if Puppy Linux is not going to adopt pipewire or pulse audio anytime soon It needs to start finding solutions to common tasks such as the one presented here.

I am a long time puppy user and a regular use case user, web surfing, simple video editing, netflix, email, video conferencing. It took me years to stumble upon this ALSA configuration file because I had no idea what to search for. ALSA is not user friendly, and to make things worse its documentation is terrible.

The alsawizard, Sound Card Wizard 2 did not generate a successful asound.conf file for this use case.

I don't think it is a FOSSA issue, I had the same problem with previous Puppy Linux versions.

The file attached is a fake mp4, rename it, you will watch a video generated using simplescreenrecorder, and hear claps into the mic, deadbeef playing music, and youtube playing music.

Attachments
puppy_recording-2023-01-18_21.57.38.mp4.zip
(459.58 KiB) Downloaded 26 times
User avatar
rockedge
Site Admin
Posts: 6563
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2771 times
Been thanked: 2646 times
Contact:

Re: SimpleScreenRecorder has no audio

Post by rockedge »

IMO, if Puppy Linux is not going to adopt pipewire or pulse audio anytime soon It needs to start finding solutions to common tasks such as the one presented here.

F96_4-radky6-CE (Fossapup64-9.6) uses pulseaudio as do the latest Puppy's coming out of woof-CE.

User avatar
wizard
Posts: 1992
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2664 times
Been thanked: 694 times

Re: SimpleScreenRecorder has no audio (Solved)

Post by wizard »

Big pile of OLD computers

Clarity
Posts: 3861
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1636 times
Been thanked: 528 times

Re: SimpleScreenRecorder has no audio (Solved)

Post by Clarity »

... adopt pipewire ...

This has been underway for a year/so. It is built into @dimkr's Wayland ISO here, IIRC

I would expect to see it available in most every upcoming forum distro before year's end.

boof
Posts: 564
Joined: Sat Aug 15, 2020 9:17 am
Been thanked: 8 times

Re: SimpleScreenRecorder has no audio (Solved)

Post by boof »

fossapup64-9.
/etc/asound.conf not exist, but /etc/asound.state does. are they same purpose/contents-wise? change without improvement is a waste of public brainpower. if it's not different, AND improved, don't bother.

boof
Posts: 564
Joined: Sat Aug 15, 2020 9:17 am
Been thanked: 8 times

Re: SimpleScreenRecorder has no audio (Solved)

Post by boof »

OK it works after i appended asound.state with the appendment. now, pls, how do i time automate the on/off to record my fav tv while i sleep, so i can watch it next day, and automate .mkv files to the vlc?

boof
Posts: 564
Joined: Sat Aug 15, 2020 9:17 am
Been thanked: 8 times

Re: SimpleScreenRecorder has no audio (Solved)

Post by boof »

set default media player to vlc. that was easy enuf. timing is another thing. not sure if i can set record and stop hotkeys in the serup. i prob can. that would help.

User avatar
mikewalsh
Moderator
Posts: 6169
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 799 times
Been thanked: 1987 times

Re: SimpleScreenRecorder has no audio (Solved)

Post by mikewalsh »

@Clarity :-

Clarity wrote: Thu Jan 19, 2023 9:29 pm

... adopt pipewire ...

This has been underway for a year/so. It is built into @dimkr's Wayland ISO here, IIRC

I would expect to see it available in most every upcoming forum distro before year's end.

That's as may be; I certainly wouldn't argue with you over this point.

When it boils down to it, however, Pipewire is just another 'user-friendly' GUI for controlling ALSA.....in this case, IIRC, it specifically handles 'routing' of signals between all the other audio applications/layers on your system. ALSA will always be there, because it's so tightly integrated into the Linux psyche you'd have a major job on your hands to replace it. But it's always been awkward to control directly.....hence the likes of PulseAudio & Pipewire, which run on top of ALSA & make the user-experience a lot more 'friendly'.

I'm ALL for 'friendly'.....so long as it doesn't mess everything else up in the process! :D

Mike. ;)

User avatar
wizard
Posts: 1992
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2664 times
Been thanked: 694 times

Re: SimpleScreenRecorder has no audio (Solved)

Post by wizard »

@mikewalsh

Mike, just as a point of interest, this is working on the Dell D630 running Fossapup64 9.5

wizard

Big pile of OLD computers

User avatar
mikewalsh
Moderator
Posts: 6169
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 799 times
Been thanked: 1987 times

Re: SimpleScreenRecorder has no audio (Solved)

Post by mikewalsh »

wizard wrote: Tue Jan 31, 2023 3:08 pm

@mikewalsh

Mike, just as a point of interest, this is working on the Dell D630 running Fossapup64 9.5

wizard

Excellent! I'm just about to install it there myself. Ta for the 'heads-up'...

Mike. ;) :thumbup:

User avatar
mikewalsh
Moderator
Posts: 6169
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 799 times
Been thanked: 1987 times

Re: SimpleScreenRecorder has no audio (Solved)

Post by mikewalsh »

Well, that's weird.

0.4.4 is running very nicely in both Xenial64 and Tahr64 on the D630.....but for some strange reason, after installing it in Fossapup64 9.5 all I get is "symbol look-up error". And this exact same package is running fine in the exact same install of Fossa on the big HP desktop rig....yet here, it doesn't want to know.

How odd is that, huh?

Mike. :?

Post Reply

Return to “Fossapup64”