You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
try using config/module-default.sh for test. this will enable ffmpeg mpeg4 support. then,
enable mediacodec and mediacodec_mpeg4 in IjkVideoView.java by following statements:
ijkMediaPlayer.setOption(IjkMediaPlayer.OPT_CATEGORY_PLAYER, "mediacodec", 1);
ijkMediaPlayer.setOption(IjkMediaPlayer.OPT_CATEGORY_PLAYER, "mediacodec_mpeg4", 1);
Activity
Android4MediaPlayer commentedon Sep 8, 2016
打开mpeg4支持,重新编ffmpeg
itlws commentedon Sep 9, 2016
请问具体该怎么做啊?
yuazhen commentedon Sep 10, 2016
try using config/module-default.sh for test. this will enable ffmpeg mpeg4 support. then,
enable mediacodec and mediacodec_mpeg4 in IjkVideoView.java by following statements:
ijkMediaPlayer.setOption(IjkMediaPlayer.OPT_CATEGORY_PLAYER, "mediacodec", 1);
ijkMediaPlayer.setOption(IjkMediaPlayer.OPT_CATEGORY_PLAYER, "mediacodec_mpeg4", 1);
itlws commentedon Sep 12, 2016
可以了,谢谢了
JiangangYang commentedon Sep 12, 2016
请问@yuazhen 您说的
ijkMediaPlayer.setOption(IjkMediaPlayer.OPT_CATEGORY_PLAYER, "mediacodec", 1);
ijkMediaPlayer.setOption(IjkMediaPlayer.OPT_CATEGORY_PLAYER, "mediacodec_mpeg4", 1);
是在哪儿设置的?
yuazhen commentedon Sep 12, 2016
IjkVideoView.java in the ijkplayer-example demo.
lijie815917 commentedon Nov 10, 2016
请问是选择 config/module-default.sh,编译后按ijkMediaPlayer.setOption(IjkMediaPlayer.OPT_CATEGORY_PLAYER, "mediacodec", 1);
ijkMediaPlayer.setOption(IjkMediaPlayer.OPT_CATEGORY_PLAYER, "mediacodec_mpeg4", 1);设置就可以了吗,为什么我的不行,打开mpeg4支持还需要做什么吗@itlws @yuazhen
bbcallen commentedon Nov 10, 2016
config/module-default.sh is for mpeg4 decoder and parser.
mediacodec_mpeg4 is for mpeg4 hardware decoder.
lijie815917 commentedon Nov 10, 2016
can you give more details@bbcallen
lijie815917 commentedon Nov 10, 2016
ok,it can work now .but https url can not play?
powyin commentedon Sep 20, 2017
but https url can not play?
raymond1012 commentedon Sep 21, 2017
search issue