DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 29th August 2017
billy_bazooka billy_bazooka is offline
Port Guard
 
Join Date: Sep 2016
Posts: 31
Default how to record desktop video and audio with ffmpeg?

this is what i use
Code:
ffmpeg -video_size 1680x1050 -framerate 30 -f x11grab -i :0.0 -c:v libx264 -qp 0 -preset ultrafast output.mkv
it only records video, how to record audio coming from my speakers with ffmpeg?
how do you guys record desktop video?
Reply With Quote
  #2   (View Single Post)  
Old 29th August 2017
scottro's Avatar
scottro scottro is offline
Real Name: Scott Robbins
ISO Quartermaster
 
Join Date: Apr 2008
Location: NYC
Posts: 653
Default

I've not had good luck (on FreeBSD and CentOS with ffmpeg recording the desktop). I used simplescreendesktop in Linux and I think FreeBSD has recordmydesktop. I don't know if either are available in OpenBSD though.
https://trac.ffmpeg.org/wiki/Capture/Desktop is the ffmpeg link.

If you do have success, please post about it, I'd be curious.
Reply With Quote
  #3   (View Single Post)  
Old 31st August 2017
backrow backrow is offline
Real Name: Anthony J. Bentley
Shell Scout
 
Join Date: Jul 2009
Location: Albuquerque, NM
Posts: 136
Default

Quote:
Originally Posted by billy_bazooka View Post
this is what i use
Code:
ffmpeg -video_size 1680x1050 -framerate 30 -f x11grab -i :0.0 -c:v libx264 -qp 0 -preset ultrafast output.mkv
it only records video, how to record audio coming from my speakers with ffmpeg?
The FAQ describes how to create a monitor mix with sndiod. Once I’d done so, I was able to record audio and video with a variant of your command:

Code:
ffmpeg -f sndio -i snd/0.mon -video_size 1680x1050 -framerate 30 -f x11grab -i :0.0 -c:v libx264 -qp 0 -preset ultrafast output.mkv
__________________
Many thanks to the forum regulars who put time and effort into helping others solve their problems.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ffmpeg select and extract 1 audio stream kerasi OpenBSD Packages and Ports 16 30th December 2014 07:40 PM
azalia Intel SCH HD Audio strange audio issues tehsean OpenBSD General 3 26th August 2012 12:21 AM
Mozilla brews Firefox add-on for audio-video recording J65nko News 0 2nd November 2010 08:25 PM
ffmpeg delboy FreeBSD Ports and Packages 7 26th January 2010 07:44 PM
ffmpeg carpman FreeBSD Ports and Packages 14 7th May 2009 10:23 PM


All times are GMT. The time now is 12:32 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick