saloromer / ffmbc

Automatically exported from code.google.com/p/ffmbc
0 stars 0 forks source link

FFmbc will not link with --disable-avfilter #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Since FFmpeg requires --disable-avfilter as a work-around to known bugs in 
avfilter outputting to multiple files at the same time (encoding broadcast and 
proxy from the same piped input, for instance) - to quote Stefano Sabatini on 
09/02/11 15:55 GMT, I'm assuming that FFmbc will also require 
--disable-avfilter to work around the same issues.

FFmbc does not link when made with a configure command including 
--disable-avfilter:

./configure --cpu=i686 --extra-cflags='-L/usr/local/include' 
--extra-libs='-L/usr/local/lib' --prefix=/usr/local --enable-ffplay 
--enable-ffprobe --enable-ffserver --enable-gpl --enable-nonfree 
--enable-pthreads --enable-x11grab --enable-libxvid --enable-libvorbis 
--enable-libopenjpeg --enable-libspeex --enable-libtheora --enable-libfaac 
--enable-libgsm --enable-libdirac --enable-libmp3lame --enable-libx264 
--enable-libschroedinger --enable-libvpx --disable-avfilter
...
make
...
LD      ffmbc_g
ffmbc.o: In function `output_query_formats':
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:366: undefined reference to 
`avfilter_make_format_list'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:366: undefined reference to 
`avfilter_set_common_formats'
ffmbc.o: In function `ffmpeg_exit':
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:627: undefined reference to 
`avfilter_uninit'
ffmbc.o: In function `output_packet':
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:1734: undefined reference to 
`av_vsrc_buffer_add_frame'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:1762: undefined reference to 
`avfilter_poll_frame'
ffmbc.o: In function `get_filtered_video_pic':
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:376: undefined reference to 
`avfilter_request_frame'
ffmbc.o: In function `output_packet':
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:1906: undefined reference to 
`avfilter_poll_frame'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:1908: undefined reference to 
`avfilter_unref_buffer'
ffmbc.o: In function `configure_filters':
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:421: undefined reference to 
`avfilter_get_by_name'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:421: undefined reference to 
`avfilter_open'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:423: undefined reference to 
`avfilter_open'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:428: undefined reference to 
`avfilter_init_filter'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:430: undefined reference to 
`avfilter_init_filter'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:434: undefined reference to 
`avfilter_graph_add_filter'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:435: undefined reference to 
`avfilter_graph_add_filter'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:444: undefined reference to 
`avfilter_get_by_name'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:444: undefined reference to 
`avfilter_open'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:446: undefined reference to 
`avfilter_init_filter'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:448: undefined reference to 
`avfilter_link'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:451: undefined reference to 
`avfilter_graph_add_filter'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:471: undefined reference to 
`avfilter_graph_parse'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:480: undefined reference to 
`avfilter_graph_check_validity'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:482: undefined reference to 
`avfilter_graph_config_formats'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:484: undefined reference to 
`avfilter_graph_config_links'
ffmbc.o: In function `transcode':
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:2855: undefined reference to 
`avfilter_graph_destroy'
ffmbc.o: In function `configure_filters':
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:475: undefined reference to 
`avfilter_link'
ffmbc.o: In function `main':
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:4626: undefined reference to 
`avfilter_register_all'
collect2: ld returned 1 exit status
make: *** [ffmbc_g] Error 1

Original issue reported on code.google.com by mark.him...@gmail.com on 9 Feb 2011 at 5:11

GoogleCodeExporter commented 8 years ago
Hi Mark, you cannot disable libavfilter, I'll remove the configure switch in 
the next version. Thanks for reporting.

Original comment by baptiste...@gmail.com on 10 Feb 2011 at 8:18

GoogleCodeExporter commented 8 years ago
Fixed in 0.6 rc2

Original comment by baptiste...@gmail.com on 9 Mar 2011 at 2:51