You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: