User Activity

  • Posted a comment on discussion General Discussion on Open Camera

    Cool! Code reviews are a good thing and feedback would be most welcomed! My Java is a little rusty and I only saw that code for the first time the week before last. Don't feel you have to fix issue in my contribution yourself.

  • Posted a comment on discussion General Discussion on Open Camera

    I figured it out. Since the device supports photo_video_recording, a third surface (3840x2160) is automatically added to the capture session in addition to the preview and record 1920x1080 surfaces. Since the max frame rate for 3840x2160 is 30fps, that's the limit. My feeling is that if a user selects a specific frame rate, that should be honored if possible so a few things can be done... Add a "Disable photo capture if selected frame rate can't be met" option to video settings and disable the "take...

  • Posted a comment on discussion General Discussion on Open Camera

    OK, here's the latest patch BUT somehow I lost 60fps recording again. 120 works as does not-quite 240. Just not 60. I DID have it working, I swear. :) Anyway, I 'll keep working on it. I was able to get Google's Camera2Video example to work at 60fps so I know it can be done. To make things like this easier, you may want to think about refactoring Preview and the CameraControllers into separate classes for still vs video and Camera vs Camera2. It's really hard to figure out what gets called in what...

  • Modified a comment on discussion General Discussion on Open Camera

    You can have the copyright. also there were some bugs in that patch which I need to correct so stay tuned. :)

  • Posted a comment on discussion General Discussion on Open Camera

    will do. also there were some bugs in that patch which I need to correct so stay tuned. :)

  • Modified a comment on discussion General Discussion on Open Camera

    Here's the patch. I probably went a bit overboard on the refactoring, sorry. :) Most of the work was in refactoring getVideoProfile and that started a ripple effect (as refactoring often does). In any case, things still to do would be to filter the preferences dialogs so if you specify a specific resolution, you only get frame rates the resolution supports. Also the addition of the capture to encoder frame rates for slow/fast motion. The thing to pay attention to is that "high speed" is now determined...

  • Posted a comment on discussion General Discussion on Open Camera

    Here's the patch. I probably went a bit overboard on the refactoring, sorry. :) Most of the work was in refactoring getVideoProfile and that started a ripple effect (as refactoring often does). In any case, things still to do would be to filter the preferences dialogs so if you specify a specific resolution, you only get frame rates the resolution supports. Also the addition of the capture to encoder frame rates for slow/fast motion. The thing to pay attention to is that "high speed" is now determined...

  • Posted a comment on discussion General Discussion on Open Camera

    So now I DO have 60fps without using high speed and still have 120 and audio with high speed. Now the question is how to integrate that into the codebase as it required changes to Preview, CameraController2 and VideoProfile. The changes to CameraController2 and VideoProfile are generic and should work on any device. For CameraController2, I just implemeneted the setPreviewFpsRange and getSupportedPreviewFpsRange methods. For VideoProfile, I added audioChannels, audioBitRate, audioSampleRate, videoEncodingProfile...

View All

Personal Data

Username:
isgtj0
Joined:
2003-08-01 23:47:59
Location:
United States / MDT
Gender:
Male

Projects

This is a list of open source software projects that George Joseph is associated with:

Personal Tools