DeimosF 0 Posted 1 hour ago Posted 1 hour ago Hi, I have a long-standing issue with offline conversions (Download / Convert Media) of Dolby Vision content. Setup: Emby Server 4.10.0.40 NVIDIA Tesla P4 (NVDEC + NVENC) Hardware tone mapping enabled (tested Hable, Mobius, Reinhard) Source: 4K Dolby Vision Profile 8.1 (HDR10 compatible) HEVC Main 10 What works: Live on-the-fly transcoding (HLS) works fine. Converting regular 4K H.264 → 1080p H.264 works fine. What fails: When converting DV Profile 8.1 → 1080p H.264 for offline use, the resulting file does not play on mobile devices (black screen). Analysis from logs: Tone mapping is applied correctly: tonemap_cuda=...:format=yuv420p setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709 Output video stream is correctly tagged as: cuda(tv, bt709, progressive) However, the DOVI configuration record is still present in the side data of the output file: Side data: DOVI configuration record: version: 1.0, profile: 8, level: 6, rpu flag: 1, el flag: 0, bl flag: 1, compatibility id: 1 This residual Dolby Vision side data on an H.264 stream causes many mobile players to fail. I also tested Parameter Adjustment with -bsf:v filter_units=remove_types=6 — the parameter is applied, but the DOVI configuration record remains. Conclusion: Emby correctly tone-maps the pixels to SDR BT.709 during offline conversion, but does not strip the DOVI configuration record from the output container. This breaks playback on mobile clients. Is this a known limitation of the offline conversion pipeline? Any chance this can be fixed so that DOVI side data is removed when tone mapping to SDR H.264? I can provide full ffmpeg logs if needed. Thanks.
DeimosF 0 Posted 44 minutes ago Author Posted 44 minutes ago Additional test: pure HDR10 (no Dolby Vision) converts correctly and plays fine on mobile. The issue only occurs when the source contains a DOVI configuration record.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now