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

Fails to build with ffmpeg 3.0 #36

Open
yurivict opened this issue Jun 22, 2016 · 2 comments
Open

Fails to build with ffmpeg 3.0 #36

yurivict opened this issue Jun 22, 2016 · 2 comments

Comments

@yurivict
Copy link

  movie.cc:56:42: error: use of undeclared identifier 'PIX_FMT_RGB24'; did you mean
    'AV_PIX_FMT_RGB24'?
              width_, height_, PIX_FMT_RGB24, SWS_FAST_BILINEAR,
                       ^~~~~~~~~~~~~
                       AV_PIX_FMT_RGB24
  movie.cc:64:18: error: use of undeclared identifier 'avcodec_alloc_frame'
    CHECK(frame_ = avcodec_alloc_frame());
           ^

Possible fix: s/PIX_FMT/AV_&/ + s/avcodec_alloc_frame/av_frame_alloc/

@jart
Copy link
Owner

jart commented Jun 22, 2016

This is fixed in #27 but the problem is the PR needs to be modified to maintain compatibility with Ubuntu 14.04. So hopefully @tombh will be kind enough to add the necessary define statements so we can get that merged.

tombh added a commit to tombh/hiptext that referenced this issue Aug 18, 2016
Compile against newer versions of ffmpeg, namely v3.0.1
Fixes jart#36
tombh added a commit to tombh/hiptext that referenced this issue Oct 16, 2016
Compile against newer versions of ffmpeg, namely v3.0.1
Fixes jart#36
@citrus-lemon
Copy link
Contributor

this problem also occurs in ffmpeg 4.0+
I write the issue
#53 and pull requests #52

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

3 participants