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]> 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].
> 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.

Reply via email to