Ijkplayer: When I command “$ sh compile-ffmpeg.sh armv7a“,I got this...please help me...

Created on 5 Sep 2016  ·  5Comments  ·  Source: bilibili/ijkplayer

as the follow:

[*] configurate ffmpeg

/home/Administrator/ijkplayer/android/contrib/build/ffmpeg-armv7a/toolchain/bin/ arm-linux-androideabi-gcc
./configure: line 558: $'aac_adtstoasc_bsfr=yes': command not found
./configure: line 558: $'chomp_bsfr=yes': command not found
./configure: line 558: $'dump_extradata_bsfr=yes': command not found
./configure: line 558: $'dca_core_bsfr=yes': command not found
./configure: line 558: $'h264_mp4toannexb_bsfr=yes': command not found
./configure: line 558: $'hevc_mp4toannexb_bsfr=yes': command not found
./configure: line 558: $'imx_dump_header_bsfr=yes': command not found
./configure: line 558: $'mjpeg2jpeg_bsfr=yes': command not found
./configure: line 558: $'mjpega_dump_header_bsfr=yes': command not found
./configure: line 558: $'mp3_header_decompress_bsfr=yes': command not found

Most helpful comment

I faced exactly the same problem, looks like dos2unix configure not enough, but find . -type f -print0 | xargs -0 dos2unix save the situation.

configure script huge so I didn't understand the problem 100%, I think configure use some another script to build env var list

All 5 comments

compile-ffmpeg.sh clean and build again?

I faced exactly the same problem, looks like dos2unix configure not enough, but find . -type f -print0 | xargs -0 dos2unix save the situation.

configure script huge so I didn't understand the problem 100%, I think configure use some another script to build env var list

@VincentJin-91 Can you tell me how to solve this problem?

Uuuh!! Thanks for your reply. But the question still exist(./configure: line 554: $'aac_adtstoasc_bsfr=yes': command not found).
Do you have other solutions to del the 'r'?
Do you see the 'r' come from?

~/ffmpeg/ijkplayer$ find . -type f -print0 | xargs -0 dos2unix

~/ffmpeg/ijkplayer == your ijkplayer path

configure script huge so I didn't understand the problem 100%, I think configure use some another script to build env var list

Was this page helpful?
0 / 5 - 0 ratings