DPX 10 bit files from a targa seq

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
zimbot

DPX 10 bit files from a targa seq

Post by zimbot »

is it possible to make DPX 10 bit files from a targa seq?

I would like to make atarga seq from a video tape and end up with 10 bit file.dpx

-

i found this post

Is there a way to convert the .yuv10 files used in EBU's test sequences
(http://tech.ebu.ch/Jahia/site/tech/cach ... -sequences)
with Imagemagick? The following works with .yuv8 files (at least it
appears to, I haven't verified colours):

convert -size 1920x1080 uyvy:test.yuv8 test8.bmp

However, the following does not work with .yuv10 files:

convert -depth 10 -size 1920x1080 uyvy:test.yuv10 test10.bmp
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: DPX 10 bit files from a targa seq

Post by fmw42 »

First thing is what version of IM (and what platform) --- are you using the most current version if you have any hope of doing this?
zimbot

Re: DPX 10 bit files from a targa seq

Post by zimbot »

Thanks for the reply.
I am willing to use any vers on any platform.

On the win XP box I have in front of me I have , win , ImageMagick-6.4.9-Q16

and I also have a vers on a ubuntu mach -6.3.7 -- but again -- if you tell me ( for sure ) that it works with
ImageMagick-6.4.9-2 on fedora , w dual quad cores and a picture of Elvis hanging on the wall --- then i will build one of those ( including the picture of Elvis on the wall ;)
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: DPX 10 bit files from a targa seq

Post by fmw42 »

On my Mac OSX Tiger IM 6.6.3.2 Q16 if you run

convert -list format

TGA* TGA rw+ Truevision Targa image

DPX* DPX rw- SMPTE 268M-2003 (DPX 2.0)
Digital Moving Picture Exchange Bitmap, Version 2.0.
See SMPTE 268M-2003 specification at http://www.smtpe.org

* native blob support
r read support
w write support
+ support for multiple images


so DPX is read/write, but DPX does not support multi-frame images (ie. frames stored in the same file); whereas TGA does support multi-frame images.



More info on DPX format in IM can be found at http://www.imagemagick.org/Usage/formats/#dpx

I merely was trying to point out that IM has evolved and old versions may not be able to do what current versions are capable of.

6.3.7 and 6.4.9 are rather old (over 250 and 140 versions respectively)

From http://en.wikipedia.org/wiki/Digital_Picture_Exchange it says:

For this reason, DPX is the worldwide-chosen format for still frames storage in most Digital Intermediate post-production facilities and film labs

This would lead me to believe you can not have multi-frame dpx files. But again I am not an expert.

With mogrify, you can process many input images (in some directory) and make correspondingly as many output (single frame) images.

Can you elaborate further on what you are trying to do?

If you can post a link to an example image that is not terribly large, perhaps I or someone else can try to process it for you according to some clear description of what you want to do (e.g. what parameters you need in the dpx file)
Post Reply