Opened 13 years ago

Closed 13 years ago

#281 closed defect (fixed)

Build Error AC3 Encoder Option

Reported by: Farkas Szilard Levente Owned by:
Priority: normal Component: build system
Version: git-master Keywords: encoder ac3 ac3_fixed
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Hello,

When I try to build ffmpeg with command

./configure --enable-shared --enable-memalign-hack --enable-gpl --enable-w32threads --enable-postproc --enable-zlib --disable-static --disable-altivec --disable-muxers --disable-encoders --disable-debug --disable-ffplay --disable-ffserver --disable-ffmpeg --disable-ffprobe --disable-devices --enable-muxer=spdif --enable-muxer=adts --enable-encoder=ac3 --enable-encoder=aac --enable-runtime-cpudetect --enable-avfilter --disable-debug --disable-doc

If I use --enable-encoder=ac3_fixed then there is no error. Also note that not all combination of options result in this error when using --enable-encoder=ac3.

My build log attached…

Attachments (5)

build (72.1 KB ) - added by Farkas Szilard Levente 13 years ago.
Error log avcodec with ac3 encoder option
build_gitsnap (73.7 KB ) - added by Farkas Szilard Levente 13 years ago.
Git head Ac3 error
build_gitsnap_no_w32thread (74.4 KB ) - added by Farkas Szilard Levente 13 years ago.
w32threads flag set to "no"
git_show (1.9 KB ) - added by Farkas Szilard Levente 13 years ago.
result of command: git show
build_gitsnap.2 (288.3 KB ) - added by Farkas Szilard Levente 13 years ago.
result of command: make V=1 libavcodec/avcodec-53.dll

Download all attachments as: .zip

Change History (14)

by Farkas Szilard Levente, 13 years ago

Attachment: build added

Error log avcodec with ac3 encoder option

comment:1 by Carl Eugen Hoyos, 13 years ago

Status: newopen

Could you test latest git head?

I believe this problem was fixed since.

by Farkas Szilard Levente, 13 years ago

Attachment: build_gitsnap added

Git head Ac3 error

in reply to:  1 comment:2 by Farkas Szilard Levente, 13 years ago

Replying to cehoyos:

Could you test latest git head?

I believe this problem was fixed since.

Same error in git head :(

in reply to:  1 comment:3 by Farkas Szilard Levente, 13 years ago

Replying to cehoyos:

Could you test latest git head?

I believe this problem was fixed since.

Actually a different error... but still build fails

comment:4 by Carl Eugen Hoyos, 13 years ago

Component: avcodecbuild system
Version: 0.7-rc1git-master

The following works fine for me on Linux, please confirm that this is still (nearly) the configure line you are using, and that you are using latest git head. (If you see the same problem with a shorter configure line, it would ease testing.)

./configure --enable-shared --enable-memalign-hack --enable-gpl --enable-postproc --enable-zlib --disable-static --disable-altivec --disable-muxers --disable-encoders --disable-debug --disable-ffplay --disable-ffserver --disable-ffmpeg --disable-ffprobe --disable-devices --enable-muxer=spdif --enable-muxer=adts --enable-encoder=ac3 --enable-encoder=aac --enable-runtime-cpudetect --enable-avfilter --disable-debug --disable-doc && make

in reply to:  4 comment:5 by Farkas Szilard Levente, 13 years ago

Replying to cehoyos:

The following works fine for me on Linux, please confirm that this is still (nearly) the configure line you are using, and that you are using latest git head. (If you see the same problem with a shorter configure line, it would ease testing.)

./configure --enable-shared --enable-memalign-hack --enable-gpl --enable-postproc --enable-zlib --disable-static --disable-altivec --disable-muxers --disable-encoders --disable-debug --disable-ffplay --disable-ffserver --disable-ffmpeg --disable-ffprobe --disable-devices --enable-muxer=spdif --enable-muxer=adts --enable-encoder=ac3 --enable-encoder=aac --enable-runtime-cpudetect --enable-avfilter --disable-debug --disable-doc && make

Used supplied command and still erro, I'm using Windows.

by Farkas Szilard Levente, 13 years ago

Attachment: build_gitsnap_no_w32thread added

w32threads flag set to "no"

comment:6 by Carl Eugen Hoyos, 13 years ago

Please add the output of 'make V=1 libavcodec/avcodec-53.dll' and please confirm that you are using latest git head (the first line of git show).

by Farkas Szilard Levente, 13 years ago

Attachment: git_show added

result of command: git show

by Farkas Szilard Levente, 13 years ago

Attachment: build_gitsnap.2 added

result of command: make V=1 libavcodec/avcodec-53.dll

comment:7 by Michael Niedermayer, 13 years ago

enabling the ac3 encoder with both alternative implementations disabled makes no sense.
A patch that improves the build system to either error out cleanly, or enable both fixed&float from the
enabling of the ac3 encoder is welcome.

in reply to:  7 comment:8 by Farkas Szilard Levente, 13 years ago

Replying to michael:

enabling the ac3 encoder with both alternative implementations disabled makes no sense.
A patch that improves the build system to either error out cleanly, or enable both fixed&float from the
enabling of the ac3 encoder is welcome.

Should I change command line part "--enable-encoder=ac3_fixed" to "--enable-encoder=ac3/ac3_fixed"?

Thanks.

comment:9 by Carl Eugen Hoyos, 13 years ago

Resolution: fixed
Status: openclosed

This has been fixed some time ago (there is now only an "ac3" and an "ac3_fixed" encoder).

Note: See TracTickets for help on using tickets.