Skip to content
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

Bulid creation freezes #1

Open
sk65cool opened this issue May 15, 2019 · 0 comments
Open

Bulid creation freezes #1

sk65cool opened this issue May 15, 2019 · 0 comments

Comments

@sk65cool
Copy link

Hi, great work with this plugin!
We using Android platform with pure Javascript
tns --version - 5.2.3
package.json:
{
"nativescript": {
"id": "хххххххххххххххххххх",
"tns-android": {
"version": "5.1.0"
},
"tns-ios": {
"version": "5.2.0"
}
},
"description": "Choose from hundreds of video templates you personalize to give a shout out for any occasion. Get ready to love out loud!",
"license": "SEE LICENSE IN ",
"repository": "",
"dependencies": {
"email-validator": "2.0.4",
"fs-extra": "7.0.1",
"nativescript-audio": "5.0.1",
"nativescript-background-http": "3.4.0",
"nativescript-color-picker": "1.5.0",
"nativescript-custom-entitlements": "0.2.0",
"nativescript-dom": "2.0.2",
"nativescript-downloader": "2.1.4",
"nativescript-drawingpad": "3.0.4",
"nativescript-email": "1.5.3",
"nativescript-exit": "1.0.1",
"nativescript-fancyalert": "3.0.6",
"nativescript-ffmpeg-plugin": "0.0.2",
"nativescript-gif": "4.0.2",
"nativescript-grid-view": "5.1.0",
"nativescript-image-filters": "2.2.0",
"nativescript-imagecropper": "1.0.5",
"nativescript-insomnia": "1.2.2",
"nativescript-local-notifications": "3.1.2",
"nativescript-mediafilepicker": "2.0.16",
"nativescript-platform": "1.2.4",
"nativescript-plugin-firebase": "8.2.0",
"nativescript-purchase": "2.0.9",
"nativescript-screen-orientation": "2.0.0",
"nativescript-theme-core": "~1.0.4",
"nativescript-ui-listview": "6.2.0",
"nativescript-video-editor": "0.0.1",
"nativescript-webview-interface": "1.4.3",
"nativescript-zip": "3.0.2",
"tns-core-modules": "5.3.1",
"tns-video-recorder": "0.2.0",
"typescript": "3.4.3"
},
"devDependencies": {
"nativescript-dev-webpack": "0.21.1"
},
"readme": "NativeScript Application",
"author": "хххххххххххх"
}

We have folder with .jpeg images and try to compile them to video file:
var tmpPath = fileSystemModule.path.join(currentAppFolder.path, "tmp");
var tmpFolder = fileSystemModule.Folder.fromPath(tmpPath);
const FFmpeg = require("nativescript-ffmpeg-plugin").FFmpeg;

FFmpeg.execute('-y -pattern_type glob -i '+tmpFolder+'"/*.jpeg" '+tmpFolder+'/output.mp4', ' ')
.then(result => console.log("FFmpeg process exited with result " + result)).catch(e => console.log(e));

and we cant create debug build with Sidekick, its freezes on:
[19-05-15 14:50:59.182] (CLI) Configuring FFmpeg

Any ides why this happens?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant