Skip to content

ffmpeg error #28

@bestzxp

Description

@bestzxp

I have installed ffmpeg with source code. How can I compile mpegflow by modifying the makefile.
My FFmpeg path is /home/user/Software/FFmpeg

tmp/ccCDZtEJ.o: In function ffmpeg_init()': mpegflow.cpp:(.text+0xad): undefined reference to av_frame_alloc'
/tmp/ccCDZtEJ.o: In function process_frame(AVPacket*)': mpegflow.cpp:(.text+0x390): undefined reference to av_frame_unref'
/tmp/ccCDZtEJ.o: In function read_packets()': mpegflow.cpp:(.text+0x4cc): undefined reference to av_frame_unref'
mpegflow.cpp:(.text+0x529): undefined reference to av_packet_unref' mpegflow.cpp:(.text+0x555): undefined reference to av_frame_unref'
/tmp/ccCDZtEJ.o: In function read_frame(long&, char&, std::vector<AVMotionVector, std::allocator<AVMotionVector> >&)': mpegflow.cpp:(.text+0x869): undefined reference to av_frame_get_side_data'
mpegflow.cpp:(.text+0x890): undefined reference to `av_frame_get_side_data'
collect2: error: ld returned 1 exit status
make: *** [mpegflow] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions