-
-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code stucks at cup.suckUp methord ??? #79
Comments
same problem for me, I hope someone has an answer |
I was hanged up on this issue too for past 3 days. The basic issue is from video codecs and the only temporary fix I got is to decrease the bitrate of recorded video and it started to work. 👍 |
Bro I have been facing this for a while now, can you please tell me what exactly have you used/done to decrease the bitrate of the recorded video? |
So, I used camera plugin to record videos. It ResolutionPreset was set to max I just downgraded it to keep things working. That's why I mentioned it's a temporary fix but, it works. |
Hey i have the same problem, i'm trying to build an app with camera plugin to record videos and then i want to add an overlay text to the video. Can we talk of how did you do that? |
No worries, share me the issue you are facing. |
Can you pass me an email so we can talk? |
You can connect me via my LinkedIn: https://www.linkedin.com/in/syed-musab/ |
@MusabBoltX it didnt work for me even after downgrading. Any fix? Mine is also stucked at cup.suckUp method |
Adding it here also that my code also gets stuck at the cup.suckUp method. my current implementation: |
Can you explain how did you record the video and if using camera plugin please attach video controller properties? |
Looks like your video format is not supported. Do try lower quality mp4 videos, there will be a certain threshold upto where the certain video quality will work. |
I got mine to work by doing this in my pubspec.yaml. tapioca: Hope this helps |
try {
final String path = await _getTempPath();
log('applyFiltersToVideo Filter Index ${state.filterIndex}');
Cup cup = Cup(
Content(state.videoFile!.path), tapiocaBalls[state.filterIndex]);
log('cup created');
await cup.suckUp(path).then((value) => log('suckUp value: $value'));/////// stucks here /////
log('return value');
return path;
} catch (e) {
log("error on filter applying ==================$e");
}
}
The text was updated successfully, but these errors were encountered: