Thank you Rosimildo for the info, that really broke my legs!

Do you have any suggestion how i can encode it with easy?

On Wednesday, December 30, 2015 at 5:06:20 PM UTC-2, Rosimildo DaSilva 
wrote:
>
> The code is not complete and some folks have added "Issues" to the github.
>
> Basically two thing are missing:
>
> a) The "DEVICES" code are missings
> b) Memory Allocators are missing ( ION and/or SUNXI_MEM )
>
> Unless AW really does something to fix it, it is useless the code.
>
>
> R
>
>
> 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.

Reply via email to