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

simli error: [swscaler @ 0x148008000] No accelerated colorspace conversion found from yuv420p to rgb24. #825

Open
aconchillo opened this issue Dec 11, 2024 · 1 comment

Comments

@aconchillo
Copy link
Contributor

Description

Is this reporting a bug or feature request?

A bug

If reporting a bug, please fill out the following:

Environment

  • pipecat-ai version: main
  • python version: 3.12
  • OS: macOS

Issue description

Provide a clear description of the issue.

When running SimliVideoService on macOS the following errors occurs continuously:

[swscaler @ 0x148008000] No accelerated colorspace conversion found from yuv420p to rgb24.

This is probably due to the ffmpeg (from PyAV) not being able to optimize image format conversion.

Repro steps

List the steps to reproduce the issue.

Run examples/foundational/26-simli-layer.py.

Expected behavior

No error should show up speeding up image conversion.

Actual behavior

An error is shown but the image conversion happens anyways (slowly).

Logs

@Antonyesk601
Copy link
Contributor

Is it possible to use the yuv420p frames directly? The aiortc by default produces them and we converted them to RGB on the Simli integration because it wasn't clear what formats are valid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants