Skip to content

Fix ffmpeg issues #1802

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

Merged
merged 4 commits into from
Jun 17, 2025
Merged

Fix ffmpeg issues #1802

merged 4 commits into from
Jun 17, 2025

Conversation

letonghan
Copy link
Collaborator

Description

Unify ffmpeg install with apt-get

Issues

Type of change

List the type of change like below. Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • Others (enhancement, documentation, validation, etc.)

Dependencies

None

Tests

CI test

Signed-off-by: letonghan <letong.han@intel.com>
Signed-off-by: letonghan <letong.han@intel.com>
Signed-off-by: letonghan <letong.han@intel.com>
@letonghan
Copy link
Collaborator Author

letonghan commented Jun 17, 2025

Need to keep the x264 version of ffmpeg. The wav2lip service has error when using official version of ffmpeg:

ffmpeg: symbol lookup error: ffmpeg: undefined symbol: av_opt_child_class_iterate, version LIBAVUTIL_56

@chensuyue chensuyue merged commit 1064e81 into opea-project:main Jun 17, 2025
29 checks passed
@eero-t
Copy link
Contributor

eero-t commented Jun 23, 2025

Need to keep the x264 version of ffmpeg. The wav2lip service has error when using official version of ffmpeg:

I don't think it has anything to do with x264. Even the oldest supported Debian and Ubuntu distros build FFmpeg with libx264-dev.

EDIT: Especially as there's no problem with the CPU version of wav2lip (which is based on python:11-slim i.e. current Debian stable), only with the Gaudi version (based on ubuntu:22.04?).

ffmpeg: symbol lookup error: ffmpeg: undefined symbol: av_opt_child_class_iterate, version LIBAVUTIL_56

libavutil56 package comes from the same FFmpeg sources as the ffmpeg package, so they should be always in sync:
https://packages.ubuntu.com/source/jammy/ffmpeg

=> This looks more like some packaging (repo?) mess in the HabaLabs base image which should be reported to upstream project (producing the HabaLabs base image).

Where the image build log shows ffmpeg and libavutil56 packages being installed to the image?

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

Successfully merging this pull request may close these issues.

4 participants