Ijkplayer: Https protocol not found

Created on 18 Oct 2016  ·  5Comments  ·  Source: bilibili/ijkplayer

Does the player support Https protocol? I 've tried, but unfortunately I see a Log error.
Thanks a lot

All 5 comments

https needs ffmpeg built with openssl support.

Which are the correct steps to built with openssl support ?
I start with the init.android-openssl.sh the i try to launch compile-openssl.sh but then i receive an error Refusing to clobber existing install directory: /Users/marco.roberti/Desktop/ijkplayer-android/android/contrib/build/openssl-armv5/toolchain.

make-standalone-toolchain.sh used to install a new toolchain into an existing
directory. This is not desirable, as it will not clean up any stale files. If
you wish to remove the install directory before creation, pass --force.

What am i doing wrong ?

Thanks in Advance.

Use NDKr10e, or checkout master of ijkplayer.

My NDK version is 13.1.3 and it download from sdk manager,but I can not compile successfully by checkouting master of ijkplayer.
the log:
make-standalone-toolchain.sh used to install a new toolchain into an existing
directory. This is not desirable, as it will not clean up any stale files. If
you wish to remove the install directory before creation, pass --force.

can you tell me how to solve it.

@bbcallen
hello

I rebuild libx264,and the module.sh changed this:

export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-gpl"
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --extra-cflags=-I/usr/local/include"
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --extra-ldflags=-L/usr/local/include"
(--extra-ldflags=-L/usr/local/lib can't to build and i put the libx264 to ../include to build)
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-libx264"
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-encoder=libx264"

export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-version3"

export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-nonfree"

////

export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-encoders"

////

then build ffmpeg step:
./init-ios.sh
./init-ios-openssl.sh
./compile-openssl.sh clean
./compile-openssl.sh all
sh compile-ffmpeg.sh clean
./compile-ffmpeg.sh all

////

but,i still couldn't to play https video, and the error is:

ijkmp_prepare_async()=0
https protocol not found, recompile FFmpeg with openssl, gnutls or securetransport enabled.
https://video.v2.3dvrlife.com/80a6wNQ4XVeDfNJrWJUnSnL8kcAWP/g8o+7xCbMxGVUNT893mNx2ljsrXHFYM2Nm+4k: Protocol not found

////
Is this step error?
Please tell me how to solve this problem. Thanks!

Was this page helpful?
0 / 5 - 0 ratings