Skip to content

Commit 21b90a8

Browse files
committed
RELEASE: v12.13 (main) | v12.9 (core/core-mt) | v12.4 (types)
1 parent f44e3da commit 21b90a8

File tree

12 files changed

+21
-19
lines changed

12 files changed

+21
-19
lines changed

apps/angular-app/src/app/app.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { RouterOutlet } from '@angular/router';
44
import { FFmpeg } from '@ffmpeg/ffmpeg';
55
import { fetchFile, toBlobURL } from '@ffmpeg/util';
66

7-
const baseURL = 'https://unpkg.com/@ffmpeg/core-mt@0.12.6/dist/esm';
7+
const baseURL = 'https://unpkg.com/@ffmpeg/core-mt@0.12.9/dist/esm';
88

99
@Component({
1010
selector: 'app-root',

apps/nextjs-app/app/Home.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default function Home() {
1313

1414
const load = async () => {
1515
setIsLoading(true);
16-
const baseURL = "https://unpkg.com/@ffmpeg/core@0.12.6/dist/umd";
16+
const baseURL = "https://unpkg.com/@ffmpeg/core@0.12.9/dist/umd";
1717
const ffmpeg = ffmpegRef.current;
1818
ffmpeg.on("log", ({ message }) => {
1919
if (messageRef.current) messageRef.current.innerHTML = message;

apps/react-vite-app/src/App.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function App() {
99
const messageRef = useRef<HTMLParagraphElement | null>(null);
1010

1111
const load = async () => {
12-
const baseURL = "https://unpkg.com/@ffmpeg/core-mt@0.12.6/dist/esm";
12+
const baseURL = "https://unpkg.com/@ffmpeg/core-mt@0.12.9/dist/esm";
1313
const ffmpeg = ffmpegRef.current;
1414
ffmpeg.on("log", ({ message }) => {
1515
if (messageRef.current) messageRef.current.innerHTML = message;

apps/vue-vite-app/src/components/FFmpegDemo.vue

+4-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import type { LogEvent } from '@ffmpeg/ffmpeg/dist/esm/types'
1111
import { fetchFile, toBlobURL } from '@ffmpeg/util'
1212
import { defineComponent, ref } from 'vue'
1313
14-
const baseURL = 'https://unpkg.com/@ffmpeg/core-mt@0.12.7/dist/esm'
14+
const baseURL = 'https://unpkg.com/@ffmpeg/core-mt@0.12.9/dist/esm'
1515
const videoURL = 'https://raw.githubusercontent.com/ffmpegwasm/testdata/master/video-15s.avi'
1616
1717
export default defineComponent({
@@ -36,7 +36,9 @@ export default defineComponent({
3636
await ffmpeg.exec(['-i', 'test.avi', 'test.mp4'])
3737
message.value = 'Complete transcoding'
3838
const data = await ffmpeg.readFile('test.mp4')
39-
video.value = URL.createObjectURL(new Blob([(data as Uint8Array).buffer], { type: 'video/mp4' }))
39+
video.value = URL.createObjectURL(
40+
new Blob([(data as Uint8Array).buffer], { type: 'video/mp4' })
41+
)
4042
}
4143
return {
4244
video,

apps/website/docs/getting-started/usage.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ It is recommended to read [Overview](/docs/overview) first.
1111
:::caution
1212
If you are a [vite](https://vitejs.dev/) user, use `esm` in **baseURL** instead of `umd`:
1313

14-
~~https://unpkg.com/@ffmpeg/core@0.12.6/dist/umd~~ => https://unpkg.com/@ffmpeg/core@0.12.6/dist/esm
14+
~~https://unpkg.com/@ffmpeg/core@0.12.9/dist/umd~~ => https://unpkg.com/@ffmpeg/core@0.12.9/dist/esm
1515
:::
1616

1717
```jsx live

package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core-mt/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ffmpeg/core-mt",
3-
"version": "0.12.8",
3+
"version": "0.12.9",
44
"description": "FFmpeg WebAssembly version (multi thread)",
55
"main": "./dist/umd/ffmpeg-core.js",
66
"exports": {

packages/core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ffmpeg/core",
3-
"version": "0.12.8",
3+
"version": "0.12.9",
44
"description": "FFmpeg WebAssembly version (single thread)",
55
"main": "./dist/umd/ffmpeg-core.js",
66
"exports": {

packages/ffmpeg/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,6 @@
5959
"webpack-cli": "^5.1.4"
6060
},
6161
"dependencies": {
62-
"@ffmpeg/types": "^0.12.3"
62+
"@ffmpeg/types": "^0.12.4"
6363
}
6464
}

packages/ffmpeg/src/const.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export const MIME_TYPE_JAVASCRIPT = "text/javascript";
22
export const MIME_TYPE_WASM = "application/wasm";
33

4-
export const CORE_VERSION = "0.12.6";
4+
export const CORE_VERSION = "0.12.9";
55
export const CORE_URL = `https://unpkg.com/@ffmpeg/core@${CORE_VERSION}/dist/umd/ffmpeg-core.js`;
66

77
export enum FFMessageType {

packages/types/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ffmpeg/types",
3-
"version": "0.12.3",
3+
"version": "0.12.4",
44
"description": "ffmpeg.wasm types",
55
"types": "types",
66
"files": [

scripts/download-assets.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ const fs = require("fs");
44
const NPM_URL = "https://registry.npmjs.org";
55
const ROOT = "public/assets";
66

7-
const FFMPEG_VERSION = "0.12.6";
8-
const UTIL_VERSION = "0.12.0";
9-
const CORE_VERSION = "0.12.8";
10-
const CORE_MT_VERSION = "0.12.8";
7+
const FFMPEG_VERSION = "0.12.13";
8+
const UTIL_VERSION = "0.12.1";
9+
const CORE_VERSION = "0.12.9";
10+
const CORE_MT_VERSION = "0.12.9";
1111

1212
const FFMPEG_TGZ = `ffmpeg-${FFMPEG_VERSION}.tgz`;
1313
const UTIL_TGZ = `util-${UTIL_VERSION}.tgz`;

0 commit comments

Comments
 (0)