![]() |
Re: Taking a screencast on N900
Quote:
There aren't any switches that I'm aware (besides the -ncache 10) or I would have used them (but there's so many I really only poked around). First I determined what my issue was, ffmpeg on my laptop or vnc on my network and I found that it was mostly vnc. By changing the n900's network connection to DISABLE power-saving mode for my home network and by plugging it into the wall. I got a usable response 30% faster by my eye. Are you over-clocking your kernel, that has risks but may help? Be sure that you're running vnc unencrypted. (if it's on your local network I figured I'd be fine unencrypted, plus x11VNC only allows for one connection by default) If you're using ubuntu Remote Desktop in View only mode seems a lot faster. Don't forget that you can always use one of the may non-linear video editors to cut out some of the delay. I did that for a lot of my video because the photo editing can take 15secs at times. It's a fairly easy process, just snip out sections of delay. Also check top on your n900 to make sure nothing else like pulseaudio is running away your processor. |
Re: Taking a screencast on N900
jaem, Any luck with those suggestions?
|
Re: Taking a screencast on N900
Quote:
UPDATE: For now I'm just using the Qt Simulator. While not ideal, it gets the job done. Thanks for the help, though - I might keep working on the VNC method later on. |
Re: Taking a screencast on N900
as for me load-applet doesn't work with screencasts...
videos are choppy and async. And it doesn't even record transitions... Would be great if we could get a proper screencast solution... |
Re: Taking a screencast on N900
This would be amazing if it could work right. Be nice to show people how to install some hard to install apps and using the terminal.
|
Re: Taking a screencast on N900
So, there are three ways to do screencast on N900:
1) x11vnc method Connect to N900 via vnc and grab video with x11grab/ffmpeg or vncrec. On N900: Code:
x11vnc Code:
echo "Please, select window with vncviewer opened" Cons: low fps (9-10 max), no sound Example: http://www.youtube.com/watch?v=nL-7CBwoHnE 2) ffmpeg with x11grab module recording Record directly on the phone. It's something like: Code:
$ ffmpeg -f x11grab -s 800x480 -r 24 -b 100k -bf 2 -g 300 -i :0.0 -ar 22050 -ab 64k -acodec libmp3lame outputvid.mpeg But anyway it's slowest method. Pros: very good quality, sound recording Cons: low fps(5-8), limited recording time(by disk space), high CPU consumption 3) using tv-out and tv-tuner card The best methond I've tested so far. Tested with AverMedia TV pcmcia-tuner. On the desktop PC: HTML Code:
cvlc v4l2:///dev/video1 :v4l2-standard=0 :v4l2-input=1 :input-slave=alsa://plughw:2,0 --sout='#transcode{vcodec=mp2v,vb=4096,acodec=mp2a,ab=192,scale=1,channels=2,deinterlace,audio-sync}:duplicate{dst=display,dst=std{access=file, mux=ps,dst="out.mpg"}}' Pros: relatively good quality, perfect fps rate (30fps), unlimited recording time, sound recording, no CPU consumption on N900 Cons: image quality isn't perfect Example: http://www.youtube.com/watch?v=meTeTCSuCcc |
Re: Taking a screencast on N900
It is possible to capture video with ffmpeg, transfer raw video through network, and encode it on PC.
This option is better than vnc both by FPS and picture quality. Audio can be captured separately. So, there are two options: ffmpeg+network+ffmpeg, with perfect image quality and low FPS (cpu usage without encoding is neglible) and tv-out with perfect FPS but not perfect image quality (depends on your capture device). Commands I used: On PC: Code:
ffmpeg -f rawvideo -pix_fmt rgb565 -s 800x480 -r 10 -i tcp://192.168.2.14:8000?listen capture.mp4 Code:
ffmpeg -f x11grab -s 800x480 -r 10 -i :0.0 -f rawvideo tcp://192.168.2.14:8000 |
All times are GMT. The time now is 18:57. |
vBulletin® Version 3.8.8