Thank you Rosimildo! I will try it out and see how i can glue it to a 'C' program, if you don't mind being asked very basic questions. Don't get me wrong but why you choose C++? I will take some time to port it to C.
Anyways thanks for the hard work. @lex On Friday, March 11, 2016 at 9:32:09 AM UTC-3, Rosimildo DaSilva wrote: > > Hi guys, > > I have finally completed an initial version of AW H/W encoder based > utility. It is based on H3 blobs, provided by AW. > > See README: > > https://github.com/rosimildo/videoenc > > This is a starting point, and hope we get some traction to implement > something using open sources... but this might provide some test points to > archive the goal. > > Thanks, Rosimildo > > > On Wednesday, December 30, 2015 at 9:05:46 AM UTC-6, @lex wrote: >> >> Hi, >> >> I am trying to make the vencoder demo works, the sample provided in >> media-codec from allwinner. >> Bear in mind i am new to the encoding process, let's see if what i want >> is possible and if i am doing the right way and if you can help. >> >> I would like to convert a 720p YUV420 image i grabbed from my camera into >> JPEG image, that is all i need, the fastest way possible using less CPU. >> I managed to compile the demo and the framework, so i changed the >> following: >> >> src_width = 1280; >> src_height = 720; >> dst_width = 1280; >> dst_height = 720; >> >> codecType = VENC_CODED_JPEG; >> baseConfig.eInpuFormat = VENC_PIXEL_YUV420SP; >> >> I get "segmentation fault" with this parameters. >> >> So, the questions are: >> a) Is my understanding that i can use this to encode my YUV to JPEG >> correct? >> b) Has anyone tested, used or checked if the framework really works? >> c) Can you share a piece of code to achieve this simple task? or even >> share a YUV sample image that works with the demo? >> >> @lex >> >> >> >> >> >> >> -- 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.