Commit Graph

121 Commits

Author SHA1 Message Date
Carlos Rodrigues
6f17936d95 fix: Cancel run promise if the exit() is called 2022-01-06 12:45:26 +00:00
Guofeng Lin
b529543042
Add FS readdir types 2021-11-25 11:40:44 +08:00
Zhang Zhi
84b0687dc8 Update typings 2021-11-02 12:30:27 +08:00
Sway
256945282b Fix `exit` method bug 2021-10-29 18:21:52 +08:00
seminelee
846285c136 catch exit error 2021-08-17 20:12:45 +08:00
seminelee
0ab43d01d7 A mainName 2021-07-29 18:11:28 +08:00
seminelee
d04a7a95a3 U createFFmpeg.js 2021-07-28 20:45:43 +08:00
Jerome Wu
6bca8058d3 Merge branch 'master' of github.com:ffmpegwasm/ffmpeg.wasm 2021-07-26 16:44:51 +08:00
avi12
b8163e10b5 Added proper checking for "process" 's existence 2021-07-25 22:59:36 +03:00
Jerome Wu
f70f91a6f8 Enhance error message 2021-07-24 17:16:10 +08:00
Jerome Wu
dcf29af028 Fix env bug 2021-06-14 13:40:41 +08:00
Sociosarbis
3e569ac609 feat(exit): #136 provide a method to exit program 2021-05-15 22:20:49 +08:00
Bob Budd
fa80649fb4 Allow progress callback to interpret information
fix issues described in https://github.com/ffmpegwasm/ffmpeg.wasm/issues/152
2021-01-27 11:11:30 -05:00
jeromewu
d46cf8b459
Merge pull request #145 from Jannchie/patch-1
fix: incorrect function signature in index.d.ts
2021-01-14 18:42:34 +08:00
jeromewu
d2800aaf66
Merge pull request #139 from lamaland/master
fix(progress): better mp3 progress support
2021-01-14 18:41:51 +08:00
Sxxov
ff467f3ce5 Fix incorrect readFile method return value 2021-01-13 16:39:32 +08:00
Sxxov
52bd53d61a Make FS methods synchronous to mirror emscripten's 2021-01-13 16:37:59 +08:00
Jannchie
74a0a5a234
fix: index.d.ts
`fetchFile()` actually is a asyn function. It is automatically encapsulated as a Promise. 

