[FFmpeg-user] Static build FFmpeg - but no FFplay.
batguano999
batguano999 at zoho.com
Tue Nov 12 18:21:06 CET 2013
>
>Did you try --extra-ldflags=-ldl ?
>
Hi Carl
--extra-ldflags=-ldl
That's fixed it!
config.mak now shows:-
"CONFIG_FFPLAY=yes"
(no exclamation mark!)
and the "undefined reference" messages have disappeared from config.log.
Thanks. :-)
ps
FFplay has built OK but it isn't working properly yet. I'll investigate this next.
$ ldd ./ffplay
not a dynamic executable
$ ./ffplay
ffplay version 2.0 Copyright (c) 2003-2013 the FFmpeg developers
built on Nov 12 2013 16:53:08 with gcc 4.8.2 (GCC)
configuration: --extra-libs=-ldl
libavutil 52. 52.100 / 52. 52.100
libavcodec 55. 41.100 / 55. 41.100
libavformat 55. 21.100 / 55. 21.100
libavdevice 55. 5.100 / 55. 5.100
libavfilter 3. 90.102 / 3. 90.102
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
$ ./ffplay foo.wav
ffplay version 2.0 Copyright (c) 2003-2013 the FFmpeg developers
built on Nov 12 2013 16:53:08 with gcc 4.8.2 (GCC)
configuration: --extra-libs=-ldl
libavutil 52. 52.100 / 52. 52.100
libavcodec 55. 41.100 / 55. 41.100
libavformat 55. 21.100 / 55. 21.100
libavdevice 55. 5.100 / 55. 5.100
libavfilter 3. 90.102 / 3. 90.102
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
Input #0, wav, from 'foo.wav':= 0KB vq= 0KB sq= 0B f=0/0
Duration: 00:00:30.12, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
SDL_OpenAudio (2 channels): aq= 0KB vq= 0KB sq= 0B f=0/0
SDL_OpenAudio (1 channels):
No more channel combinations to try, audio open failed
Failed to open file 'foo.wav' or configure filtergraph
More information about the ffmpeg-user
mailing list