diff --git a/apps/nextjs-app/app/Home.tsx b/apps/nextjs-app/app/Home.tsx index 0ccaab5003..9612d4036c 100644 --- a/apps/nextjs-app/app/Home.tsx +++ b/apps/nextjs-app/app/Home.tsx @@ -13,7 +13,7 @@ export default function Home() { const load = async () => { setIsLoading(true) - 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 }) => { if (messageRef.current) messageRef.current.innerHTML = message diff --git a/apps/react-vite-app/src/App.tsx b/apps/react-vite-app/src/App.tsx index 13b55f7833..810ec639a4 100644 --- a/apps/react-vite-app/src/App.tsx +++ b/apps/react-vite-app/src/App.tsx @@ -9,7 +9,7 @@ function App() { const messageRef = useRef(null) const load = async () => { - const baseURL = "https://unpkg.com/@ffmpeg/core-mt@0.12.4/dist/esm"; + const baseURL = "https://unpkg.com/@ffmpeg/core-mt@0.12.5/dist/esm"; const ffmpeg = ffmpegRef.current; ffmpeg.on("log", ({ message }) => { if (messageRef.current) messageRef.current.innerHTML = message; diff --git a/apps/vue-vite-app/src/components/FFmpegDemo.vue b/apps/vue-vite-app/src/components/FFmpegDemo.vue index c55de21239..2f622e1df3 100644 --- a/apps/vue-vite-app/src/components/FFmpegDemo.vue +++ b/apps/vue-vite-app/src/components/FFmpegDemo.vue @@ -11,7 +11,7 @@ import type { LogEvent } from '@ffmpeg/ffmpeg/dist/esm/types' import { fetchFile, toBlobURL } from '@ffmpeg/util' import { defineComponent, ref } from 'vue' -const baseURL = 'https://unpkg.com/@ffmpeg/core-mt@0.12.4/dist/esm' +const baseURL = 'https://unpkg.com/@ffmpeg/core-mt@0.12.5/dist/esm' const videoURL = 'https://ffmpegwasm.netlify.app/video/video-15s.avi' export default defineComponent({ diff --git a/apps/website/docs/getting-started/usage.md b/apps/website/docs/getting-started/usage.md index fa17afc926..5e288548da 100644 --- a/apps/website/docs/getting-started/usage.md +++ b/apps/website/docs/getting-started/usage.md @@ -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; diff --git a/apps/website/src/components/Playground/const.ts b/apps/website/src/components/Playground/const.ts index 865e8061c3..d63ba97505 100644 --- a/apps/website/src/components/Playground/const.ts +++ b/apps/website/src/components/Playground/const.ts @@ -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, }; diff --git a/package-lock.json b/package-lock.json index 793ad63db8..6c7ae6f912 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19281,7 +19281,7 @@ }, "packages/core": { "name": "@ffmpeg/core", - "version": "0.12.4", + "version": "0.12.5", "license": "MIT", "engines": { "node": ">=16.x" @@ -19289,7 +19289,7 @@ }, "packages/core-mt": { "name": "@ffmpeg/core-mt", - "version": "0.12.4", + "version": "0.12.5", "license": "MIT", "engines": { "node": ">=16.x" @@ -19297,7 +19297,7 @@ }, "packages/ffmpeg": { "name": "@ffmpeg/ffmpeg", - "version": "0.12.7", + "version": "0.12.8", "license": "MIT", "dependencies": { "@ffmpeg/types": "^0.12.2" diff --git a/packages/core-mt/package.json b/packages/core-mt/package.json index d22046fb44..9cd47c5217 100644 --- a/packages/core-mt/package.json +++ b/packages/core-mt/package.json @@ -1,6 +1,6 @@ { "name": "@ffmpeg/core-mt", - "version": "0.12.4", + "version": "0.12.5", "description": "FFmpeg WebAssembly version (multi thread)", "main": "./dist/umd/ffmpeg-core.js", "exports": { @@ -39,4 +39,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/packages/core/package.json b/packages/core/package.json index 9e056da1ab..3ce9f1d18e 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@ffmpeg/core", - "version": "0.12.4", + "version": "0.12.5", "description": "FFmpeg WebAssembly version (single thread)", "main": "./dist/umd/ffmpeg-core.js", "exports": { @@ -39,4 +39,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/packages/ffmpeg/package.json b/packages/ffmpeg/package.json index e292d61dac..0273ea36e6 100644 --- a/packages/ffmpeg/package.json +++ b/packages/ffmpeg/package.json @@ -1,6 +1,6 @@ { "name": "@ffmpeg/ffmpeg", - "version": "0.12.7", + "version": "0.12.8", "description": "FFmpeg WebAssembly version for browser", "main": "./dist/umd/ffmpeg.js", "types": "./dist/esm/index.d.ts", diff --git a/packages/ffmpeg/src/const.ts b/packages/ffmpeg/src/const.ts index 65b03a8fd7..bfe72c08a4 100644 --- a/packages/ffmpeg/src/const.ts +++ b/packages/ffmpeg/src/const.ts @@ -1,7 +1,7 @@ export const MIME_TYPE_JAVASCRIPT = "text/javascript"; export const MIME_TYPE_WASM = "application/wasm"; -export const CORE_VERSION = "0.12.1"; +export const CORE_VERSION = "0.12.5"; export const CORE_URL = `https://unpkg.com/@ffmpeg/core@${CORE_VERSION}/dist/umd/ffmpeg-core.js`; export enum FFMessageType { @@ -21,4 +21,4 @@ export enum FFMessageType { LOG = "LOG", MOUNT = "MOUNT", UNMOUNT = "UNMOUNT", -} \ No newline at end of file +} diff --git a/scripts/download-assets.js b/scripts/download-assets.js index dfb4b088d1..d801ea9af1 100644 --- a/scripts/download-assets.js +++ b/scripts/download-assets.js @@ -6,8 +6,8 @@ const ROOT = "public/assets"; const FFMPEG_VERSION = "0.12.7"; const UTIL_VERSION = "0.12.0"; -const CORE_VERSION = "0.12.4"; -const CORE_MT_VERSION = "0.12.4"; +const CORE_VERSION = "0.12.5"; +const CORE_MT_VERSION = "0.12.5"; const FFMPEG_TGZ = `ffmpeg-${FFMPEG_VERSION}.tgz`; const UTIL_TGZ = `util-${UTIL_VERSION}.tgz`;