Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
9b31311c
Commit
9b31311c
authored
Jul 17, 2021
by
Jerome Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update wasm/ folder structure
parent
a2e1c64a
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
1385 additions
and
2774 deletions
+1385
-2774
.gitignore
wasm/.gitignore
+1
-3
package-lock.json
wasm/package-lock.json
+1290
-2743
package.json
wasm/package.json
+6
-26
.gitignore
wasm/packages/core-st/.gitignore
+2
-0
package-lock.json
wasm/packages/core-st/package-lock.json
+13
-0
package.json
wasm/packages/core-st/package.json
+28
-0
.gitignore
wasm/packages/core/.gitignore
+2
-0
package-lock.json
wasm/packages/core/package-lock.json
+13
-0
package.json
wasm/packages/core/package.json
+28
-0
post-js.js
wasm/src/post-js.js
+0
-0
multiple-round.test.js
wasm/tests/multiple-round.test.js
+1
-1
utils.js
wasm/tests/utils.js
+1
-1
No files found.
wasm/.gitignore
View file @
9b31311c
/examples/*.mp4
/node_modules
/dist
/cache
/node_modules
wasm/package-lock.json
View file @
9b31311c
This source diff could not be displayed because it is too large. You can
view the blob
instead.
wasm/package.json
View file @
9b31311c
{
"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"
:
"^2
6.4.2
"
,
"serve"
:
"^1
1.3.2
"
"jest"
:
"^2
7.0.6
"
,
"serve"
:
"^1
2.0.0
"
}
}
wasm/packages/core-st/.gitignore
0 → 100644
View file @
9b31311c
dist
node_modules
wasm/packages/core-st/package-lock.json
0 → 100644
View file @
9b31311c
{
"name"
:
"@ffmpeg/core-st"
,
"version"
:
"0.10.0"
,
"lockfileVersion"
:
2
,
"requires"
:
true
,
"packages"
:
{
""
:
{
"name"
:
"@ffmpeg/core-st"
,
"version"
:
"0.10.0"
,
"license"
:
"MIT"
}
}
}
wasm/packages/core-st/package.json
0 → 100644
View file @
9b31311c
{
"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"
}
wasm/packages/core/.gitignore
0 → 100644
View file @
9b31311c
dist
node_modules
wasm/packages/core/package-lock.json
0 → 100644
View file @
9b31311c
{
"name"
:
"@ffmpeg/core"
,
"version"
:
"0.10.0"
,
"lockfileVersion"
:
2
,
"requires"
:
true
,
"packages"
:
{
""
:
{
"name"
:
"@ffmpeg/core"
,
"version"
:
"0.10.0"
,
"license"
:
"MIT"
}
}
}
wasm/packages/core/package.json
0 → 100644
View file @
9b31311c
{
"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"
}
wasm/post-js.js
→
wasm/
src/
post-js.js
View file @
9b31311c
File moved
wasm/tests/multiple-round.test.js
View file @
9b31311c
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'
;
...
...
wasm/tests/utils.js
View file @
9b31311c
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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment