Giter VIP home page Giter VIP logo

Comments (16)

haogg avatar haogg commented on August 16, 2024

Samsung Gt-M08 is also not working。The case is that It comes a weird preview screen likehttp://share.weiyun.com/3e9d6eaf8639784f2f13a8ce6b495c37 .It seems that the camera has stopped.But no more log showed in Logcat

from landscapevideocamera.

pauluhn avatar pauluhn commented on August 16, 2024

CameraWrapper:getSupportedVideoSizes
params.getSupportedVideoSizes returns null
if null, return getSupportedPreviewSizes seems to work

from landscapevideocamera.

JeroenMols avatar JeroenMols commented on August 16, 2024

Hi @shaileshmulange and @haogg,

Could you please try out the solution from @pauluhn?
In case that works, I will add this to the library and create a new release.

Warm regards,
Jeroen

@pauluhn 👍 Thanks for suggesting a fix

from landscapevideocamera.

tvaamorim avatar tvaamorim commented on August 16, 2024

@pauluhn or @JeroenMols can you explain better how tofix this? I'm receiving this error on a galaxy nexus
"Failed to find supported recording size - falling back to requested: 776x480"

The code

            int fileDuration = 10;
            int filesize = CaptureConfiguration.NO_FILESIZE_LIMIT;
            final CaptureConfiguration config = new CaptureConfiguration( 776,480,1750000, fileDuration, filesize);
            final Intent intent = new Intent(getActivity(), VideoCaptureActivity.class);
            intent.putExtra(VideoCaptureActivity.EXTRA_CAPTURE_CONFIGURATION, config);
            intent.putExtra(VideoCaptureActivity.EXTRA_OUTPUT_FILENAME, "video_created");
            startActivityForResult(intent, 152);

I have change to 800X480 but I'm not sure if works i all cellphones, there is anyway to identify it?
Thanks

from landscapevideocamera.

JeroenMols avatar JeroenMols commented on August 16, 2024

Hi @PutzDF,

I'v implemented a fallback to the preview video size when there is no hit for an actual video size. This should fix the original issue as reported by @shaileshmulange.

Can you retest to see if this also solves your issue?

from landscapevideocamera.

tvaamorim avatar tvaamorim commented on August 16, 2024

@JeroenMols there is a new release with this fix? 1.1.1 ?

from landscapevideocamera.

JeroenMols avatar JeroenMols commented on August 16, 2024

@PutzDF Yes, just made a new release.
Sample app is also updated but still pending Google Play approval.

from landscapevideocamera.

codingmakemehappy avatar codingmakemehappy commented on August 16, 2024

@JeroenMols I tested this app on Samsung GT-S7568,preview is OK,but when click capture button,full screen being black and can not do other any operations,just only take off battery... Can you fix it?
my test version is : 1.1.1

from landscapevideocamera.

tvaamorim avatar tvaamorim commented on August 16, 2024

@JeroenMols Gradle can't find the version 1.1.1, I will download it and test it later today. Thanks

from landscapevideocamera.

JeroenMols avatar JeroenMols commented on August 16, 2024

@tvaamorim mind the case sensitiveness of the Gradle dependency (I've updated the readme). It used to be all lower case, but JitPack changed something and now only the reference with upper cases is working.

from landscapevideocamera.

JeroenMols avatar JeroenMols commented on August 16, 2024

@mrzasan I don't have such a device to test on unfortunately. Can you download the entire repository and debug yourself to pinpoint the issue? I can help brainstorming about solutions.

from landscapevideocamera.

codingmakemehappy avatar codingmakemehappy commented on August 16, 2024

Yes,of course.When i am free i will try it.

在 2015年9月4日,14:35,Jeroen Mols [email protected] 写道:

@mrzasan I don't have such a device to test on unfortunately. Can you download the entire repository and debug yourself to pinpoint the issue? I can help brainstorming about solutions.


Reply to this email directly or view it on GitHub.

from landscapevideocamera.

JeroenMols avatar JeroenMols commented on August 16, 2024

@mrzasan did you have time to check this issue? it's been open for way to long now

from landscapevideocamera.

JeroenMols avatar JeroenMols commented on August 16, 2024

Closing this issue because no response from reporter

from landscapevideocamera.

YudizPankit avatar YudizPankit commented on August 16, 2024

I'm also having same issue in my Samsung S6.

from landscapevideocamera.

kevalpatel2106 avatar kevalpatel2106 commented on August 16, 2024

@YudizPankit I can confirm that this is working on my Galaxy S6.

from landscapevideocamera.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.