Code Monkey home page Code Monkey logo

Comments (8)

CJT2325 avatar CJT2325 commented on August 23, 2024

这个还没有实现····

from cameraview.

ZSFeng avatar ZSFeng commented on August 23, 2024

要是想实现有什么思路吗?求大神解答,不然横着拍出来的效果不好...

from cameraview.

CJT2325 avatar CJT2325 commented on August 23, 2024

拍照倒不是很难,不过录视频就可能麻烦很多

from cameraview.

ZSFeng avatar ZSFeng commented on August 23, 2024

那拍照能分析下如何做吗?希望以后能实现这个功能

from cameraview.

CJT2325 avatar CJT2325 commented on August 23, 2024

@ZSFeng 已经添加该功能,拍照和视频后的浏览都会根据手机水平方向进行相应旋转

from cameraview.

ZSFeng avatar ZSFeng commented on August 23, 2024

@CJT2325 1.0.2版本,测试demo有几个问题:
1、竖着录像后预览没有之前版本的全屏,好像被压瘪的感觉?
2、前后摄像头切换,视图好像有点变形
3、录像比较模糊的感觉
4、拍照录像后预览,还能点击聚焦

from cameraview.

ZSFeng avatar ZSFeng commented on August 23, 2024

@CJT2325 上面有一些问题可能是不同手机适配问题。然后有些手机一按住录像,界面视图就卡住了,但进度条还在走,后台log:
E/MediaPlayer: error (100, 0)
I/CameraFramework: handleMessage: 1
E/CameraFramework: Error 100
放开log:
E/MediaPlayer: Unable to to create media player
W/System.err: java.io.IOException: setDataSourceFD failed.: status=0x80000000
W/System.err: at android.media.MediaPlayer.setDataSource(Native Method)
W/System.err: at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1032)
W/System.err: at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1011)
W/System.err: at android.media.MediaPlayer.setDataSource(MediaPlayer.java:974)
W/System.err: at com.cjt2325.cameralibrary.JCameraView$2$3$1.run(JCameraView.java:281)
W/System.err: at java.lang.Thread.run(Thread.java:838)

from cameraview.

CJT2325 avatar CJT2325 commented on August 23, 2024

445263848 Q

from cameraview.

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.