Commit 9b31311c authored by Jerome Wu's avatar Jerome Wu

Update wasm/ folder structure

parent a2e1c64a
/examples/*.mp4
/node_modules
/dist
/cache
/node_modules
This diff is collapsed.
{
"name": "@ffmpeg/core",
"version": "0.10.0",
"description": "ffmpeg.wasm core",
"main": "dist/ffmpeg-core.js",
"name": "cores",
"version": "0.0.1",
"description": "",
"main": "index.js",
"scripts": {
"start": "serve .",
"test": "node --experimental-wasm-threads --experimental-wasm-bulk-memory ./node_modules/.bin/jest"
},
"files": [
"dist",
"package.json",
"package-lock.json"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ffmpegwasm/FFmpeg.git"
},
"keywords": [
"ffmpeg",
"webassembly",
"video",
"audio",
"transcode"
],
"author": "jeromewus@gmail.com",
"license": "MIT",
"bugs": {
"url": "https://github.com/ffmpegwasm/FFmpeg/issues"
},
"homepage": "https://github.com/ffmpegwasm/FFmpeg#readme",
"devDependencies": {
"jest": "^26.4.2",
"serve": "^11.3.2"
"jest": "^27.0.6",
"serve": "^12.0.0"
}
}
{
"name": "@ffmpeg/core-st",
"version": "0.10.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@ffmpeg/core-st",
"version": "0.10.0",
"license": "MIT"
}
}
}
{
"name": "@ffmpeg/core-st",
"version": "0.10.0",
"description": "ffmpeg.wasm core (single thread)",
"main": "dist/ffmpeg-core.js",
"files": [
"dist",
"package.json",
"package-lock.json"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ffmpegwasm/FFmpeg.git"
},
"keywords": [
"ffmpeg",
"webassembly",
"video",
"audio",
"transcode"
],
"author": "jeromewus@gmail.com",
"license": "MIT",
"bugs": {
"url": "https://github.com/ffmpegwasm/FFmpeg/issues"
},
"homepage": "https://github.com/ffmpegwasm/FFmpeg#readme"
}
{
"name": "@ffmpeg/core",
"version": "0.10.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@ffmpeg/core",
"version": "0.10.0",
"license": "MIT"
}
}
}
{
"name": "@ffmpeg/core",
"version": "0.10.0",
"description": "ffmpeg.wasm core",
"main": "dist/ffmpeg-core.js",
"files": [
"dist",
"package.json",
"package-lock.json"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ffmpegwasm/FFmpeg.git"
},
"keywords": [
"ffmpeg",
"webassembly",
"video",
"audio",
"transcode"
],
"author": "jeromewus@gmail.com",
"license": "MIT",
"bugs": {
"url": "https://github.com/ffmpegwasm/FFmpeg/issues"
},
"homepage": "https://github.com/ffmpegwasm/FFmpeg#readme"
}
const fs = require('fs');
const path = require('path');
const createFFmpegCore = require('../dist/ffmpeg-core');
const createFFmpegCore = require('../packages/core/dist/ffmpeg-core');
const { TIMEOUT } = require('./config');
const { runFFmpeg, ffmpeg } = require('./utils');
const IN_FILE_NAME = 'video-1s.avi';
......
const createFFmpegCore = require('../dist/ffmpeg-core');
const createFFmpegCore = require('../packages/core/dist/ffmpeg-core');
const parseArgs = (Core, args) => {
const argsPtr = Core._malloc(args.length * Uint32Array.BYTES_PER_ELEMENT);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment