Java Media Framework
Sorry if I'm repeating myself, but I'm new to this mailing list... Anyway, does anyone have any tips or advice on getting Java Media Framework (All-platforms) and JDK 1.1.7 to work on Slackware Linux, or should I move straight onto 1.2.2? Thanks for any help in advance. Steve Clifton. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Java Media Framework
JMF 1.1 preferably. The one you can get from java.sun.com (the cross-playform implementation). (http://java.sun.com/products/java-media/jmf/1.1/download.html) Steve. On Wed, 4 Aug 1999, Jacob Nikom wrote: > Which JMF you are asking about? > Do you mean JMF1.0. 1.1 or 2.0? > > Jacob > > -=Steve-o=- wrote: > > > Sorry if I'm repeating myself, but I'm new to this mailing list... > > > > Anyway, does anyone have any tips or advice on getting Java Media Framework > > (All-platforms) and JDK 1.1.7 to work on Slackware Linux, or should I > > move straight onto 1.2.2? > > > > Thanks for any help in advance. > > > > Steve Clifton. > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Windows and All-platorm JAVA release
Hi. I have written a small client/server application which streams audio across an already open network socket. I have my own DataSource and SourceStream class that does this. The windows version works OK (it plays MPEG audio and .AU audio, which is broadly what I want). I can have the JMF.JAR file in the classpath, and my DataSource classes in a subdirectory of ./ (ie. ./javax/media/protocol/steve). This works OK with the Windows JMF1.1 However, when I try to use the All-Platform version, I keep getting NoDataSource exception just before the player should start. I've checked the paths, and if it works for one JMF version, I don't see why it shouldn't work for the other one. According to the official documentation, the .AU format is supported by the JAVA/Solaris/Windows versions of JMF. I was wondering whether anyone else has had similar trouble. I have also tried putting the DataSource and SourceStream files in the JMF.JAR file. Again, this works fine with the Windows release, but the All-Platforms release still returns with NoDataStreamException. I am using Windows NT 4.0, with the paths and classpaths setup as far as I can gather (as the directories and JAR files are in the same places, I just rename directories to switch between the two releases. I didn't do the installation routing for the Windows version, so it's not that interfering. It's just looking for the JAR files. HELP Thanks in advance for anyone who attempts to or CAN help me! Steve. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
DataSource...
Hi. I have written my own datasource and SourceStream, and placed them in teh correct directories (javax/media/protocol/steveSourceStream). I have run the applet under win32 jdk1.1.8 and JMF1.1 (win32 optimised), and the applet finds the datasource class, and does the job. However, when ported to linux (jdk 1.1.7, JMF 1.1 all-platforms), the applet returns with a NoDataSourceException. I have then tried running jdk1.1.8 and JMF1.1 (all-platforms) on Windows, and that comes up with the same NoDataSourceExcption. Help! I need the linux version to stream the media!!! The samples in teh JMF work ok with all versions (playing back AU files). Thanks. Steve. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Windows and All-platorm JAVA release
All-platforms does do some audio. I have had the SimplePlayer (one of the examples with JMF1.1) playing back an AU file and a MOV file (with audio) with JDK 1.1.7 v3. The problem was more with custom DataSources that the JMF and appletviewer couldn't seem to find, even though the directory structure worked with the Win32 version I admit that I'm probably out of my depth with this, as my strength is in NOT tinkering with Linux ;-) Thanks for your help... Steve-o. ** Please email replies to:[EMAIL PROTECTED] as when I leave Lancaster in a few weeks, the current address will be wrong. Just so you know. Thanks...;-) ** On Wed, 11 Aug 1999, Benjamin Moore wrote: > You can't do that. The all platform JMF only supports video. Check out > the JMF web page. The reason for this is that audio implicityly > requires access to the hardware. (on Linux /dev/dsp for example) For > audio support on all PLayforms you will have to wait until a Native > JMF is available for that platform. > > (I was trying to do something similar about a year ago.) > > Ben > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: jmf2.0ea and jdk1.1.7
I'm not sure about how all this works. I have had JMF 1.1 working with JDK117_v3 in playing back the sample MOV (audio AND video) and .AU (audio only) with SimplePlayer, the sample player with JMF1.1. The platform is Slackware Linux 2.2.6. Anyway, I HAVE had problems with using my own DataSource and JMF1.1 and JDK117_v3. The JMF couldnt' find it. Now I try and use JMF2.0ea, and I get a java.lang.VerificationError whatever that means, when I'm casting from javax.media.protocol.steve.DataSource to javax.media.protocol.DataSource (which it extends)... There's strange things afoot Steve. > Hi, > > I'm writing a java program which use the Java Media Framework. Because I > like to finish my job (started a long time ago) under Linux I wonder if > anyone has succesfull installed JMF2.0ea on a jdk1.1.7_v3? With JMF1.1 and > jdk1.1.6 I hadn't problem to use the player api. If I start JMStudio and > load the sample video I see (if I am lucky) only one freeze picture. BTW the > sound isn't working as well. I've read somewhere if JMF cannot connect the > soundcart nothing works. Is that right? > > thanks, > wagi > > -- > Daniel Wagner > email: [EMAIL PROTECTED] > > (RSA)PGP - Key auf Anfrage, (RSA)PGP - Key on request > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Illegal Access
Hi. I'm trying to write an applet that makes use of JMF1.1 and JDK 1.1.7, but have been getting a strange error. I can't run the program not in a JAR as it breaches security (not allowed to open a network socket). So I put it in a JAR and signed it, but when I try and run it using appletviewer, I get a java.lang.IllegalAccessError. Does anyone konw what that means? THe trace is... java.lang.IllegalAccessError: PlayerWindow at NewPlayer.init(NewPlayer.java:29) at sun.applet.AppletPanel.run(Compiled Code) at java.lang.Thread.run(Thread.java:466) ** Please email replies to:[EMAIL PROTECTED] as when I leave Lancaster in a few weeks, the current address will be wrong. Just so you know. Thanks...;-) ** -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Illegal Access
I've had this problem. It happens for some reason when you try to run a JAR'd up applet with appletviewer. One (short term) solution is to make sure that the CLASSPATH is set to somewhere where none of the classes are, for example on a Windows machine, I'd used CLASSPATH=z: and do NOT put ';' at the end (on windows again). I don't know what caused it, and if anyone else knows any more, I'd be interested too... Steve. ** Please email replies to:[EMAIL PROTECTED] as when I leave Lancaster in a few weeks, the current address will be wrong. Just so you know. Thanks...;-) ** On Sun, 29 Aug 1999, Daniel Barclay wrote: > > > Does anyone konw what that means? > > > > THe trace is... > > > > java.lang.IllegalAccessError: PlayerWindow > > at NewPlayer.init(NewPlayer.java:29) > > at sun.applet.AppletPanel.run(Compiled Code) > > at java.lang.Thread.run(Thread.java:466) > > That's the run-time version of compile-time errors regarding > private/protected//public visibility. > > Daniel > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: Javac error and ANOTHER QUESTION
I think it was either export PATH=/usr/local/jdk117_v3/bin:$PATH or setenv PATH /usr/local/jdk117_v3/bin:$PATH Steve. ** Please email replies to:[EMAIL PROTECTED] as when I leave Lancaster in a few weeks, the current address will be wrong. Just so you know. Thanks...;-) ** > > $ /usr/local/jdk117_v3/bin/javac hw01_FirstProgram.java > > I know that there is some way to make a path so you only have to say > javac hw01_FirstProgram.java? I tried the example that was given in the > readme and it did not work. > > Also, how do I get rid of the Version 1 of Blackdown JDK? Do I just have to > go in and delete everything? > > Thanks for all the help!! > > Ed Smiley > > -Original Message- > From: Michael Sinz > To: [EMAIL PROTECTED]; Smiley, Jr., Edward > Sent: 9/7/99 5:58 PM > Subject: Re: Javac error > > On Tue, 7 Sep 1999 16:22:13 -0400, Smiley, Jr., Edward wrote: > > >I recently downloaded the a Blackdown JDK rpm for 1.1.7 version 1a. > When I > >try to run the complier I get the following error: > > > >/usr/local/jdk117_v1a/bin/java: error in loading shared libraries: > >/usr/local/jdk117_v > >1a/lib/i686/green_threads/libjava.so: undefined symbol: > _dl_symbol_value > > You should get the Blackdown JDK 1.1.7 v3 release. > > The glibc2.1 release broke some things that used to work in glibc2.0 > with one of them being the _dl_symbol_value stuff needed for dl locking. > > > -- > Michael Sinz Technology and Engineering Director/Consultant > "Starting Startups" mailto:[EMAIL PROTECTED] > My place on the web ---> http://www.users.fast.net/~michael_sinz > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: media programming
You want to download the All-Platforms release, if you are using Linux (which I assume you are). This allows playback of .MOV videos, but not MPEG. I'm not sure about AVI. Sun's site does tellyou (I don't have the URL handy).. What media did you want to use, and by programming do you mean playback or recording? Steve. On Wed, 8 Sep 1999, R MUTHUSWAMY wrote: > > hi guys, > > i want to do some video programming. i have decided to use the > java media api (JMF1.1). what are the versions the JMF1.1 supports and > can i download the solaris sparc version. > > reply me. it is urgent. > > bye, > MUTHU. > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Memory prolems
Hi. I'm currently developing a Linux project with JDK1.1.7_v3 and JMF1.1 all-platforms release. Recently (well, today actually) I've had problems when I run the applet (which is JAR'd up) as when appletviewer tries to run it, it gets an OutOfMemory exception. I am aware of ways of increaseing the memory in java, but not in appletviewer. I have 128Mb ram, and have run ulimit -a with the following results: core file size (blocks) 0 data seg size (kbytes) unlimited file size (blocks) unlimited max memory size (kbytes) unlimited stack size (kbytes) 8192 cpu time (seconds) unlimited max user processes 256 pipe size (512 bytes)8 open files 1024 virtual memory (kbytes) 2105343 and /proc/meminfo says total:used:free: shared: buffers: cached: Mem: 130461696 101187584 29274112 45924352 12689408 61874176 Swap:000 MemTotal:127404 kB MemFree: 28588 kB MemShared:44848 kB Buffers: 12392 kB Cached: 60424 kB SwapTotal:0 kB SwapFree: 0 kB I hope this is enough information so someone can help.. I need to get this sorted out soon, as I've got to demo the project between Monday and Wednesday next week. Thanks in advance... Steve. ** Please email replies to:[EMAIL PROTECTED] as when I leave Lancaster in a few weeks, the current address will be wrong. Just so you know. Thanks...;-) ** -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
