Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

h264 encoding demo #4

Open
feuera opened this issue Sep 5, 2013 · 6 comments
Open

h264 encoding demo #4

feuera opened this issue Sep 5, 2013 · 6 comments

Comments

@feuera
Copy link

feuera commented Sep 5, 2013

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

@mittorn
Copy link

mittorn commented Jan 24, 2014

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

@feuera
Copy link
Author

feuera commented Jan 30, 2014

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

On Fri, 24 Jan 2014 19:00:44 +0100, mittorn notifications@github.com
wrote:

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


Reply to this email directly or view it on GitHub.

@c1111f1
Copy link

c1111f1 commented Mar 22, 2014

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!

@oliv3r
Copy link
Member

oliv3r commented Mar 22, 2014

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
#4 (comment).

@c1111f1
Copy link

c1111f1 commented Mar 22, 2014

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

@c1111f1
Copy link

c1111f1 commented Mar 22, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants