Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

.dcm to .flv conversion

142 views
Skip to first unread message

Naveen Kumashi

unread,
Feb 13, 2009, 4:01:10 AM2/13/09
to
Hi all.

I would like to know how to convert a DICOM multiframe image to a .flv
file , so that i can play it in a flash player.

I need to code this conversion in Java.

So please suggest me the procedure to do this and also any opensource
java libraries available to do the job...

Mathieu Malaterre

unread,
Feb 13, 2009, 4:43:31 AM2/13/09
to

I would use gdcm/dcmtk to convert to some kind of raw file, then use
ffmpeg to convert to flv.

2cts

Naveen Kumashi

unread,
Feb 13, 2009, 7:12:37 AM2/13/09
to
On Feb 13, 2:43 pm, Mathieu Malaterre <mathieu.malate...@gmail.com>
wrote:

Thanks Mathieu.

I used fpimage tool to convert the .dcm file to .avi and ffmpeg to
convert the .avi file to .flv file.

But my project demands me to write code to automate this process using
java.

As of now i have no idea how to do this conversion.

I would be very thankful, if anyone could give me an idea, links or
anything , which would help in this task.

Regards,
Naveen.

Mathieu Malaterre

unread,
Feb 13, 2009, 7:57:55 AM2/13/09
to

Simply wraps everything in a Java call. Either using JNI directly or
using SWIG

2cts

josea...@gmail.com

unread,
Feb 17, 2009, 6:26:57 PM2/17/09
to

josea...@gmail.com

unread,
Feb 18, 2009, 4:10:08 AM2/18/09
to

I posted the details of the conversion process and the tools used in
the Dcm4che forums:
http://forums.dcm4che.org/jiveforums/click.jspa?messageID=6678

Naveen Kumashi

unread,
Feb 19, 2009, 4:04:56 AM2/19/09
to
On Feb 18, 2:10 pm, "josean1...@gmail.com" <josean1...@gmail.com>
wrote:

Thanks a lot josean.

Your suggestions were indeed helpful.

I was actually planning to code the entire process but found its not
going to be easy. So looked around for open source tool and found
another tool ffmpeg.

What i did was :
1) Break the dicom multi frame image into individual frames and
generated jpeg images from them.
2) Used ffmpeg tool to convert these jpegs to flv/mpg/mov.

Naveen.

Naveen Kumashi

unread,
Feb 19, 2009, 8:55:13 AM2/19/09
to

The other thing i would like to know is, while converting a mpeg file
to dicom or a jpeg file to dicom , what are the minimum set of
attributes required ?

Does the dicom standard provide any template for this ?

Naveen.

0 new messages