JMF errors on Linux system only

Hello,

I'm trying to do somevery simple video manipulation with JMF. The thing is if I run my program in Windows it works, but the same code on Linux (with Linux performance pack) doesn't work returning this error message:

The input format is not compatible with the given codec plugin: com.sun.media.codec.video.colorspace.RGBScaler@1ce3fc5

Failed to realize: com.sun.media.ProcessEngine@1d10a5c

Cannot build a flow graph with the customized options:

Unable to transcode format: MPEG, 176x112, FrameRate=29.9, Length=29568

to: RGB, 100x76, FrameRate=29.9, Length=29568

outputting to: video.x_msvideo

Unable to add customed codecs:

itec.adaption.video.resizeCodec@13f991

itec.adaption.video.grayscaler@165a3c2

Error: Unable to realize com.sun.media.ProcessEngine@1d10a5c

I tried different settings in the jmfregistry and setting the LD_LIBRARY_PATH to the JMF lib directory etc... with no success at all. The error message remains. I tried different input video files too.

Does anyone know whats going on here? And why this happens only on Linux?

$ java -version

java version"1.5.0_04"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)

Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode)

and JMF-2.1.1e are on this Linux system (Gentoo) installed.

[1429 byte] By [massimoJMa] at [2007-10-2 0:24:21]
# 1

What's the JDK version on your Windows box? Have you tried it on Linux using the last version of JDK 1.4.2? Many people have reported various problems using JMF with JDK 1.5. It seems JMF isn't included in Sun's regression tests anymore. I'm currently focusing my development on JDK 1.4 and once everything works, I'll test to see if it works with JDK 1.5.

Scott

sdhays@neona at 2007-7-15 16:38:31 > top of Java-index,Security,Cryptography...
# 2

the one problem may be your getting is the jvm not able to get the correct dll for(windows) for linux i dont know

you better put those files in the working directory

but i am confused by seeing the exception

if file are missing then it should of thrown exception that not able to load

but still try bcs i too got same prob when i am designing.

but i was working on windows where i searched the respective dll files and placed inside the working folder then it worked fine

hope for the best

konkodi221a at 2007-7-15 16:38:31 > top of Java-index,Security,Cryptography...
# 3
Both on Linux and Windows I'm working with JDK 1.5. I haven't tried it with JDK 1.4.2 since the whole project(team) is working with 1.5. But it only works with Windows.
massimoJMa at 2007-7-15 16:38:31 > top of Java-index,Security,Cryptography...
# 4
Java 1.5 is not compatible 100% with JMF. Java 1.5 doesnt support JMF.If your app works on Windows is only luck
jcparquesa at 2007-7-15 16:38:31 > top of Java-index,Security,Cryptography...
# 5

Hello

I am new to multimedia programming. Can you tell me what sort of video manipulation is possible using JMF.

My requirement is simple. I need to pass a video file (any format) to the Java program. I expect the program to do some very basic video manipulation (for example, increasing brightness, increasing the R component of RGB, applying some texture etc.) and create a new video file. Is it possible to do this in JMF?

Thank you.

Nav

navonila at 2007-7-15 16:38:31 > top of Java-index,Security,Cryptography...
# 6

> Java 1.5 is not compatible 100% with JMF. Java 1.5

> doesnt support JMF.

>

> If your app works on Windows is only luck

Hi

If the What you said is right, I am using 1.6.0 beta. It should has solved the problem. Could you please look at my problem at

http://forum.java.sun.com/thread.jspa?threadID=750005&tstart=0

THX

hussama at 2007-7-15 16:38:31 > top of Java-index,Security,Cryptography...