Home > Error Unable > Error Unable To Realize Com.sun.media.codec

Error Unable To Realize Com.sun.media.codec

Why does a (D)DoS attack slow down the CPU and crash a server? Adv Reply July 11th, 2009 #6 froggyswamp View Profile View Forum Posts Tea Glorious Tea! Re: Odd problem with JMF/fobs4JMF for playing mpeg-4 videos from harddisk 843802 Feb 2, 2009 8:15 PM (in response to captfoss) You are right that it isn't realized, but you are Reply With Quote 09-16-2012,05:15 PM #4 oror84 Member Join Date Mar 2012 Posts 4 Rep Power 0 Re: Problem with JMF This is the error message : "Failed to realize: [email protected] http://tubee.net/error-unable/error-unable-to-realize-com-sun-media-amovie.html

The point where it crashes is marked below: public boolean open(MediaLocator ml) { try { p = Manager.createProcessor(ml); } catch (Exception e) { System.err.println("Failed to create a processor from the given Added formats and tried this code and still the same issue: import java.io.File; import javax.media.Format; import javax.media.Manager; import javax.media.MediaLocator; import javax.media.Player; import javax.media.PlugInManager; import javax.media.format.AudioFormat; public class SimpleAudioPlayer { public static TrackControl tc[] = p.getTrackControls(); if (tc == null) { System.err.println("Failed to obtain track controls from the processor."); return false; } // Search for the track control for the video track. By dragstang86 in forum New To Java Replies: 4 Last Post: 10-30-2011, 04:43 AM Can anyone see the problem with my code?

I WILL follow this thread daily, and continue to look for a solution. Reply With Quote 09-17-2012,10:38 PM #6 kammce Senior Member Join Date Dec 2010 Location California Posts 194 Rep Power 6 Re: Problem with JMF You could always use EasyOgg, and use Should I find punctures by immersing inner tube in water or hearing brezze or feeling breeze or how else?

Newer Post Older Post Home Subscribe to: Post Comments (Atom) Stats View My Stats Contributors TIcusTapas Ticus Register Help Remember Me? posted 7 years ago JFM always needs a Player to play. Today's Topics Dream.In.Code > Programming Help > Java Java media player not working ! Here is the code used to play the files (If you think the problem lies somewhere else in the code, let me know, I'll be happy to post).

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. I was wondering why it had so many views yet so little posts. but .mp3 is a must.) When i give the path of the .mp3 file in the code of my java program, the call gets picked but nothing is played. navigate here Jonas and I are desperate here, please help!

The time now is 05:58 AM. The registry worked for me and jmfregistry shows the correct values. High Jump Champion Is there a non-medical name for the curve where index finger and thumb meet? If the Ch’in dynasty was so short-lived, why was China named for it?

Sever-sort an array What encryption should I use: Blowfish, Twofish, or Threefish? https://community.oracle.com/thread/1280193 The MP3 im trying to play works fine in VLC/WMP so it cant be the file. After starting jmfregistry you will have to select the third tab named "plugins". Subscribed!

Sweta Post Reply Bookmark Topic Watch Topic New Topic Similar Threads Playing 16-bit stereo files JMF cut.java Deploying JMF with out installation JMF Problems with cut.java sample java plugin properties http://tubee.net/error-unable/error-unable-to-find-some.html JMF has an MP3 codec inbuilt. SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6 How To Ask Questions How To Answer Questions nimo frey Ranch Hand Posts: 580 posted 7 What's New?

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Bayes regression: how is it done in comparison to standard regression? "newfangled", "fandangle" and "fandango" What warning labels could you see on products to be used in space? Closed my Java project and reopend it. this content Am I right captfoss?You are right that it isn't realized, but you are wrong about that being necessary.

As JMStudio is playing alright this seems to be a classpath issue. when i provide the wav file as an input. Join Date Jun 2005 Beans 51 Re: Java & JMF Originally Posted by Drone022 oh, this is from 2007.

share|improve this answer answered Dec 5 '13 at 6:32 hanx 283 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign

but does not need it for .wav files??? I just installed the plugin, and still get the same exception. Re: Odd problem with JMF/fobs4JMF for playing mpeg-4 videos from harddisk captfoss Feb 2, 2009 3:42 PM (in response to 843802) If I were you, I'd try changing my code to It may work.... :) Thanks!

Am I right captfoss? :) Like Show 0 Likes(0) Actions 11. when installing the plugin, i did the following as mentioned in the website: For the plugin to work within a JMF application, you need to : - ensure that jmf.jar is You don't need a processor to do that. have a peek at these guys No, create an account now.

is that also required? Ok, i wil try this and check. I made following changes Instead of --> com.ibm.media.codec.audio.AudioPacketizer packetizer = null; packetizer = new com.sun.media.codec.audio.ulaw.Packetizer(); ((com.sun.media.codec.audio.ulaw.Packetizer) packetizer) .setPacketSize(500); I have included the following piece of code ..... I verified that the mp3 plugin was taken into the class path.

Im surprised anyone uses it. If the OP can access SimpleAudioPlayer the codec should be installed. It takes just 2 minutes to sign up (and it's free!). Reply With Quote 09-16-2012,06:52 PM #5 DarrylBurke Forum Police Join Date Sep 2008 Location Madgaon, Goa, India Posts 12,005 Rep Power 23 Re: Problem with JMF Have you tried the same

import javax.media.*; try { MediaLocator mlr = new MediaLocator(mediaurl); _player = Manager.createRealizedPlayer(mlr); if (_player.getVisualComponent() != null) this.add("Center", _player.getVisualComponent()); if (_player.getControlPanelComponent() != null) this.add("South", _player.getControlPanelComponent()); _player.start(); } catch (Exception e) { System.err.println("Got Krishna Komarpant Greenhorn Posts: 15 posted 7 years ago Yes, I copied the jar in the /lib/ext/ directory of the installed jre's on my system.