Ticket #281 (closed defect: fixed)

Opened 2 years ago

Last modified 20 months ago

Build Error AC3 Encoder Option

Reported by: CrHasher 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

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

Change History

Changed 2 years ago by CrHasher

Error log avcodec with ac3 encoder option

comment:1 follow-ups: ↓ 2 ↓ 3 Changed 2 years ago by cehoyos

  • Status changed from new to open

Could you test latest git head?

I believe this problem was fixed since.

Changed 2 years ago by CrHasher

Git head Ac3 error

comment:2 in reply to: ↑ 1 Changed 2 years ago by CrHasher

Replying to cehoyos:

Could you test latest git head?

I believe this problem was fixed since.

Same error in git head :(

comment:3 in reply to: ↑ 1 Changed 2 years ago by CrHasher

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 follow-up: ↓ 5 Changed 2 years ago by cehoyos

  • Version changed from 0.7-rc1 to git-master
  • Component changed from avcodec to build system

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

comment:5 in reply to: ↑ 4 Changed 2 years ago by CrHasher

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.

Changed 2 years ago by CrHasher

w32threads flag set to "no"

comment:6 Changed 2 years ago by cehoyos

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).

Changed 2 years ago by CrHasher

result of command: git show

Changed 2 years ago by CrHasher

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

comment:7 follow-up: ↓ 8 Changed 2 years ago by 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.

comment:8 in reply to: ↑ 7 Changed 2 years ago by CrHasher

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 Changed 20 months ago by cehoyos

  • Status changed from open to closed
  • Resolution set to fixed

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.