On Friday, January 9, 2015 at 5:00:05 PM UTC+6, Laurent d'Havé wrote:
>
> Hello
>
> I'd like to know if it's possible to use the video encoder to save to file 
> the video output ?
>
> So the device would output to hdmi , and in the same time, save to file 
> what is displayed.
>
> I'm waiting on my A20 dev board
>
I think it's possible. Look at encoder demo code. You can get real 
framebuffer address from /dev/disp and use it in PoC h.264 encoder instead 
of allocating memory.  https://github.com/jemk/cedrus/tree/master/h264enc 
There is camera app. Or look at capture application in encoder demo 
https://github.com/linux-sunxi/cedarx-libs/blob/master/enc_dec_demo/capture/capture.c
It can be modifed to capture framebuffer.

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to