Hi,

I have a problem with compilation of shared libraries on macOS Catalina to
include FFmpeg 4.3.1 dylibs for my app video for a simple video playback:

./configure --prefix=/usr/local/Cellar/ffmpeg/4.3.1 --enable-shared
--enable-pthreads --enable-hardcoded-tables --enable-avcodec
--enable-avformat --enable-avresample --enable-postproc

I compile successfully all dylibs. But my app crashes when I try to open
any video file:



*  Symbol not found: _av_rescale_q_rnd  Referenced from:
/Users/USER/*/TestPlayer.app/Contents/Frameworks/LibAV/libavformat.58.dylib
Expected in: /usr/local/lib/libavcodec.58.dylib*

With another configuration:

./configure --prefix=/usr/local/Cellar/ffmpeg/4.3.1 --enable-shared
--enable-pthreads --enable-version3 --enable-hardcoded-tables
--enable-avresample --cc=clang --host-cflags= --host-ldflags=

My app doesn't crash, but it fails on avformat_open_input()
- “EXC_I386_GPFLT”

What am I doing wrong? With Zeranoe's dylibs everything works fine. I would
be grateful for any advice.
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to