I'm asking almost a week Google, ChatGPT etc for this question. I want to create a screen with Flutter. I'm creating a video editor app. There are needs;
A player should be in the screen (this is a preview player)
I need to list videos I selected from gallery (like iMovie sequence)
I could play and pause the preview video
You can think like I need to implode and preview the videos. Then I will render with FFmpeg. Do you know what is the keywords I need to search? I didn't catch with video_player or chewie packages.
Related
I have a situation wherein ,I want to capture video and audio from a external camera and view the media in any container format like (MP4,FLV,MKV etc) and play it in ExoPlayer or any ..Is this possible.??
And I am using a HiMedia Q10 Android Box..
...It would be really helpful if someone could suggest me with some ideas...!!
i am making an music player in android, i have a list with album art and all the song information in it. now when i play a certain song i want the album art to change and instead i want a 3 bar visualizer there similar to google music player, equalizer+ music player. I dont seem to understand how to do a 3 bar visualizer, and i am not sure wether those 3 bars are visualizers. any suggestion how to go about it would help, i am attaching two pics of google music before the song is played and during the song is playing, notice the 3 bars in the left.image before playing
Image after playing
There is an Android Visualizer library available that has a visualization mode with frequency distributions (the 'bar visualization'):
gif
There are various other visualization modes available, the source code of the Bar visualizer is available here and can be customized to fit your needs.
A demo of how to use the library with the MediaPlayer is included in the project.
https://github.com/felixpalmer/android-visualizer
I'm trying to make an Android App and I need help.
Do you have any idea how to play a online video (like a video on Youtube) in side-by-side view at the very same time by using Android WebView?
so, when I watch a Youtube video, I want to be able to have two views on left and right side on My Android SmartPhone Screen, and play and control the same video both on left and right views at the very same time.
Regards.
----2nd Feb, edited----
following things I've tried and failed.
・using Youtube API, get 3gp address, and try to play it with VideoView
・Using draw method and getDrawingCache method of WebView
・using onShowCustomView of WebView
Look at using a html5 video player like Video.js or Sublime Video. You will need to create some javascript with each of these that fires the left and right video at the same time.
You can also look at what this guys did for some more inspiration.
http://html5demos.com/two-videos
The trick is getting the videos to fire at the same time if you need them in sync. It's not easy to achieve if you don't control the source video and server as you are relying on an outside party to do this. YouTube is NOT a good choice for serving your videos if you need them to be in sync as you can't guarantee the video load and launch times, or control if an ad will get injected into the video stream.
I have to make an android program which can play video according to a planning. while player runs, when it comes to a specific moment i want to play another video from URL. second video is an ads clip. after ads clip finishes, main video should continue. Is it possible? Is there any media player on android market which I can configure or I shall develop one matching my needs? What steps should I make?
I am developing an android application in which a specific video is played when the poster of a specific movie is shown infront of the camera in android, i found many AR tutorial just show 3D object when detect a pattern, i need some advice to make application that can play video with AR application using android camera and qcar SDK
I don't know qcar, but of course you can put a SurfaceView upon an existing SurfaceView from your CameraPreview and play a video in it.
What I would do is implementing your poster-recognition logic, this will be tricky enough and then, If it works reliable, I would add another SurfaceView in which the video is played.
You will find out, that the CameraPreview surface has actually to be on top of the video surface.
I assume you are trying to play video on glsurface ,it is possible by using surface video texture ,but only ics(4.0) and above devices support surface video texture.Vuforia have a very good sample of this here,you can handle what to do for lower devices such as playing video fullscreen etc..