Skip to content

Cargo unable to find x264 static lib #179

Answered by giantcow
giantcow asked this question in Q&A
Discussion options

You must be logged in to vote

Oh I should have looked at the FFMPEG docs first... this particular example/api wants the encoders name not the file :)

LD_LIBRARY_PATH="/home/kayo/ffmpeg-7/lib" cargo run -- h264                          
    Finished dev [unoptimized + debuginfo] target(s) in 0.01s
     Running `target/debug/ezv-core h264`
FFMPEG version: 3868772
FFMPEG config: --prefix=/home/kayo/ffmpeg-7 --enable-shared --enable-static --enable-gpl --enable-nonfree --enable-libx264
Args {
    inner: [
        "target/debug/ezv-core",
        "h264",
    ],
}
type: decoder
         id: H264
         name: h264
         description: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
         medium: Video
         capabilities: …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@giantcow
Comment options

Answer selected by giantcow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant