[devel] ffmpeg vs libav

Евгений Терешков evg-krsk на yandex.ru
Сб Авг 20 06:44:27 MSK 2016


"Vladimir D. Seleznev" пишет:

> Сделал тесовую сборку FFmpeg'а, потестить можно подключив task'и
> # 168524 и # 168537. FFmpeg собран таким образом, что он может быть
> установленным вместе с libav в одной системе; для сборки пакетов с
> библиотеками FFmpeg надо в BuildRequires'ах указать ffmpeg-devel (или
> ${имя_нужной_библиотека}-ffmpeg-devel).

Пытаюсь собрать mpv с ffmpeg. Заменил все библиотеки libav в BuildRequires
на одну ffmpeg-devel. Что-то сходу не собирается:

=8<========================================================================
[225/442] Linking build/mpv
/usr/bin/ld: /usr/lib64/gcc/x86_64-alt-linux/5/../../../../lib64/libavfilter.a(avf_showcqt.o): undefined reference to symbol 'FT_Done_Face'
/usr/lib64/libfreetype.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

Waf: Leaving directory `/usr/src/RPM/BUILD/mpv-0.19.0/build'
Build failed
 -> task in 'mpv' failed (exit status 1): 
	{task 139781302973264: cprogram main-fn-unix.c.14.o,audio.c.13.o,audio_buffer.c.13.o,chmap.c.13.o,chmap_sel.c.13.o,fmt-conversion.c.13.o,format.c.13.o,ad_lavc.c.13.o,ad_spdif.c.13.o,dec_audio.c.13.o,af.c.13.o,af_channels.c.13.o,af_drc.c.13.o,af_equalizer.c.13.o,af_format.c.13.o,af_lavcac3enc.c.13.o,af_lavfi.c.13.o,af_lavrresample.c.13.o,af_pan.c.13.o,af_scaletempo.c.13.o,af_volume.c.13.o,tools.c.13.o,ao.c.13.o,ao_alsa.c.13.o,ao_lavc.c.13.o,ao_null.c.13.o,ao_oss.c.13.o,ao_pcm.c.13.o,ao_pulse.c.13.o,pull.c.13.o,push.c.13.o,av_common.c.13.o,av_log.c.13.o,codecs.c.13.o,encode_lavc.c.13.o,common.c.13.o,tags.c.13.o,msg.c.13.o,playlist.c.13.o,version.c.13.o,codec_tags.c.13.o,cue.c.13.o,demux.c.13.o,demux_cue.c.13.o,demux_disc.c.13.o,demux_edl.c.13.o,demux_lavf.c.13.o,demux_mf.c.13.o,demux_mkv.c.13.o,demux_mkv_timeline.c.13.o,demux_null.c.13.o,demux_playlist.c.13.o,demux_raw.c.13.o,demux_rar.c.13.o,demux_timeline.c.13.o,demux_tv.c.13.o,ebml.c.13.o,packet.c.13.o,timeline.c.13.o,cmd_list.c.13.o,cmd_parse.c.13.o,event.c.13.o,input.c.13.o,ipc.c.13.o,ipc-unix.c.13.o,keycodes.c.13.o,bstr.c.13.o,charset_conv.c.13.o,dispatch.c.13.o,json.c.13.o,ring.c.13.o,rendezvous.c.13.o,m_config.c.13.o,m_option.c.13.o,m_property.c.13.o,options.c.13.o,parse_commandline.c.13.o,parse_configfile.c.13.o,path.c.13.o,audio.c.13.o,client.c.13.o,command.c.13.o,configfiles.c.13.o,external_files.c.13.o,loadfile.c.13.o,main.c.13.o,misc.c.13.o,lavfi.c.13.o,lua.c.13.o,osd.c.13.o,playloop.c.13.o,screenshot.c.13.o,scripting.c.13.o,sub.c.13.o,video.c.13.o,ai_alsa1x.c.13.o,ai_oss.c.13.o,audio_in.c.13.o,cache.c.13.o,cache_file.c.13.o,cookies.c.13.o,dvb_tune.c.13.o,frequencies.c.13.o,rar.c.13.o,stream.c.13.o,stream_avdevice.c.13.o,stream_bluray.c.13.o,stream_dvb.c.13.o,stream_dvd.c.13.o,stream_dvd_common.c.13.o,stream_dvdnav.c.13.o,stream_edl.c.13.o,stream_file.c.13.o,stream_cb.c.13.o,stream_lavf.c.13.o,stream_memory.c.13.o,stream_mf.c.13.o,stream_null.c.13.o,stream_rar.c.13.o,stream_smb.c.13.o,stream_tv.c.13.o,tv.c.13.o,tvi_dummy.c.13.o,tvi_v4l2.c.13.o,ass_mp.c.13.o,dec_sub.c.13.o,draw_bmp.c.13.o,img_convert.c.13.o,lavc_conv.c.13.o,osd.c.13.o,osd_libass.c.13.o,sd_ass.c.13.o,sd_lavc.c.13.o,csputils.c.13.o,fmt-conversion.c.13.o,gpu_memcpy.c.13.o,image_writer.c.13.o,img_format.c.13.o,hwdec.c.13.o,mp_image.c.13.o,mp_image_pool.c.13.o,sws_utils.c.13.o,vaapi.c.13.o,vdpau.c.13.o,vdpau_mixer.c.13.o,dec_video.c.13.o,vaapi.c.13.o,vd_lavc.c.13.o,refqueue.c.13.o,vf.c.13.o,vf_buffer.c.13.o,vf_crop.c.13.o,vf_dlopen.c.13.o,vf_dsize.c.13.o,vf_eq.c.13.o,vf_expand.c.13.o,vf_flip.c.13.o,vf_format.c.13.o,vf_gradfun.c.13.o,vf_lavfi.c.13.o,vf_mirror.c.13.o,vf_noformat.c.13.o,vf_pullup.c.13.o,vf_rotate.c.13.o,vf_scale.c.13.o,vf_stereo3d.c.13.o,vf_sub.c.13.o,vf_vavpp.c.13.o,vf_vdpaupp.c.13.o,vf_vdpaurb.c.13.o,vf_yadif.c.13.o,aspect.c.13.o,bitmap_packer.c.13.o,dither.c.13.o,filter_kernels.c.13.o,common.c.13.o,context.c.13.o,context_x11.c.13.o,formats.c.13.o,hwdec.c.13.o,hwdec_vaglx.c.13.o,hwdec_vdpau.c.13.o,lcms.c.13.o,osd.c.13.o,user_shaders.c.13.o,utils.c.13.o,video.c.13.o,video_shaders.c.13.o,vo.c.13.o,vo_image.c.13.o,vo_lavc.c.13.o,vo_null.c.13.o,vo_opengl.c.13.o,vo_opengl_cb.c.13.o,vo_vaapi.c.13.o,vo_vdpau.c.13.o,vo_x11.c.13.o,vo_xv.c.13.o,win_state.c.13.o,x11_common.c.13.o,terminal-unix.c.13.o,io.c.13.o,timer.c.13.o,timer-linux.c.13.o,threads.c.13.o,semaphore_osx.c.13.o,subprocess.c.13.o,subprocess-posix.c.13.o,path-unix.c.13.o,ta.c.13.o,ta_talloc.c.13.o,ta_utils.c.13.o -> mpv}
['/usr/bin/cc', '-Wl,-z,noexecstack', '-pthread', 'osdep/main-fn-unix.c.14.o', 'audio/audio.c.13.o', 'audio/audio_buffer.c.13.o', 'audio/chmap.c.13.o', 'audio/chmap_sel.c.13.o', 'audio/fmt-conversion.c.13.o', 'audio/format.c.13.o', 'audio/decode/ad_lavc.c.13.o', 'audio/decode/ad_spdif.c.13.o', 'audio/decode/dec_audio.c.13.o', 'audio/filter/af.c.13.o', 'audio/filter/af_channels.c.13.o', 'audio/filter/af_drc.c.13.o', 'audio/filter/af_equalizer.c.13.o', 'audio/filter/af_format.c.13.o', 'audio/filter/af_lavcac3enc.c.13.o', 'audio/filter/af_lavfi.c.13.o', 'audio/filter/af_lavrresample.c.13.o', 'audio/filter/af_pan.c.13.o', 'audio/filter/af_scaletempo.c.13.o', 'audio/filter/af_volume.c.13.o', 'audio/filter/tools.c.13.o', 'audio/out/ao.c.13.o', 'audio/out/ao_alsa.c.13.o', 'audio/out/ao_lavc.c.13.o', 'audio/out/ao_null.c.13.o', 'audio/out/ao_oss.c.13.o', 'audio/out/ao_pcm.c.13.o', 'audio/out/ao_pulse.c.13.o', 'audio/out/pull.c.13.o', 'audio/out/push.c.13.o', 'common/av_common.c.13.o', 'common/av_log.c.13.o', 'common/codecs.c.13.o', 'common/encode_lavc.c.13.o', 'common/common.c.13.o', 'common/tags.c.13.o', 'common/msg.c.13.o', 'common/playlist.c.13.o', 'common/version.c.13.o', 'demux/codec_tags.c.13.o', 'demux/cue.c.13.o', 'demux/demux.c.13.o', 'demux/demux_cue.c.13.o', 'demux/demux_disc.c.13.o', 'demux/demux_edl.c.13.o', 'demux/demux_lavf.c.13.o', 'demux/demux_mf.c.13.o', 'demux/demux_mkv.c.13.o', 'demux/demux_mkv_timeline.c.13.o', 'demux/demux_null.c.13.o', 'demux/demux_playlist.c.13.o', 'demux/demux_raw.c.13.o', 'demux/demux_rar.c.13.o', 'demux/demux_timeline.c.13.o', 'demux/demux_tv.c.13.o', 'demux/ebml.c.13.o', 'demux/packet.c.13.o', 'demux/timeline.c.13.o', 'input/cmd_list.c.13.o', 'input/cmd_parse.c.13.o', 'input/event.c.13.o', 'input/input.c.13.o', 'input/ipc.c.13.o', 'input/ipc-unix.c.13.o', 'input/keycodes.c.13.o', 'misc/bstr.c.13.o', 'misc/charset_conv.c.13.o', 'misc/dispatch.c.13.o', 'misc/json.c.13.o', 'misc/ring.c.13.o', 'misc/rendezvous.c.13.o', 'options/m_config.c.13.o', 'options/m_option.c.13.o', 'options/m_property.c.13.o', 'options/options.c.13.o', 'options/parse_commandline.c.13.o', 'options/parse_configfile.c.13.o', 'options/path.c.13.o', 'player/audio.c.13.o', 'player/client.c.13.o', 'player/command.c.13.o', 'player/configfiles.c.13.o', 'player/external_files.c.13.o', 'player/loadfile.c.13.o', 'player/main.c.13.o', 'player/misc.c.13.o', 'player/lavfi.c.13.o', 'player/lua.c.13.o', 'player/osd.c.13.o', 'player/playloop.c.13.o', 'player/screenshot.c.13.o', 'player/scripting.c.13.o', 'player/sub.c.13.o', 'player/video.c.13.o', 'stream/ai_alsa1x.c.13.o', 'stream/ai_oss.c.13.o', 'stream/audio_in.c.13.o', 'stream/cache.c.13.o', 'stream/cache_file.c.13.o', 'stream/cookies.c.13.o', 'stream/dvb_tune.c.13.o', 'stream/frequencies.c.13.o', 'stream/rar.c.13.o', 'stream/stream.c.13.o', 'stream/stream_avdevice.c.13.o', 'stream/stream_bluray.c.13.o', 'stream/stream_dvb.c.13.o', 'stream/stream_dvd.c.13.o', 'stream/stream_dvd_common.c.13.o', 'stream/stream_dvdnav.c.13.o', 'stream/stream_edl.c.13.o', 'stream/stream_file.c.13.o', 'stream/stream_cb.c.13.o', 'stream/stream_lavf.c.13.o', 'stream/stream_memory.c.13.o', 'stream/stream_mf.c.13.o', 'stream/stream_null.c.13.o', 'stream/stream_rar.c.13.o', 'stream/stream_smb.c.13.o', 'stream/stream_tv.c.13.o', 'stream/tv.c.13.o', 'stream/tvi_dummy.c.13.o', 'stream/tvi_v4l2.c.13.o', 'sub/ass_mp.c.13.o', 'sub/dec_sub.c.13.o', 'sub/draw_bmp.c.13.o', 'sub/img_convert.c.13.o', 'sub/lavc_conv.c.13.o', 'sub/osd.c.13.o', 'sub/osd_libass.c.13.o', 'sub/sd_ass.c.13.o', 'sub/sd_lavc.c.13.o', 'video/csputils.c.13.o', 'video/fmt-conversion.c.13.o', 'video/gpu_memcpy.c.13.o', 'video/image_writer.c.13.o', 'video/img_format.c.13.o', 'video/hwdec.c.13.o', 'video/mp_image.c.13.o', 'video/mp_image_pool.c.13.o', 'video/sws_utils.c.13.o', 'video/vaapi.c.13.o', 'video/vdpau.c.13.o', 'video/vdpau_mixer.c.13.o', 'video/decode/dec_video.c.13.o', 'video/decode/vaapi.c.13.o', 'video/decode/vd_lavc.c.13.o', 'video/filter/refqueue.c.13.o', 'video/filter/vf.c.13.o', 'video/filter/vf_buffer.c.13.o', 'video/filter/vf_crop.c.13.o', 'video/filter/vf_dlopen.c.13.o', 'video/filter/vf_dsize.c.13.o', 'video/filter/vf_eq.c.13.o', 'video/filter/vf_expand.c.13.o', 'video/filter/vf_flip.c.13.o', 'video/filter/vf_format.c.13.o', 'video/filter/vf_gradfun.c.13.o', 'video/filter/vf_lavfi.c.13.o', 'video/filter/vf_mirror.c.13.o', 'video/filter/vf_noformat.c.13.o', 'video/filter/vf_pullup.c.13.o', 'video/filter/vf_rotate.c.13.o', 'video/filter/vf_scale.c.13.o', 'video/filter/vf_stereo3d.c.13.o', 'video/filter/vf_sub.c.13.o', 'video/filter/vf_vavpp.c.13.o', 'video/filter/vf_vdpaupp.c.13.o', 'video/filter/vf_vdpaurb.c.13.o', 'video/filter/vf_yadif.c.13.o', 'video/out/aspect.c.13.o', 'video/out/bitmap_packer.c.13.o', 'video/out/dither.c.13.o', 'video/out/filter_kernels.c.13.o', 'video/out/opengl/common.c.13.o', 'video/out/opengl/context.c.13.o', 'video/out/opengl/context_x11.c.13.o', 'video/out/opengl/formats.c.13.o', 'video/out/opengl/hwdec.c.13.o', 'video/out/opengl/hwdec_vaglx.c.13.o', 'video/out/opengl/hwdec_vdpau.c.13.o', 'video/out/opengl/lcms.c.13.o', 'video/out/opengl/osd.c.13.o', 'video/out/opengl/user_shaders.c.13.o', 'video/out/opengl/utils.c.13.o', 'video/out/opengl/video.c.13.o', 'video/out/opengl/video_shaders.c.13.o', 'video/out/vo.c.13.o', 'video/out/vo_image.c.13.o', 'video/out/vo_lavc.c.13.o', 'video/out/vo_null.c.13.o', 'video/out/vo_opengl.c.13.o', 'video/out/vo_opengl_cb.c.13.o', 'video/out/vo_vaapi.c.13.o', 'video/out/vo_vdpau.c.13.o', 'video/out/vo_x11.c.13.o', 'video/out/vo_xv.c.13.o', 'video/out/win_state.c.13.o', 'video/out/x11_common.c.13.o', 'osdep/terminal-unix.c.13.o', 'osdep/io.c.13.o', 'osdep/timer.c.13.o', 'osdep/timer-linux.c.13.o', 'osdep/threads.c.13.o', 'osdep/semaphore_osx.c.13.o', 'osdep/subprocess.c.13.o', 'osdep/subprocess-posix.c.13.o', 'osdep/path-unix.c.13.o', 'ta/ta.c.13.o', 'ta/ta_talloc.c.13.o', 'ta/ta_utils.c.13.o', '-o', '/usr/src/RPM/BUILD/mpv-0.19.0/build/mpv', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ldvdread', '-lpulse', '-ldvdnav', '-lpthread', '-lavutil', '-lavcodec', '-lavformat', '-lswscale', '-lXv', '-lva-x11', '-lva', '-lenca', '-lXext', '-lrt', '-lavfilter', '-lva', '-ljpeg', '-lasound', '-lswresample', '-lm', '-lXinerama', '-ldl', '-lbluray', '-lXrandr', '-lXss', '-lvdpau', '-lavdevice', '-lz', '-llua', '-lsmbclient', '-lX11', '-lGL', '-lass']

=8<========================================================================

Пока не понимаю, это я что-то упустил или проблема в сборке ffmpeg-а. Может
быть у кого-то возникнут мысли.

-- 
С уважением, Терешков Евгений.
Jabber ID: evg на altlinux.org, evg_krsk на jabber.ru


Подробная информация о списке рассылки Devel