Dolby Vision Files not recognized

Issue #1174 resolved
Dan created an issue

I have several test clips that contain Dolby Vision. One (in MP4 container) appears in Serviio and plays fine, including triggering the DV label on my display. Another (TS container) appears in Serviio and plays but does not trigger DV or HDR on the display. The third (also in TS container) appears identical to the other TS file, but Serviio doesn’t even display the file under any presentation. Media info for the MP4 file, the TS file that plays but no DV, and the TS file that doesn’t display in Serviio.

This is the only information in the log for the file not displayed:

2022-06-05T17:24:30,592 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (F:\Test Videos\dolby-vision-lg-earth.ts). Message: Unknown video codec.

I also consider this log entry puzzling, as I have metadata extraction turned off for my Test Videos folder, so I wouldn’t expect this to appear for this folder.

Players tested are the TV’s native DLNA player (LG Nano85), Nvidia Shield using Kodi, and Roku Ultra 4800, all of which support DV. Serviio version 2.2.1, Windows 10 OS.

General
Complete name                            : F:\Test Videos\dolby-vision-nasa.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/dby1/isom)
File size                                : 510 MiB
Duration                                 : 2 min 23 s
Overall bit rate                         : 29.9 Mb/s
Encoded date                             : UTC 2017-04-13 22:51:30
Tagged date                              : UTC 2017-04-13 22:51:30

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@Main
HDR format                               : Dolby Vision, Version 1.0, dvhe.05.09, BL+RPU
Codec ID                                 : dvhe
Codec ID/Info                            : High Efficiency Video Coding with Dolby Vision
Duration                                 : 2 min 23 s
Bit rate                                 : 29.3 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.059
Stream size                              : 499 MiB (98%)
Encoded date                             : UTC 2017-04-13 22:51:30
Tagged date                              : UTC 2017-04-13 22:51:30
Codec configuration box                  : hvcC+dvcC

Audio
ID                                       : 2
Format                                   : E-AC-3 JOC
Format/Info                              : Enhanced AC-3 with Joint Object Coding
Commercial name                          : Dolby Digital Plus with Dolby Atmos
Format settings                          : Dolby Surround EX
Codec ID                                 : ec-3
Duration                                 : 2 min 22 s
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 10.9 MiB (2%)
Service kind                             : Complete Main
Encoded date                             : UTC 2017-04-13 22:51:30
Tagged date                              : UTC 2017-04-13 22:51:30
Complexity index                         : 14
Number of dynamic objects                : 13
Bed channel count                        : 1 channel
Bed channel configuration                : LFE

This one plays, but no DV

General
Complete name                            : F:\Test Videos\dolby-vision-nasa.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/dby1/isom)
File size                                : 510 MiB
Duration                                 : 2 min 23 s
Overall bit rate                         : 29.9 Mb/s
Encoded date                             : UTC 2017-04-13 22:51:30
Tagged date                              : UTC 2017-04-13 22:51:30

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@Main
HDR format                               : Dolby Vision, Version 1.0, dvhe.05.09, BL+RPU
Codec ID                                 : dvhe
Codec ID/Info                            : High Efficiency Video Coding with Dolby Vision
Duration                                 : 2 min 23 s
Bit rate                                 : 29.3 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.059
Stream size                              : 499 MiB (98%)
Encoded date                             : UTC 2017-04-13 22:51:30
Tagged date                              : UTC 2017-04-13 22:51:30
Codec configuration box                  : hvcC+dvcC

Audio
ID                                       : 2
Format                                   : E-AC-3 JOC
Format/Info                              : Enhanced AC-3 with Joint Object Coding
Commercial name                          : Dolby Digital Plus with Dolby Atmos
Format settings                          : Dolby Surround EX
Codec ID                                 : ec-3
Duration                                 : 2 min 22 s
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 10.9 MiB (2%)
Service kind                             : Complete Main
Encoded date                             : UTC 2017-04-13 22:51:30
Tagged date                              : UTC 2017-04-13 22:51:30
Complexity index                         : 14
Number of dynamic objects                : 13
Bed channel count                        : 1 channel
Bed channel configuration                : LFE

This one doesn’t even appear in Serviio

General
Complete name                            : F:\Test Videos\dolby-vision-lg-earth.ts
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/dby1/isom)
File size                                : 230 MiB
Duration                                 : 55 s 263 ms
Overall bit rate                         : 34.9 Mb/s
Encoded date                             : UTC 2017-03-30 17:23:39
Tagged date                              : UTC 2017-03-30 17:23:39
FileExtension_Invalid                    : braw mov mp4 m4v m4a m4b m4p m4r 3ga 3gpa 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@Main
HDR format                               : Dolby Vision, Version 1.0, dvhe.05.09, BL+RPU
Codec ID                                 : dvhe
Codec ID/Info                            : High Efficiency Video Coding with Dolby Vision
Duration                                 : 55 s 200 ms
Bit rate                                 : 34.3 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 60.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.069
Stream size                              : 226 MiB (98%)
Encoded date                             : UTC 2017-03-30 17:23:39
Tagged date                              : UTC 2017-03-30 17:23:39
Codec configuration box                  : hvcC+dvcC

