LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-30-2013, 11:52 AM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,357

Rep: Reputation: 213Reputation: 213Reputation: 213
Record using Framebuffer Video grabber?


Hi,

there is a nice package which is called fbgrab which allow to make screenshots.

Would you know a package for making videos such as recordmydesktop?

I hope you could help further ...

thanks a lot in advance !!!
 
Old 05-30-2013, 03:09 PM   #2
annonyxxxx
Member
 
Registered: May 2013
Posts: 31

Rep: Reputation: 9
You can try ffmpeg. Not only does ffmpeg encodes videos and audio but it has the ability to do screen capturing. Here is a basic video tutorial on screen capturing with ffmpeg
http://www.youtube.com/watch?v=FhWXVA7OI6E

Also, there is xvidcap. Youtube has videos on its usage.

Last edited by annonyxxxx; 05-30-2013 at 04:50 PM.
 
Old 05-31-2013, 12:39 AM   #3
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,357

Original Poster
Rep: Reputation: 213Reputation: 213Reputation: 213
Quote:
Originally Posted by annonyxxxx View Post
You can try ffmpeg. Not only does ffmpeg encodes videos and audio but it has the ability to do screen capturing. Here is a basic video tutorial on screen capturing with ffmpeg
http://www.youtube.com/watch?v=FhWXVA7OI6E

Also, there is xvidcap. Youtube has videos on its usage.
I would like without any X11.

Framebuffer without x11 is the target.
I will check ffmepg ... or the src C code of fbgrab to mod it
 
Old 05-31-2013, 07:33 AM   #4
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 2,061

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
In it's most basic form something like
Code:
ffmpeg -f fbdev -i /dev/fb0 -r 24 -c:v libx264 -b:v 500k output.avi
You can then capture sound if your sound device allows it, you can specify the size too if you wish.

Edit:

That would be something like.
Code:
ffmpeg -f fbdev -i /dev/fb0 -r 24 -s 640x480 -c:v libx264 -b:v 500k output.avi

Last edited by teckk; 05-31-2013 at 07:36 AM.
 
Old 05-31-2013, 07:52 AM   #5
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 2,061

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
And an easy way to do that would be to write a shell script that you can call from shell. Something like
Code:
#! /bin/bash

echo "What file name for capture?"
while read capture; do
ffmpeg -f fbdev -i /dev/fb0 -r 24 -c:v libx264 -b:v 500k $capture.avi
exit 0
done
Save it as cap.sh Make the script executable. You can then run it with ./cap.sh from shell. Press q when you want the capture to stop.
 
Old 05-31-2013, 11:01 AM   #6
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,357

Original Poster
Rep: Reputation: 213Reputation: 213Reputation: 213
Quote:
Originally Posted by teckk View Post
In it's most basic form something like
Code:
ffmpeg -f fbdev -i /dev/fb0 -r 24 -c:v libx264 -b:v 500k output.avi
You can then capture sound if your sound device allows it, you can specify the size too if you wish.

Edit:

That would be something like.
Code:
ffmpeg -f fbdev -i /dev/fb0 -r 24 -s 640x480 -c:v libx264 -b:v 500k output.avi
wooooowwww

I never imagined that. many many thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which Video grabber Software? nnjond Linux - Newbie 2 12-08-2009 05:17 PM
youtube video grabber svar Slackware 16 12-09-2008 11:19 AM
Webcam video grabber? goofybritt Linux - Software 1 02-09-2008 10:50 AM
linux video grabber satya3005 Linux - Hardware 2 12-25-2006 04:45 PM
video frame grabber? NetRAVEN5000 Linux - Software 6 05-05-2006 07:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration