Steam for Linux

Steam for Linux

JnvSor 2013 年 12 月 20 日 下午 4:16
Very fast screen capture (1080p 30fps on one CPU core) on linux
Hands down the best linux tool for screen recording is avconv. Avconv scares linux beginners away.

avconv -f x11grab -r 30 -s hd1080 -i :0.0 -f pulse -name 'screencap -> system audio' -i alsa_output.pci-0000_00_1b.0.analog-stereo.monitor -f pulse -name 'screencap -> headset mic' -i alsa_input.pci-0000_00_1b.0.analog-stereo -map 0 -map 1 -map 2 -codec:v libx264 -filter:v 'scale=w=-1:h=720,scale=w=trunc(in_w/2)*2:h=trunc(in_h/2)*2' -pre:v lossless_ultrafast -codec:a libmp3lame -threads 2 -y out.avi

Not surprising it scares people off!

I've used a script to record hd linux wine gameplay videos for about a year now and I've cleaned and documented it so you can use it.

https://github.com/jnvsor/screencap

That bigass line above? Generated by the command `screencap out.avi`

Much better! (Also it will work on steamOS as you can choose which Xserver to record from)
< >
目前顯示第 1-12 則留言,共 12
Tazza.sh 2013 年 12 月 20 日 下午 4:23 
I quite like gui's and kazam has met my needs so far (except for a bug... which i cant fix on anything, my mic is out of sync to the game play.. due to my lovely usb headset (logitach g930) and had to do an amazing amount of hackery to make a sound module that played my mic over my sound at the same time so i could record one stream instead of 2) i may try your big ass line to see if it works for me and my headset :)
JnvSor 2013 年 12 月 20 日 下午 4:26 
Well the big line won't - there are instructions to customize the script to your liking (Specifically the resolution and audio devices)

What resolution is your screen and what is the output of "pactl list short sources"?

I can give you a tailored one then.
Tazza.sh 2013 年 12 月 20 日 下午 4:30 
my res is 1680x1050

and


0 alsa_output.usb-Logitech_Logitech_G930_Headset-00-Headset.analog-stereo.monitor module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
1 alsa_input.usb-Logitech_Logitech_G930_Headset-00-Headset.analog-mono module-alsa-card.c s16le 1ch 16000Hz RUNNING
2 alsa_output.pci-0000_00_1b.0.analog-stereo.monitor module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
3 alsa_input.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
5 alsa_output.pci-0000_06_00.1.hdmi-stereo-extra3.monitor module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
UnkendTech 2013 年 12 月 20 日 下午 4:36 
there is a website now that you put in what you're recording and it makes a commened line for you
JnvSor 2013 年 12 月 20 日 下午 4:38 
avconv -f x11grab -r 30 -s 1680x1050 -i :0.0 -f pulse -name 'headset speakers' -i alsa_output.usb-Logitech_Logitech_G930_Headset-00-Headset.analog-stereo.monitor -f pulse -name 'headset mic' -i alsa_input.usb-Logitech_Logitech_G930_Headset-00-Headset.analog-mono -map 0 -map 1 -map 2 -codec:v libx264 -pre:v lossless_ultrafast -codec:a libmp3lame -threads 2 -y out.avi

That should do it, it should record your headset speakers and mic to 2 different tracks on the avi file. But it's bound to be more... interesting than that :P
Tazza.sh 2013 年 12 月 20 日 下午 4:39 
yep lol, ill give it a try in a min if i have time :) thnx for that
Tazza.sh 2013 年 12 月 20 日 下午 5:03 
引用自 JnvSor
avconv -f x11grab -r 30 -s 1680x1050 -i :0.0 -f pulse -name 'headset speakers' -i alsa_output.usb-Logitech_Logitech_G930_Headset-00-Headset.analog-stereo.monitor -f pulse -name 'headset mic' -i alsa_input.usb-Logitech_Logitech_G930_Headset-00-Headset.analog-mono -map 0 -map 1 -map 2 -codec:v libx264 -pre:v lossless_ultrafast -codec:a libmp3lame -threads 2 -y out.avi

That should do it, it should record your headset speakers and mic to 2 different tracks on the avi file. But it's bound to be more... interesting than that :P

the only audio that records is what ever is entered first in the terminal, mic or speakers, never both
JnvSor 2013 年 12 月 20 日 下午 5:36 
Wierd. Tried opening pavucontrol and checking volume levels?
Tazza.sh 2013 年 12 月 20 日 下午 5:44 
pavucontrol says it was recording the correct things, but no
Tazza.sh 2013 年 12 月 20 日 下午 5:44 
the the levels were moving when i spoke, and to music, but only one records
JnvSor 2013 年 12 月 20 日 下午 5:51 
Ah that's only one playing back - remember I said they would be recorded to separate audio tracks. If you're in vlc press b to cycle through audio tracks. You can then use a video/audio editor to stick them together only now you have more control over the end result.
Tazza.sh 2013 年 12 月 20 日 下午 5:58 
引用自 JnvSor
Ah that's only one playing back - remember I said they would be recorded to separate audio tracks. If you're in vlc press b to cycle through audio tracks. You can then use a video/audio editor to stick them together only now you have more control over the end result.

cheers bro, your right
< >
目前顯示第 1-12 則留言,共 12
每頁顯示: 1530 50

張貼日期: 2013 年 12 月 20 日 下午 4:16
回覆: 12