yixia / VitamioBundle

Vitamio for Android
http://www.vitamio.org/en/
Other
5.27k stars 2.07k forks source link

Vitamin 4.2.6 is not playing mp4 files with https protocol #398

Open holyantony opened 8 years ago

holyantony commented 8 years ago

Hi, I am using vitamin 4.2.6 version to play mp4 url. While trying to play video, getting error saying Unable to negotiate TLS/SSL session. I have tried using latest version 5.0.2, but getting the same error. Native android media player is able to play the same. Below is the logical logs:

07-11 12:38:05.561: I/Vitamio[4.2.6]Player: VPLAYER INIT BEGIN 07-11 12:38:05.561: I/Vitamio[4.2.6]Player: Application package name: com.yyyyy 07-11 12:38:05.561: I/Vitamio[4.2.6]Player: VPLAYER INIT END 07-11 12:38:05.561: I/Vitamio[4.2.6]Player: Copyright (c) YIXIA (http://yixia.com). 07-11 12:38:05.561: I/Vitamio[4.2.6]Player: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 07-11 12:38:05.561: I/Vitamio[4.2.6]Player: Application package name: com.ventus 07-11 12:38:05.561: I/Vitamio[4.2.6]Player: Copyright (c) YIXIA (http://yixia.com). 07-11 12:38:05.561: I/Vitamio[4.2.6]Player: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 07-11 12:38:05.561: I/Vitamio[4.2.6]Player: Application package name: com.ventus 07-11 12:38:05.561: I/Vitamio[4.2.6]Player: PREPARE SIG: 0 07-11 12:38:05.561: I/Vitamio[4.2.6]Player: THREAD PREPARE START 07-11 12:38:05.561: I/Vitamio[4.2.6]Player: THREAD PREPARE ATTACHED 07-11 12:38:05.561: I/Vitamio[4.2.6]Player: Copyright (c) YIXIA (http://yixia.com). 07-11 12:38:05.561: I/Vitamio[4.2.6]Player: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 07-11 12:38:05.561: I/Vitamio[4.2.6]Player: OPEN FILE https://yyyyy/events/c578345bf/6282016-112423.mp4 07-11 12:38:07.211: E/Vitamio[4.2.6]Player: [tls @ 0xd6f2a8e0] Unable to negotiate TLS/SSL session 07-11 12:38:07.211: E/Vitamio[4.2.6]Player: avformat_open_input: I/O error : -5 07-11 12:38:07.211: I/Vitamio[4.2.6]Player: THREAD PREPARE DETTACHED, ret = 0 07-11 12:38:07.211: I/Vitamio[4.2.6]Player: THREAD PREPARE END 07-11 12:38:07.211: E/Vitamio[4.2.6]Player: error (1, -5) 07-11 12:38:07.211: I/Vitamio[4.2.6]Player: FILE CLOSE BEGIN 07-11 12:38:07.211: I/Vitamio[4.2.6]Player: FREE VIDEOPIC BEGIN 07-11 12:38:07.211: I/Vitamio[4.2.6]Player: FREE VIDEOPIC 2 END 07-11 12:38:07.211: I/Vitamio[4.2.6]Player: FREE SUBPIC BEGIN 07-11 12:38:07.211: I/Vitamio[4.2.6]Player: FREE SUBPIC 1 END 07-11 12:38:07.211: I/Vitamio[4.2.6]Player: FREE AUDIOFRAME BEGIN 07-11 12:38:07.211: I/Vitamio[4.2.6]Player: FREE AUDIOFRAME 8 END 07-11 12:38:07.211: I/Vitamio[4.2.6]Player: DELETE GLOBAL REF BEGIN 07-11 12:38:07.211: I/Vitamio[4.2.6]Player: DELETE GLOBAL REF END 07-11 12:38:07.211: I/Vitamio[4.2.6]Player: FILE CLOSE END 07-11 12:38:07.291: E/VitamioPlayer: Error (1, -5)

MythodeaLoL commented 8 years ago

try other https video link in other server @holyantony

holyantony commented 8 years ago

Thanks for the quick response. Yes it plays other https urls. But what could be the reason, it is not playing the one which I tried to play? I checked with the certificates. It is valid. Still not getting played.

MythodeaLoL commented 8 years ago

Vitamio 4.x versions use outdated OpneSSL, maybe THIS is the real problem. Stream SSL ---> X (old SSL) ---> Vitamio 4 = ERROR

I think the 5.0.2 version fixes this @holyantony .

holyantony commented 8 years ago

I tried with 5.0.2 version. I am getting this error "error (1, -5)"

07-18 21:51:00.572: I/Vitamio[5.0.2][Player](28234): THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
07-18 21:51:00.572: I/Vitamio[5.0.2][Player](28234): LOAD FFMPEG START: /data/data/io.vov.vitamio.demo/lib/libffmpeg.so
07-18 21:51:00.662: E/Vitamio[5.0.2][Player](28234): FIND_NAME_SYM ffmpeg, ff_ass_split
07-18 21:51:00.662: E/Vitamio[5.0.2][Player](28234): FIND_NAME_SYM ffmpeg, ff_ass_split_dialog
07-18 21:51:00.662: E/Vitamio[5.0.2][Player](28234): FIND_NAME_SYM ffmpeg, ff_ass_split_free
07-18 21:51:00.662: E/Vitamio[5.0.2][Player](28234): FIND_NAME_SYM ffmpeg, av_close_input_file
07-18 21:51:00.662: I/Vitamio[5.0.2][Player](28234): LOAD FFMPEG END: /data/data/io.vov.vitamio.demo/lib/libffmpeg.so
07-18 21:51:00.662: I/Vitamio[5.0.2][Player](28234): LOAD VVO START: /data/data/io.vov.vitamio.demo/lib/libvvo.9.so
07-18 21:51:00.682: E/Vitamio[5.0.2][Player](28234): FIND_NAME_SYM vvo, render_yuv
07-18 21:51:00.682: I/Vitamio[5.0.2][Player](28234): LOAD VVO END: /data/data/io.vov.vitamio.demo/lib/libvvo.9.so
07-18 21:51:00.682: I/Vitamio[5.0.2][Player](28234): LOAD VAO START: /data/data/io.vov.vitamio.demo/lib/libvao.0.so
07-18 21:51:00.692: I/Vitamio[5.0.2][Player](28234): LOAD VAO END: /data/data/io.vov.vitamio.demo/lib/libvao.0.so
07-18 21:51:00.702: I/Vitamio[5.0.2][Player](28234): VPLAYER INIT BEGIN
07-18 21:51:00.702: I/Vitamio[5.0.2][Player](28234): Application package name: io.vov.vitamio.demo
07-18 21:51:00.882: I/Vitamio[5.0.2][Player](28234): VPLAYER INIT END
07-18 21:51:00.882: I/Vitamio[5.0.2][Player](28234): Copyright (c) YIXIA (http://yixia.com).
07-18 21:51:00.882: I/Vitamio[5.0.2][Player](28234): THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
07-18 21:51:00.882: I/Vitamio[5.0.2][Player](28234): Application package name: io.vov.vitamio.demo
07-18 21:51:00.882: I/Vitamio[5.0.2][Player](28234): Copyright (c) YIXIA (http://yixia.com).
07-18 21:51:00.882: I/Vitamio[5.0.2][Player](28234): THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
07-18 21:51:00.882: I/Vitamio[5.0.2][Player](28234): Application package name: io.vov.vitamio.demo
07-18 21:51:00.882: I/Vitamio[5.0.2][Player](28234): PREPARE SIG: 0
07-18 21:51:00.892: I/Vitamio[5.0.2][Player](28234): THREAD PREPARE START
07-18 21:51:00.892: I/Vitamio[5.0.2][Player](28234): THREAD PREPARE ATTACHED
07-18 21:51:00.902: I/Vitamio[5.0.2][Player](28234): Copyright (c) YIXIA (http://yixia.com).
07-18 21:51:00.902: I/Vitamio[5.0.2][Player](28234): THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
07-18 21:51:00.902: I/Vitamio[5.0.2][Player](28234): Vitamio Version 5.0.2 
07-18 21:51:00.902: I/Vitamio[5.0.2][Player](28234): OPEN FILE https://soemthing.com/578cff7b/20/videos/035148.mp4
07-18 21:51:01.002: I/Choreographer(28234): Skipped 72 frames!  The application may be doing too much work on its main thread.
07-18 21:51:06.992: E/Vitamio[5.0.2][Player](28234): [tls @ 0x50f027d0] error:00000000:lib(0):func(0):reason(0)
07-18 21:51:06.992: E/Vitamio[5.0.2][Player](28234): avformat_open_input: I/O error : -5
07-18 21:51:07.002: I/Vitamio[5.0.2][Player](28234): THREAD PREPARE DETTACHED, ret = 0
07-18 21:51:07.002: I/Vitamio[5.0.2][Player](28234): THREAD PREPARE END
07-18 21:51:07.002: E/Vitamio[5.0.2][Player](28234): error (1, -5)
07-18 21:51:07.002: I/Vitamio[5.0.2][Player](28234): FILE CLOSE BEGIN
07-18 21:51:07.002: I/Vitamio[5.0.2][Player](28234): FREE VIDEOPIC BEGIN
07-18 21:51:07.002: I/Vitamio[5.0.2][Player](28234): FREE VIDEOPIC 2 END
07-18 21:51:07.002: I/Vitamio[5.0.2][Player](28234): FREE SUBPIC BEGIN
07-18 21:51:07.002: I/Vitamio[5.0.2][Player](28234): FREE SUBPIC 1 END
07-18 21:51:07.002: I/Vitamio[5.0.2][Player](28234): FREE AUDIOFRAME BEGIN
07-18 21:51:07.002: I/Vitamio[5.0.2][Player](28234): FREE AUDIOFRAME 8 END
07-18 21:51:07.002: I/Vitamio[5.0.2][Player](28234): DELETE GLOBAL REF BEGIN
07-18 21:51:07.002: I/Vitamio[5.0.2][Player](28234): DELETE GLOBAL REF END
07-18 21:51:07.002: I/Vitamio[5.0.2][Player](28234): FILE CLOSE END
07-18 21:51:07.002: I/Vitamio[Player](28234): Info (1002, 0)
07-18 21:51:07.002: D/Vitamio[Player](28234): onInfo: (1002, 0)
07-18 21:51:07.002: D/Vitamio[Player](28234): onInfo: (1002, 0)
07-18 21:51:07.082: E/Vitamio[Player](28234): Error (1, -5)
07-18 21:51:07.082: D/Vitamio[Player](28234): Error: 1, -5