darbyjohnston / DJV

Professional media review software for VFX, animation, and film production
https://darbyjohnston.github.io/DJV/
BSD 3-Clause "New" or "Revised" License
696 stars 59 forks source link

DJV cant cache Video playback like mov/mp4 #455

Open MaxSteven opened 2 years ago

MaxSteven commented 2 years ago

With v2.0.8 I tried quicktime animation, quicktime prores and even h264 mp4 All cant be memory cache for playback like sequence exr I tried with the same file in djv 1.3.0 and everything is fine So I believe this is a bug. You can see in the below screenshot that v1.3 have all frames cached in blue and v2.0.8 has 0 frames cached eventhough the settings is enabled

%pn-04-02-22-103348-884
travisbutton commented 1 year ago

Yes, would be great if Darby could acknowledge and/or address this for an upcoming release. Definitely a bug, not a feature.

darbyjohnston commented 1 year ago

Hi, this is a bug with the new version of DJV, there is also another issue about it here: https://github.com/darbyjohnston/DJV/issues/66

I actually have a fix for this in a new project called "tlRender", which is a library for building playback applications partially based on the DJV code: https://github.com/darbyjohnston/tlRender

My intention was to migrate DJV to use the tlRender library, which would not only fix the caching but a number of other issues as well, like multiple audio and video tracks, multiple clips, and A/B comparison. But now with OpenRV and xSTUDIO released I'm not sure if it is worth the effort?

If you would like to try tlRender there are two other player applications currently using it: https://www.ftrack.com/en/cinesync/download-cinesync-5 https://github.com/ggarra13/mrv2

travisbutton commented 1 year ago

Hey @darbyjohnston. Thanks for the reply here. Valid question with regards to OpenRV, the only problem there is I think the percentage of people successfully compiling it through the convoluted process seems to be pretty small based on the GitHub commentary. I tried on 3 different Windows installs and never end up with an executable, even when it "succeeds" without errors.

We already own a couple of standalone RV licenses before Autodesk integrated it into Shotgun/grid or whatever they call it these days but ultimately want a solid player on more workstations. Thanks for the suggestion on tlRender. Will check it out.