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

Issue when compiling the source #1

Closed
mohamedabc opened this issue May 27, 2015 · 1 comment
Closed

Issue when compiling the source #1

mohamedabc opened this issue May 27, 2015 · 1 comment

Comments

@mohamedabc
Copy link

I get this error when compiling the source as per your INTALL instruction

videoencoder.cpp:216:85: error: ‘av_packet_rescale_ts’ was not declared in this scope
             av_packet_rescale_ts(&pkt, pCodecCtx->time_base, pVideoStream->time_base);
                                                                                     ^
videoencoder.cpp: In member function ‘bool VideoEncoder::initFrame()’:
videoencoder.cpp:300:31: error: ‘av_frame_alloc’ was not declared in this scope
     ppicture = av_frame_alloc();
                               ^
make: *** [videoencoder.o] Error 1
@econsysqtcam
Copy link
Owner

Following api are dependent on the below libraries,
av_frame_alloc() requires libavutil.so.54
av_packet_rescale_ts() requires libavcodec.so.56
Your PC is having lower version of libav packages. So only the issue raises.

Please install these library(libav) by following INSTALL document

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

2 participants