Audio
ID                                       : 2
Format                                   : E-AC-3
Format/Info                              : Enhanced AC-3
Commercial name                          : Dolby Digital Plus
Format settings                          : Dolby Surround
Codec ID                                 : ec-3
Duration                                 : 55 s 263 ms
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 4.22 MiB (2%)
Service kind                             : Complete Main
Encoded date                             : UTC 2017-03-30 17:23:39
Tagged date                              : UTC 2017-03-30 17:23:39

Comments (10)

  1. Dan reporter

    I’ll try a different (newer) version. But since they aren’t being transcoded, I don’t know what FFMPEG might have to do with it. Of course, if you use it elsewhere for other purposes, that would be understandable.

  2. Priit Varik

    Check the output of ffmpeg -i on all those files.
    I believe Serviio uses ffmpeg to identify media composition and codecs used.

    For example, I see this message in my serviio log:

    2022-07-20T00:22:07,875 DEBUG [FFMPEGWrapper] Invoking FFMPEG to retrieve media information for file: /Tests & Demos/Dolby Vision/RPU p8.1 L1.L2_cmv29.mp4
    2022-07-20T00:22:07,876 DEBUG [ProcessExecutor] Starting /Library/Application Support/Serviio/lib/ffmpeg -i /Tests & Demos/Dolby Vision/RPU p8.1 L1.L2_cmv29.mp4
    2022-07-20T00:22:07,908 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (/Tests & Demos/Dolby Vision/RPU p8.1 L1.L2_cmv29.mp4). Message: Unknown video codec.
    2022-07-20T00:22:07,908 DEBUG [PendingFilesCache] Adding file '/Tests & Demos/Dolby Vision/RPU p8.1 L1.L2_cmv29.mp4' for the pending files cache

  3. Petr Nejedly repo owner

    especially the file that doesn’t appear. (eg /RPU p8.1 L1.L2_cmv29.mp4)

    the one that doesn’t appear as Dolby Vision, is it possible it’s transcoded? I assume your files are picked up in profiles as h265, pretty much.

  4. Dan reporter

    Petr, I’m traveling this week (currently sitting in the Denver airport), so it will be the weekend before I can do that. I did grab a new version of ffmpeg, which made some of the missing files visible. I think there’s still one missing, so I’ll check that one out.

  5. Priit Varik

    I get with ffmpeg 5.1.2 the following result:

    $ ffmpeg -i /RPU\ p8.1\ L1.L2_cmv29.mp4 
    ffmpeg version 5.1.2-tessus Copyright (c) 2000-2022 the FFmpeg developers
      built with Apple clang version 11.0.0 (clang-1100.0.33.17)
      configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
      libavutil      57. 28.100 / 57. 28.100
      libavcodec     59. 37.100 / 59. 37.100
      libavformat    59. 27.100 / 59. 27.100
      libavdevice    59.  7.100 / 59.  7.100
      libavfilter     8. 44.100 /  8. 44.100
      libswscale      6.  7.100 /  6.  7.100
      libswresample   4.  7.100 /  4.  7.100
      libpostproc    56.  6.100 / 56.  6.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/RPU p8.1 L1.L2_cmv29.mp4':
      Metadata:
        major_brand     : mp42
        minor_version   : 1
        compatible_brands: mp42dby1isom
        creation_time   : 2022-06-08T02:57:17.000000Z
      Duration: 00:01:10.07, start: 0.000000, bitrate: 1260 kb/s
      Stream #0:0[0x1](und): Video: hevc (Main 10) (dvhe / 0x65687664), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2014, 1257 kb/s, SAR 1:1 DAR 1920:1007, 23.98 fps, 23.98 tbr, 24k tbn
        Metadata:
          creation_time   : 2022-06-08T02:57:17.000000Z
          handler_name    : video handler
          vendor_id       : [0][0][0][0]
          encoder         : DOVI Coding
        Side data:
          DOVI configuration record: version: 1.0, profile: 8, level: 6, rpu flag: 1, el flag: 0, bl flag: 1, compatibility id: 0
    At least one output file must be specified
    $
    

    Also, just by replacing the ffmpeg binary in “/Library/Application\ Support/Serviio/lib/ffmpeg” with the 5.1.2 version, all these DoVi profile 8 files were indexed into the library!

  6. Log in to comment