Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Danne

Pages: [1] 2 3 ... 286
1
Recent notes when compiling on Monterey(I think it´s 12.1).
Finally managed to compile Mlv App on my arm64 M1 pro, 10 core machine. Starting out with a lot of help from @masc and his post where he published this link about getting qt 5 working with arm64 M1.
https://github.com/bobwolff68/fritzing-app/wiki/Building-Qt-5.15-for-Mac-M1#building-qt-515x-unreleasedopensource

Compiling/configuring will eventually give an issue about missing header files. The fix is following:
https://github.com/Homebrew/homebrew-core/pull/88168#issuecomment-953466312
Code: [Select]
https://github.com/Homebrew/homebrew-core/pull/88168#issuecomment-953466312
inreplace "qtbase/src/plugins/platforms/cocoa/qiosurfacegraphicsbuffer.h",
              "#include <qpa/qplatformgraphicsbuffer.h>", "#include <CoreGraphics/CGColorSpace.h>\n#include

Commandline tools was a harder nut since it installs version 12.0 and upwards and not possible to go backwards. Luckily 11.3 is also included so a "monkey wrench" solution is possible by excluding 12.0 folder while compiing in the start and then attach 12.0 in the end of the compiling process. Not so nice to do this but relinking or changing files among versions is hard to nail. I noticed tha usr/include folder and CoreServices, Frameworks folders are what we could replace with 11.3 versions if one wants to go down that route.

Finally fetching a missing lib and renaming it will fullfill dependencies but we also need to hack the code signing before the app can be opened with:
Code: [Select]
sudo codesign --force --deep --sign - ~/MLV-App-master/platform/Mlv_app_master/MLV\ App.app/Contents/MacOS/MLV\ App

In the compiler mainly this is happening when dependencies have been installed:
Code: [Select]
#temp workaround letting me compile Mlv App
sudo mv /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdktmp
sleep 5 && sudo mv /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdktmp /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk &

~/qt5-5.15-macOS-release/qtbase/bin/qmake ~/MLV-App-master/platform/qt/MLVApp.pro \
QMAKE_CC=/opt/homebrew/opt/llvm@13/bin/clang \
QMAKE_CXX=/opt/homebrew/opt/llvm@13/bin/clang++ \
QMAKE_LINK=/opt/homebrew/opt/llvm@13/bin/clang++ \
QMAKE_CFLAGS+=-fopenmp \
QMAKE_CFLAGS+=-ftree-vectorize \
QMAKE_CXXFLAGS+=-fopenmp \
QMAKE_CXXFLAGS+=-std=c++11 \
QMAKE_CXXFLAGS+=-ftree-vectorize \
INCLUDEPATH+=-I/opt/homebrew/opt/llvm@13/include \
LIBS+=-L/opt/homebrew/opt/llvm@13/lib LIBS+=-lomp \
QMAKE_APPLE_DEVICE_ARCHS=arm64 \
sleep 2
/usr/bin/make -j 15 && ~/qt5-5.15-macOS-release/qtbase/bin/macdeployqt ~/MLV-App-master/platform/Mlv_app_master/MLV\ App.app && \
make clean

cp /opt/homebrew/Cellar/llvm/13.0.0_1/lib/libc++abi.1.0.dylib ~/MLV-App-master/platform/Mlv_app_master/MLV\ App.app/Contents/Frameworks/
mv ~/MLV-App-master/platform/Mlv_app_master/MLV\ App.app/Contents/Frameworks/libc++abi.1.0.dylib ~/MLV-App-master/platform/Mlv_app_master/MLV\ App.app/Contents/Frameworks/libc++abi.1.dylib
sleep 1
sudo codesign --force --deep --sign - ~/MLV-App-master/platform/Mlv_app_master/MLV\ App.app/Contents/MacOS/MLV\ App


Source code:
https://bitbucket.org/Dannephoto/mlv_app_compiler-git/src/Monterey/

Downloadable compiler version:
https://bitbucket.org/Dannephoto/mlv_app_compiler-git/downloads/mlv_app_compiler_Monterey.dmg

2
Dual iso know to not work corretly with mlvfs code, partially refined to "work" with 10bit and 12bit files. More recent code seems to fix issues but no one knows/have the time to update dualiso code in Mlv App. Dualiso code should be disabled/pauses in Mlv App.

3
Tested on M1 pro 14 inch, 10 cores. Fast, very close or actual realtime previewing. Tested eos m clips. 2.8k 24fps, 1080p 48fps, 5k anamorphic.
Great app, great achievement @masc.

4
Camera-specific Development / Re: Canon EOS M
« on: November 20, 2021, 03:57:41 PM »
Exactly. Record per usual and then scaling back correctly will happen automated if opening mlv files in Mlv app or dng files through adobe camera raw.

5
Camera-specific Development / Re: Canon EOS M
« on: November 19, 2021, 01:41:55 PM »

