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

Video player does not take into account dynamic metadata on #727

Open
cdguy opened this issue Jan 19, 2024 · 13 comments
Open

Video player does not take into account dynamic metadata on #727

cdguy opened this issue Jan 19, 2024 · 13 comments
Labels
bug Something isn't working

Comments

@cdguy
Copy link

cdguy commented Jan 19, 2024

Description

When playing Dolby Vision streams, the player does not take into account the dynamic metadata that are present in the stream. Several tests were carried out on Tracy with video samples to test the different layers and revealed the problem:

  • With a DV profile 8, CMV 4 and 2.9: The player switches to Dolby Vision but does not take into account flow dynamics metadata.

  • With a DV profile 5, CMV 4: Tracy indicates the presence of Dolby Vision streams at 24 fps but the player does not switch to Dolby Vision mode.

  • With a profile 5, CMV 2.9: The player switches to Dolby Vision but does not take into account flow dynamics metadata.

Expected behavior with video streams

The video should change its contrast/brightness.

I will send you in private the video file links

Thank you in advance!

@cdguy cdguy added the bug Something isn't working label Jan 19, 2024
@djokt
Copy link

djokt commented Jan 19, 2024

I confirm. I tried the samples in question and there is a problem with the dynamic mets. Finally we end up with a simple HDR10 with the DV logo.

@kingslay
Copy link
Owner

With a DV profile 5, CMV 4: Tracy indicates the presence of Dolby Vision streams at 24 fps but the player does not switch to Dolby Vision mode.
@cdguy 这句话的意思是。在播放器没有点亮Dolby Vision 。但是播放出来的效果,应该也是Dolby Vision的吧

@djokt
Copy link

djokt commented Jan 20, 2024

Yes exactly.

@kingslay
Copy link
Owner

我刚更新了iOS和tvos的Testflight。你们可以在试下 DV profile 5, CMV 4 。看下是否可以点亮Dolby Vision

@FaiChou
Copy link
Sponsor Contributor

FaiChou commented Jan 20, 2024

IMG_5305

@kingslay
Copy link
Owner

你对这个流执行下 ffmpeg -i 看下他返回的信息是什么

@FaiChou
Copy link
Sponsor Contributor

FaiChou commented Jan 20, 2024

Input #0, matroska,webm, from 'House.of.the.Dragon.S01E07.2160p.HMAX.WEB-DL.DDP5.1.Atmos.DV.MKV.x265-SMURF-1mins.mkv':
  Metadata:
    ENCODER         : Lavf60.16.100
  Duration: 00:01:03.65, start: 0.000000, bitrate: 18694 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 2846.000000
      Metadata:
        title           : Chapter 01
    Chapter #0:1: start 2846.000000, end 2921.280000
      Metadata:
        title           : Credits
  Stream #0:0(eng): Video: hevc (Main 10), yuv420p10le(pc), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default) (original)
    Metadata:
      BPS             : 17662828
      NUMBER_OF_FRAMES: 84426
      NUMBER_OF_BYTES : 7774443899
      _STATISTICS_WRITING_APP: mkvmerge v70.0.0 ('Caught A Lite Sneeze') 64-bit
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      DURATION        : 00:01:03.646000000
    Side data:
      DOVI configuration record: version: 1.0, profile: 5, level: 6, rpu flag: 1, el flag: 0, bl flag: 1, compatibility id: 0
  Stream #0:1(eng): Audio: eac3 (Dolby Digital Plus + Dolby Atmos), 48000 Hz, 5.1(side), fltp, 768 kb/s (default) (original)
    Metadata:
      BPS             : 768000
      NUMBER_OF_FRAMES: 110040
      NUMBER_OF_BYTES : 338042880
      _STATISTICS_WRITING_APP: mkvmerge v70.0.0 ('Caught A Lite Sneeze') 64-bit
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      DURATION        : 00:01:03.404000000
  Stream #0:2(eng): Subtitle: subrip (original)
    Metadata:
      BPS             : 36
      NUMBER_OF_FRAMES: 453
      NUMBER_OF_BYTES : 14010
      _STATISTICS_WRITING_APP: mkvmerge v70.0.0 ('Caught A Lite Sneeze') 64-bit
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      DURATION        : 00:01:03.521000000

@djokt
Copy link

djokt commented Jan 20, 2024

@kingslay nothing changes ...

@djokt
Copy link

djokt commented Jan 20, 2024

@FaiChou I think your problem has nothing to do with the subject.

You must have a hacked DV file. I have already had this kind of problem with releases in profile 05.06 in bt.1886.

@kingslay
Copy link
Owner

@FaiChou 我更新了下testflight。你在试下,看下会不会还有这个颜色不对的情况

@FaiChou
Copy link
Sponsor Contributor

FaiChou commented Jan 20, 2024

是的,颜色正常了。软件解码手机发烫严重。这只能希望下个版本ffmpeg支持了。

另外,tf的代码都是同步在Demo中吗?

@kingslay
Copy link
Owner

tf的代码没有同步到demo里面

@kingslay
Copy link
Owner

@cdguy 我发现你发给我的profile 8 播放的颜色也会不对。 在你的iOS 设备上不会颜色不对吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants