DataSink probelm

I have merged DataSource and a DataSink .My Question is:Which Format is best for minimal disk space on the DataSink file.I used jpeg and for 30 seconds i got a file about 6 mega.Does this format is the best one?
[260 byte] By [yoavadler] at [2007-9-26 13:53:21]
# 1
MPEG-4 or DIVX.The Codecs from Microsoft areMP41MP42MP43
DMGaskin at 2007-7-2 14:53:32 > top of Java-index,Security,Cryptography...
# 2
Thank you for your answer,However ,can you write me ,from the VideoFormat API specification ,which forma is the best.Yoav
yoavadler at 2007-7-2 14:53:32 > top of Java-index,Security,Cryptography...
# 3

JMF Base only supports 4 formats:

JPEG (as you have discovered) tends to be the largest but it's size depends on the quality that you have requested. Acceptable quality results can ge achieved with very low quality request (0.30 or even lower).

The three others are all better (assuming you are using one of the H263 supported sizes).

Which should be used is very dependant on the quality that you expect to get on playback. MPEG-1 is in my opinion the best of the 4 formats for the quality/size compromize when outputting to local disk,

but the H261/3 codecs produce smaller output size at the cost of poorer quality and are generally used for WAN transmissions.

Results are also very dependant on size of what has to be compressed.

To find out which is best for you you need to experiment.

What have you against MPG4 and DIVX?

DMGaskin at 2007-7-2 14:53:32 > top of Java-index,Security,Cryptography...
# 4

Thank you very much.it was the Answer i didnt know,and now,i do.

For your notice about mpg4 and divx.I dont know if the JMF supports it.The mpg4 annoucment from the ibm Haifa labs,was that it wont be out for a long time.

if you are familier with a mpg4 development in java/jmf,i will be happy to see a snift code.

I did downloaded a source in c++,but i didnt got far.

Yoav

yoavadler at 2007-7-2 14:53:32 > top of Java-index,Security,Cryptography...
# 5

What OS are you using?

JMF is cleaver enough to find the majority, if not all, of the codecs that are installed on the OS,

DivX (4.11 currently) is available on both Window and Linux/Unix boxes.

To see what codecs are addressiable from JMF use JMFStudio, load a video and from the "File" menu choose

"Export" and in the 1st Dialog pop down the "Encoding" Combo Box.

I have 4 MPEG-4 codecs on my windows Box in JMF they are addressed:

MPG4

MP41

MP42

MP43

all are from Microsoft.

Some, possibly all, were installed when I installed XoneMovie.

I also tried the MPEG-4 from IBM and have that available on my boxes.

Regards

Dave

DMGaskin at 2007-7-2 14:53:32 > top of Java-index,Security,Cryptography...
# 6

Thank you Dave.

I did the Test and for my bad luck,mpg4 dosnt install in my computer,

I looked for the XoneMovie you mentiond in the net(google /yahoo search )but got no result.

can you can send me the url link to the downloaded site.

till now,your answer where very useful (and i dont mean to kiss ***..).

kidding,but serios ,pls send me the link.,

yoav

yoavadler at 2007-7-2 14:53:32 > top of Java-index,Security,Cryptography...
# 7

Sorry I screwed the name it should be MovieXone (and not as I previously wrote XoneMovie). It can be found at:

http://www.aist.com/

MovieXone is free but I have also MovieXone PLUS (that cost me 70DM i.e. about $30) and I am not sure where

the MP41 MP42 MP43 came from (the free one or the PLUS).

I still find DivX the best.

Regards

Dave

DMGaskin at 2007-7-2 14:53:32 > top of Java-index,Security,Cryptography...