shawnc22 wrote: ↑Thu May 21, 2020 4:36 pm
steffenmanden wrote: ↑Thu May 21, 2020 4:03 pm
Why dont you get it on github anyway ?
![Smile :-)](./images/smilies/icon_smile.gif)
better for all of us to help!
Ill review the code tonight (Maybe throw it in github if you want, but you should get it in your own)
Ill see if i have the time to quickly add the h264 implementation for mvc
Agreed with github! happy to do the compile/demo testing and review, but yusecope should get the ultimate pull-request credit from his repo
I agree!
Beware that the extractor is located at
ExoPlayer/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mkv/
within the dev-v2 branch. Just so you dont get surprised like me about it not being there
However
yusesope the code looks really good and is super readable with the good naming convention (i personally love when stuff actually is named according to their usage). As i played with it i can see that Exoplayer has no MVC playback implemented as far as i can see, so i think the easy solution is to just ignore the type in HEVC, but just let it exist in the ExtentionBlock.java untill someone wants to pick up that functionality (like you said i doubt anyone actually will shout out for 3D playback)
Only few comments i could have is the minor lack of comments for new functionality as well as the "lack" of readiness for the same functionality in AVC (just to avoid them complaining). Here i would say that we pretty much just should add the ability to get the csdEndPosition in AvcConfig.java (just like you did in the HEVC equivilent) and add a placeholder for block TYPE_mvcC in the h264 codec (empty switch that just breaks, but leaves easy access to continue).
Hope you get the enchanced hevc config loaded in - then its there!
A small question, is the hvcE block always loaded first ? if so shouldnt it be quite easy to reload the DolbyVisionConfig and get the new codecs from the hvcE ?
Alternatively, could we always expect it to be there ? if so cant we just wait with setting the codecs untill we reach the hvcE block?
So to sum it up:
1. Add a few comments (in the same way they do already) for new functionality
2. Implement placeholder for h264 format (almost copy paste)
3. We have to make sure logging reports the appropriate unexpected values and more - and unfortunately also that "yusesope" has nothing to say
![Very Happy :D](./images/smilies/icon_biggrin.gif)
4. Get this damn thing on Github as i could have done these things fast, through that - however it should be 5 min's work to update
![Smile :)](./images/smilies/icon_smile.gif)
Else make the fork and i can do my change suggestions there
Really good work on this and like shawn wrote, we need you to end up doing the pull for this for the credit
Now we just need mike to come out with a new version of makemkv for the final test