Skip to content

opencv-rust compatability #130

Description

@dominikWin

Rust's opencv bindings used to just work with rusty_ffmpeg, but switching from 0.14 to 0.15 breaks linking.

Adding this line to any Cargo.toml using rusty_ffmpeg v0.15+ causes this issue:

opencv = { version = "0.93.1", default-features = false, features = ["clang-runtime"] }
/usr/bin/ld: /workspaces/myproject/ffmpeg/./libavutil/timestamp.h:76: undefined reference to `av_ts_make_time_string2'
/usr/bin/ld: /workspaces/myproject/ffmpeg/./libavutil/timestamp.h:76: undefined reference to `av_ts_make_time_string2'
/usr/bin/ld: /workspaces/myproject/ffmpeg/./libavutil/timestamp.h:76: undefined reference to `av_ts_make_time_string2'
/usr/bin/ld: /workspaces/myproject/ffmpeg/./libavutil/timestamp.h:76: undefined reference to `av_ts_make_time_string2'

Tested with FFmpeg 7.0 and 7.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions