The Artima Developer Community
Sponsored Link

Java Answers Forum
Media Problem

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Haik Hovsepian

Posts: 6
Nickname: haik
Registered: Oct, 2004

Media Problem Posted: May 18, 2005 5:00 AM
Reply to this message Reply
Advertisement
Hello.

I have a problem, I can't take visual component from .mpg files.
I am using JMF.

I had write this code

{

MediaPlayer mediaplayer = new MediaPlayer();
DataSource datasource;

datasource = Manager.createDataSource(medialocator);

mediaplayer.setSource(datasource);
med iaplayer.setMediaLocator(medialocator);

mediaplayer.realize();

Manager.createR ealizedPlayer(datasource);

mediaplayer.start();

Component visualcomponent =
mediaplayer.getVisualComponent();

}

this method is returning null;

Could you help me.

Topic: ADK for Win 3.1 download Previous Topic   Next Topic Topic: forward reference rule

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use