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

various compile hiccups #45

Open
frueter opened this issue Jul 25, 2023 · 1 comment · May be fixed by #129
Open

various compile hiccups #45

frueter opened this issue Jul 25, 2023 · 1 comment · May be fixed by #129

Comments

@frueter
Copy link

frueter commented Jul 25, 2023

I managed to compile successfully but ran into the following issues:

  • www.nasm.us is offline so I could not download nasm-2.15.05.tar.bz2 elsewhere
  • ffprobe_lib.cpp:105:35: error: ‘av_mallocz_array’ was not declared in this scope; did you mean ‘av_malloc_array’?
    to fix I renamed the av_mallocz_array to av_malloc_array
  • ffmpeg_stream.cpp:573:42: error: ‘AV_CODEC_FLAG2_DROP_FRAME_TIMECODE’ was not declared in this scope
    to fix I declared it with value 1 (not sure if that is the correct thing to do though)

I'm no coder but after the above I could compile and open xStudio ok.

@mcoliver mcoliver linked a pull request Nov 22, 2024 that will close this issue
@mcoliver
Copy link

re AV_CODEC_FLAG2_DROP_FRAME_TIMECODE. You probably got this because you were trying to compile with ffmpeg 6 instead of 5. AV_CODEC_FLAG2_DROP_FRAME_TIMECODE was deprecated and xstudio probably needs a re-write here to ensure dropframe/non-dropframe timecode is working properly under the hood.

FFmpeg/FFmpeg@f843460

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

Successfully merging a pull request may close this issue.

2 participants