Most Popular in Apple
-
Two-Tone MacBooks and a Questionable MacBook Video
-
Video of 'aluminum MacBook' surfaces
-
Apple Stores welcome kids via Field Trip
-
For us 80s kids: Get a cassette case for your iPod nano
-
Apple says some MacBook Pros affected by faulty Nvidia chips
-
Sprint SmartView for Macs bricks broadband cards
-
Experimental Extensions We'd Like to Go Mainstream
-
Some MacBook Pros Affected by NVIDIA GPU Failures
-
The Week in iPhone Apps: Into The Deprivation Chamber
-
Google working to target iPhone ad market
decoding 10bit video
Decoding a 10bit video file ain't easy... I own an HD camera mod that records uncompressed 8bit and 10bit video files directly to a Mac's HDD. The camera company provided software to capture and render the video files. The rendering software never worked correctly with the 10bit files and we were waiting for an updated release. The company was sold and the rendering software was *not* updated and is now no longer supported.
:(
I wondered how hard it would be to write a Quicktime component under OS X 10.4 to directly read both the 8bit and 10bit files.
I bought some red, green and blue felt from the art store and recorded 8bit and 10bit clips of each color on an overcast day.
Starting with the 8bit files, I used a hex viewer to examine the "red" video file, and saw numbers like this (converted to decimal):
114 31 32 112 29 32 [...]
Well, that was easy. A quick check of the "green" video file confirmed that the byte order of each pixel is stored R G B. And indeed, my codec can now open successfully open an 8bit file. Hooray! But wait...
Using the same hex viewer I peek at the 10bit "red" video file, which was recorded using the same exposure as the 8bit file so I kind of know what numbers to expect, and I get this (again converted to decimal):
212 245 129 137 120 123 44 130 156 32 142 136 71 200 34 [...]
The italics are mine, they are (kinda) the R G B values I'm looking for, I just didn't expect them to show up like that. I've seen examples of how 10bit DPX image files are packed but the pattern I see in my files just doesn't make sense to me.
Do they make sense to anyone else? I really want to use these 10bit files, and if I can figure out the R G B pattern I'll be good to go.
For the record I did email the rendering software's developer asking for a hint. He did not reply.
:(
I wondered how hard it would be to write a Quicktime component under OS X 10.4 to directly read both the 8bit and 10bit files.
I bought some red, green and blue felt from the art store and recorded 8bit and 10bit clips of each color on an overcast day.
Starting with the 8bit files, I used a hex viewer to examine the "red" video file, and saw numbers like this (converted to decimal):
114 31 32 112 29 32 [...]
Well, that was easy. A quick check of the "green" video file confirmed that the byte order of each pixel is stored R G B. And indeed, my codec can now open successfully open an 8bit file. Hooray! But wait...
Using the same hex viewer I peek at the 10bit "red" video file, which was recorded using the same exposure as the 8bit file so I kind of know what numbers to expect, and I get this (again converted to decimal):
212 245 129 137 120 123 44 130 156 32 142 136 71 200 34 [...]
The italics are mine, they are (kinda) the R G B values I'm looking for, I just didn't expect them to show up like that. I've seen examples of how 10bit DPX image files are packed but the pattern I see in my files just doesn't make sense to me.
Do they make sense to anyone else? I really want to use these 10bit files, and if I can figure out the R G B pattern I'll be good to go.
For the record I did email the rendering software's developer asking for a hint. He did not reply.
More Stories in Ask Metafilter: Apple
- Could my new Airport Extreme be causing weird sounds on my TV?
- I want to recycle and be secure!
- Preview isn't previewing pdfs properly
- Wireless router recommendations for a home with PC and Mac
- Finding the right laptop to use with Photoshop
- A good book for Final Cut Pro 5
- Help Me Set Up Auto Backup on a 10.4 Mac
- Apple Mail.app list selections (and deletes!)
- How can I get an email alert when a web page changes?
- Picture a Venn diagram with 3 circles: LaTeX, Emacs, Mac. I'd like to live in the intersection.
Most Popular Stories
Two-Tone MacBooks and a Questionable MacBook Video
The Lenovo S10 Netbook is Here, Count Me In
Video of 'aluminum MacBook' surfaces
Apple Stores welcome kids via Field Trip
For us 80s kids: Get a cassette case for your iPod nano
Apple says some MacBook Pros affected by faulty Nvidia chips
Sprint SmartView for Macs bricks broadband cards
Experimental Extensions We'd Like to Go Mainstream
Some MacBook Pros Affected by NVIDIA GPU Failures
The Week in iPhone Apps: Into The Deprivation Chamber