ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Framehash muxer printing FFMPEG_END on the same line of the final output causing ffmpeg.run not resolving

Đang mở
#334 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C
Star
17.8k
Fork
1.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**Describe the bug**

When running `-h muxer=framehash`, the output is as follow:

![image](https://user-images.githubusercontent.com/6388546/157165667-0c2ade35-e426-43d5-a5b5-4dc0c5fcff65.png)

I guess ffmpeg.wasm relies on `FFMPEG_END` signal for end state. However in this case somehow it's printed at the end of the output without a new line.

**To Reproduce**
Steps to reproduce the behavior:

Run the following code

```js
await this.ffmpeg.run("-h", "muxer=framehash");
console.log("Done")
```

**Expected behavior**

Promise should be resolved and next line of code runs.

**Screenshots**

See above

**Desktop (please complete the following information):**
- OS: Windows 11 Home
- Browser Microsoft Edge
- Version 99.0.1150.30 (Official build) (64-bit)

**Additional context**

Running the second command will also cause `ffmpeg.wasm can only run one command at a time` error.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.