cd submoduledirectory
before the configure and build steps. Or, of course, if just updating the branch is needed, only the git checkout line would be needed.
Mostly work related stuff which I would've entered into my "Log book". Instead of hosting it on an intranet site, outsourcing the hosting to blogger!
| OS | macm1 |
|---|---|
| CPU | Apple M4 x 10 |
| RAM allowed | 11.0 GB |
| RAM available | 16.8 GB |
| Max render time per frame | |
| Power CPU | 208 % |
| Scheduler | default |
https://support.apple.com/en-us/102646
Shift + CMD + 3 = full screen capture
Shift + CMD + 4 = capture selected area
Shift + CMD + 4 then press and release spacebar = cursor turns to camera, click on window you want to capture.
Shift + CMD + 5 - capture using screenshot app. (This can also do screen recordings.)
I have put the screenshot app in the menu bar from Control Centre (which is accessed from the icon on top right corner.)
By default, screenshots save to the desktop with the name Screen Shot [date] at [time].
wpmobile.app creates an app from a wordpress site, and one of our institutions wanted support with uploading such an app to Google Play Store and Apple App Store.
For Apple App Store, the first step would be to enrol into Apple Developer Program
... looks like enrolling into the Apple Developer program is a long-drawn-out process. Currently it says, "You will be sent an email soon." (2 working days).
didn't get it within 2 working days, I contacted support and asked them to expedite, then it came through.
From https://wpmobile.app/en/help/
needed account / pw of wpmobile dashboard
then to create app specific password for the apple account which has the Apple developer account
https://support.apple.com/en-us/102654
Where to find my Team Name and Team ID
Log in to your account at https://developer.apple.com/account/
Go to Subscription details
The Team ID is the team identifier
The Team Name is displayed at the top right of the page (your first and last name if it’s an Individual account).
Next, the 2FA will come on the iOS device (iPad in my case) when trying to log in to the apple account via the wpmobile.app dashboard. After a few minutes, the dashboard shows App generated with success.... The build will be pushed to your Apple account in few minutes. Download the certificate file for notification and upload it on the WPMobile plugin > Notifications > Settings > iOS. (on the wordpress site).
It seems XCode (the platform used to compile Mac and iOS apps) will push the build to our App Store Connect account. ... the app is seen there.... need to go through the process of editing the description etc and related online paperwork, and then send for review. appstoreconnect.apple.com/apps
In order to install the app before reaching the app store, we need to invite that particular user using testflight - and we need to invite using the Apple id which is associated with that particular iOS device.
Edit - In our case, the app review said that since this app was supposed to be used by the members of a particular organization, they would not approve public distribution. So, applied for unlisted distribution (where searching the app store will not find it, but we can link to the app from our website). And that was approved.
Initially submitted Dec 5
Rejected Dec 6
Applied for unlisted on Dec 8
Approved for unlisted distribution Dec 11
Again sent for review with this approval Dec 11
(respond to App Review directly in the App Review section in App Store Connect)
Review passed Dec 12
(available for distribution at apps.apple.com)
Just like building Android apps on github actions, we can build iOS apps too - https://www.andrewhoog.com/posts/how-to-build-an-ios-app-with-github-actions-2023/
But of course, the Apple Developer program is $99 per year.
The ffmpeg command
ffmpeg -y -r 30 -i in_%05d.jpg -i ../NormPeak-6dBENG.wav -c:v hevc_nvenc -preset lossless -global_quality 18 -pix_fmt nv12 -c:a aac -b:a 192k ~/Downloads/4kframes.mp4
gives the following warnings -
[aist#1:0/pcm_s16le @ 0x59f7e96fbfc0] Guessed Channel Layout: stereo
....
[in#0/image2 @ 0x59f7e96f4e40] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
[swscaler @ 0x59f7e97ae500] deprecated pixel format used, make sure you did set range correctly
Last message repeated 3 times
[hevc_nvenc @ 0x59f7e9701880] The selected preset is deprecated. Use p1 to p7 + -tune or fast/medium/slow.
[hevc_nvenc @ 0x59f7e9701880] Using global_quality with nvenc is deprecated. Use qp instead.
Claude's suggestion to fix -
ffmpeg -y -r 30 -i in_%05d.jpg -thread_queue_size 512 -i ../NormPeak-6dBENG.wav -c:v hevc_nvenc -preset p7 -tune lossless -cq 0 -pix_fmt yuv420p -c:a aac -b:a 192k ~/Downloads/4kframes.mp4