cedarx-libs icon indicating copy to clipboard operation
cedarx-libs copied to clipboard

h264 encoding demo

Open feuera opened this issue 11 years ago • 6 comments

Is there a working h264 encoding demo? enc_dec_demo does not seem to compile. It uses older include files (e.g. #include "encoder_type.h") existing in earlier versions of the "old" directory (I think its renamed to type.h)

There is a demo in old directory called "EncoderDemo" which comiles but seems to have issues with the current kernel/board configurations? My debug output gets flooded with disp pixel sequence and or scaler issues. The Display does not show any valid picture/video.

I use an a13-olinuxino board for testing. Thank you, Andreas

feuera avatar Sep 05 '13 09:09 feuera

Use other demo. https://github.com/patrickhwood/h264encoder

mittorn avatar Jan 24 '14 18:01 mittorn

Thank you very much! I'll look into that..

On Fri, 24 Jan 2014 19:00:44 +0100, mittorn [email protected]
wrote:

Use other demo. https://github.com/patrickhwood/h264encoder

— Reply to this email directly or view it on GitHub.

feuera avatar Jan 30 '14 09:01 feuera

Dear developers, Thank you for the demo files. I tried the other demo, but met a problem called Open file /dev/cedar_dev failed. I used pcDuino board with Allwinner A10 CPU. So could you please explain how to solve this problem?

Thank you very much!

c1111f1 avatar Mar 22 '14 15:03 c1111f1

On 03/22/2014 04:42 PM, c1111f1 wrote:

Dear developers, Thank you for the demo files. I tried the other demo, but met a problem called Open file /dev/cedar_dev failed. I used pcDuino board with Allwinner A10 CPU. So could you please explain how to solve this problem?

Did you check permissions or if the file exists at all?

Did you follow the howto? http://linux-sunxi.org/Cedrus

Thank you very much!

— Reply to this email directly or view it on GitHub https://github.com/linux-sunxi/cedarx-libs/issues/4#issuecomment-38354802.

oliv3r avatar Mar 22 '14 15:03 oliv3r

Thank you for you so fast reply! I will try it.

c1111f1 avatar Mar 22 '14 15:03 c1111f1

Yes. I used "root" to run that app and it worked. But I still has some problems about color space. I used YUV420 "foreman.yuv" sequence to test the app and used VLC to check the output file. I fount the color was not right but the Y image was OK now. I need to consider the RAW file format.

Thank you again.

c1111f1 avatar Mar 22 '14 15:03 c1111f1