Although the current code does not report errors, it misleads TypeScript users into missing the await keyword, which prevents them from reading the file correctly.
2021-01-13 16:33:30 +09:00
lamaland
5d0f690d0f
fix(progress): better mp3 progress support
fixes https://github.com/ffmpegwasm/ffmpeg.wasm/issues/112
2020-12-31 10:41:28 +01:00
Sxxov
9c35d2bea9 Add missing FS object 2020-12-18 19:19:12 +08:00
Jerome Wu
36a148bb43 Refactor remote script loading code 2020-11-24 11:26:53 +08:00
Jerome Wu
c51cb50b7a Throw error when corePath is not a string 2020-11-20 12:55:22 +08:00
Jerome Wu
d7be4000f3 Remove -hide_banner in default option 2020-11-14 16:31:16 +08:00
Jerome Wu
905f686f45 Output ffmpeg.wasm version in createFFmpeg 2020-11-14 16:30:52 +08:00
Narazaka
b89adcfbac add TypeScript definition 2020-11-04 18:50:36 +09:00
Jerome Wu
f8c1350139 Add setLogging, setLogger and setProgress API 2020-11-03 21:44:14 +08:00
Jerome Wu
c398540992 Remove v in version and add locateFile func to fix worker script issue 2020-11-03 17:41:42 +08:00
Jerome Wu
d3057cb2b6 Fix defaultOptions path 2020-11-03 16:03:17 +08:00
Jerome Wu
265cf4c580 Complete major refactor 2020-11-03 15:36:44 +08:00
Jerome Wu
612b11e629 Fix conflicts 2020-05-05 18:16:52 +08:00
Jerome Wu
e66a466e88 Fix ls API 2020-05-05 17:50:29 +08:00
Jerome Wu
4cf2fe2395 Fix worker script origin issue 2020-04-29 09:27:21 +08:00
Jerome Wu
b36360f16f Major refactor to adapt new ffmpeg-core.js 2020-04-28 19:35:57 +08:00
Paul Kinlan
0603c41eb5 Fixing linting errors 2020-04-14 03:38:20 +01:00
Paul Kinlan
917880e1b7 Adding two tests for command parser.
* Test 1: quotes appear at start of command  and has a space in
* Test 2: quote appears in a command, and has a space.
2020-04-14 03:30:17 +01:00
Paul Kinlan
b35eeba94c Ensuring that the last parameter is parsed - fixes tests 2020-04-14 01:57:55 +01:00
Paul Kinlan
dcdc8c8e83 fixing spelling of delimiter 2020-04-14 01:39:20 +01:00
Paul Kinlan
376f313267 renaming newNext to make more sense in the context 2020-04-14 01:36:36 +01:00
Paul Kinlan
8b7c356798 makes the expection make sense 2020-04-14 01:33:27 +01:00
Paul Kinlan
e0703c7349 Addresses #50 - parses delimeters that all allow embedded spaces 2020-04-14 01:28:42 +01:00
jeromewu
05d7bb3bfb Fix lint error 2020-03-24 03:23:54 +00:00
jeromewu
5206710195 Enhance error message 2020-03-24 03:18:24 +00:00
jeromewu
eef80a979f Fix Worker.terminate() 2020-03-24 02:42:59 +00:00
jeromewu
209737ed1d
Update spawnWorker.js 2020-03-12 17:17:39 +08:00
jeromewu
4565489aad Remove -c copy in concatDemuxer to be more flexible 2020-01-15 00:49:47 +00:00
Jerome Wu
0f15f58554 Refactor to remove IDBFS & NODEFS, use Transferable to handle large files 2020-01-13 22:07:47 +08:00
jeromewu
1bacf193d9 Add electron option when detecting environment 2019-12-27 09:03:54 +00:00
Jerome Wu
568061c689 Update the position of opts to fix bugs 2019-12-20 13:51:42 +08:00
Jerome Wu
ac919ed2b4 Remove -c copy in Worker.trim() 2019-12-19 21:14:43 +08:00
Jerome Wu
5305ea6c7e Update options in Worker.run() to make it more clear 2019-12-18 21:46:56 +08:00
Jerome Wu
4ee05bbb9b Update arguments in Worker.trim(), fix #12 2019-12-18 20:10:04 +08:00
santosh898
68fd03d55d concatDemuxer implemented 2019-12-16 15:30:44 +05:30
santosh898
f93ae84794 concat demux bug 2019-12-05 16:11:15 +05:30
Jerome Wu
3ab760b5bb Use IDBFS and NODEFS to process big file 2019-12-03 22:06:44 +08:00
Jerome Wu
761d4414b8 Add image2video example 2019-11-21 21:31:25 +08:00
Jerome Wu
e06c9bd19a Add Worker.trim 2019-11-18 22:46:39 +08:00
Jerome Wu
7a380f529b Add progress 2019-11-18 22:05:54 +08:00
jeromewu
85efed77b3 Add Worker.mkdir() 2019-11-06 23:30:24 +00:00
jeromewu
c01845d28a Add test 2019-11-06 13:07:12 +00:00
jeromewu
dbcb56b55c Add worker.remove() 2019-11-06 12:23:29 +00:00
jeromewu
fbdc691184 Add doRun in worker-script 2019-11-06 12:17:24 +00:00
jeromewu
c7234f23c0 Revise API and add worker.run 2019-11-06 11:57:41 +00:00
Jerome Wu
0455923e43 Fix worker cross domain issue 2019-10-30 21:23:51 +08:00
Jerome Wu
ef8f16b16a Fix lint error 2019-10-30 20:14:37 +08:00
Jerome Wu
a7c5258cc4 Remove debug log 2019-10-30 17:58:42 +08:00
Jerome Wu
d3635e73bf Add logging feature 2019-10-30 17:57:55 +08:00
Jerome Wu
1e558c3a36 Enable log output and remove video file from wasm mem after transcode 2019-10-30 16:21:21 +08:00
Jerome Wu
f162e481c3 Update and fix browser example 2019-10-25 17:50:37 +08:00
Jerome Wu
9e5d0c5cc6 Refactor to worker version 2019-10-24 07:47:11 +08:00
Jerome Wu
26aed33e69 Add eslint & update README 2019-10-23 20:46:03 +08:00
Jerome Wu
a1334c60f3 Init commit 2019-10-20 22:37:37 +08:00