Problem with com.sun.media.protocol.sunvideo
I just installed the JMF and it says it cannot located com.sun.media.protocol.sunvideo. Any suggestions?
Verify if the lib folder inside JMF directory is set in the classpath
Similar Messages
-
Com.sun.media.protocol.sunvideo
hi all ,
I downloaded the latest JMF v2.1.1e and also the JMStudio example. When I try to compile there seems to be missing packages from the jmf.jar file:
com.sun.media.protocol.sunvideo
com.sun.media.protocol.sunvideoplus
com.sun.media.protocol.v4l
com.sun.media.protocol.dsound
com.sun.media.protocol.vfw
The source code for JMStudio references several classes from these packages. Where did they get to and how do I get them?
thinksjava_developper wrote:
hi all ,
I downloaded the latest JMF v2.1.1e and also the JMStudio example. When I try to compile there seems to be missing packages from the jmf.jar file:I'm pretty sure those are only included with the various performance packs. VFW, for example, should only be included with the Windows Performance pack. Those packages are probably just JNI wrappers for the native code. -
Com.sun.media.protocol.sunvideo. HEEELLLP
I have Installed JMF2.1.1b and downloaded the source code for JMF studio.. I like to be able to compile the code and eventually add couple of proprietary layer for our use... But I'm not able to successfully compile the code because of the missing packages & classes... such as
com.sun.media.protocol.*
and basically its entire sub classes e.g.
sunvideo, sunvideoplus, v4, etc...
can somebody pleasssse help me here??? R these packages accessible by developers??? if not what's a point of providing the source code of this application???
Is there any other way of introducing your customization to an existing application in Java env??? Does anybody even ever tried to do a similar thing with this or other Java applications???
Would much appreciate your help.Hi
I'm having the same problem...
Have you resolved this problem... Do you have this packages??
Thanks in advance.. -
Hi Folx,
I installed the linux-package of JMF-2.1.1e and tried to access a webcam with video4linux. I get this error-msg:
java.io.IOException: java.lang.Error: No such capture device!
javax.media.NoDataSourceException: Error instantiating class: com.sun.media.protocol.v4l.DataSource : java.io.IOException: java.lang.Error: No such capture device!When I look into the src, there's a folder v4l in media/protocol, but when I look into the jar, media/protocol has no subfolders!
So I guess it's missing...
btw: jmfinit, registry etc works all fine, but I can't access to v4l-device in my scripts.if Jmfinit works fine then all you need to do is get your environment variables right.
like this:
JMFHOME=/usr/lib/jmf; export JMFHOME
CLASSPATH=${JMFHOME}/lib/jmf.jar:${JMFHOME}/lib:${JMFHOME}/lib/sound.jar:${CLASSPATH}; export CLASSPATH
LD_LIBRARY_PATH=.:${JMFHOME}/lib:${LD_LIBRARY_PATH};
export LD_LIBRARY_PATH
I had the same problem and this worked for me. ;-) -
Problem with com.sun.xml.parser.Parser
Hi ,
I am using weblogic 6.01.
In my ejb class, I am parsing a String to create XmlDocument.
I created xml registry in weblogic server.
In my weblogic server's xml registry,
I have com.sun.xml.parser.DocumentBuilderFactoryImpl as
DocumentBuilderFactory
and com.sun.xml.parser.Parser as parser.
I am using jaxp 1.1 for all my xml related processing. All required jars are
in the classpath.
following is my code
protected Document createDocument ( String a_sXmlDocument )
try
ByteArrayInputStream baInputStream = new ByteArrayInputStream
(a_sXmlDocument.getBytes ());
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance ();
DocumentBuilder builder = factory.newDocumentBuilder ();
Document xmlDocument = builder.parse (baInputStream);
return xmlDocument ;
catch (
I get following exception at builder.parse ( baInputStream )
Can't find bundle for base name com.sun.xml.parser.resources.Messages,
locale en
at com.sun.xml.parser.Parser.parseInternal(Parser.java:516)
at com.sun.xml.parser.Parser.parse(Parser.java:284)
at
com.sun.xml.parser.DocumentBuilderImpl.parse(DocumentBuilderImpl.java
:95)
at
weblogic.xml.jaxp.RegistryDocumentBuilder.parse(RegistryDocumentBuild
er.java:98)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:78)
at
com.datamap.arch.datamap.BasicTransportableDelegate.createDocument(Ba
I would appreciate if anyone could help in this exception.
Thank you,
MahendraHi ,
I am using weblogic 6.01.
In my ejb class, I am parsing a String to create XmlDocument.
I created xml registry in weblogic server.
In my weblogic server's xml registry,
I have com.sun.xml.parser.DocumentBuilderFactoryImpl as
DocumentBuilderFactory
and com.sun.xml.parser.Parser as parser.
I am using jaxp 1.1 for all my xml related processing. All required jars are
in the classpath.
following is my code
protected Document createDocument ( String a_sXmlDocument )
try
ByteArrayInputStream baInputStream = new ByteArrayInputStream
(a_sXmlDocument.getBytes ());
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance ();
DocumentBuilder builder = factory.newDocumentBuilder ();
Document xmlDocument = builder.parse (baInputStream);
return xmlDocument ;
catch (
I get following exception at builder.parse ( baInputStream )
Can't find bundle for base name com.sun.xml.parser.resources.Messages,
locale en
at com.sun.xml.parser.Parser.parseInternal(Parser.java:516)
at com.sun.xml.parser.Parser.parse(Parser.java:284)
at
com.sun.xml.parser.DocumentBuilderImpl.parse(DocumentBuilderImpl.java
:95)
at
weblogic.xml.jaxp.RegistryDocumentBuilder.parse(RegistryDocumentBuild
er.java:98)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:78)
at
com.datamap.arch.datamap.BasicTransportableDelegate.createDocument(Ba
I would appreciate if anyone could help in this exception.
Thank you,
Mahendra -
So i am trying to get started with the java media framework (JMF). Ive installed the jmf 2.1.1e for windows and i am using eclipse IDE.
I have tried to add the jar files to the projects build path and dll files to the library path, but i get this error when trying to execute the project:
java.lang.UnsatisfiedLinkError: com.sun.media.vfw.VFWCapture.cacheFieldIDs()Z
Here is full log details:
CaptureDeviceInfo: vfw:Microsoft WDM Image Capture (Win32):0 : vfw://0
YUV Video Format: Size = java.awt.Dimension[width=640,height=480] MaxDataLength = 614400 DataType = class [B yuvType = 32 StrideY = 1280 StrideUV = 1280 OffsetY = 0 OffsetU = 1 OffsetV = 3
YUV Video Format: Size = java.awt.Dimension[width=160,height=120] MaxDataLength = 38400 DataType = class [B yuvType = 32 StrideY = 320 StrideUV = 320 OffsetY = 0 OffsetU = 1 OffsetV = 3
YUV Video Format: Size = java.awt.Dimension[width=320,height=240] MaxDataLength = 153600 DataType = class [B yuvType = 32 StrideY = 640 StrideUV = 640 OffsetY = 0 OffsetU = 1 OffsetV = 3
Exception in thread "VFW Request Thread" java.lang.UnsatisfiedLinkError: com.sun.media.vfw.VFWCapture.cacheFieldIDs()Z
at com.sun.media.vfw.VFWCapture.cacheFieldIDs(Native Method)
at com.sun.media.vfw.VFWCapture.<clinit>(VFWCapture.java:27)
at com.sun.media.protocol.vfw.VFWSourceStream.doConnect(VFWSourceStream.java:249)
at com.sun.media.protocol.vfw.VFWSourceStream.run(VFWSourceStream.java:771)
at java.lang.Thread.run(Thread.java:619)
Can anyone help me ?
消息编辑者为:68202d7a-8cea-4b67-88ff-d01edd8c7c1aProbably the libLinuxSerialParallel.so was not found.
I copied this file to $JAVA_HOME/lib/i386 and it worked. -
NoClassDefFoundError: com/sun/media/rtsp/protocol/OptionsMessage
Hi,
I am trying the project streamp2p (from sourceforge) to stream avi (cinepak) files over rtsp with jmf.
On the jmf.jar of the linux performance pack, the class com/sun/media/rtsp/protocol/OptionsMessage.class is not available.
I already tried a search on google (1 result, also reporting the same problem, without answer...) and tried also a search on this forum, with no results.
Does anybody knows something that can help ?
Thanks,
Hugo LavalleLike I told you in the other thread com.sun packages are not fully supported, technically the could be considered "betas" and are only included to aid developers. Because they are no supported no javadocs exist for them at this time. Like I said you are just going to have downlad the source code and do alot of poking around. From what I can tell, however, the com.sun.media.rtsp package intergrates seemlessly with JMF.
-
JpegImagesToMovie--com.sun.media.processor.unknown.Handler
hi,
I get the following error with JpegImagesToMovie.
It seem same as:
http://onesearch.sun.com/search/highlight/index.html?url=http%3A%2F%2Fforum.java.sun.com%2Fthread.jspa%3FforumID%3D28%26threadID%3D585235&fterm=JpegImagesToMovie
But look like no answer!
C:\>java JpegImagesToMovie -w 320 -h 240 -f 1 -o file:/c:/test.mov file:/c:/k1.jpg file:/c:/k2.jpg
- create processor for the image datasource ...
Setting the track format to: JPEG
- create DataSink for: file:/c:/test.mov
start processing...
- reading image file: file:/c:/k1.jpg
- reading image file: file:/c:/k2.jpg
Done reading all images.
Exception in thread "JMF thread: SendEventQueue: com.sun.media.processor.unknown.Handler" java.lang.NullPointe
rException
at com.sun.media.multiplexer.video.QuicktimeMux.writeVideoSampleDescription(QuicktimeMux.java:936)
at com.sun.media.multiplexer.video.QuicktimeMux.writeSTSD(QuicktimeMux.java:925)
at com.sun.media.multiplexer.video.QuicktimeMux.writeSTBL(QuicktimeMux.java:905)
at com.sun.media.multiplexer.video.QuicktimeMux.writeMINF(QuicktimeMux.java:806)
at com.sun.media.multiplexer.video.QuicktimeMux.writeMDIA(QuicktimeMux.java:727)
at com.sun.media.multiplexer.video.QuicktimeMux.writeTRAK(QuicktimeMux.java:644)
at com.sun.media.multiplexer.video.QuicktimeMux.writeMOOV(QuicktimeMux.java:582)
at com.sun.media.multiplexer.video.QuicktimeMux.writeFooter(QuicktimeMux.java:519)
at com.sun.media.multiplexer.BasicMux.close(BasicMux.java:142)
at com.sun.media.BasicMuxModule.doClose(BasicMuxModule.java:172)
at com.sun.media.PlaybackEngine.doClose(PlaybackEngine.java:872)
at com.sun.media.BasicController.close(BasicController.java:261)
at com.sun.media.BasicPlayer.doClose(BasicPlayer.java:229)
at com.sun.media.BasicController.close(BasicController.java:261)
at JpegImagesToMovie.controllerUpdate(JpegImagesToMovie.java:196)
at com.sun.media.BasicController.dispatchEvent(BasicController.java:1254)
at com.sun.media.SendEventQueue.processEvent(BasicController.java:1286)
at com.sun.media.util.ThreadedEventQueue.dispatchEvents(ThreadedEventQueue.java:65)
at com.sun.media.util.ThreadedEventQueue.run(ThreadedEventQueue.java:92)The basic problem is that this program, like all of the JMF examples, is very haphazardly coded. From what I can gather somewhere in the excecution of the program there was a major thread conflict. JMF is not thread safe and requires the use of wait for state methods. In all honesty, I have never had a sample program compile and run succesfully as is. I think it would just be easier to re-write this code, except this time use the StateHelper class which can be found in the JMF guide. The StateHelper class manages all of the Player and Processor threads so you don't have to worry about it. I wish I could be of more help here but I think this is just a case of some sloppy code.
-
Docu of com.sun.media?
hi,
i'm searching for the documentation of the package com.sun.media (the library which comes along with JMF) interestingly it turned out to be really hard to find. (of course i tried to google it ;))
where would it be?
is kinda urgent, thx a lot!Hi
I'm having the same problem...
Have you resolved this problem... Do you have this packages??
Thanks in advance.. -
Exception: com.sun.media.jai.util.ServiceConfigurationError
I've developed an applet that uses javax.media.jai. API. When it's compiled and ran through Microsoft's IIS and from the command line it works fine. The final place for this applet, though, is on a Linux server. When it's compiled and ran from the shell it runs fine. But through Apache i get this error.
com.sun.media.jai.util.ServiceConfigurationError: javax.media.jai.OperationRegistrySpi: : sun.io.MalformedInputException
at com.sun.media.jai.util.Service.fail(Service.java:127)
at com.sun.media.jai.util.Service.parse(Service.java:206)
I know that the problem line is:
PlanarImage im = (PlanarImage)JAI.create ("AWTImage", pb);
Also, that both servers JSDK's and JRE's were installed correctly.
And, that the needed registerFile.jai is located in the right place.
I've been stumped by this for a week and can't find info on the com.sun.media.jai.util.ServiceConfigurationError class or javax.media.jai.OperationRegistrySpi class.Hi ,
I am getting the similar error -
I have an applet which displays a tiff image and allows the user to magnify , rotate , invert , zoom or print the displayed image . The applet uses JAI 1.1 API and jre plugin -1.3.0_0.1. It works fine when loaded in IE but with netscape (version 4.5/6.0) it throws the exception :-
com.sun.media.jai.util.ServiceConfigurationError: javax.media.jai.OperationRegistrySpi: https://xyz/javatiffviewer/META-INF/services/javax.media.jai.OperationRegistrySpi:1: Illegal configuration-file syntax
at com.sun.media.jai.util.Service.fail(Service.java:127)
at com.sun.media.jai.util.Service.fail(Service.java:133)
at com.sun.media.jai.util.Service.parseLine(Service.java:155)
at com.sun.media.jai.util.Service.parse(Service.java:204)
at com.sun.media.jai.util.Service.access$100(Service.java:118)
at com.sun.media.jai.util.Service$LazyIterator.hasNext(Service.java:255)
at javax.media.jai.OperationRegistry.registerServices(OperationRegistry.java:2031)
at javax.media.jai.ThreadSafeOperationRegistry.registerServices(ThreadSafeOperationRegistry.java:620)
at javax.media.jai.OperationRegistry.initializeRegistry(OperationRegistry.java:371)
at javax.media.jai.JAI.<clinit>(JAI.java:382)
at javax.media.jai.OpImage.<init>(OpImage.java:230)
at javax.media.jai.PointOpImage.<init>(PointOpImage.java:374)
at javax.media.jai.PointOpImage.<init>(PointOpImage.java:404)
at javax.media.jai.NullOpImage.<init>(NullOpImage.java:108)
at javax.media.jai.NullOpImage.<init>(NullOpImage.java:156)
at TiffApplet.CReadImage.separateImages(CReadImage.java:185)
at TiffApplet.CReadImage.checkForNoOfImages(CReadImage.java:149)
at TiffApplet.CReadImage.<init>(CReadImage.java:68)
at TiffApplet.CTIFFViewer.showImage(CTIFFViewer.java:259)
at TiffApplet.CTIFFViewer.start(CTIFFViewer.java:191)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Can you please, suggest a solution .
Thanks ,
Navneet -
Com.sun.media.rtsp.RtspManager and JMF bundle
Following my first thread,
I'm looking for any code that uses[b] com.sun.media.rtsp.RtspManager that run sequence like DESCRIBE->SETUP>PLAY>PAUSE.
Is there a possible link beetwen RtspManager and Player/Processor well documented in JMF ?
I am looking for com.sun.media package JavaDoc too.
Thanks
ArnoLike I told you in the other thread com.sun packages are not fully supported, technically the could be considered "betas" and are only included to aid developers. Because they are no supported no javadocs exist for them at this time. Like I said you are just going to have downlad the source code and do alot of poking around. From what I can tell, however, the com.sun.media.rtsp package intergrates seemlessly with JMF.
-
Where to find the doc of package "com.sun.media.util"
In the jmf.jar,it also has the com.sun.media package,but jmf20.pdf doc not include the comment,how to find the document of package com.sun.meida?
why nobody answer the easy question for me?
-
Package com.sun.media
Where do i find the API documentation of the package com.sun.media.
hi,
it is likely you won't find any api-documentation for this package since sun
usually discourages the use of some packages (compare sun.*)
and does not provide any documentation for that cause.
at least this is what i suspect; why do you want to use the anyway?
p.s. you can always have a look at the source code itself since it is open.
cheers -
Where is the source for com.sun.media.rtp?
Is the source for com.sun.media.rtp available for download?
I downloaded the JMF source code, but, it's not there. I have downloaded the source for J2SE and it's not there.
Where is it?
Greg Silverman
NGC
San Jose, CAHi,
This forum is exclusively for discussions related to Sun Java Studio Creator. Please post your question in the appropriate forum.
Thanks,
RK. -
Hi!! I want to know if I can use this encoder (NativeEncoder) for encoding to MJPG.
If I do: PlugInManager.getPlugInList(new VideoFormat( VideoFormat.RGB),
new VideoFormat(VideoFormat.MJPG), PlugInManager.CODEC);
I obtain only one codec:com.sun.media.codec.video.jpeg.NativeEncoder
BUT, then, I do: codec.setInputFormat(new VideoFormat( VideoFormat.RGB))-->It returns me:NULL. why????!!!
Regards!The input format may have to be more specific and suitable; eg for Windows :-
RGBFormat(new Dimension(w,h), w*h*3, Format.byteArray, -1.0F, 24, 3, 2, 1, 3, w*3,-1,-1)
Maybe you are looking for
-
Is there a way to send multiple PDF documents from iBooks in one email? I have several that need to be sent to one person and can't figure out how to send more than one at a time. If you can't, is there a workaround?
-
Purchase order history not updated when invoice is posted for framework POs
Hi, We've created a framework PO and now posted an invoice against it. The invoice was posted in the following way: 1. Go to transaction MIRO 2. Enter the PO number in the PO reference field. 3. Select the "G/L Account" tab and enter the value manual
-
How can I load data with Scripts on *FDM* to a HFM target System????
Hi all! I need help because I can´t find a good guide about scripting on FDM. The problem I have is the next one. I have on mind to load my data with data load file in FDM to a HFM target system, but I would like to load an additional data using an e
-
Display problem only on win xp / 7 32bit ff fp version 0,1,102,64
iam a flash flex developer and have the following problem: ( sorry for my bad english ) at the start of my app iam playing a flv video, on [ firefox, windows 32, flashplayer 10,1,102,64, ] i get the following display error: - the flash position is wr
-
Performance issues after upgrading to 11g
hello, We are facing a performance issue after upgrading from 10g to 11g. as you can see, the tables named APPLSYS.FND_ENV_CONTEXT has grown to 15544880 records, and oracle is using TABLE ACCESS FULL on it: DELETE FND_ENV_CONTEXT E WHERE NOT EXISTS (