George Fisher
New member
- Joined
- Dec 22, 2010
- Messages
- 3
- Reaction score
- 0
- Points
- 0
Having gone to hell and back with the RED MX workflow, and reading (almost) every post on this board, I thought I’d post what we went through and how we solved our problems, to help anyone out there going through the same struggle.
This was our first shoot with any RED camera, and the intention was to do a short film that did not cost too much, as a test run for some projects we have planned later in the year.
We were using CF cards (of which we had four), and reading those back onto a new Macintosh. We cycled the cards, 1 2 3 4 1 2 3 4 etc.
We were doing double-system sound, so sound had no issues.
We were copying the files from the CF cards using R3D Data Manager. R3D data manager does two reads of the data and checks for a difference in the checksum.
SIGNS OF PROBLEMS IN PRODUCTION
The first few copies went well, but then there was a bad copy (identified by R3D Data Manager), something had gone wrong. We tried a second copy and got the same problem. We also did a second copy from the card using Finder.
We had trouble viewing the video in REDCine-X. At this point things were confusing – some shots were viewable in REDCine-X, some were partially viewable, some weren’t at all, and we were getting confused.
We removed the problematic CF card from circulation.
We then got a second copy error from R3D Data Manager on ANOTHER card. This is when we realized we had a serious problem, and thank goodness, we could break for lunch early.
Our solution was to drop from 4.5K to 2K. By using less cards and having smaller files, and relying only on the cards that had worked, we figured we had a better chance of the shooting going well.
We had no additional problems during the shoot, other than some shots appearing not to work in REDCine-X (showing up black).
IN RETROSPECT, I have read a lot about CF technology and the problems we ran into, and here’s what I would have done differently and what I have discovered:
POST PRODUCTION WORKFLOW with corrupt files
Almost all of the 2K shots were fine. Almost every 4.5K file had something wrong with it. These problems were of two kinds:
TYPE A
Some R3D files would work a little of the time, but other times, show up green after imported in Final Cut Pro or black in RedCine-X 356.
TYPE B
Some R3D files would not play at all in anything, either crashing the application or not appearing. This footage could not be imported into FCP.
I arrived AFTER the rough cut had been completed and there was an urgent need to get these clips working because some scenes did not have enough coverage. 20% of our shots were corrupt.
A note about RED file structure: You will see multiple R3D video files in the same folder. This is because FAT32 file system on the CF cards has a file size limitation of around 2gb. Hence each shot has to be spread over multiple files. RedCine-X, RedAlert, RedLine all seem to be smart enough to know how to find file 002 if you point it to 001.
- Solving TYPE B -
Run through RedUndead command line tool (included in the RedCine-X package) and then proceed with TYPE A if the file is recovered, but still has corrupt frames.
- Solving TYPE A -
RedCine-X is clunky and highly automatic. It will be too clever, particularly trying to read corrupt clips and therefore crashing itself. I found that I could view the R3D files in RedAlert much more easily, and find out where the corrupt frames were located. However finding corrupt frames 1 by 1 would take too long. Also RedAlert had a yellow green tint to every frame (caused by RedAlert not supporting the color science of the RED MX camera)
Nothing seemed to be working. I could not export in RedCine-X, even if I knew what the corrupt frames were, because it would try to preload the file and then crash.
I then found out about RedLine. RedLine is a command line tool that allow you to perform all the behind the scenes operations that RedCine-X provides through its GUI interface, but from the command line. It is provided as part of the RedCine-X download package.
It turns out that RedCine-X has the ability to generate a script that will extract shots frame by frame into tiff files. It is then relatively straight forward to import these into FCP and export a videoclip. (You do this by setting the default import duration of still frames to 1 frame and then dragging all the clips onto the timeline, then exporting)
It is hard to figure out the RedCine-X interface. In the default layout there are tabs down the left hand side, and one is called EXPORT. Click the PLUS symbol, and create a new preset. The file format is TIFF. “Other” select “Use REDLine (Software Only)” and “Frame Only Mode”. Set a name for your preset. Press OK.
Do not load the clip you want to extract the frames from because it may crash. Instead, just drag it into a bin, and select the export option “Bin (all clips)” or “Bin (selected clips)”. Then press the EXPORT button and the tool will export the frames 1 by 1.
If this works for you, great!
If not:
It is possible to generate a script for REDLine to be run from the command line. To do this, you select “Generate REDLine Batch Script” in the export preset settings. When you export, a command line script will be generated that will tell RedLine to line-by-line extract frames from the R3D files. The file will have the extension .batch
In our case, the script DID NOT export all the frames. It would stop at the end of the first R3D file, so we’d be missing a significant portion of the shot even after exporting the TIFF files.
To solve this, we had to get more technical:
The generated batch script will contain a separate command line call to RedLine for every frame in the R3D file, where $number is the frame number and $input_file is the R3D file (001, 002, 003 it doesn’t matter)
... continued in next item in this thread ...
This was our first shoot with any RED camera, and the intention was to do a short film that did not cost too much, as a test run for some projects we have planned later in the year.
We were using CF cards (of which we had four), and reading those back onto a new Macintosh. We cycled the cards, 1 2 3 4 1 2 3 4 etc.
We were doing double-system sound, so sound had no issues.
We were copying the files from the CF cards using R3D Data Manager. R3D data manager does two reads of the data and checks for a difference in the checksum.
SIGNS OF PROBLEMS IN PRODUCTION
The first few copies went well, but then there was a bad copy (identified by R3D Data Manager), something had gone wrong. We tried a second copy and got the same problem. We also did a second copy from the card using Finder.
We had trouble viewing the video in REDCine-X. At this point things were confusing – some shots were viewable in REDCine-X, some were partially viewable, some weren’t at all, and we were getting confused.
We removed the problematic CF card from circulation.
We then got a second copy error from R3D Data Manager on ANOTHER card. This is when we realized we had a serious problem, and thank goodness, we could break for lunch early.
Our solution was to drop from 4.5K to 2K. By using less cards and having smaller files, and relying only on the cards that had worked, we figured we had a better chance of the shooting going well.
We had no additional problems during the shoot, other than some shots appearing not to work in REDCine-X (showing up black).
IN RETROSPECT, I have read a lot about CF technology and the problems we ran into, and here’s what I would have done differently and what I have discovered:
- Ideally we should have used a RED hard drive. A hard drive is meant for storing large quantities of data reliably, flash memory is used for storing small individual files (like photos), not 8 gb files
- We needed more than 4 cards, preferably enough not to have to cycle any
- We should have low level formatted each card before the shoot, so all bad sectors would be identified and marked as part of the FAT32 file system. FAT32 is NOT to blame for these problems.
- CF cards have the flash controller in the disk (that manages error detection etc.). I am assuming the cards from RED are good quality cards and use some degree of error checking but I do not know for sure. However, the point to take away from this is that different CF cards can have different levels of quality.
- We should have had multiple card readers. Because CF cards have the controller inside the card, the card reader is quite a dumb tool. It can overheat quite easily. If card reader heats up too much, it can transfer this heat to other cards used in the same reader.
- Flash media (CF cards in this case) is highly susceptible to static damage. If you walk around on carpets you’re going to damage your flash memory.
POST PRODUCTION WORKFLOW with corrupt files
Almost all of the 2K shots were fine. Almost every 4.5K file had something wrong with it. These problems were of two kinds:
TYPE A
Some R3D files would work a little of the time, but other times, show up green after imported in Final Cut Pro or black in RedCine-X 356.
- Once the shot went green or black in the software, that shot would stay green or black until the application was restarted.
- Sometimes these files would crash RedCine-X 356, RedAlert, or Foundry Storm.
TYPE B
Some R3D files would not play at all in anything, either crashing the application or not appearing. This footage could not be imported into FCP.
I arrived AFTER the rough cut had been completed and there was an urgent need to get these clips working because some scenes did not have enough coverage. 20% of our shots were corrupt.
A note about RED file structure: You will see multiple R3D video files in the same folder. This is because FAT32 file system on the CF cards has a file size limitation of around 2gb. Hence each shot has to be spread over multiple files. RedCine-X, RedAlert, RedLine all seem to be smart enough to know how to find file 002 if you point it to 001.
- Solving TYPE B -
Run through RedUndead command line tool (included in the RedCine-X package) and then proceed with TYPE A if the file is recovered, but still has corrupt frames.
- Solving TYPE A -
RedCine-X is clunky and highly automatic. It will be too clever, particularly trying to read corrupt clips and therefore crashing itself. I found that I could view the R3D files in RedAlert much more easily, and find out where the corrupt frames were located. However finding corrupt frames 1 by 1 would take too long. Also RedAlert had a yellow green tint to every frame (caused by RedAlert not supporting the color science of the RED MX camera)
Nothing seemed to be working. I could not export in RedCine-X, even if I knew what the corrupt frames were, because it would try to preload the file and then crash.
I then found out about RedLine. RedLine is a command line tool that allow you to perform all the behind the scenes operations that RedCine-X provides through its GUI interface, but from the command line. It is provided as part of the RedCine-X download package.
It turns out that RedCine-X has the ability to generate a script that will extract shots frame by frame into tiff files. It is then relatively straight forward to import these into FCP and export a videoclip. (You do this by setting the default import duration of still frames to 1 frame and then dragging all the clips onto the timeline, then exporting)
It is hard to figure out the RedCine-X interface. In the default layout there are tabs down the left hand side, and one is called EXPORT. Click the PLUS symbol, and create a new preset. The file format is TIFF. “Other” select “Use REDLine (Software Only)” and “Frame Only Mode”. Set a name for your preset. Press OK.
Do not load the clip you want to extract the frames from because it may crash. Instead, just drag it into a bin, and select the export option “Bin (all clips)” or “Bin (selected clips)”. Then press the EXPORT button and the tool will export the frames 1 by 1.
If this works for you, great!
If not:
It is possible to generate a script for REDLine to be run from the command line. To do this, you select “Generate REDLine Batch Script” in the export preset settings. When you export, a command line script will be generated that will tell RedLine to line-by-line extract frames from the R3D files. The file will have the extension .batch
In our case, the script DID NOT export all the frames. It would stop at the end of the first R3D file, so we’d be missing a significant portion of the shot even after exporting the TIFF files.
To solve this, we had to get more technical:
The generated batch script will contain a separate command line call to RedLine for every frame in the R3D file, where $number is the frame number and $input_file is the R3D file (001, 002, 003 it doesn’t matter)
It is important to maintain the exportPreset and useRSX 2 – without these arguments for RED MX shots, you’ll get the green and yellow tint color frame problem because it will assume the RED ONE color science. The export preset file also allows you to specify resizing of the image etc. in the comfort of the REDCine-X application./Applications/REDCINE-X_build_356.app/Contents/MacOS/REDLine --exportPreset \"George's Preset\" --useRSX 2 --noRocket -i $input_file --outDir $output_folder -s $number -e $number
... continued in next item in this thread ...