Stefan, He is looking for an Encoder and libvdpau-sunxi providers a decoder functionality. I don't think there is any RE encoder code, except this stupidity that AW released, very incomplete. There is a PoC of a H264 encoder, but that is not available for anything beyond A10/A20, I guess.
R On Wednesday, December 30, 2015 at 10:45:37 PM UTC-6, Stefan Monnier wrote: > > Don't waste your time with allwinner-zh/media-codec. > Try and use the libvdpau-sunxi instead. It needs a lot of work, but > at least it's cleaner and will benefit more people in the long run. > > > Stefan > > > >>>>> "@lex" == @lex <[email protected] <javascript:>> writes: > > > 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 [email protected] <javascript:>. > > For more options, visit https://groups.google.com/d/optout. > > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
