MaartenBaert / ssr

SimpleScreenRecorder, a screen recorder for Linux
http://www.maartenbaert.be/simplescreenrecorder/
GNU General Public License v3.0
2.53k stars 286 forks source link

No sound recorded with Kubuntu 14.04 #277

Open macstar3000 opened 9 years ago

macstar3000 commented 9 years ago

i am using kubuntu 14.04 x64 and there is a problem with the sound recording in simplescreenrecorder 0.3.1

no matter if i record on mp3 or ogg, alsa or pulse, when playing back the file via ffplay it shows there was an audio stream created and also the 2 monitor bars in the preview plane of simplescreenrecorder are moving and indicating something is recorded, however all i get is kinda muted noise.

tried to play it with vlc, smplayer and mpv but i just won't hear any sound at all.

ubuntuaddicted commented 9 years ago

Are you using Alsa, pulse, or jack? What's the name of the audio source? Can you post your log file at pastebin and link us? Logs will be in the hidden ssr directory in your home folder. We'll go from there.

macstar3000 commented 9 years ago

i can use alsa or pulse but no matter what, it just won't work, while the bars and the info from ffplay indicate that recording is done....

here is the latest log file http://pastebin.com/DtPrGJpi

StripedMonkey commented 9 years ago

Huh, its in german. Brings up Google translate http://pastebin.com/V9AE0Vjj Theres the English version for anyone who has issues reading german!

On Wed, Dec 17, 2014 at 3:39 PM, macstar3000 notifications@github.com wrote:

i can use alsa or pulse but no matter what, it just won't work, while the bars and the info from ffplay indicate that recording is done....

here is the latest log file http://pastebin.com/DtPrGJpi

— Reply to this email directly or view it on GitHub https://github.com/MaartenBaert/ssr/issues/277#issuecomment-67389415.

ubuntuaddicted commented 9 years ago

Can you use audacity and record audio from your c270 webcam? If not, I'm betting you don't have the correct source selected under the recording tab of pavucontrol for ssr

macstar3000 commented 9 years ago

i can try tomorrow but why should i want to record anything with my webcam? i want record the screen and the sound. don't see the connection with my webcam here at all

ubuntuaddicted commented 9 years ago

i didn't know what source you selected for recording so i made an incorrect assumption. just make sure that viewing pavucontrol that the correct device is for ssr within the recording tab

MaartenBaert commented 9 years ago

@macstar3000 Which source are you recording? I agree with ubuntuaddicted, it's most likely a problem with your audio system (e.g. you did not select the correct source, or the source is muted, or the volume is too low, ...).

If your system uses PulseAudio (which is appears to do), then you should avoid using the ALSA backend in SSR, since ALSA/PulseAudio compatibility is not perfect.

macstar3000 commented 9 years ago

@MaartenBaert i am afraid but i think my hardware is not to blame. i ran simplescreenrecorder just fine on my older install of kubuntu 14.04, there was no difference in setup.

also: if i chose pulseaudio, i have the same problem.

might need to look for another program if there is no fix... :(

ubuntuaddicted commented 9 years ago

Without knowing the exact difference between each Kubuntu 14.04 installs you could have a difference in various packages if you didn't update. Start simple, does audio record in other software like audacity ? What game are you attempting to record? We can't fix your audio subsystem without accessing your system. I can assure you theres nothing wrong with ssr in ubuntu 14.04. Maybe you're using a different ffmpeg or avconv tool? There's so many things that can go wrong with recording audio/video along the way it's almost impossible to troubleshoot using comments like this.

macstar3000 commented 9 years ago

@ubuntuaddicted

my packages were and are up2date - no difference between these 2 installations. for having the latest codecs i am using the following codec pack from this ppa: ppa:jon-severinsson/ffmpeg

however just by now i have downloaded, compiled and installed ffmpeg via the official website. problem remains. only if i go to max recording volume i hear a very silent noise when playing the file back. weird though that even if i change the normal output volume during recording (not the recording volume level) the volume-bars in simplescreenrecorder move to a more silent position. very weird.

here is the sample file. https://www.dropbox.com/s/57ay615d6otw7nf/test.mkv?dl=0

i don't record any game.

is there an older version of simplescreenrecorder (preferably a deb file) which i could try out?

installed audacity and recording sound with it works like a charm.

ubuntuaddicted commented 9 years ago

looks like your problem is that whatever pulseaudio sink you're selecting isn't properly configured or setup. i have no idea what you're trying to do, are you just playing something back in a webbrowser and wanting to record it? seriously, without actual access to your setup i am sorry but i can't help. i've provided you some general tips on how to troubleshoot this.

  1. is your base sound system working?
  2. What are you attempting to record?
  3. Have you even attempted to open pavucontrol and view all the various tabs regarding playback and recording as well as the others?

this appears to be a user issue not a ssr issue.

macstar3000 commented 9 years ago

@ubuntuaddicted

  1. is your base sound system working? obviously. if it was not working i would never have come to a forum for a specific software.
  2. What are you attempting to record? youtube videos
  3. Have you even attempted to open pavucontrol and view all the various tabs regarding playback and recording as well as the others? just to make sure, i even installed that pavucontrol. it does not more than KDEs default Kmixer does. problem remains :(
StripedMonkey commented 9 years ago

If you are trying to record YouTube videos there is better software than SSR (No offense baert) I would recommend SMPlayer there is an add-on that allows the download of YouTube videos

On Fri, Dec 19, 2014 at 7:10 AM, macstar3000 notifications@github.com wrote:

@ubuntuaddicted https://github.com/ubuntuaddicted

1.

is your base sound system working? obviously. if it was not working i would never have come to a forum for a specific software. 2.

What are you attempting to record? youtube videos 3.

Have you even attempted to open pavucontrol and view all the various tabs regarding playback and recording as well as the others? just to make sure, i even installed that pavucontrol. it does not more than KDEs default Kmixer does. problem remains :(

— Reply to this email directly or view it on GitHub https://github.com/MaartenBaert/ssr/issues/277#issuecomment-67630991.

macstar3000 commented 9 years ago

i don't want to download youtube videos. ;)

StripedMonkey commented 9 years ago

Then why are you recording them?

On Fri, Dec 19, 2014 at 12:12 PM, macstar3000 notifications@github.com wrote:

i don't want to download youtube videos. ;)

— Reply to this email directly or view it on GitHub https://github.com/MaartenBaert/ssr/issues/277#issuecomment-67666776.

macstar3000 commented 9 years ago

because, recording is different to downloading them. often i need only a short sequence. and now please don't suggest me to download the complete video and then use a video editor to cut out what i need ...

ubuntuaddicted commented 9 years ago

Please understand we're trying to help you. Using avidemux is super dead simple. You're using the wrong tool (ssr) for the job. That's my opinion and I can't assist any further but I wish you success. Good luck

MaartenBaert commented 9 years ago

What exactly makes you believe this is a SSR-specific problem? Based on your descriptions it sounds like a problem with PulseAudio, SSR simply doesn't have any control over the audio system that could cause these kinds of problems ...

Do you have this problem only with youtube videos, or with any audio source?

Are you able to record the audio properly in Audacity?

PS: Something like youtube-dl is probably a better option for your use case, even if it requires downloading the entire video.

macstar3000 commented 9 years ago

Problem solved!

I did a reinstallation of kubuntu (my hdd was very bad already) and when i chose:

everything records fine :)

ubuntuaddicted commented 9 years ago

glad to hear you got it working. many times we don't consider whether there's a hardware issue. that would definitely cause a problem.