Open videodoctor opened 6 years ago
I was able to update the audioencoder.cpp and videoencoder.cpp to see if AV_CODEC_FLAG_GLOBAL_HEADER is defined (or not). Seems newer versions of ffmpeg don't use CODEC_FLAG_GLOBAL_HEADER constant anymore.
Thanks for this, a workaround will be added soon.
I have same problem. What else can be done to bypass this error ? Is there any chance of getting older ffmpeg version on 16.x distro ? Thanks in advance.
@auscaster Was the workaround added for this issue? I am facing the same issue
The same problem. Can't compile
I've compiled the latest version of FFmpeg on an Ubuntu 16.x distro, and I'm encountering a compile error during make with the audioencoder.cpp code. Aside from a bunch of deprecation warnings, there's this error:
/tmp/libsourcey/src/av/src/audioencoder.cpp:137:23: error: ‘CODEC_FLAG_GLOBAL_HEADER’ was not declared in this scope ctx->flags |= CODEC_FLAG_GLOBAL_HEADER;
Any thoughts?