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

Activate mode H264 #3

Open
lassouedramzi opened this issue Jul 10, 2013 · 2 comments
Open

Activate mode H264 #3

lassouedramzi opened this issue Jul 10, 2013 · 2 comments

Comments

@lassouedramzi
Copy link

I use your code to display a usb webcam with Nexus 7, the video is displayed is very good, but it is YUV420 , I would like enabled full HD 1080p, to do that we need h264 compression, when I activate the code with <fmt.fmt.pix.pixelformat=V4L2_PIX_FMT_H264;> I have a green display and the app crash after 20 seconds,
I think we need a method to convert h264 to rgb instead of yuv to rgb;
how can I activate this mode h264 ? and thank you in advance;

@peplin
Copy link
Member

peplin commented Jul 10, 2013

@colinm1 this may be of interest to you to work on to boost the performance and image quality for your project.

@fengbenpaao
Copy link

@lassouedramzi are you try to do that ? I want to try; when I use the https://github.com/saki4510t/UVCCamera; switch to h264 preview;

I have a green display and the app crash after 5 seconds, I think maybe I420toARGB has some issues;
when I use the libyuv to do I420toARGB , the problem is same, can not show the preview;

how to do it ?

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

3 participants