Ok solved, first i need to specify that i'm using pulseaudio with jack and it seems that doing "-i hw:0" was crappy for my setup, i changed that to "-i pulse" wich goes to jack source and everything is fine now, sound is good.
@John8pie: Ha, That's a typo I never noticed before. Since it's just a echo output it doesn't hurt the script, and you don't even really see it since right after it ffmpeg spits out a bunch of info. Thanks for pointing it out though.
I've got a bit of a problem; Linux can't read the sound from my microphone, whatsoever. Even Sound Recorder won't get anything. Although, it works fine on Windows.
@John8pie: I don't know how much help I'll be. Hardware issues are very hard to trouble shoot when you are not psychically there. But, we can start by finding out what sound card you have and then Googling it. You can looking your sound preferences or run 'lspci' and look for you sound card.
@metalx1000 I agree. I know it worked in Ubuntu 10.04, so I'm downgrading to that at the moment. Once Wubi is done fiddling with my computer I'll run that command and post back here.
By the way, I'm very excited about the upcoming MySQL videos! :D
@MocoPoloX: I hadn't seen your video before and I wrote this script myself based on a bunch of different tutorial I've read through. Watching your video now, your code looks better since you use regex and I would have if I was better with regex. If I had seen your video I would have just used the regex you used. I would 100% give you credit if that was where I got it from. Feel free to submit it as a response here if you would like to get more traffic to your site.
Isn't a better way to stop it record than Ctrl+C ?
It would be awesome if after you stop recording it would add the intro and end of the vid (join the files) , but still keep the original in case something goes wrong. But this isn't possible if you use job control to stop it.
one question, how can i adapt this script to kde? if i just replace zenity with kdialog in the script it looks like i need the right options for kdialog. any help would be greatly appreciated
Ok solved, first i need to specify that i'm using pulseaudio with jack and it seems that doing "-i hw:0" was crappy for my setup, i changed that to "-i pulse" wich goes to jack source and everything is fine now, sound is good.
taekdar 5 months ago
I tried this but the volume is too loud and i'm getting a lot of background noise especially when i talk into the microphone. Any ideas why?
taekdar 5 months ago
This is fantastic, I'm so happy to have found a good screen recorder like this for Linux.
One question; What is that 'sz' for preceding your variable? When you're echoing...?
John8pie 1 year ago 2
@John8pie: Ha, That's a typo I never noticed before. Since it's just a echo output it doesn't hurt the script, and you don't even really see it since right after it ffmpeg spits out a bunch of info. Thanks for pointing it out though.
metalx1000 1 year ago
@metalx1000 Ah, figured.
I've got a bit of a problem; Linux can't read the sound from my microphone, whatsoever. Even Sound Recorder won't get anything. Although, it works fine on Windows.
John8pie 1 year ago
@John8pie: I don't know how much help I'll be. Hardware issues are very hard to trouble shoot when you are not psychically there. But, we can start by finding out what sound card you have and then Googling it. You can looking your sound preferences or run 'lspci' and look for you sound card.
metalx1000 1 year ago
@metalx1000 I agree. I know it worked in Ubuntu 10.04, so I'm downgrading to that at the moment. Once Wubi is done fiddling with my computer I'll run that command and post back here.
By the way, I'm very excited about the upcoming MySQL videos! :D
John8pie 1 year ago
@metalx1000
"00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)"
Is this what I should be looking for, considering it's the microphone that can't be read? I'm running Ubuntu 10.10. . . .
John8pie 1 year ago
@John8pie: when you click on the sound icon by your clock, and go to "sound preferences" go to the "Input" tab.
Everything should be there, make sure you have the right connector chosen and see if you see and Input Level when talking into the Mic.
metalx1000 1 year ago
@John8pie Go in to systems settings sound and then fix your mic
Mrchilipro 3 months ago
Great video, but is it only me or is the vid slightly out of sync?
Tarnus88 1 year ago
Comment removed
MocoPoloX 1 year ago
Comment removed
MocoPoloX 1 year ago
@MocoPoloX: I hadn't seen your video before and I wrote this script myself based on a bunch of different tutorial I've read through. Watching your video now, your code looks better since you use regex and I would have if I was better with regex. If I had seen your video I would have just used the regex you used. I would 100% give you credit if that was where I got it from. Feel free to submit it as a response here if you would like to get more traffic to your site.
metalx1000 1 year ago
@metalx1000 Alright, I take back what I've said then. Have a nice day.
MocoPoloX 1 year ago
Thanx metal these too work well
ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1280x1024 -i :0.0 -acodec pcm_s16le -vcodec libx264 -vpre lossless_ultrafast -threads 0 -y ./Desktop/mydesktop.mkv
for 1080
ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s hd1080 -i :0.0 -acodec pcm_s16le -vcodec libx264 -vpre lossless_ultrafast -threads 0 -y ./Desktop/mydesktop.mkv need to change settings on nvidia first to 1920x1080
shantiq 1 year ago
Isn't a better way to stop it record than Ctrl+C ?
It would be awesome if after you stop recording it would add the intro and end of the vid (join the files) , but still keep the original in case something goes wrong. But this isn't possible if you use job control to stop it.
scorici 1 year ago
will this work?
'kdialog --getsavefilename ~'
tengisu 1 year ago
great video
one question, how can i adapt this script to kde? if i just replace zenity with kdialog in the script it looks like i need the right options for kdialog. any help would be greatly appreciated
tengisu 1 year ago
@tengisu Just read the kdialog manpage. ;)
SmartestViking 1 year ago
nice vid thanks, i believe you can end the grab by just pressing q
Skybinary 1 year ago
@Skybinary: yes, and that is what I normally do. Don't know why I said CTRL+C in the video.
metalx1000 1 year ago
@metalx1000 MEncoder it's stopped with CTRL+C
iviarko 1 year ago