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

capcut version #3

Open
yeucodonvn opened this issue Dec 6, 2024 · 13 comments
Open

capcut version #3

yeucodonvn opened this issue Dec 6, 2024 · 13 comments

Comments

@yeucodonvn
Copy link

I see you announced that from April 2024, CapCut drafts will be encrypted. So, if I use the 2023 version of CapCut, will it still work?

@emosheeep
Copy link
Owner

Yes it supposes to be work if the draft_content.json isn't encrypted.

@yeucodonvn
Copy link
Author

It can export a project containing various components, subtitle, visual effects, audio, video file speed, and more.

@yeucodonvn
Copy link
Author

I am using Windows 10 and Node.js v22, along with CapCut 3.2. The draft_content.json file is not encrypted, but it seems that pnpm is not functioning properly on Windows. Have you encountered this error before? Could you guide me on how to resolve it?


C:\Users\Admin\AppData\Local\CapCut\User Data\Projects\com.lveditor.draft\1207>ccexp "C:\Users\Admin\AppData\Local\CapCut\User Data\Projects\com.lveditor.draft\1207\draft_content.json"
file:///C:/Users/Admin/AppData/Local/pnpm/global/5/.pnpm/[email protected]/node_modules/zx/build/core.js:146
            let output = new ProcessOutput(code, signal, stdout, stderr, combined, message);
                         ^

ProcessOutput [Error]: which : The term 'which' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ which ffmpeg
+ ~~~~~
    + CategoryInfo          : ObjectNotFound: (which:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    at exportVideos (file:///C:/Users/Admin/AppData/Local/pnpm/global/5/.pnpm/[email protected]/node_modules/capcut-export/dist/index.js:40:31)
    exit code: 1
    at ChildProcess.<anonymous> (file:///C:/Users/Admin/AppData/Local/pnpm/global/5/.pnpm/[email protected]/node_modules/zx/build/core.js:146:26)
    at ChildProcess.emit (node:events:524:28)
    at maybeClose (node:internal/child_process:1101:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
    at Process.callbackTrampoline (node:internal/async_hooks:130:17) {
  _code: 1,
  _signal: null,
  _stdout: '',
  _stderr: "which : The term 'which' is not recognized as the name of a cmdlet, function, script file, or operable program. Check \r\n" +
    'the spelling of the name, or if a path was included, verify that the path is correct and try again.\r\n' +
    'At line:1 char:1\r\n' +
    '+ which ffmpeg\r\n' +
    '+ ~~~~~\r\n' +
    '    + CategoryInfo          : ObjectNotFound: (which:String) [], CommandNotFoundException\r\n' +
    '    + FullyQualifiedErrorId : CommandNotFoundException\r\n' +
    ' \r\n',
  _combined: "which : The term 'which' is not recognized as the name of a cmdlet, function, script file, or operable program. Check \r\n" +
    'the spelling of the name, or if a path was included, verify that the path is correct and try again.\r\n' +
    'At line:1 char:1\r\n' +
    '+ which ffmpeg\r\n' +
    '+ ~~~~~\r\n' +
    '    + CategoryInfo          : ObjectNotFound: (which:String) [], CommandNotFoundException\r\n' +
    '    + FullyQualifiedErrorId : CommandNotFoundException\r\n' +
    ' \r\n'
}

Node.js v22.12.0

@emosheeep
Copy link
Owner

it seems a upstream problem, caused by zx

@emosheeep
Copy link
Owner

have you installed ffmpeg on your computer and add it to the env path?

@yeucodonvn
Copy link
Author

yeucodonvn commented Dec 7, 2024

Yes, I have added FFMPEG to the PATH
zx version 8.2.4

@emosheeep
Copy link
Owner

You can try to exec the command in Git Terminal on Windows.

@yeucodonvn
Copy link
Author

You can try to exec the command in Git Terminal on Windows.

It has worked, but it only exports the video without any visual effects or sound from the project

@emosheeep
Copy link
Owner

yes it is designed for material archive not for production。

@yeucodonvn
Copy link
Author

Too bad, I actually need to export the entire project with all its accompanying elements.

@emosheeep
Copy link
Owner

CleanShot 2024-12-08 at 11 35 55@2x

@yeucodonvn
Copy link
Author

I use the international version of CapCut and cannot find that attribute line. If possible, please display it in English. Anyway, thank you for your support!

@emosheeep
Copy link
Owner

It's the chinese version of Capcut, but it's a functionality that is in grayscale. Whether you can use it or not may depend on your luck. You can have a try yourself.

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

2 participants