Quote from: Jakobmen on June 14, 2013, 03:10:32 PMMy guess is that it might be helpful if you added how you test it.
not working with AAF
Etiquette, expectations, entitlement...
@autoexec_bin | #magiclantern | Discord | Reddit | Server issues
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 MenuQuote from: Jakobmen on June 14, 2013, 03:10:32 PMMy guess is that it might be helpful if you added how you test it.
not working with AAF
Quote from: blabberlicious on June 11, 2013, 07:00:04 PMWhat happens if you limit the source filename to max 14 characters? (When using Reel Names in EDL files there is a limit of 8 characters)
If you look at the Filename in the Resolve's Media Pool the DNGs are called: M07-1257_[00000_000451].dng
But the exported proxies are called M07-1257_00000.mov
Quote from: chmee on June 10, 2013, 01:01:01 PMGreat to hear you're making progress. Thank you for investing your time in this much needed tool. Now you have succeeded with the 14 to 12 bit conversion, I can't help my curiosity on the question of this process is too heavy to implement in camera or not(as discussed in the 12/10 bit conversion thread), but I guess it is premature to ask those questions.
(*) batchmode is coded
(*) most code is rewritten
(*) no more 14bit-output, because not needed
(*) blacklevel and whitelevel read from raw-data
(*) colormatrix read from raw-data
(+) sitting on 12bit linear mode - after finishing that, exe will be published
QuoteSo maybe it is just a question of how the ML RAW is packed and specify it for the plugin. Is there anywhere I can find this info?
Common parameters
string filename : The path (both relative and absolute are okay) to the file to be read or written to.
No default, must be specified.
format : This specifies the format of the raw file. Options are:
"RGB" or "rgb" - 24 bits per pixel (3 bytes) in order. When reading a raw file, the output of the filter is an RGB24 clip.
"BGR" or "bgr" - 24 bits per pixel (3 bytes) in order. When reading a raw file, the output of the filter is an RGB24 clip.
"RGBA" or "rgba" - 32 bits per pixel (4 bytes) in order. When reading a raw file, the output of the filter is an RGB32 clip.
"ARGB" or "argb" - 32 bits per pixel (4 bytes) in order. When reading a raw file, the output of the filter is an RGB32 clip.
"BGRA" or "bgra" - 32 bits per pixel (4 bytes) in order. When reading a raw file, the output of the filter is an RGB32 clip.
"ABGR" or "abgr" - 32 bits per pixel (4 bytes) in order. When reading a raw file, the output of the filter is an RGB32 clip.
"Y8" or "y8" or "GREY" or "grey" or "GRAY" or "gray" - 8 bits per pixel (1 byte) greyscale. When reading a raw file, the output of this filter is a YV12 clip, with all colour information set to neutral. Native Y8 content is not presently supported in AVISynth (planned feature for v2.6, current version at time of development is 2.58).
No default, must be specified.
packing : A packing format string, FEATURE IN BETA - PLEASE REPORT ISSUES.
The format is a list of of triples, optionally with whitespace, separated by semicolons. Each triple (the second and third numbers are optional) spells out the total number of bits, then inside that total, how many to skip, and how many to use, ie:
"total:skip:use; total2:skip:use2; etc".
So in a total of 12 bits, if you want to skip the first 3, and use the next 5 (ignoring the last 4), you would use "12:3:5" - that's XXX4 3210 XXXX to give the bit positions.
Because AVISynth only keeps / represents 8 bits, the "use" value will be treated as 8 even if more is specified. More can be specified because it makes specifications much easier to write, and because future versions of AVISynth might allow more.
The packing resets at the end of every row, so trailing bits are skipped over and the next row starts at the next full byte.
Any packing specified for a planar format will be applied equally to each plane, not to the elements of the plane in order, so if you have, for example, 12-bit luma, but 8-bit chroma, you will need to read or write your file in multiple passes. See Read Exotic and Write Exotic.
Examples:
16-bit "High Colour" is packed as 5 bits of red, then 6 bits of green, and 5 bits of blue. The packing string is "5;6;5", equivalent to "5:0:5; 6:0:6; 5:0:5". Format "RGB".
10-bit v210 raw format would be "12:2:10; 10; 10" (the repeating happens for free). Format UYVY I think - I can't obtain a sample file. Use RawReadInterleaved("UYVY") or RawReadInterleavedUYVY() or RawWriteInterleaved("UYVY") or RawWriteInterleavedUYVY().
16-bit video is not a good example - you can just load it without a packing string and use TurnRight().AssumeFrameBased().AssumeTFF().SeparateFields().SelectEven().TurnLeft(). It may even be faster - you'd have to benchmark it. If you want to use it, say packing="16:0:16" or "16:0:8" - they're equivalent.
Default = No string, or "". Packing defaults to 8-bit samples.
filehead : When reading, it is the length (in bytes) of a file header to skip over. When writing, Sashimi will insert this many null bytes at the start of the file.
Default = 0.
framehead : When reading, it is the length (in bytes) of a a frame header to skip over. When writing, Sashimi will insert this many null bytes before each frame of data.
Default = 0.
LoadPlugin("Sashimi.dll")
RawReader("M03-1651.RAW", "RGB", 1280,720,packing="14")
raw2dng myraw.raw myfolder
"C:\Program Files (x86)\GoPro\Tools\RAW2GPCF" C:\Users\user\Desktop\RawFiles\Raw\M01-1120.RAW C:\Users\Public\Documents\Video\aa.mov
QuoteDaylight: -r 2.1426, 1, 1.5488, 0
Shade: -r 2.4619, 1, 1.3193, 0
Cloudy: -r 2.3066, 1, 1.4258, 0
Tungsten: -r 1.5264, 1, 2.3428, 0
WhiteFluorescent: -r 1.9072, 1, 2.1973, 0
Flash: -r 2.3701, 1, 1.4141, 0
Page created in 0.078 seconds with 13 queries.