Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change url to smelter.dev #947

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<h1 align="center">
<img src="assets/lc_logo_large.svg" width=600 alt="Smelter">

<a href="https://compositor.live/docs/intro">Documentation</a> |
<a href="https://smelter.dev/docs">Documentation</a> |
<a href="https://discord.gg/Cxj3rzTTag">Discord</a>
</h1>

Expand All @@ -16,11 +16,11 @@ https://github.com/user-attachments/assets/d8716866-67bd-4721-b1c2-1a1d31e1c5b5

## Where to start?

Check out our [`Getting started`](https://compositor.live/docs/intro) section.
Check out our [`Getting started`](https://smelter.dev/docs) section.

Smelter supports Linux and macOS and can be used in 3 ways:
- TypeScript SDK - [TypeScript SDK Reference](https://compositor.live/docs/typescript/api)
- Standalone media server - [API Reference](https://compositor.live/docs/api/routes).
- TypeScript SDK - [TypeScript SDK Reference](https://smelter.dev/docs/typescript/api)
- Standalone media server - [API Reference](https://smelter.dev/docs/api/routes).
- Element in a Membrane Framework pipeline - [https://hexdocs.pm/membrane_live_compositor_plugin](https://hexdocs.pm/membrane_live_compositor_plugin).

## Demos
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use crate::{
wgpu::common_pipeline::VERTEX_ENTRYPOINT_NAME,
};

const HEADER_DOCS_URL: &str = "https://compositor.live/docs/concept/shaders#header";
const HEADER_DOCS_URL: &str = "https://smelter.dev/docs/concept/shaders#header";

#[derive(Debug, thiserror::Error)]
pub struct ShaderParseError {
Expand Down
2 changes: 1 addition & 1 deletion compositor_render/src/wgpu/ctx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ pub fn create_wgpu_ctx(
let missing_features = required_features.difference(adapter.features());
if !missing_features.is_empty() {
error!("Selected adapter or its driver does not support required wgpu features. Missing features: {missing_features:?}).");
error!("You can configure some of the required features using \"SMELTER_REQUIRED_WGPU_FEATURES\" environment variable. Check https://compositor.live/docs for more.");
error!("You can configure some of the required features using \"SMELTER_REQUIRED_WGPU_FEATURES\" environment variable. Check https://smelter.dev/docs for more.");
return Err(CreateWgpuCtxError::NoAdapter);
}

Expand Down
2 changes: 1 addition & 1 deletion compositor_web/example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import init, {create_renderer, FrameSet} from "./pkg/compositor_web.js";

const IMAGE1_URL = "https://media.tenor.com/eFPFHSN4rJ8AAAAM/example.gif";
const IMAGE2_URL = "https://compositor.live/img/logo-dark.svg";
const IMAGE2_URL = "https://smelter.dev/img/logo-dark.svg";

const image = new Image();
image.src = IMAGE2_URL;
Expand Down
2 changes: 1 addition & 1 deletion demos/2-tv_broadcast/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
align="center"
color="#000000"
backgroundColor="#FFFF00">
Leaked docs can be found at https://compositor.live/docs
Leaked docs can be found at https://smelter.dev/docs
</Text>
</View>
</View>
Expand Down Expand Up @@ -214,7 +214,7 @@
});

await compositor.registerShader('remove_green_screen', {
source: await fs.readFile(path.join(__dirname, 'remove_green_screen.wgsl'), 'utf-8'),

Check warning on line 217 in demos/2-tv_broadcast/index.tsx

View workflow job for this annotation

GitHub Actions / check

Caution: `fs` also has a named export `readFile`. Check if you meant to write `import {readFile} from 'fs-extra'` instead
});

await compositor.registerImage('background', {
Expand Down
4 changes: 2 additions & 2 deletions demos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Before running demos, install JS dependencies with:
```console
npm install
```
Smelter should run on any computer with modern GPU, but if you want to check detailed requirements, visit [requirements section in docs](https://compositor.live/docs/deployment/requirements).
Smelter should run on any computer with modern GPU, but if you want to check detailed requirements, visit [requirements section in docs](https://smelter.dev/docs/deployment/requirements).

### MacOS installation guide

Expand Down Expand Up @@ -91,5 +91,5 @@ export SMELTER_WEBCAM=false

## Learn more

You can learn more from [documentation](https://compositor.live/docs/intro).
You can learn more from [documentation](https://smelter.dev/docs).
API reference and guides can be found there.
2 changes: 1 addition & 1 deletion demos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"bugs": {
"url": "https://github.com/software-mansion/live-compositor/issues"
},
"homepage": "https://github.com/software-mansion/live-compositor#readme",
"homepage": "https://smelter.dev",
"dependencies": {
"@live-compositor/node": "^0.1.0",
"@types/fs-extra": "^11.0.2",
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/concept/shaders.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Each video passed in as input gets a separate rectangle.

If there are no input textures, `plane_id` is equal to -1 and a single rectangle is passed to the shader. It is only useful for shaders that generate something in the fragment shader.

Since the compositor doesn't deal with complex geometry and most positioning/resizing/cropping should be taken care of by [layouts](https://compositor.live/docs/concept/layouts), we don't expect the users to write nontrivial vertex shaders very often. For just applying some effects to the video, fragment shaders are the way to go. This vertex shader should take care of most of your needs (for transformations that receive a single video and only process it in the fragment shader):
Since the compositor doesn't deal with complex geometry and most positioning/resizing/cropping should be taken care of by [layouts](https://smelter.dev/docs/concept/layouts), we don't expect the users to write nontrivial vertex shaders very often. For just applying some effects to the video, fragment shaders are the way to go. This vertex shader should take care of most of your needs (for transformations that receive a single video and only process it in the fragment shader):

```wgsl
struct VertexOutput {
Expand Down
2 changes: 1 addition & 1 deletion ts/create-smelter-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"bugs": {
"url": "https://github.com/software-mansion/smelter/issues"
},
"homepage": "https://github.com/software-mansion/smelter",
"homepage": "https://smelter.dev",
"files": [
"/dist",
"/templates"
Expand Down
2 changes: 1 addition & 1 deletion ts/examples/node-examples/src/dynamic-text.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ async function run() {
);
await smelter.registerImage('image_1', {
assetType: 'svg',
url: 'https://compositor.live/img/logo.svg',
url: 'https://smelter.dev/img/logo.svg',
resolution: { width: 300, height: 300 },
});

Expand Down
2 changes: 1 addition & 1 deletion ts/smelter-browser-render/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"bugs": {
"url": "https://github.com/software-mansion/smelter/issues"
},
"homepage": "https://github.com/software-mansion/smelter",
"homepage": "https://smelter.dev",
"files": [
"/dist",
"/LICENSE"
Expand Down
2 changes: 1 addition & 1 deletion ts/smelter-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"bugs": {
"url": "https://github.com/software-mansion/smelter/issues"
},
"homepage": "https://github.com/software-mansion/smelter",
"homepage": "https://smelter.dev",
"files": [
"/esm",
"/cjs"
Expand Down
2 changes: 1 addition & 1 deletion ts/smelter-node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ async function run() {
run();
```

See our [docs](https://compositor.live/docs) to learn more.
See our [docs](https://smelter.dev/docs) to learn more.

## License

Expand Down
2 changes: 1 addition & 1 deletion ts/smelter-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"bugs": {
"url": "https://github.com/software-mansion/smelter/issues"
},
"homepage": "https://github.com/software-mansion/smelter",
"homepage": "https://smelter.dev",
"files": [
"/dist"
],
Expand Down
2 changes: 1 addition & 1 deletion ts/smelter-web-wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"bugs": {
"url": "https://github.com/software-mansion/smelter/issues"
},
"homepage": "https://github.com/software-mansion/smelter",
"homepage": "https://smelter.dev",
"files": [
"/dist",
"/LICENSE"
Expand Down
2 changes: 1 addition & 1 deletion ts/smelter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function ExampleApp() {

Check out [@swmansion/smelter-node](https://www.npmjs.com/package/@swmansion/smelter-node) to learn how to use those components for video composition.

See our [docs](https://compositor.live/docs) to learn more.
See our [docs](https://smelter.dev/docs) to learn more.

## License

Expand Down
2 changes: 1 addition & 1 deletion ts/smelter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"bugs": {
"url": "https://github.com/software-mansion/smelter/issues"
},
"homepage": "https://github.com/software-mansion/smelter",
"homepage": "https://smelter.dev",
"files": [
"/esm",
"/cjs"
Expand Down