Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I am looking for a plugin or example of a video editor in flutter using dart.
I have tried the following plugin https://pub.dartlang.org/packages/video_player, but it doesn't seems to have properties that I can edit the video. Example trim or add a watermark on the video.
Many Thanks
You can use this Flutter package called video_trimmer. This package is developed by me, it helps in trimming videos in most of the commonly used formats. You can also generate GIFs from the videos.
This also provides a nice UI for trimming videos.
The package is currently in beta stage. So, feel free to make a PR on the GitHub repo of this package, if you have any suggestions for improvement.
Currently, it doesn't have the feature to add a watermark to any video.
Comments mentioned https://github.com/tanersener/flutter-ffmpeg, though I couldn’t find anything that explicitly documents a way to edit the video, such as a watermark. But it should be possible according to others https://stackoverflow.com/a/57847155/6668797.
There’s also https://pub.dev/packages/video_manipulation
Adding still frames to an existing video, e.g. watermarks
.generateVideo(List<String> paths, String filename, int fps, double
speed).
Parameters paths list of input file paths. Can be images (.jpg or
.png) or video files (.mp4) that are used to generate the new video.
E.g.: ["documents/input.mp4", "documents/watermark.jpg]
Otherwise, there’s currently not much in readily available packages for video editing for Flutter as I couldn't find anymore at https://pub.dev/flutter. For more options, you’ll have to seek out native Android/iOS libraries and custom integrate them through the platform channels.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Background:
I've spent all day looking for an appropriate game engine/API to realize a little game idea I had recently. It's supposed to be a simple 2D pixel art game. Usually, I use Monogame to make my games but the problem is that I need to be able to play multiple songs (preferably .ogg) at the same time. Monogame only allows you to play multiple .wav files but these start adding up quickly (I'm already at 250MB with only five 3 minute songs). So I started looking for other solutions but I came up empty. GameMaker doesn't allow it, SDL_Mixer can't do it, Monkey X neither and SFML can do it but doesn't support mobile.
Questions:
Do mobile devices (like iOS and Android) even support playing multiple compressed files simultaneously? And if so, how many can you do performance wise (as far as I understand it can tax the CPU quite heavily).
Do you know of any cross-platform game engines/API's that support this feature?
Thanks in advance
Have you looked into unity? As far as I see it supports: .mp3, .ogg, .wav, .aiff / .aif and so on. I believe you can play multiple .ogg files at once and that preformance shouldn't be impacted very much, however I haven't been working with sound in unity so I can't confirm any of these claims from personal experience.
Edit: refer to: https://docs.unity3d.com/Manual/AudioFiles.html
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I have been looking for an image editing SDK for Android, something that includes an option for custom stickers. A good example would be the Adobe Creative SDK (previously the Aviary SDK), though the current build only supports customizing which features to include, with no option to add your own stickers. Another good example would be the Fotor SDK, which did support adding your own stickers, but it is now under development, with no way of accessing the previous version (that I know of).
There are a few more editing SDKs available, including the PhotoEditor SDK by img.ly and CLImageEditor, but only for iOS. If anyone knows of an Android editing SDK with a sticker feature, or if someone could point me toward some decent resources on the subject (which I have not been able to find) so I can create my own, it would be greatly appreciated.
The Img.ly PhotoEditor SDK is now also available for Android. You can also easily add your own assets like stickers and fonts.
You can get a reference to the stickers array like so:
ArrayList<ImageStickerConfig> stickers = PhotoEditorSdkConfig.getStickerConfig();
For the complete example consult the docs
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I need to add video filter in my android app like Instagram. I searched alot but did not find much stuff. Is there any library for this like aviary sdk for image editing ?
The shortest way to do this would be using OpenCV library for Java (importing it to Android project could be trcky) - it enables you to easaly extract each frame to different types of Image objects on which you can apply your filter (not sure if OpenCV contains tools for doing this) and then composing a new Video with modified frames.
Have in mind that this might be highly both CPU and battery consuming and I am not quite sure how would this work on various hardware configurations.
The other - longer - solution is to dig in to Android NDK and try to use ffmpeg. All in all it might decrease CPU load.
Also the new Android L release will provide some basic filters for Camera (not sure if this includes videos) https://www.youtube.com/watch?v=Xtp3tH27OFs so you could wait for some Compat library
I have give some filter for video like instagram filter using OpenGL ES. That is very fast and very nice.
If you just want to filter and show the video, u can see about this example, u can visit https://www.virag.si/2014/03/playing-video-with-opengl-on-android/. For another filter u can edit the fragment_shader.
But, if you need to render the video filtered and save that to sd card, you need mediacodec and mediamuxer. You can show the example from here http://bigflake.com/mediacodec/.
Hope this can help u, and sorry about my english.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I need to make an Android app that can recognize certain sound files created by me, and do an action on recognition. So something similar to Shazam/Soundhound, but with my own sound files.
Is there any API or SDK or something for this?
I've read about Echoprint, but i understand it is for Windows and iOS and it seems quite difficult for me. Would that work? Or are there any other options?
PS: To make it clear, i don't want voice recognition, or text-to-speech. My sound files can have music, distorted voice, effects etc
ACRCloud supports Music/Audio search engine, 50 million songs/User-upload content are supported, SDK for iOS/Android/Linux, which could be downloaded after registration (http://console.acrcloud.com/signup). There are three tiers for the customers:
Free tier, for demo/prototyping
Accelerating tier, for startups
Commercial tier
wish this helps
One year later, and I've ended up using Echoprint compiled for Android as explained here. It gets some results, but in general it works pretty poorly, especially with custom sound files. Echoprint is not designed for OTA recognition. I would recommend it for a testing/prototyping kind of thing, but not for production. Unfortunately, so far it's the only one allowing you to have your own server and sound files.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I want to do video compression.
Actually in my application I want to have two options, one is low and another is high. If I choose the low option then the application will compress the video and then upload it. If I choose high then it will upload the original video which I have recorded itself.
I want to do this thing in my application and I'm confused. I have searched google a lot but I'm not able to find the useful way to solve this question please if anyone can help me out.
I used ffmpeg4android,
And was able to achieve this in about 10min using only java,
Note that its a commercial library.
Yes in android you can us ffmpeg4android for compress video it's native library
Please check this link
ffmpeg4android Code
Install the Android NDK First to Use it