Chronos 1.4 RAW conversion tool - pyraw2dng

Yes, forgot that you ahve to make it executable.

That and please make sure you are running the command from the directory where the script is.

E.G. cd (change directory) so you run the command from the folder where the script and files are.
 
I've gone down the RAW rabbit hole and the results are so good it makes it painful to use the standard compression now. Thanks to everyone that gave instructions on what worked for them, helped me tremendously.

Just curious if the current workflow is the same for everyone or if there have been optimized processes since a few months ago.

Currently have a 128gig USB formatted to EXT3 to save everything over 4gigs then using pyraw2dng to convert into DNG and then After Effects makes the video creation super easy. Firmware is updated to most recent version.

I guess I'm wondering if there is a faster way to get RAW vids out of the chronos 1.4. Is ethernet the only other option? Has anyone tried ethernet transfer?  Wondering if Ethernet cable somehow rigged into a portable hard-drive would be possible. With live subjects it's gonna be hard to wait 30mins between each shoot while the video saves.

Any suggestions would be very appreciated.

Thanks
 
Can someone that really understands the RAW process, condense the knowledge into a single post with steps  so us non technical noobs can try it out? I would very much appreciate it
 
Hi all,

I really want to try out the raw footage on the Chronos but I am struggling to edit the footage. I am a Mac user, can anyone explain how I can create the dng's on a Mac or will I have to use a PC to transcode them?

thanks

Milo
 
miloreid said:
Hi all,

I really want to try out the raw footage on the Chronos but I am struggling to edit the footage. I am a Mac user, can anyone explain how I can create the dng's on a Mac or will I have to use a PC to transcode them?

thanks

Milo

The 0.3.1-beta-9 version of the camera software can save directly to dng format, no need to transcode. Are you using a monochrome or color camera? DNG's saved directly from a monochrome cameras currently have compatibility issues with some software.  We're working on a fix for this.
If you have to convert a raw file that has already been saved, you can just follow the directions for linux, as they should work on a Mac too. https://github.com/krontech/chronos-utils/blob/master/python_raw2dng/README.md
 
Hi thanks for your response,

that great that it now supports the formatting directly I had no idea. I just this minute got it working and thought I would write these very basic directions for anyone else that may need them

Capture raw file  - using 1st option on menu of chronos
Download and install latest version of python 2.7
Copy raw file and pyraw2dng.py file to a certain directory ie documents folder
Open terminal
navigate to the directory your files are stored at by typing the following
cd
Then hit spacebar, navigate to the folder where you files are in the finder and drag and drop into terminal after cd
So it should read something like
cd /users/name/documents
You will now be in the correct directory and need to run the script
./pyraw2dng.py -w 1280 -l 720 inputfilename.raw
it may say there is a permissions issue, in which case type in the following
chmod 777 pyraw2dng.py and hit enter
you may now find that it will come up with an error saying bad interpreter
type in the following
tr -d '\r' < pyraw2dng.py > newpyraw2dng.py
and change permissions again
Chmod 777 newpyraw2dng.py
Finally run the code by typing
./newpyraw2dng.py -w 1280 -l 720 inputfilename.raw
Making sure that you have written the correct proportions that match what you footage was shot at

Now there should be a folder created in the directory your files are in containing a dng for each frame of your video.

I hope that helps someone

Thanks

Milo

 
miloreid said:
Hi thanks for your response,

that great that it now supports the formatting directly I had no idea. I just this minute got it working and thought I would write these very basic directions for anyone else that may need them

Capture raw file  - using 1st option on menu of chronos
Download and install latest version of python 2.7
Copy raw file and pyraw2dng.py file to a certain directory ie documents folder
Open terminal
navigate to the directory your files are stored at by typing the following
cd
Then hit spacebar, navigate to the folder where you files are in the finder and drag and drop into terminal after cd
So it should read something like
cd /users/name/documents
You will now be in the correct directory and need to run the script
./pyraw2dng.py -w 1280 -l 720 inputfilename.raw
it may say there is a permissions issue, in which case type in the following
chmod 777 pyraw2dng.py and hit enter
you may now find that it will come up with an error saying bad interpreter
type in the following
tr -d '\r' < pyraw2dng.py > newpyraw2dng.py
and change permissions again
Chmod 777 newpyraw2dng.py
Finally run the code by typing
./newpyraw2dng.py -w 1280 -l 720 inputfilename.raw
Making sure that you have written the correct proportions that match what you footage was shot at

Now there should be a folder created in the directory your files are in containing a dng for each frame of your video.

I hope that helps someone

Thanks

Milo

Thank you for sharing this, Milo!
 
I can't decode 12 bit compressed RAW format.
When trying to convert it the output DNG files contain color noise and sometimes something similar to out-of-sync frames.

Tested both options '-d' and '--oldpack'; resolution specified correctly; RAW files saved with firmware 0.3
 
himikk said:
I can't decode 12 bit compressed RAW format.
When trying to convert it the output DNG files contain color noise and sometimes something similar to out-of-sync frames.

Tested both options '-d' and '--oldpack'; resolution specified correctly; RAW files saved with firmware 0.3

Are you able to use 0.3.1-RC1 instead? It can natively record videos in CinemaDNG format. http://forum.krontech.ca/index.php?topic=434.0

What do you mean by color noise?

The readme says that the old RAW 12bit format has bugs that cause color corruption:
The --oldpack option will attempt to decode the raw file as a 12-bit packed format generated from software versions v0.3.0 and older. However due bugs in this encoding format, there may be off-by-one pixel errors in the encoded files. This is most noticeable as colour corruption after demosiac.
 
skronstein said:
himikk said:
I can't decode 12 bit compressed RAW format.
When trying to convert it the output DNG files contain color noise and sometimes something similar to out-of-sync frames.

Tested both options '-d' and '--oldpack'; resolution specified correctly; RAW files saved with firmware 0.3

Are you able to use 0.3.1-RC1 instead? It can natively record videos in CinemaDNG format. http://forum.krontech.ca/index.php?topic=434.0

What do you mean by color noise?

The readme says that the old RAW 12bit format has bugs that cause color corruption:
The --oldpack option will attempt to decode the raw file as a 12-bit packed format generated from software versions v0.3.0 and older. However due bugs in this encoding format, there may be off-by-one pixel errors in the encoded files. This is most noticeable as colour corruption after demosiac.

Some footages already in RAW 12bit so it will be good to convert it but if it does not work out - nothing terrible.
 
Hello nice girls and guys,

I accidently recorded 12 bit RAW and really would like to convert the raw files to DNG, but I can't make it work. I recorded at full res 1000fps, newest software beta release "chronos-unstable-20200508.img".

Using "pyraw2dng.py -C -w 1920 -l 1080 [filename.raw]" gives me sort of distorted image, don't know what that means. I attached a frame. Can anyone help me to rescue the footage? Thanks a lot!
 

Attachments

Back
Top