Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[android]Android TV上解码大文件很卡顿,似乎没有用上硬解 #208

Open
zhahouming opened this issue Jan 16, 2025 · 1 comment

Comments

@zhahouming
Copy link

Describe the bug

我在腾讯极光6SE、小米4C、小米4S、当贝H3、小米电视、雷鸟电视鹤6等设备上进行测试,发现播放比较大的文件或者杜比视界的文件,会很卡顿。其中讯极光6SE、小米4C这两款是性能比较弱的芯片和配置,卡顿是符合预期的,当贝H3、雷鸟电视这两个性能是比较强的。以雷鸟电视为例,它自带的系统播放器可以高帧率播放各种原盘视频,包括杜比视界,播放40GB的阿凡达也完全无压力;我在雷鸟电视上测试了mpv、vlc、当贝播放器等第三方播放器,也都可以高性能播放视频。

而我使用fvp编写的flutter播放器程序,在上述设备中都很卡顿,尤其是雷鸟电视上的卡顿,很像是没有用上硬解;播放2GB左右的H264电影,甚至10GB的H264电影也没啥问题

在Android手机(荣耀X100Pro)上播放则很完美,杜比视界、超大文件都不是问题。

Expected behavior

在编解码能力中上的典型电视或电视盒子中,能流畅播放各种大小和码流的文件,杜比视界支持不映射的流畅播放

补充信息
如果你需要更多的log,可以告知我需要哪些信息,后续我将附上。这里我补充一下测试视频的信息,以供参考:

  1. 黑客帝国 H264 12GB 流畅播放
Image
  1. 功夫 H264 2.9GB 流畅播放
Image
  1. 二手杰作 杜比视界 4.9GB 卡顿
    Input #0, matroska,webm, from '二手杰作.mkv':
    Metadata:
    encoder : libebml v1.4.4 + libmatroska v1.7.1
    creation_time : 2023-12-27T08:19:05.000000Z
    Duration: 01:54:05.44, start: 0.000000, bitrate: 6026 kb/s
    Stream #0:0(chi): Video: hevc (Main 10), yuv420p10le(pc), 3840x1600 [SAR 1:1 DAR 12:5], 24 fps, 24 tbr, 1k tbn (default)
    Metadata:
    BPS : 4422867
    DURATION : 01:54:05.250000000
    NUMBER_OF_FRAMES: 164286
    NUMBER_OF_BYTES : 3784454306
    _STATISTICS_WRITING_APP: mkvmerge v79.0 ('Funeral Pyres') 64-bit
    _STATISTICS_WRITING_DATE_UTC: 2023-12-27 08:19:05
    _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Side data:
    DOVI configuration record: version: 1.0, profile: 5, level: 6, rpu flag: 1, el flag: 0, bl flag: 1, compatibility id: 0

  2. 肖申克的救赎 H265 9.0GB 流畅 53秒左右稳定闪退
    Stream #0:0(eng): Video: hevc (Main 10), yuv420p10le(tv), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default) (forced)
    Metadata:
    BPS : 4749726
    BPS-eng : 4749726
    DURATION : 02:22:33.378000000
    DURATION-eng : 02:22:33.378000000
    NUMBER_OF_FRAMES: 205076
    NUMBER_OF_FRAMES-eng: 205076
    NUMBER_OF_BYTES : 5078275468
    NUMBER_OF_BYTES-eng: 5078275468
    _STATISTICS_WRITING_APP: mkvmerge v9.4.0 ('Knurl') 64bit
    _STATISTICS_WRITING_APP-eng: mkvmerge v9.4.0 ('Knurl') 64bit
    _STATISTICS_WRITING_DATE_UTC: 2019-05-02 07:53:08
    _STATISTICS_WRITING_DATE_UTC-eng: 2019-05-02 07:53:08
    _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

  3. 加勒比海盗 h264 3.1GB 流畅播放
    Metadata:
    title : Pirati.Dei.Caraibi.5.La.Vendetta.Di.Salazar.2017.iTA.ENG.AC3.SUB.iTA.ENG.BluRay.1080p.x264.jeddak-MIRCrew
    creation_time : 2024-12-12T19:29:05.000000Z
    ENCODER : Lavf61.1.100
    Duration: 02:09:06.41, start: 0.000000, bitrate: 3436 kb/s
    Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x800 [SAR 1:1 DAR 12:5], 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
    title : ...::: jeddak MIRCrew :::...
    DURATION : 02:09:06.406000000

  4. 大自然的声音S01E01 杜比视界 6.5GB 极其卡顿
    Input #0, matroska,webm, from 'Secret.World.of.Sound.S01E01.2024.2160p.WEB-DL.DV.DDP5.1.Atmos.Rus.Eng.mkv':
    Metadata:
    title : Охотники и добыча. (Tonik)
    encoder : libebml v1.4.2 + libmatroska v1.6.4
    creation_time : 2024-08-21T21:50:26.000000Z
    Duration: 00:44:37.18, start: 0.000000, bitrate: 20739 kb/s
    Chapters:
    Chapter #0:0: start 0.000000, end 2571.000000
    Metadata:
    title : Part 01
    Chapter #0:1: start 2571.000000, end 2677.184000
    Metadata:
    title : Credits
    Stream #0:0: Video: hevc (Main 10), yuv420p10le(pc), 3840x2160 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn (default)
    Metadata:
    BPS : 18689565
    DURATION : 00:44:37.000000000
    NUMBER_OF_FRAMES: 66925
    NUMBER_OF_BYTES : 6253995822
    _STATISTICS_WRITING_APP: mkvmerge v68.0.0 ('The Curtain') 64-bit
    _STATISTICS_WRITING_DATE_UTC: 2024-08-21 21:50:26
    _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Side data:
    DOVI configuration record: version: 1.0, profile: 5, level: 7, rpu flag: 1, el flag: 0, bl flag: 1, compatibility id: 0

  5. 流浪地球2 H265 24GB 卡顿
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'The.Wandering.Earth.Ⅱ.2023.WEB-DL.4K.HEVC.10bit.AAC-BBQDDQ.mp4':
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2mp41
    encoder : Lavf58.32.104
    Duration: 02:53:11.51, start: 0.000000, bitrate: 19780 kb/s
    Stream #0:00x1: Video: hevc (Main 10) (hev1 / 0x31766568), yuv420p10le(tv, bt709), 3840x1608 [SAR 1:1 DAR 160:67], 19580 kb/s, 24 fps, 24 tbr, 90k tbn (default)
    Metadata:
    handler_name : VideoHandler
    vendor_id : [0][0][0][0]
    Stream #0:10x2: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 191 kb/s (default)
    Metadata:
    handler_name : SoundHandler
    vendor_id : [0][0][0][0]

@wang-bin
Copy link
Owner

请按issue模板开启日志

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants