Menu

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.

Show posts Menu

Topics - timbytheriver

#1
Hi

I'm trying to run a command on Mac OS in Terminal to batch modify a folder of MLV files to rewrite their WhiteLevel.

I have a [working on PC] Powershell command that I'm attempting to rewrite into bash that is not working on Mac so far. When I run it, the terminal beeps, and the screen is filled with a flood of random characters until I stop it. The mlvs remain unmodified.

Can someone help please?

Powershell (working)

$FILES = Get-ChildItem  .\\* -recurse -Include  *.mlv
foreach ($file in $FILES) {
  echo "Processing $file..."
  echo "0000068: FF 3F" | xxd -r - $file
}


Bash (not working)

#!/bin/bash
FILES="/Users/me/Desktop/media/*.mlv"
for f in $FILES
do
  echo "0000068: FF 3F" | xxd -r - $file
  cat "$f"
done

Many thanks.
#2
If you've ever battled with the Apple 'QuickTime Gamma shift mystery', then the following links should be required reading (and watching). This is peculiar to Apple devices, but should make informative reading for all involved in colour pipelines.

Short answer in first post here: https://forum.blackmagicdesign.com/viewtopic.php?f=21&t=101253

Resolve 16.2 latest solutions described first post here: https://forum.blackmagicdesign.com/viewtopic.php?f=21&t=114047

Excellent video explanation here: https://vimeo.com/349868875

Summary: Our rendered files must include the correct colour tags for other apps to do correct display transforms and so avoid the gamma shift peculiar to Apple display devices.

The tags in question are visible in the 'Get Info' dialogue. More detailed info can be accessed by installing https://mediaarea.net/en/MediaInfo

Resolve 16.2 now has a way to accurately tag exported files for display consistency (see the extensive Blackmagic Forum thread).
#3
Windows users can safely ignore this post! This is to help out with Mac-only weirdness.

If you are using the new card spanning and sd overclocking features from ilia and Danne you may find that formatting your cards to exFAT with larger allocation block sizes could improve the write speeds. Thanks to @70MM13 for alerting me to this option!

When formatted in exFAT from Mac's own Disk Utility, my SD Sandisk Extreme Pro 64G is given a default block size of 32768 bytes (0.3Mb).

Write speed was then tested on the Black Magic Speed tester, = 51

After formatting to exFAT with a block size of 16Mb, the write speed = 72

Your mileage may vary!

You can format the card to this spec by either doing it in Windows disk management, or use the Terminal in Mac:

sudo newfs_exfat -b 16777216 -v NameThePartition /dev/diskNumber

That's all great, but if you now try to mount an exFAT card on the Mac that has been formatted with anything larger than 1048576 bytes (1Mb), the partition will just not mount. No way. So you either need Windows running to empty the cards – which I started doing, but it's a pain. Then I found this project on GitHub: https://github.com/relan/exfat

I think it's based around FUSE and it works a treat! Anyone who has used MLVFS will be familiar with the concept. When commanded it will mount the custom exFAT cards on the Mac with ease! :)

I do:

cd exfat

sudo ./fuse/mount.exfat-fuse /dev/diskNumber /Users/Me/Desktop/mount


Note for when the installation and directions call for being a 'root' user. In Terminal you can start a root session by:

sudo -s

Be careful though – and type with care in this mode. This gives you super powers to destroy planet earth – and your Mac entirely!
#4
Would be nice to integrate the style/functionality of those bit-rate type calculators into ML – which then prepares settings to shoot with. Happy New Year all!  :P




#5
This is a weird one.  :o

Across two different builds and modes I get inconsistent readings from the spotmeter in crop/non-crop modes:

1) Vanilla install of 4K raw video recording; lossless compression build from the experiments page, my spotmeter maxes out (on the brightest highlight) at 99% in crop, and 100% in non-crop mode.

2) A recent Danne build I get 99% Max in both crop and non-crop mode.

Is this expected behaviour?
#6
Other experimental builds / Cleaner ISO presets
December 11, 2019, 01:33:11 PM
This thread is continued from here: https://www.magiclantern.fm/forum/index.php?topic=10111.msg223371#msg223371 CMOS/ADTG/Digic register investigation on ISO

The objective here is to add an ML menu or sub-menu, that allows the user to quickly adjust ISO related Preamp et al registers on-the-fly.
#7
Post-processing Workflow / Agressive vertical stripes?
November 14, 2019, 01:26:40 PM
Been having trouble recently getting rid of vertical stripes (see image). Have tried using the options in MLV App and MLVFS to no avail.



