Hi,
Could you add info on how to enable https protocol to README?
Out of interest.
So what is "compile-ssl.sh" used for? And other files with "ssl" in name?
It is compile-openssl.sh. Using for compile openssl, not ffmpeg. BTW, https protocol was supported in ffmpeg by default.
My ijk ffmpeg fails at runtime when trying to play https with "rebuild with
ssl enabled"
29.06.2016 9:52 AM "Xinzheng Zhang" [email protected] napisał(a):
It is compile-openssl.sh. Using for compile openssl, not ffmpeg. BTW,
https protocol was supported in ffmpeg by default.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Bilibili/ijkplayer/issues/1554#issuecomment-229282814,
or mute the thread
https://github.com/notifications/unsubscribe/ACu3eegw25xRTQ71Qx3S1VAxH9yMIv6Wks5qQiQ9gaJpZM4JAWfL
.
You should run init-openssl and compile-openssl to create a openssl lib.
Then run compile-ffmpeg.sh with --enable-openssl. Pack both of them to
your project.
On Wed, Jun 29, 2016 at 3:54 PM, ssuukk [email protected] wrote:
My ijk ffmpeg fails at runtime when trying to play https with "rebuild with
ssl enabled"
29.06.2016 9:52 AM "Xinzheng Zhang" [email protected] napisał(a):It is compile-openssl.sh. Using for compile openssl, not ffmpeg. BTW,
https protocol was supported in ffmpeg by default.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/Bilibili/ijkplayer/issues/1554#issuecomment-229282814>,
or mute the thread
<
https://github.com/notifications/unsubscribe/ACu3eegw25xRTQ71Qx3S1VAxH9yMIv6Wks5qQiQ9gaJpZM4JAWfL.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Bilibili/ijkplayer/issues/1554#issuecomment-229283208,
or mute the thread
https://github.com/notifications/unsubscribe/ABayVex1o38zI2ms4UMUAZhCyNVx0mrQks5qQiSpgaJpZM4JAWfL
.
For more options to enable, you can check the file module.sh, to enable/disable functions as u need.
you can make changes to the files to your liking.
Check openssl and ffmpeg full documentation.
Hi. I tried to compile project with opensll. I triggered /init-android-openssl and /android/contrib/compile-openssl.sh. After that I went to /config/module.sh and added
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-openssl"
After I triggered /android/contrib/compile-ffmpeg.sh.
I added to Android.mk file
MY_APP_OPENSSL_OUTPUT_PATH := $(realpath $(MY_APP_ANDROID_ROOT)/contrib/build/openssl-armv7a/output)
MY_APP_OPENSSL_INCLUDE_PATH := $(realpath $(MY_APP_OPENSSL_OUTPUT_PATH)/include)
andr started /android/compile-ijk.sh
I launched sample app and it didn't work with https stream. Also I notices that I didn't have any new .so fileds.
Maybe I did something wrong? Can somebody help me?
I found that do-compile-ffmpeg.sh contains
# with openssl
if [ -f "${FF_DEP_OPENSSL_LIB}/libssl.a" ]; then
echo "then called"
# FF_CFG_FLAGS="$FF_CFG_FLAGS --enable-nonfree"
FF_CFG_FLAGS="$FF_CFG_FLAGS --enable-openssl"
FF_CFLAGS="$FF_CFLAGS -I${FF_DEP_OPENSSL_INC}"
FF_DEP_LIBS="-L${FF_DEP_OPENSSL_LIB} -lssl -lcrypto"
fi
So I removed all my previous changes and remove # befor FF_CFG_FLAGS="$FF_CFG_FLAGS --enable-nonfree" and recompiled ffmpeg and ijk. But stream with https, as before, doesn't work
I think @bbcallen should clarify how to build the library with openssl support.
that's not hard.
Most helpful comment
Out of interest.