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

ffmpeg error #28

Open
bestzxp opened this issue Mar 12, 2018 · 0 comments
Open

ffmpeg error #28

bestzxp opened this issue Mar 12, 2018 · 0 comments

Comments

@bestzxp
Copy link

bestzxp commented Mar 12, 2018

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

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

1 participant