6
crop_rec and derived builds / Re: Danne's crop_rec_4k, 5DIII
« on: November 05, 2021, 09:43:36 PM »
Did you try it to see if it works?

7
crop_rec and derived builds / Re: Danne's crop_rec_4k, 5DIII
« on: November 05, 2021, 07:51:13 PM »
Does silent pics works? i've tryied full res lv but it says it needs crop rec to be loaded (it dosent show any modules)

Maybe i did something wrong? (1.1.3)
Crop rec is on always. I enabled most modules default and not as an option to the user to turn on or off in this build.

8
Also possible to place a script next mlv files in a folder and double tap it containing following:
Code: [Select]
#!/bin/bash
cd "$(dirname "$0")"
for f in *.MLV
do
  echo "0000068: FF 3F" | xxd -r - "$f"
done

Name the script foo.command and run chmod u+x on the script before double tapping.

9
What is cat doing here?

If you´re in a folder with mlv files and do this?
Code: [Select]
for f in *.MLV
do
  echo "0000068: FF 3F" | xxd -r - "$f"
done

10
Code: [Select]
echo "0000068: FF 3F" | xxd -r - $f"Should be.
Code: [Select]
echo "0000068: FF 3F" | xxd -r - "$f"
Still, not sure your wildcard line will work but try around some and you´ll probably find the right syntax. Is xxd applying the change on a single file, tested that?

11
So probably due to changing stream for video mode. Maybe could chnage back to old stream when in photo mode. Very little time for this atm though. Thanks for reports.

12
Tempted as I am to collect sources from latest developments me too lacks the time but I leave for the threadstarter to assemble all code needed from various posts  8).

13
General Development / Re: Dealing with Focus Pixels in raw video
« on: September 28, 2021, 05:02:03 PM »
I won't change the behaviour, sorry.

14
100D is identical to 700d. What's the main problem?
I say it´s close but there are quirks to account for. Smaller changes mostly but still needs some time tinkering. Anyway, knowing you ported the cam you could probably port later 700D code into the 100D much faster than me who has no time at all atm ;).

15
General Development / Re: Dealing with Focus Pixels in raw video
« on: September 28, 2021, 03:49:38 PM »
Ah, yes, now I know your issue. Look. My version originally was thought to only inherit raw video capabilities but after some consideration I decided to be able and use h264 mode. But by turning of raw video still won´t shut off crop rec presets so all those regs are still applied. Including focus pixel issues. The workaround is to enable h264 from within the preset menu here which also shuts off crop rec:

16
General Development / Re: Dealing with Focus Pixels in raw video
« on: September 28, 2021, 02:15:08 PM »
It's not known exactly what your issue is about so upload a file which clearly shows the issue before asking for other builds.

17
Nice. I want a 16 inch version so I am waiting for this beast to happen ;).

19
Reverse Engineering / Re: UHS-I / SD cards investigation
« on: September 20, 2021, 08:32:36 AM »
Sandisk 64 gb 170Mb/s card was tested. Plenty space left.
@theBilalFakhouri could you send me a build like the one ainu is using? Also source code for this build since patching routines also seems significant for the tests.

EDIT: Tested with ainus sd_uhs.mo build but still not working better so I guess 70D is the fastest cam with sd slot at the moment.

20
Reverse Engineering / Re: UHS-I / SD cards investigation
« on: September 20, 2021, 07:30:09 AM »
Tested numbers on 5d3 but getting the 5000mb/s write and read speed so what's nicely delimiting 70D speed isn't working with 5d3 seemingly. Still like to see more tests though.

21
Reverse Engineering / Re: UHS-I / SD cards investigation
« on: September 19, 2021, 09:46:10 PM »
Vey nice findings @ainu 8).
Tested your numbers on the eos m but couldn´t make it work. Should test further on 5d3 as well. Hopefully @theBilalFakhouri will jump into your findings soon.

22
Reverse Engineering / Re: UHS-I / SD cards investigation
« on: September 17, 2021, 09:41:27 PM »
This version of mlv_lite.mo should work with 14 bit uncompressed in my build:
https://bitbucket.org/Dannephoto/switch_mini-git/downloads/mlv_lite.mo

23
Reverse Engineering / Re: UHS-I / SD cards investigation
« on: September 17, 2021, 09:21:31 PM »
I see. So maybe it´s the usual lucky first recording and then it breaks. Too bad I have no battery in my cam and charger at home.

24
Reverse Engineering / Re: UHS-I / SD cards investigation
« on: September 17, 2021, 09:15:45 PM »
Interesting. And it kept working even after you were getting those wacky test numbers?

25
Reverse Engineering / Re: UHS-I / SD cards investigation
« on: September 17, 2021, 09:04:44 PM »
I think I turned off the uncompressed alternative in my version. But do recordings work in general with 240mhz patch?

Pages: [1] 2 3 ... 286