FFMS / ffms2

An FFmpeg based source library and Avisynth/VapourSynth plugin for easy frame accurate access
Other
582 stars 105 forks source link

Reading Dolby Vision RPU from m2ts #401

Closed YomikoR closed 2 years ago

YomikoR commented 2 years ago

I built FFMS2 on Windows with FFmpeg 5.0.1 for the latest feature in master. When indexing a blu-ray m2ts with DV profile 7, FFMS2 adds global parameters to frame properties but not the frame-dependent DolbyVisionRPU. unknown Things work as expected if indexing the output of MakeMKV instead. unknown (Same frame in my previewer btw)

dwbuiten commented 2 years ago

I think MakeMKV may be merging the MEL/EL and base layer - IIRC UHD Blu-rays have their RPUs in a separate stream (the MEL/EL stream), so opening the m2ts directly with FFMS2 would require you to use that stream to get the RPUs.

CC: @quietvoid

quietvoid commented 2 years ago

Yes, with m2ts you have to use the second video track. I don't know if the plugin allows track selection.

If it does, then you only have to copy the prop over to the first video stream clip.

YomikoR commented 2 years ago

Thanks. The data can be found with track=1.