Closed erazortt closed 12 months ago
This however is bought by a decoding speed of about half compared to using DGSource!
LSMASHSource also supports DolbyVisionRPU
frame property. You can try LWLibavVideoSource(..., prefer_hw=x)
for hardware decoding.
So apparently prefer_hw=1 disables the reading of RPU data. I opened an issue. It might be impossible due to the hw nature of the reading though...
MKV files supported using this method?
I don't have any such files now at hand, but I'm quite positive it should work. Please feel free to try it out, and if it does not work directly "out-of-the-box" than please open an issue, I would then investigate.
loaded this config without errors
bl=FFVideoSource("F:\Me\Me.mkv") el=FFVideoSource("F:\Me\Me.mkv") SetFilterMTMode("DoViBaker",2) DoViBaker(bl,el) Prefetch(8)
Colors are wrong with mkv files but looks good with ts files.
Add compatibility to directly read the RPU from the stream, for streams load by ffms2. This is a new ffms2 feature that is currently being developed
With this neither the EL nor the RPU need to be extracted anymore!
Thus instead of: bl=DGSource("blclip.dgi") el=DGSource("elclip.dgi") DoViBaker(bl,el,rpu="RPU.bin")
This can now be used: bl=FFVideoSource("clip.ts", threads=1) el=FFVideoSource("clip.ts", threads=1, track=1) DoViBaker(bl,el)
This however is bought by a decoding speed of about half compared to using DGSource!