Open fengyiyingdong opened 3 years ago
机顶盒软解播放mp4,首帧画面出来需要7秒,网上的优化参数尝试过,但是涛声依旧,始终都是7s, 配置成硬解码也是7s。使用系统的MediaPlayer只需2秒钟。 大佬们这个问题怎么破啊?
下面是视频的参数
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'http://192.168.16.199:8181/mov/1596003842970_e7b2/64956e6e2558ed91c65174b82abadbdb.mp4': Metadata: major_brand : mp42 minor_version : 1 compatible_brands: isomiso2avc1mp41mp423gp5 encoder : ZKYS r624 Duration: 01:36:17.89, start: 0.000000, bitrate: 1773 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 1562 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: handler_name : VideoHandler Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default) Metadata: handler_name : SoundHandler Stream #0:2(und): Data: none (mp4s / 0x7334706D), 0 kb/s (default) Metadata: creation_time : 2016-08-22T10:37:44.000000Z handler_name : GPAC MPEG-4 OD Handler Stream #0:3(und): Data: none (mp4s / 0x7334706D), 0 kb/s (default) Metadata: creation_time : 2016-08-22T10:37:44.000000Z handler_name : GPAC MPEG-4 Scene Description Handler Stream #0:4(und): Data: none (rtp / 0x20707472), 68 kb/s (default) Metadata: creation_time : 2016-08-22T10:37:44.000000Z handler_name : GPAC ISO Hint Handler Stream #0:5(und): Data: none (rtp / 0x20707472), 9 kb/s (default) Metadata: creation_time : 2016-08-22T10:41:58.000000Z handler_name : GPAC ISO Hint Handler
麻烦上传下测试视频
大佬,视频文件有点大,我放百度网盘了。
链接: https://pan.baidu.com/s/1y1ZSOBIFtI16ZRwLTK5CXw 密码: 12ml
@fengyiyingdong 最后你怎么解决的
换成exoplayer好像能解
机顶盒软解播放mp4,首帧画面出来需要7秒,网上的优化参数尝试过,但是涛声依旧,始终都是7s, 配置成硬解码也是7s。使用系统的MediaPlayer只需2秒钟。 大佬们这个问题怎么破啊?
下面是视频的参数