1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4793],{876:(e,t,n)=>{n.d(t,{Zo:()=>f,kt:()=>d});var r=n(2784);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var l=r.createContext({}),c=function(e){var t=r.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},f=function(e){var t=c(e.components);return r.createElement(l.Provider,{value:t},e.children)},u="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},s=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,f=p(e,["components","mdxType","originalType","parentName"]),u=c(n),s=o,d=u["".concat(l,".").concat(s)]||u[s]||m[s]||a;return n?r.createElement(d,i(i({ref:t},f),{},{components:n})):r.createElement(d,i({ref:t},f))}));function d(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=n.length,i=new Array(a);i[0]=s;var p={};for(var l in t)hasOwnProperty.call(t,l)&&(p[l]=t[l]);p.originalType=e,p[u]="string"==typeof e?e:o,i[1]=p;for(var c=2;c<a;c++)i[c]=n[c];return r.createElement.apply(null,i)}return r.createElement.apply(null,n)}s.displayName="MDXCreateElement"},6907:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>m,frontMatter:()=>a,metadata:()=>p,toc:()=>c});var r=n(7896),o=(n(2784),n(876));const a={},i="@ffmpeg/ffmpeg",p={unversionedId:"contribution/ffmpeg",id:"contribution/ffmpeg",title:"@ffmpeg/ffmpeg",description:"The source code of @ffmpeg/ffmpeg locates at /packages/ffmpeg.",source:"@site/docs/contribution/ffmpeg.md",sourceDirName:"contribution",slug:"/contribution/ffmpeg",permalink:"/docs/contribution/ffmpeg",draft:!1,editUrl:"https://github.com/ffmpegwasm/ffmpeg.wasm/tree/main/apps/website/docs/contribution/ffmpeg.md",tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"@ffmpeg/core",permalink:"/docs/contribution/core"},next:{title:"@ffmpeg/util",permalink:"/docs/contribution/util"}},l={},c=[{value:"Development",id:"development",level:2},{value:"Build",id:"build",level:2},{value:"Lint",id:"lint",level:2},{value:"Publish",id:"publish",level:2}],f={toc:c},u="wrapper";function m({components:e,...t}){return(0,o.kt)(u,(0,r.Z)({},f,t,{components:e,mdxType:"MDXLayout"}),(0,o.kt)("h1",{id:"ffmpegffmpeg"},"@ffmpeg/ffmpeg"),(0,o.kt)("p",null,"The source code of @ffmpeg/ffmpeg locates at ",(0,o.kt)("strong",{parentName:"p"},"/packages/ffmpeg"),"."),(0,o.kt)("h2",{id:"development"},"Development"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-bash"},"$ npm run dev\n")),(0,o.kt)("h2",{id:"build"},"Build"),(0,o.kt)("p",null,"Transpile Typescript to JavaScript."),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-bash"},"$ npm run build\n")),(0,o.kt)("h2",{id:"lint"},"Lint"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-bash"},"$ npm run lint\n")),(0,o.kt)("h2",{id:"publish"},"Publish"),(0,o.kt)("p",null,"Simply run ",(0,o.kt)("inlineCode",{parentName:"p"},"npm publish")," under ",(0,o.kt)("strong",{parentName:"p"},"packages/ffmpeg"),"."))}m.isMDXComponent=!0}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.