Lightning export fails on Linux with `Cannot read properties of undefined (reading '_resourceType')`
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- electron, linux, typescript
調査の方向性
The diagnostics point at the Lightning (Beta) export path: the crash happens before frame 0 while the WebCodecs encoder (avc1.640033, prefer-software) is being set up, and the Breeze fallback reports no Annex B H.264 support at 1440x810. Start by grepping the export backend for _resourceType and for the WebCodecs-vs-Breeze/libx264 selection, then reproduce on Linux with video encode reported as disabled_software. Done means the export renders frames, or the unsupported encoder is detected up front and libx264/Breeze is used with a clear message.
索引モデルが issue の本文から書いたものです。
説明
When exporting a recording using the Lightning (Beta) export option on Linux, the export fails immediately before rendering any frames.
The export dialog reports:
Cannot read properties of undefined (reading '_resourceType')
The failure occurs at 0/1589 rendered frames (0.0%), so the export does not actually begin processing the video.
The recording itself plays correctly in the editor and can be previewed normally. The issue appears specifically when attempting to export it using Lightning.
To Reproduce
Steps to reproduce the behavior:
- Record a screen capture on Linux.
- Open the recording in Recordly Editor.
- Go to the Clips editor.
- Click Export.
- Use the Lightning (Beta) export backend.
- Wait for the export to start.
- The export immediately fails with:
Cannot read properties of undefined (reading '_resourceType')
Expected behavior
The recording should be exported successfully to the selected output format.
If the requested Lightning/WebCodecs encoder path is not supported on the current Linux configuration, Recordly should ideally fall back to a supported software encoder such as libx264, or provide a clear message explaining which encoder/backend is unavailable.
Screenshots
Attached screenshot shows the Recordly Editor and the complete Export issue diagnostic panel.
The important part of the error is:
Lightning (Beta) export failed.
Reason: Cannot read properties of undefined (reading '_resourceType')
Desktop
- OS: Ubuntu Linux
- Kernel: Linux 7.0.0-29-generic (x64)
- Recordly: 1.4.0
- Runtime: Electron 43.1.0 / Chromium 150.0.7871.47
- CPU: 12th Gen Intel(R) Core(TM) i5-12500H
- RAM: 16 GB
- GPU: Intel integrated graphics
- Renderer: WebGPU
- GPU video encode: Disabled / software
- WebGL: Enabled
- WebGPU: Enabled
Export configuration
Output: 1440x810 @ 60 FPS
Bitrate: 9.05 Mbps
Mode: balanced
Requested backend mode: auto
Renderer: webgpu
Encoder path: WebCodecs
Codec: avc1.640033
Encoding preference: software/realtime
Source recording
Source codec: vp09.00.50.08.01.02.02.06.00
Resolution: 1920x1200
Frame rate: 60 FPS
Duration: 26.470s
Audio: none
Smartphone
Not applicable.
Additional context
The complete diagnostic information reported by Recordly is:
Lightning (Beta) export failed.
Reason: Cannot read properties of undefined (reading '_resourceType')
Platform: Linux
Requested backend mode: auto
Output: 1440x810 @ 60 FPS; 9.05 Mbps; mode=balanced
Recordly version: 1.4.0
Runtime: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Recordly/1.4.0 Chrome/150.0.7871.47 Safari/537.36
System: linux 7.0.0-29-generic (x64)
CPU: 12th Gen Intel(R) Core(TM) i5-12500H; 16 logical processors
Memory: 14.8 GB
GPU 1: Intel; active
GPU acceleration: video decode=enabled, video encode=disabled_software
WebGL=enabled
WebGPU=enabled
Source: vp09.00.50.08.01.02.02.06.00 1920x1200 @ 60.000 FPS; 26.470s
Source audio: none
Progress at failure: 0/1589 (0.0%) rendered frames after 0.33s
Renderer: webgpu
Encoder path: WebCodecs (avc1.640033/prefer-software/realtime)
Pipeline tuning: webcodecs-balanced-plus; decode queue=12; pending frames=32; encode queue=120
Breeze fallback:
H.264 Annex B encoding is not supported at 1440x810.
Suggested actions:
- Lightning is designed to work on macOS, Windows, and Linux, but the available encoder path depends on WebCodecs support, GPU drivers, and the bundled FFmpeg encoders.
- Check that the packaged FFmpeg build includes a compatible Breeze encoder path for Linux, plus libx264 as a software fallback.
- Linux Lightning exports can use WebCodecs when supported, or FFmpeg encoders such as libx264 and optional GPU paths depending on the distro build.
One potentially relevant detail is that video encode is reported as disabled_software, while Lightning selects the WebCodecs H.264 path. The failure occurs almost immediately, before the first frame is rendered.
I have attached a screenshot of the full error panel for reference.
the exaact error message is below :
Lightning (Beta) export failed.
Reason: Cannot read properties of undefined (reading '_resourceType')
Platform: Linux
Requested backend mode: auto
Output: 1440x810 @ 60 FPS; 9.05 Mbps; mode=balanced
Recordly version: 1.4.0
Runtime: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Recordly/1.4.0 Chrome/150.0.7871.47 Electron/43.1.0 Safari/537.36
System: linux 7.0.0-29-generic (x64)
CPU: 12th Gen Intel(R) Core(TM) i5-12500H; 16 logical processors
Memory: 14.8 GB
GPU 1: Intel; active
GPU acceleration: video decode=enabled; video encode=disabled_software; WebGL=enabled; WebGPU=enabled
Source: vp09.00.50.08.01.02.02.06.00 1920x1200 @ 60.000 FPS; 26.470s
Source audio: none
Progress at failure: 0/1589 (0.0%) rendered frames after 0.33s
Renderer: webgpu
Encoder path: WebCodecs (avc1.640033/prefer-software/realtime)
Pipeline tuning: webcodecs-balanced-plus; decode queue=12; pending frames=32; encode queue=120
Breeze fallback: H.264 Annex B encoding is not supported at 1440x810.
Suggested actions:
Lightning is designed to work on macOS, Windows, and Linux, but the available encoder path depends on WebCodecs support, GPU drivers, and the bundled FFmpeg encoders.
Check that the packaged FFmpeg build includes a compatible Breeze encoder path for Linux, plus libx264 as a software fallback.
Linux Lightning exports can use WebCodecs when supported, or FFmpeg encoders such as libx264 and optional GPU paths depending on the distro build
- 主要言語
- TypeScript
- スター
- 32.4k
- フォーク
- 2.6k
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 17
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
webadderallorg/Recordly のほかの issue
-
fix(audio): deduplicate getSourceTrackIdFromPath and fix companion track misclassification対応中かも @SomSamantray が 5 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
webadderallorg/Recordly#1124 ·
メンテナーはふだん 2 日以内に返信
-
System FFmpeg should be preferred over bundled ffmpeg-static on Linux for GPU hardware acceleration対応中かも @LangerSword が 10 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
webadderallorg/Recordly#757 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
webadderallorg/Recordly#1140 ·
メンテナーはふだん 2 日以内に返信
-
Webcam recording is kept in renderer memory, HUD crashes after ~73 min and the webcam track is lostオープン
難易度 4/5 3〜5日 初心者へのやさしさ 24/100
webadderallorg/Recordly#1139 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
webadderallorg/Recordly#1136 ·
メンテナーはふだん 2 日以内に返信
webadderallorg/Recordly の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
aws/agentcore-cli#2606 ·
メンテナーはふだん 1 日以内に返信
-
ai-driven-qa bug Cosmetic
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
ai-driven-qa bug claude Minor
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
linagora/twake-mail-admin#301 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
reproduced
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
anomalyco/opencode#56038 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信