maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   Need a screencast capturing solution, fast! (https://talk.maemo.org/showthread.php?t=76752)

ammyt 2011-09-14 18:55

Need a screencast capturing solution, fast!
 
Hey members,
I want to take a screencast from my N900, you know, "videoy" screenshots, load-applet honestly fails at doing that. Is there any streaming solution which streams video from my N900's screen rather than its camera(s)?

niloy 2011-09-14 19:00

Re: Need a screencast capturing solution, fast!
 
use vnc and screen capture on pc

pantera1989 2011-09-14 19:01

Re: Need a screencast capturing solution, fast!
 
Have you tried this solution?

ammyt 2011-09-14 19:21

Re: Need a screencast capturing solution, fast!
 
Quote:

Originally Posted by pantera1989 (Post 1088426)
Have you tried this solution?

Seems good, will try.

cddiede 2011-09-14 19:24

Re: Need a screencast capturing solution, fast!
 
Quote:

Originally Posted by pantera1989 (Post 1088426)
Have you tried this solution?

Holy crap!!! Is this legit?? That would be amazing to have the video capture from the load applet working correctly!!


Has anyone tried it? Not sure how safe I feel about installing a load applet replacement when I'm not ready for a re-flash should it go south.

ammyt 2011-09-14 19:45

Re: Need a screencast capturing solution, fast!
 
Quote:

Originally Posted by cddiede (Post 1088444)
Holy crap!!! Is this legit?? That would be amazing to have the video capture from the load applet working correctly!!


Has anyone tried it? Not sure how safe I feel about installing a load applet replacement when I'm not ready for a re-flash should it go south.

Did not work at all :(
I mean, when I tap the webcam icon, it changes to blue "tapped" but then when I "turn it off" nothing is recorded, .videos is empty...
Is it me? Or is this a fake?

Alfred 2011-09-14 20:15

Re: Need a screencast capturing solution, fast!
 
It works for me. You can even hear me typing with the hw

ammyt 2011-09-14 20:25

Re: Need a screencast capturing solution, fast!
 
Quote:

Originally Posted by Alfred (Post 1088479)
It works for me. You can even hear me typing with the hw

How? How? How?

vi_ 2011-09-14 20:40

Re: Need a screencast capturing solution, fast!
 
Stand back bros, I got this one...


Code:

ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -sameq /tmp/out.mpg
Quote:

A pure coincidence, I have done so much video processing with ffmpeg that I know what most of this command does without looking much in the manual.

The ffmpeg generally can be descibed as a command that takes a bunch of options and the last option is the output file. In this case the options are -f x11grab -s wxga -r 25 -i :0.0 -sameq and the output file is /tmp/out.mpg.

Here is what the options mean:

* -f x11grab makes ffmpeg to set the input video format as x11grab. The X11 framebuffer has a specific format it presents data in and it makes ffmpeg to decode it correctly.
* -s wxga makes ffmpeg to set the size of the video to wxga which is shortcut for 1366x768. This is a strange resolution to use, I'd just write -s 800x600.
* -r 25 sets the framerate of the video to 25fps.
* -i :0.0 sets the video input file to X11 display 0.0 at localhost.
* -sameq preserves the quality of input stream. It's best to preserve the quality and post-process it later.

You can also specify ffmpeg to grab display from another x-server by changing the -i :0.0 to -i host:0.0.
http://www.catonmat.net/blog/top-ten...efu-explained/

Alfred 2011-09-14 20:52

Re: Need a screencast capturing solution, fast!
 
Quote:

Originally Posted by ammyt (Post 1088490)
How? How? How?

sorry, buddy i dunno. I just did what it says on that mumbo-jumbo site, except for APT-GET -F INSTALL. I skipped that part and everything works.

ammyt 2011-09-14 21:01

Re: Need a screencast capturing solution, fast!
 
Quote:

Originally Posted by Alfred (Post 1088510)
sorry, buddy i dunno. I just did what it says on that mumbo-jumbo site, except for APT-GET -F INSTALL. I skipped that part and everything works.

AHA!
I reinstalled gstreamer, probably broke things down.

Anyway, using vi_'s technique now as a QBW, with a nice icon indeed :D

Alfred 2011-09-14 21:03

Re: Need a screencast capturing solution, fast!
 
Quote:

Originally Posted by ammyt (Post 1088513)
AHA!
I reinstalled gstreamer, probably broke things down.

Anyway, using vi_'s technique now as a QBW, with a nice icon indeed :D

i'll do it as well, because that thing takes a lot of space in the menu bar. Mind sharing that icon?

ammyt 2011-09-14 21:10

Re: Need a screencast capturing solution, fast!
 
Quote:

Originally Posted by Alfred (Post 1088518)
i'll do it as well, because that thing takes a lot of space in the menu bar. Mind sharing that icon?

Sure. Here:
http://i.imgur.com/yRBcP.jpg

Schturman 2011-09-15 12:30

Re: Need a screencast capturing solution, fast!
 
Quote:

Originally Posted by ammyt (Post 1088513)
AHA!
I reinstalled gstreamer, probably broke things down.

Anyway, using vi_'s technique now as a QBW, with a nice icon indeed :D

And how you stop the video recording with this technicue ?
Thanks

ammyt 2011-09-15 12:43

Re: Need a screencast capturing solution, fast!
 
Quote:

Originally Posted by Schturman (Post 1088854)
And how you stop the video recording with this technicue ?
Thanks

q

[Post Filler]

cddiede 2011-09-15 13:06

Re: Need a screencast capturing solution, fast!
 
Quote:

Originally Posted by ammyt (Post 1088513)
AHA!
I reinstalled gstreamer, probably broke things down.

Anyway, using vi_'s technique now as a QBW, with a nice icon indeed :D

So, wait, did you use the updated load applet after re-installing gstreamer, or did you us Vi_'s script with QBW?

Or did you just do both?

ammyt 2011-09-15 13:08

Re: Need a screencast capturing solution, fast!
 
Quote:

Originally Posted by cddiede (Post 1088873)
So, wait, did you use the updated load applet after re-installing gstreamer, or did you us Vi_'s script with QBW?

Or did you just do both?

vi_'s

The updated load-applet didn't work for me, I don't know how it worked with Alfred, nothing happens when I press the webcam icon...

Schturman 2011-09-15 13:38

Re: Need a screencast capturing solution, fast!
 
Quote:

Originally Posted by ammyt (Post 1088866)
q

[Post Filler]

Can you write please all process with this command step by step for noob's for getting this technique to work ?
Thanks

kaos_king 2011-09-22 11:31

Re: Need a screencast capturing solution, fast!
 
VI's method for me produces an error, any idea guys?

Same output as root too:

Code:

~ $ ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -sameq /tmp/out.mpg
FFmpeg version SVN-r19352-4:0.5+svn20090706-5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --enable-neon --enable-armvfp --enable-armv5te --enable-armv6 --enable-armv6t2 --extra-cflags=-mcpu=cortex-a8 -mfloat-abi=softfp -mfpu=neon --disable-encoder=h263 --disable-encoder=h263p --disable-encoder=mpeg2video --disable-encoder=mpeg4 --disable-encoder=msmpeg4v1 --disable-encoder=msmpeg4v2 --disable-encoder=msmpeg4v3 --extra-version=4:0.5+svn20090706-5 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libfaad --extra-cflags=-I/home/builder1/maemo-fremantle-armel-extras-devel/work/ffmpeg-0.5+svn20090706/debian/include --enable-shared --disable-static
  libavutil    49.15. 0 / 49.15. 0
  libavcodec    52.20. 0 / 52.20. 0
  libavformat  52.31. 0 / 52.31. 0
  libavdevice  52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale    0. 7. 1 /  0. 7. 1
  libpostproc  51. 2. 0 / 51. 2. 0
  built on Dec 21 2009 02:33:19, gcc: 4.2.1
[x11grab @ 0x2ebb0]device: :0.0 -> display: :0.0 x: 0 y: 0 width: 1366 height: 768
[x11grab @ 0x2ebb0]shared memory extension  found
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  137 (MIT-SHM)
  Minor opcode of failed request:  4 (X_ShmGetImage)
  Serial number of failed request:  11
  Current serial number in output stream:  11
~ $

Seems it doesnt like looping back :S

Mandibela 2011-09-22 12:05

Re: Need a screencast capturing solution, fast!
 
You could utilize the TV-out? It's not digital output but works. Many videos on youtube with that method. Works without a hassle... Also: http://meegos.ru/forum/viewtopic.php?id=2945

kaos_king 2011-09-22 13:34

Re: Need a screencast capturing solution, fast!
 
Quote:

Originally Posted by Mandibela (Post 1093875)
You could utilize the TV-out? It's not digital output but works. Many videos on youtube with that method. Works without a hassle... Also: http://meegos.ru/forum/viewtopic.php?id=2945

*Runs to google translate*

Ah I see, yeah but i'd like to do it soley on the n900 without the need for another device. It must be something simple im missing, others worked straight off?

Alfred 2011-09-22 13:41

Re: Need a screencast capturing solution, fast!
 
hey,
a link to a russian forum, great!
i am proud to be a russian!

Mandibela 2011-09-22 13:43

Re: Need a screencast capturing solution, fast!
 
Yes, well, the TV-out requires a external grabber. On the plus side, it doesn't slow the N900 down when recording =)

Doesn't the translated text help you at all? The commands can not be mistranslated anyway =D

If the 'general' methods don't work on your device, you need to tell us what you have tried, what works, and what not....

Oh yeah, you did =D

Looks like you're using something interfering stuff?

kaos_king 2011-09-22 14:40

Re: Need a screencast capturing solution, fast!
 
Figured it out, its a little bit of me being stupid it seems! lol

From vi_'s post and the site he linked it mentioned this

Quote:

* -s wxga makes ffmpeg to set the size of the video to wxga which is shortcut for 1366x768. This is a strange resolution to use, I'd just write -s 800x600.
and i was using "-s wxga" which is equivilent to using "-s 1366x768" so i changed this bit to "-s 800x480" with the rest of the command and it works.

N900 does slow down a bit though while encoding :(

Fabry 2011-11-24 14:40

Re: Need a screencast capturing solution, fast!
 
If this solution (x11grab + ffmpeg) or an another equivalent solution could use DSP (gstreamer ximagesrc + dsp ?) or faster cpu based encoder to reduce CPU usage, it might be like Apple's AirPlay or xBounds (for Android)


All times are GMT. The time now is 01:04.

vBulletin® Version 3.8.8