-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
[ QtAv v 1.11, MacOS 10.11.6, MacBookAir4.2, Intel i5, 1,7 GHz; 2 Cores, 4 GB RAM ]
As seen on the attachements below, the QtV4 played .mp4 film is color correct, whereas the .mxf embeded jpeg2000 film is in the Mars planet color space.
The FFmpeg XYZ to RGB color conversion matrix doesn't work for the hi-def video .mxf files, but it works for the small timeline preview which is color correct... why?
Edited note : while verifying DCPs on a 15" laptop we don't need a very high image resolution, the lowres tiles-3 @ 0.5k are more than enough ; this will allow a low power CPU to accomplish its decoding job up to 25fps minimum ( i.e. realtime) which would alow us to listen to the sister audio .mxf tracks in sync... and read the soft substitles .mxf also!
_
_
_
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Activity
wang-bin commentedon Sep 27, 2016
xyz is not supported in opengl rendering, so the color is totally wrong. The preview uses ffmpeg to convert to rgb and use WidgetRenderer. So the temporary solution is using WidgetRenderer for such videos.
Would you please share you mxf sample on google driver? I can try to support xyz in opengl.
Cantar4 commentedon Sep 27, 2016
the 'Moissons' film mxf file would take hours to upload,
I will send you 'Sarah5' a smaller one (270MB) which shows quite a psychedelic image too.
I have no access to Googledrive, is it ok to send it by Wetransfer to wbsecg1@gmail.com ?
wang-bin commentedon Sep 27, 2016
Yes, that's my email
Cantar4 commentedon Sep 27, 2016
It is available on wetransfer https://we.tl/N4KWnK64kA till October 4
wang-bin commentedon Sep 28, 2016
Try the latest code please. Rendering xyz in opengl works for me now.
Cantar4 commentedon Sep 28, 2016
thank you, where can I find it ?
r-a-v-a-s commentedon Sep 28, 2016
The color seems correct.
Edit: removed broken .app
wang-bin commentedon Sep 28, 2016
QtAV-Player-b0cdeb8.dmg.txt
Remove
.txt
.r-a-v-a-s commentedon Sep 28, 2016
macdeployqt didn't copy over two libs... it looks like wang took care of it :-]
wang-bin commentedon Sep 28, 2016
ffmpeg can be installed via homebrew.
@r-a-v-a-s what libs? macdeployqt had some bugs. I haven't used it for a long time. I use
tools/deploy_osx.sh
instead.r-a-v-a-s commentedon Sep 28, 2016
QtAV.framework

QtAVWidgets.framework
And no libass.5.dylib
It also adds several I don't see in yours
Thanks for the tip about the script.
Edit: On second look QtSvg.framework is also missing
Cantar4 commentedon Sep 28, 2016
whereas I am still not allowed to see your beautiful colors :(
QtAv uninstall b0cdeb8 report.txt
wang-bin commentedon Sep 28, 2016
@r-a-v-a-s libass is dynamically loaded. QtAV still works if libass is not found. You can install it via homebrew to support correct ass subtitle rendering.
@Cantar4 This package does not include ffmpeg libraries. You have to install ffmpeg via homebrew
brew install ffmpeg
.r-a-v-a-s commentedon Sep 28, 2016
Actually I get the same error for wang-bin's upload (with ffmpeg installed).
Cantar4 commentedon Sep 28, 2016
Homebrew installed, now installing Xcode v8
r-a-v-a-s commentedon Sep 28, 2016
I think the problem with wang-bin's is that it points to the ffmpeg libs as though they were bundled with the .app (
@executable_path
), yet they are not.Where mine does bundle those... but it points to the ffmpeg libs installed by homebrew. >_<
Interestingly, considering the question of why the version from sourceforge works,
it seems that it doesn't point to the ffmpeg libs at all (and doesn't bundle them)... and actually points to some different frameworks (i.e. QuartzCore):
All of that aside, it turns out I had an old version of homebrew that considered ffmpeg 2.8.6 to be the the latest version... so I:
brew update
brew unlink ffmpeg
brew install ffmpeg
and now I have 3.1.3
and interestingly macdeployqt properly linked the bundled libs this time,
pointing to
@executable_path
instead of the static system path.QtAV-v1.11.0-83-gb0cdeb8.dmg.zip
r-a-v-a-s commentedon Sep 28, 2016
Note I still needed to copy QtAV and QtAVWidgets;
and it looks like macdeployqt is also failing to include QtSvg for some reason,
so the icons will be missing.
r-a-v-a-s commentedon Sep 28, 2016
A patch for the SVG issue: #737
QtAV-v1.11.0-83-gb0cdeb8.dmg.zip
Cantar4 commentedon Sep 28, 2016
Thank you Wang and Ravas! I am amazed, in less than one day you solved 90% of the problem !
Now it becomes possible to play color-correct j2k images at almost 24fps on the very thin CPU/GPU of a basic MacBook Air 13", really impressive !
Audio-sync speed is now reachable without monster GPUs.
_
wang-bin commentedon Sep 30, 2016
I can try
2016年9月29日 23:02,"jeanpierre beauviala" notifications@github.com写道:
Cantar4 commentedon Sep 30, 2016
I knew you would love it :)
Hello wang, after this achievement, may you give us access to the audio and subtitles embedded in the two other .mxf files of the DCP? I can send you the 22sec take above in mp4 and DCP forms.
Cantar4 commentedon Sep 30, 2016
Not to confuse this issue (which is now almost closed), I opened a new one called
Verify DCPs at sync speed on low power CPU laptops #740