Release 0.12.8 | 0.12.5

This commit is contained in:
jeromewu
2023-12-17 13:12:50 +08:00
parent ce375d99a8
commit ea373ad687
11 changed files with 26 additions and 26 deletions

View File

@@ -11,7 +11,7 @@ It is recommended to read [Overview](/docs/overview) first.
:::caution
If you are a [vite](https://vitejs.dev/) user, use `esm` in **baseURL** instead of `umd`:
~~https://unpkg.com/@ffmpeg/core@0.12.4/dist/umd~~ => https://unpkg.com/@ffmpeg/core@0.12.4/dist/esm
~~https://unpkg.com/@ffmpeg/core@0.12.5/dist/umd~~ => https://unpkg.com/@ffmpeg/core@0.12.5/dist/esm
:::
```jsx live
@@ -24,7 +24,7 @@ function() {
const messageRef = useRef(null);
const load = async () => {
const baseURL = 'https://unpkg.com/@ffmpeg/core@0.12.4/dist/umd'
const baseURL = 'https://unpkg.com/@ffmpeg/core@0.12.5/dist/umd'
const ffmpeg = ffmpegRef.current;
ffmpeg.on('log', ({ message }) => {
messageRef.current.innerHTML = message;
@@ -81,7 +81,7 @@ function() {
const messageRef = useRef(null);
const load = async () => {
const baseURL = 'https://unpkg.com/@ffmpeg/core-mt@0.12.4/dist/umd'
const baseURL = 'https://unpkg.com/@ffmpeg/core-mt@0.12.5/dist/umd'
const ffmpeg = ffmpegRef.current;
ffmpeg.on('log', ({ message }) => {
messageRef.current.innerHTML = message;
@@ -134,7 +134,7 @@ function() {
const messageRef = useRef(null);
const load = async () => {
const baseURL = 'https://unpkg.com/@ffmpeg/core@0.12.4/dist/umd'
const baseURL = 'https://unpkg.com/@ffmpeg/core@0.12.5/dist/umd'
const ffmpeg = ffmpegRef.current;
ffmpeg.on('log', ({ message }) => {
messageRef.current.innerHTML = message;
@@ -192,7 +192,7 @@ function() {
const messageRef = useRef(null);
const load = async () => {
const baseURL = 'https://unpkg.com/@ffmpeg/core@0.12.4/dist/umd'
const baseURL = 'https://unpkg.com/@ffmpeg/core@0.12.5/dist/umd'
const ffmpeg = ffmpegRef.current;
// Listen to progress event instead of log.
ffmpeg.on('progress', ({ progress, time }) => {
@@ -243,7 +243,7 @@ function() {
const messageRef = useRef(null);
const load = async () => {
const baseURL = 'https://unpkg.com/@ffmpeg/core@0.12.4/dist/umd'
const baseURL = 'https://unpkg.com/@ffmpeg/core@0.12.5/dist/umd'
const ffmpeg = ffmpegRef.current;
ffmpeg.on('log', ({ message }) => {
messageRef.current.innerHTML = message;
@@ -313,7 +313,7 @@ function() {
const messageRef = useRef(null);
const load = async () => {
const baseURL = 'https://unpkg.com/@ffmpeg/core@0.12.4/dist/umd'
const baseURL = 'https://unpkg.com/@ffmpeg/core@0.12.5/dist/umd'
const ffmpeg = ffmpegRef.current;
ffmpeg.on('log', ({ message }) => {
messageRef.current.innerHTML = message;
@@ -372,7 +372,7 @@ function() {
const messageRef = useRef(null);
const load = async () => {
const baseURL = 'https://unpkg.com/@ffmpeg/core@0.12.4/dist/umd'
const baseURL = 'https://unpkg.com/@ffmpeg/core@0.12.5/dist/umd'
const ffmpeg = ffmpegRef.current;
ffmpeg.on('log', ({ message }) => {
messageRef.current.innerHTML = message;

View File

@@ -1,13 +1,13 @@
export const CORE_VERSION = "0.12.4";
export const CORE_VERSION = "0.12.5";
export const CORE_URL = `https://unpkg.com/@ffmpeg/core@${CORE_VERSION}/dist/umd/ffmpeg-core.js`;
export const CORE_MT_URL = `https://unpkg.com/@ffmpeg/core-mt@${CORE_VERSION}/dist/umd/ffmpeg-core.js`;
export const CORE_SIZE = {
[`https://unpkg.com/@ffmpeg/core@${CORE_VERSION}/dist/umd/ffmpeg-core.js`]: 114673,
[`https://unpkg.com/@ffmpeg/core@${CORE_VERSION}/dist/umd/ffmpeg-core.wasm`]: 31739621,
[`https://unpkg.com/@ffmpeg/core@${CORE_VERSION}/dist/umd/ffmpeg-core.wasm`]: 31742481,
[`https://unpkg.com/@ffmpeg/core-mt@${CORE_VERSION}/dist/umd/ffmpeg-core.js`]: 132680,
[`https://unpkg.com/@ffmpeg/core-mt@${CORE_VERSION}/dist/umd/ffmpeg-core.wasm`]: 32220432,
[`https://unpkg.com/@ffmpeg/core-mt@${CORE_VERSION}/dist/umd/ffmpeg-core.wasm`]: 32223257,
[`https://unpkg.com/@ffmpeg/core-mt@${CORE_VERSION}/dist/umd/ffmpeg-core.worker.js`]: 2915,
};