Git Product home page Git Product logo

video-crop's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

video-crop's Issues

Record Video only a certain portion of the screen

Dear Dmytro Danylyk,

I'm very sorry to contact you here, because I'm confused about how to send messages to you via github. I think you have the ability and experience in the field of cutting videos based on Android.

I would like to invite you to contribute to the development of open source projects because I am confused as to who I should ask for help.

I have an issue regarding cutting videos here, if you are willing to see and try to solve the issue, of course we are very happy and this will have an impact on android developers in Cordova.

Here I attach the issue link below
monkeyDledger/cordova-plugin-screenrecord#4

and this link source code below
https://github.com/monkeyDledger/cordova-plugin-screenrecord/tree/master/src/android

How to add multiple timelines for multiple videos selected

Please help me out in achieving multiple Timelines, where to display the frames of selected videos

Reference Image
image

Here, in the screenshot have used three Timelines and with a horizontal scroll to view the frames of all three timelines at a time.
Plus icon is used to select Video/Image from Phone gallery. Selected media will appear in respective timelines

StrictMode Closeables

You seem to leak a lot of resources.

09-16 16:10:35.809  10955-10967/com.justyoyo.staging.debug E/StrictMode﹕ A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.
    java.lang.Throwable: Explicit termination method 'release' not called
            at dalvik.system.CloseGuard.open(CloseGuard.java:184)
            at android.view.Surface.setNativeObjectLocked(Surface.java:397)
            at android.view.Surface.<init>(Surface.java:128)
            at com.justyoyo.ui.views.video.TextureVideoView.onSurfaceTextureAvailable(TextureVideoView.java:359)
            at android.view.TextureView.getHardwareLayer(TextureView.java:385)
            at android.view.View.getDisplayList(View.java:13353)
            at android.view.View.getDisplayList(View.java:13429)
            at android.view.View.draw(View.java:14207)
            at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
            at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
            at android.view.View.getDisplayList(View.java:13382)
            at android.view.View.getDisplayList(View.java:13429)
            at android.view.View.draw(View.java:14207)
            at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
            at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
            at android.view.View.getDisplayList(View.java:13382)
            at android.view.View.getDisplayList(View.java:13429)
            at android.view.View.draw(View.java:14207)
            at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
            at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
            at android.view.View.getDisplayList(View.java:13382)
            at android.view.View.getDisplayList(View.java:13429)
            at android.view.View.draw(View.java:14207)
            at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
            at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
            at android.view.View.draw(View.java:14493)
            at android.widget.FrameLayout.draw(FrameLayout.java:472)
            at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java)
            at android.view.View.getDisplayList(View.java:13387)
            at android.view.View.getDisplayList(View.java:13429)
            at android.view.HardwareRenderer$GlRenderer.buildDisplayList(HardwareRenderer.java:1570)
            at android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:1449)
            at android.view.ViewRootImpl.draw(ViewRootImpl.java:2488)
            at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2343)
            at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1935)
            at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1025)
            at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5808)
            at android.view.Choreographer$CallbackRecord.run(Choreographer.java:791)
            at android.view.Choreographer.doCallbacks(Choreographer.java:595)
            at android.view.Choreographer.doFrame(Choreographer.java:555)
            at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:777)
            at android.os.Handler.handleCallback(Handler.java:733)
            at android.os.Handler.dispatchMessage(Handler.java:95)
            at android.os.Looper.loop(Looper.java:136)
            at android.app.ActivityThread.main(ActivityThread.java:5171)
            at java.lang.reflect.Method.invoke(Native Method)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:837)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:653)

keeping aspect ratio and scaling down

Hey there, I am having trouble using TextureVideoView to scale down the video itself while keeping the aspect ratio, any idea on how to do it? ScaleType only includes TOP, DOWN and CROP_CENTER

video catching on 4k screens

i tested on my moto maxx and video is extremely catching. tested cropping videos with full background and no compoments in the front of the video. sorry my bad english.

Question: How to use same technique for ImageView (for preview before showing video), and allow to view in CardView?

I've looked at your code to solve this :

https://stackoverflow.com/q/54216273/878126

Meaning not "top" or "center", but let's say "10% from the top (but centered horizontally) ...

Thing is, I've noticed that it doesn't work well for ImageView that I've set on top, as a preview before playing the video. I got a Github repo here:

https://github.com/AndroidDeveloperLB/ExoPlayerScaleCrop/

CENTER_CROP

the scaleType "CENTER_CROP" is not totally same with the CENTER_CROP of ImageView

Freezes on Samsung S6

I've tried to scroll down a list of MP4s and .gifs with this implementation but it ends up freezing the UI. Any ideas on what the issue could be?

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.