Any ideas how to clean up?

Many thanks!

5D3, same on: a1ex 4K_snd, Danne 4K_snd builds.

#8
Not sure if useful – otherwise feel free to delete!

https://www.spt.info/sptstore.php/canon-eos-5d-mk-3

And before you ask – No, I'm nothing to do with this company...  :D
#10
Raw Video / Cropmarks only, in LiveView
March 06, 2019, 12:49:01 PM
Hiya

Try as I might, I cannot seem to get liveview to show JUST a cropmark .bmp – nothing else; no ML black bars, meters, cam/lens info – or anything else during recording. Is this possible?
Many thanks

Tim

5D3 1.2.3 Experimental build: magiclantern-crop_rec_4k.2018Jul22.5D3123
#11
Anyone seen/used this yet?

http://slimraw.com/

Best

Tim

PS I'm nothing to do with this company – I just saw it on Twitter!
#12
Not sure whether this was the case before, but certainly with this update I can drag a correctly formatted CDNG (I'm on Mac; from MLV viewer say) and it imports into ME, where I can apply a LUT and export to an appropriate int codec. In my case I choose Cineform or ProRes442 HQ :)

PS Sorry if this is old news...!
#13
Please look at the colour artefacts on the water ripples below.

https://dl.dropboxusercontent.com/u/21590714/raw2Cdng.jpg

https://dl.dropboxusercontent.com/u/21590714/raw2dng.jpg

Is it CA or is it something different? Does anyone know how to fix it?

I see it more heavily in C-dng, and Cineform-raw [through raw2gpcf] – but almost non-existently in 'normal' dng processed from .raw through ACR.

If anyone can help I'd really appreciate some [more] expert eyes on this! ;)

Many thanks.

5DMkII - These shots 1880 x 1058 23.976, taken on a.d. build 4.10.13

#14
While we await Adobe's own official patch for the pink-cast cdngs in PPro (and/or green-cast in Speedgrade) I'd like to share my own workaround.

I understand that PPro and Speedgrade are probably doing something funky together under the hood (shedding some bits somewhere?) but I think I can live with this for now, and the quality of the raw file seems to hold together to export.

You can see the before and after of my PPro > SGrade here:

https://dl.dropboxusercontent.com/u/21590714/Lum_off.jpg

https://dl.dropboxusercontent.com/u/21590714/Lum_on.jpg

The whole flow is this:

1) Export the MLraw Cdngs from either RawMagic (Mac) http://www.magiclantern.fm/forum/index.php?topic=6218.0
or chmee's newest Raw2Cdng (Win) http://www.phreekz.de/wordpress/2013/06/magiclantern-raw2cdng-cinema-dng/
2) Import files into PPro. They'll all look pink! (yuk)

** Here's where I stumbled on what eventually 'fixed the pink' for me**

3) Add a 'Lumetri' effect in PPro (Effects > Color Correction > Lumetri) It will prompt you to open a LUT/Look file. I experimented with a whole bunch until I came on one that ships with Speedgrade. It's called 'Canon 5D - SL - PROFILE.cube' *

4) Load this LUT onto a clip(s) and it will immediately flatten and de-pink the clip(s).
5) Now send the project directly to Speedgrade (DirectLink)
6) Project will open in Speedgrade with the LUT in place.
7) Add Primary correction layer(s) and correct for Lift, Gamma, Gain, Saturation etc.
8) Send the project back to PPro...
9) The clip should hold the correction in place.
10) Continue editing and going back and forth between PPro > SGrade
11) Do your final export / render from PPro.

NB If you want to toggle the correction on/off in PPro, simply select the clip on the timeline > Effects > toggle the Lumetri fx on or off.

For me the benefit of using the PPro/Speedgrade workflow is that even a modestly specced machine can playback Cdngs in realtime Full HD, unlike Resolve (sophisticated though it is), which needs an impressive Mac and a bunch of RAIDs to make it behave properly.

I'd be interested to hear whether anyone else has success with this workflow; or whether I've simply dreamt it all!

Good luck! And thanks Magic Lantern, RawMagic, @chmee, and err... Adobe!

timbytheriver

* On Mac this can be copied from Applications/SpeedgradeCC/Speedgrade.app [Show Package Contents] Contents/MacOS/Lumetri/LUTs/ to say Desktop for loading.

Canon 5DMk2
ML raw build 10.9.13