Screencasting with FFMPEG in Arch Linux

preview_player
Показать описание
After toiling around the Internet I have found a solution to my problem with screencasting. This line of code gives my perfect synchronization with audio and video every time! Make sure you read the ArchWIKI covering codecs and the installation thereof otherwise this command string may not work!

Рекомендации по теме
Комментарии
Автор

we got everything set and plan on getting a cardiod condenser mic in a month or two and got one issue. When we use screencasting and audio, the last 10 seconds or so, give or take a few, is cut out even though we don't cut any audio out using audacity. Any thoughts?

JAMESLINUXCOFFEE
Автор

Great job, your dedication paid off and your kindness to share with others is outstanding.

YAHL
Автор

Threads have overhead and can only help in the following two cases:

1. You have an idle processor (or some idle hyperthreading hardware).
2. The main program is waiting for I/O or something.

2 only happens when waiting for I/O or some long running task, & usually these sorts of programs will use non-blocking I/O anyway, so there is little speed up here.

That leaves 1., & he said he had a single core machine so it doesn't apply. That leaves the overhead which makes it run slower with threads.

MrGoatflakes
Автор

we are trying with kazam screencaster to get a webcam footage file to embed onto the side of the screencast we shot. How do we embed it on the side not in background? If you know please help us unless it is in video in which case we can decifer it. If u do not know post question here and maybe someone else might!

JAMESLINUXCOFFEE
Автор

There are ways you can get desktop icons in your standalone window manager. idesk is one program that lets you do it.

PingCasts
Автор

Hello Spatry,
did you try this ffmpeg command without the " -threads 0 " option? Were there any different results ? To me it seems that if you use a single core processor it is not that useful to hand over that much system recources, even if you make videos while running vbox and other stuff in the background
Best Regards

MrHugoMalkowitz
Автор

@LinuxSpatry
plz tell me how do i remove old kernel from fedora 16

SaikatBasak
Автор

The command you put in the description works great, but how do I record from my speakers at the same time? Thanks in advance.

ResidentialRedneckTV
Автор

@Jeroen Mathon
The killall command used looks for processes by name and finds the PID of each. It will only kill processes called "ffmpeg" in this case. As there is only one running, that's the only thing it finds to stop. Incidentally, the default is to send a "TERM" signal to it, asking it to stop, not a "KILL" which would ruthlessly halt it (possibly corrupting the end of the recording). "Kill" is something of a misnomer here as you'd have to expressly add other parameters to kill the processes, which you'd only need if it had completely stopped responding to the system.

alvamiga
Автор

actually you use as much threads as possible, not 0. The second thing, regardless how complex does it look (or is) its not a code, just a command call with a lot of arguments.

ClansmanAliasTool
Автор

I switched to arch recently, is there any user friendly screencasters to use with KDE that i can install from yaourt?

popdodle
Автор

Checked the video in openshot and the same thing happens. The audio is fine most of the time but the video per-se goes really fast. I've tried searching around for solutions and trying different settings but the result is always the same. Rather annoying but I suppose I'll stick with recordMyDesktop for a while until I figure it out.

CGSiino
Автор

Hi, i love your videos, but i have a reblem with ffmpeg, it does not record any sound :(
so my gameplay video does not have any sound at all, how do i fix this?

LinucNerd
Автор

If im recording Stepmania that uses ffmpeg .
is killall an efficient way to stop the recording becouse im thinking it would interfere with my game is it possable to kill ffmpeg by its PID?

Please let me know.

XaetaCore
Автор

HELP! I can't get ffmpeg start or stop launcher built for linux mint 13 MATE edition i need help with this if you're familiar with it or if not post it on this page so others may be able to help me! Thanks in Advance.

JAMESLINUXCOFFEE
Автор

Hello Spatry, this is the ffmpeg command I am using with ubuntu 11.10, maybe it suits you to:
ffmpeg -f x11grab -r 15 -s 1360x768 -i :0.0 -f alsa -ac 2 -i plughw:1, 0 -c:a libvo_aacenc -b:a 128k -async 1 -c:v libx264 -vsync 1 -preset ultrafast bildschirmvideo.mp4

Maybe it will suit your needs too, just give it a try and me a feedback :-)
If you want to change the container to .mkv you need to change the audiocodec libvo_aacenc to libmp3lame or libvorbis.

MrHugoMalkowitz
Автор

I admit i could never beat your videos but we are in need of a good usb microphone doesn't cost too much! Any suggesstions?

JAMESLINUXCOFFEE
Автор

I have but one problem when using ffmpeg to screencast and it's that all my videos end up being sped up after I'm done recording. Everything seems to be working fine during the recording process but after I finish and check the video its like its being fast forwarded. I'm somewhat new to Linux and I'm using Ubuntu 11.10. If you have any suggestions or can lead me somewhere were I can address the issue I would be more than thankful.

CGSiino
Автор

Have you fixed it? I'm having the same problem

amarildojunior
Автор

great advise, will check it out when I get the drive. I am woking on this Video tuotrial collection. Hope this help me.

Jzarecta
visit shbcf.ru