Welcome to our community

Be a part of something great, join today!

  • Hey all, just changed over the backend after 15 years I figured time to give it a bit of an update, its probably gonna be a bit weird for most of you and i am sure there is a few bugs to work out but it should kinda work the same as before... hopefully :)

Trimming R3D files?

Status
Not open for further replies.
Yeah I'm just using my trusty HexWorkshop v5 software which lets you explore the file as a hex file as well as an ASCII file simultaneously.

r3d.exe -extract -i "C:/Old.r3d" -s 20 -e 50 -o "C:/New.r3d" could mean anything but it uses a lot of standard conventions:

run r3d.exe (the application)
load the extract function.
the input file will be Old.r3d
extract frames 20 through 50 and...
output to New.r3d
 
Yeah I'm just using my trusty HexWorkshop v5 software which lets you explore the file as a hex file as well as an ASCII file simultaneously.

r3d.exe -extract -i "C:/Old.r3d" -s 20 -e 50 -o "C:/New.r3d" could mean anything but it uses a lot of standard conventions:

run r3d.exe (the application)
load the extract function.
the input file will be Old.r3d
extract frames 20 through 50 and...
output to New.r3d

Ah, I see. That would be a quite handy indeed!
 
If you want to go exploring in binary files, one choice is "frhed" a free hex editor for Windows. http://www.kibria.de/frhed.html
Notice this R3D file contains times & dates in ASCII, and strings like "RED1", "ftypjp2", "Juno" and "LEXAR ATA FLASH CARD"

RED-R3D-HEX.png
 
Let's make the program before worrying about getting the user interface functional :D

I'm learning a new language in the process of writing it. Just be glad I'm not telling you to just do it through a hex editor!
 
At your own risk of course....
Chopping up r3d files is not trivial and if not done exactly right it will cause problems for r3d aware applications expecting a valid r3d file. The fileformat will continue to get some additions so it would be tough to support such a tool.
 
It's working! Sort of. It's about half manual, half automated but the script is alive! Changing it to match new header data would be like an hour of work.
 
It takes frame or timecode i/o points and crops the file.

Right now though all it does is tell me where I need to crop in a hex editor (it's not doing the cropping itself yet) and then it requires me to do a single edit to the file to make it loadable by REDCine.

Unfortunately I've been really busy today and have been coding madly during renders but if I can find an hour or two somewhere soon I should be able to get it running 100% hands off.
 
Status
Not open for further replies.
Back
Top