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

lineHeight: 0 results in error #920

Open
BrtqKr opened this issue Jan 13, 2025 · 0 comments · May be fixed by #978
Open

lineHeight: 0 results in error #920

BrtqKr opened this issue Jan 13, 2025 · 0 comments · May be fixed by #978
Assignees
Labels
bug Something isn't working

Comments

@BrtqKr
Copy link
Collaborator

BrtqKr commented Jan 13, 2025

(base) ➜  node-examples git:(master) ✗ pnpm run ts-node ./src/test.tsx

> [email protected] ts-node /Users/brtqkr/Projects/live-compositor/ts/examples/node-examples
> ts-node "./src/test.tsx"

2025-01-13T15:02:31.997857Z  INFO live_compositor::server: Starting LiveCompositor with config:
Config {
    instance_id: "live_compositor_2045172374",
    api_port: 8000,
    logger: LoggerConfig {
        ffmpeg_logger_level: Warn,
        format: Compact,
        level: "info,wgpu_hal=warn,wgpu_core=warn,compositor_pipeline::pipeline=warn",
        log_file: None,
    },
    stream_fallback_timeout: 500ms,
    web_renderer: WebRendererInitOptions {
        enable: false,
        enable_gpu: true,
    },
    force_gpu: false,
    download_root: "/var/folders/tx/rf9sr2b56mn0cbn155xx1gc00000gn/T/live-compositor-4aeeede9-ae3f-447f-bd19-cccdf30bac59/download",
    queue_options: QueueOptions {
        default_buffer_duration: 80ms,
        ahead_of_time_processing: false,
        output_framerate: Framerate {
            num: 30,
            den: 1,
        },
        run_late_scheduled_events: false,
        never_drop_output_frames: false,
    },
    output_sample_rate: 48000,
    stun_servers: [
        "stun:stun.l.google.com:19302",
    ],
    required_wgpu_features: Features(
        SAMPLED_TEXTURE_AND_STORAGE_BUFFER_ARRAY_NON_UNIFORM_INDEXING | UNIFORM_BUFFER_AND_STORAGE_TEXTURE_ARRAY_NON_UNIFORM_INDEXING,
    ),
}
2025-01-13T15:02:32.011763Z  INFO compositor_render::wgpu::ctx: Available adapters:
 - AdapterInfo { name: "Apple M1 Pro", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }
2025-01-13T15:02:32.011792Z  INFO compositor_render::wgpu::ctx: Using Apple M1 Pro adapter with Metal backend
2025-01-13T15:02:32.141015Z  WARN cosmic_text::font::system: failed to load font 'GB18030Bitmap'
2025-01-13T15:02:32.141239Z  WARN cosmic_text::font::system: failed to load font 'GB18030Bitmap'
Spawning: ffplay -protocol_whitelist file,rtp,udp /tmp/live-compositor-examples/video_input_8001.sdp
[libx264 @ 0x12c90d000] MB rate (8160000000) > level limit (16711680)
thread 'tokio-runtime-worker' panicked at /Users/brtqkr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cosmic-text-0.12.1/src/buffer.rs:251:9:
assertion `left != right` failed: line height cannot be 0
  left: 0.0
 right: 0.0
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'tokio-runtime-worker' panicked at src/routes/register_request.rs:98:6:
called `Result::unwrap()` on an `Err` value: JoinError::Panic(Id(16), ...)
[16:02:34.474] INFO (46122): Register image
    imageId: "image_1"
[16:02:34.507] INFO (46122): Register new output
    outputId: "output_1"
    type: "rtp_stream"
/Users/brtqkr/Projects/live-compositor/ts/node_modules/.pnpm/[email protected]/node_modules/node-fetch/lib/index.js:1501
			reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
          ^
FetchError: request to http://127.0.0.1:8000/api/output/output_1/register failed, reason: socket hang up
    at ClientRequest.<anonymous> (/Users/brtqkr/Projects/live-compositor/ts/node_modules/.pnpm/[email protected]/node_modules/node-fetch/lib/index.js:1501:11)
    at ClientRequest.emit (node:events:519:28)
    at ClientRequest.emit (node:domain:488:12)
    at emitErrorEvent (node:_http_client:101:11)
    at Socket.socketOnEnd (node:_http_client:528:5)
    at Socket.emit (node:events:531:35)
    at Socket.emit (node:domain:488:12)
    at endReadableNT (node:internal/streams/readable:1696:12)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) {
  type: 'system',
  errno: 'ECONNRESET',
  code: 'ECONNRESET'
}
 ELIFECYCLE  Command failed with exit code 1.
@BrtqKr BrtqKr added the bug Something isn't working label Jan 13, 2025
@wkozyra95 wkozyra95 linked a pull request Feb 24, 2025 that will close this issue
@wkozyra95 wkozyra95 self-assigned this Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants