View Single Post
Posts: 204 | Thanked: 423 times | Joined on Jan 2011
#27
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
On N900 (connected via USB network):
Code:
ffmpeg -f x11grab -s 800x480 -r 10 -i :0.0 -f rawvideo tcp://192.168.2.14:8000
Oh, forgot to mention: it also captures mouse cursor, have no idea how to get rid of it, draw_mouse 0 option doesn't working :(

Last edited by hxka; 2012-10-08 at 17:13.