How to use win media player in streaming
Hi all
I want to do an application that is streaming live video on network and playable from windows media player on client side. Is this possible with JMF? Or how can I do this with another way?
wpafbuser1 wrote:
Is this possible with JMF? Yes.but how ?
Similar Messages
-
I am using the Windows NT workstation and Oracle Forms6i, I want to know how to use window media player in oracle forms? I have insert an OLE object and add Windows media player as an control object, but I don't know how to play the audio and video.
I always have this error...why?? How can I solve this??
FRM-41344: OLE object not defined for VIDEO in the current record.
Cause: An empty OLE container is defined.
Action: Define an OLE object to reside in the OLE container.
Level: 20
Type: Error
This is my final year project, anyone can help me?
Thanks a lot!!!UKNightOwl wrote:
... providing the computer has Windows Media Player installed, ...
... This saves you having to bother with portable/travel speakers,
Mains lead for the computer is a bit of a problem on the bus though! -
Firefox 6.0 would not open .wmv files, so I downloaded and installed M/S windows media player firefox plugin, ver 1.0.0.8.
I have checked using the plugin mgr that it is installed and enabled, but firefox still will not open .wmv files - It still brings up a window asking if I want to use Win Media Player to open the file.Flash Player.plugin 0x1a89d53e FlashPlayer_10_0_45_2_FlashPlayer +
You have an outdated version of Flash installed.
Uninstall the current copy of Flash then reinstall, instructions here.
http://kb2.adobe.com/cps/865/cpsid_86551.html#ostype=m,prob1=fnctn,prob2=game,
And, you have the Community Toolbar installed. That has to go.
/Library/Application Support/Conduit/Plugins/cttoolbar.bundle/Contents/Resources/Services/ct_alerts. bundle/Contents/MacOS/ct_alerts
/Library/Application Support/Conduit/Plugins/cttoolbar.bundle/Contents/MacOS/ct_plugins
/Library/InputManagers/CTLoader/ct_loader.bundle/Contents/MacOS/ct_loader
/Library/ScriptingAdditions/ct_scripting.osax/Contents/MacOS/ct_scripting
Open a Finder window then select MacintoshHD in the Sidebar on the left. Then open the LIbrary folder then the Application Support folder, the Input Managers folder and the Scripting Additions folder.
Move all the files above in bold print to the Trash.
Relaunch Safari after you have re installed Flash and deleted all those files. -
Using windows media player in labview
Need to learn how to use Windows Media Player 9 in Labview 6.1 and 7.
Try this. It loads the media player. hit play movie then select which movie you want to play. this loads the movie into memory and starts playing then when you hit stop vi it stops the vi and the movie.I do not have any movie files to try this with but I tried this with other media and it worked fine
Joe.
"NOTHING IS EVER EASY"
Attachments:
WMA.vi 39 KB -
How do I force Safari to use Windows Media Player as my default WMV player.
I am subscribed to a educational program called "the Epson Online Experience", and the entire program is in Windows Media Player videos. I was using Safari and Mac OS 10.3.9 with no problem what so ever, until Quick Time updated itself. Now I can't get WMP to play at all in Safari, or in Camino or IE either. The browsers just keep trying to play the link in Quick Time.
I did download Flip4Mac, but with no luck. The links now appear to open, appear to be downloading the buffer, but will stay on that screen for hours if I allow it.
Does anyone know how to make Windows Media Player the default media player in Safari? or for that matter, in Camino (or if I MUST, I guess I would be willing to try it in IE too if I could make it work.
Thanks for the help!
JodanWelcome to Apple Discussions. Your post seems to have been lost in a sea of Safari problems.
Usually items triggering media players create a file, which is downloaded into your system. Check your download folder for the file. If you can't find it, access the same file again via Safari.
Once you locate the file on your HD, click on it. Then, command key + I will bring up the info panel for the file (or simply select "more info" in the preview panel if you're in the finder's column mode). Go to the bottom where you'll see "open with". There, you see "quicktime" listed as the app. for opening the file. Click on the drop down menu and find the Windows player and select it.
Back to the info. panel - select "change all". This will revert all files of this type on your HD, plus future files to the Windows Media Player. Double click on the file to activate the video. Future selections in Safari will automatically open the correct media player. One other note, for the player to open automatically, you must check "open safe files after downloading" in your Safari Preferences>General panel.
Post back with results. -
2 weeks trying to find out how to use the media live encoder 3.2 in multi
stream. And I can not find any clear instructions guide. Please from
my soul, taught me clearly, how I can stream to 2 different site
using live media encoder. what I do with ftml values and the other
one , wich everyone site give me, where should I put them, in what
order ... everything I tried, I got an error. I realy please you,
please !!!! thanks in advance !![Moved to Flash Media Live Encoder forum.]
-
Cannot listen to online radio streaming using Windows Media Player
Online radio websites that use Windows Media Player - opens up the player in new window but instead of buffering, says that it is playing but no output/sound. Definitely not security/pop up/firewall issue. Windows Media Player works fine playing CDs etc.
Hi there,
so, you definitively have a machine whichs plays sound and you can establish a internetconnection. I think its a pure mediaplayer problem (softwareproblem).
You have the following options:
1. Reinstall your mediaplayer or update it.
2. install another mediaplayer software like winamp or some other jukebox
3. ..no further options
Give some feedback, so I can maybe help you with your problem. ;)
Cheers -
How to move albums that were saved using windows media player
I have a number of albums that are saved on my computer using windows media player. These were saved before I got itunes. I tried moving some of the albums into itunes but they don't show in tunes. Is there a way to do this rather than read all of the cd's into itunes.
Thank youSure thing.
In iTunes, go to File -> Add Folder to Library or Add File to Library. Select the folder which contains your music, or select individual tracks.
If in your iTunes settings you have iTunes copy music to it's folder and manage it for you, will then make a copy of the music, and put it into the iTunes location for music. It will even convert WMA files for you, into whatever file format you have under Import Settings in your iTunes preferences.
If in your preferences, itunes does NOT make a copy of your media, then it will simply reference the location it is in currently. If this is the case, then do not move the location of the songs from WMP. However, by default iTunes does make a copy into it's own directory, and if this is the case, you can actually delete the older files, as now you have a copy of these files in your iTunes directory.
Does this make sense? -
Win Media Player from JMF...
Hi,
I am new to JMF. I am currently developing a p2p based video streaming project and would like to invoke Win Media Player or Flash Movie Playre from the Java app..
Pleasen help / advice / suggest...
Thank you.
Salil.Siddhayethis code may help it is sun sample code
* @(#)SimplePlayerApplet.java 1.2 01/03/13
* Copyright (c) 1996-2001 Sun Microsystems, Inc. All Rights Reserved.
* Sun grants you ("Licensee") a non-exclusive, royalty free, license to use,
* modify and redistribute this software in source and binary code form,
* provided that i) this copyright notice and license appear on all copies of
* the software; and ii) Licensee does not utilize the software in a manner
* which is disparaging to Sun.
* This software is provided "AS IS," without a warranty of any kind. ALL
* EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY
* IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
* NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE
* LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING
* OR DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS
* LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT,
* INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
* CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF
* OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
* This software is not designed or intended for use in on-line control of
* aircraft, air traffic, aircraft navigation or aircraft communications; or in
* the design, construction, operation or maintenance of any nuclear
* facility. Licensee represents and warrants that it will not use or
* redistribute the Software for such purposes.
import java.applet.Applet;
import java.awt.*;
import java.awt.event.*;
import java.lang.String;
import java.net.URL;
import java.net.MalformedURLException;
import java.io.IOException;
import java.util.Properties;
import javax.media.*;
//import com.sun.media.util.JMFSecurity;
* This is a Java Applet that demonstrates how to create a simple
* media player with a media event listener. It will play the
* media clip right away and continuously loop.
* <!-- Sample HTML
* <applet code=SimplePlayerApplet width=320 height=300>
* <param name=file value="sun.avi">
* </applet>
* -->
public class SimplePlayerApplet extends Applet implements ControllerListener {
// media Player
Player player = null;
// component in which video is playing
Component visualComponent = null;
// controls gain, position, start, stop
Component controlComponent = null;
// displays progress during download
Component progressBar = null;
boolean firstTime = true;
long CachingSize = 0L;
Panel panel = null;
int controlPanelHeight = 0;
int videoWidth = 0;
int videoHeight = 0;
* Read the applet file parameter and create the media
* player.
public void init() {
//$ System.out.println("Applet.init() is called");
setLayout(null);
setBackground(Color.white);
panel = new Panel();
panel.setLayout( null );
add(panel);
panel.setBounds(0, 0, 320, 240);
// input file name from html param
String mediaFile = "The Departed CD1.avi";
// URL for our media file
MediaLocator mrl = null;
URL url = null;
// Get the media filename info.
// The applet tag should contain the path to the
// source media file, relative to the html page.
if ((mediaFile = getParameter("FILE")) == null)
Fatal("Invalid media file parameter");
try {
url = new URL(getDocumentBase(), mediaFile);
mediaFile = url.toExternalForm();
} catch (MalformedURLException mue) {
try {
// Create a media locator from the file name
if ((mrl = new MediaLocator(mediaFile)) == null)
Fatal("Can't build URL for " + mediaFile);
try {
JMFSecurity.enablePrivilege.invoke(JMFSecurity.privilegeManager,
JMFSecurity.writePropArgs);
JMFSecurity.enablePrivilege.invoke(JMFSecurity.privilegeManager,
JMFSecurity.readPropArgs);
JMFSecurity.enablePrivilege.invoke(JMFSecurity.privilegeManager,
JMFSecurity.connectArgs);
} catch (Exception e) {}
// Create an instance of a player for this media
try {
player = Manager.createPlayer(mrl);
} catch (NoPlayerException e) {
System.out.println(e);
Fatal("Could not create player for " + mrl);
// Add ourselves as a listener for a player's events
player.addControllerListener(this);
} catch (MalformedURLException e) {
Fatal("Invalid media file URL!");
} catch (IOException e) {
Fatal("IO exception creating player for " + mrl);
// This applet assumes that its start() calls
// player.start(). This causes the player to become
// realized. Once realized, the applet will get
// the visual and control panel components and add
// them to the Applet. These components are not added
// during init() because they are long operations that
// would make us appear unresposive to the user.
* Start media file playback. This function is called the
* first time that the Applet runs and every
* time the user re-enters the page.
public void start() {
//$ System.out.println("Applet.start() is called");
// Call start() to prefetch and start the player.
if (player != null)
player.start();
* Stop media file playback and release resource before
* leaving the page.
public void stop() {
//$ System.out.println("Applet.stop() is called");
if (player != null) {
player.stop();
player.deallocate();
public void destroy() {
//$ System.out.println("Applet.destroy() is called");
player.close();
* This controllerUpdate function must be defined in order to
* implement a ControllerListener interface. This
* function will be called whenever there is a media event
public synchronized void controllerUpdate(ControllerEvent event) {
// If we're getting messages from a dead player,
// just leave
if (player == null)
return;
// When the player is Realized, get the visual
// and control components and add them to the Applet
if (event instanceof RealizeCompleteEvent) {
if (progressBar != null) {
panel.remove(progressBar);
progressBar = null;
int width = 320;
int height = 0;
if (controlComponent == null)
if (( controlComponent =
player.getControlPanelComponent()) != null) {
controlPanelHeight = controlComponent.getPreferredSize().height;
panel.add(controlComponent);
height += controlPanelHeight;
if (visualComponent == null)
if (( visualComponent =
player.getVisualComponent())!= null) {
panel.add(visualComponent);
Dimension videoSize = visualComponent.getPreferredSize();
videoWidth = videoSize.width;
videoHeight = videoSize.height;
width = videoWidth;
height += videoHeight;
visualComponent.setBounds(0, 0, videoWidth, videoHeight);
panel.setBounds(0, 0, width, height);
if (controlComponent != null) {
controlComponent.setBounds(0, videoHeight,
width, controlPanelHeight);
controlComponent.invalidate();
} else if (event instanceof CachingControlEvent) {
if (player.getState() > Controller.Realizing)
return;
// Put a progress bar up when downloading starts,
// take it down when downloading ends.
CachingControlEvent e = (CachingControlEvent) event;
CachingControl cc = e.getCachingControl();
// Add the bar if not already there ...
if (progressBar == null) {
if ((progressBar = cc.getControlComponent()) != null) {
panel.add(progressBar);
panel.setSize(progressBar.getPreferredSize());
validate();
} else if (event instanceof EndOfMediaEvent) {
// We've reached the end of the media; rewind and
// start over
player.setMediaTime(new Time(0));
player.start();
} else if (event instanceof ControllerErrorEvent) {
// Tell TypicalPlayerApplet.start() to call it a day
player = null;
Fatal(((ControllerErrorEvent)event).getMessage());
} else if (event instanceof ControllerClosedEvent) {
panel.removeAll();
void Fatal (String s) {
// Applications will make various choices about what
// to do here. We print a message
System.err.println("FATAL ERROR: " + s);
throw new Error(s); // Invoke the uncaught exception
// handler System.exit() is another
// choice.
take care add the video to the same path where the code is saved
hope that will help you -
MP3 plays fine in Win Media Player, but won't import in iTunes
I have this MP3 file in a folder on my hard drive. It plays fine in Win Media Player.
If I "Add the Folder to Library" all other MP3 files in the folder come though fine but this one is left behind.
If I use "Add File to Library" there is just a screen "flicker" but the file is not added.
What could cause this? and how do I get the file into iTunes?
TIA
Gert
Windows XP SP2Are you certain that the files in question are in fact MP3 files and not some other format?
iTunes can play plain old MP3 files, but it cannot play proprietary schemes with digital rights management built in, and it cannot play WMA files. -
View IPTV using Windows Media Player
I have a customer who does not want to install Cisco's IPTV viewer on their clients PCs. They would prefer to use Windows Media Player to view both scheduled and VoD streams from their 3427 Broadcast Servers. Is this possible and if so how is it done?
Thanks,
R2R2,
Couple of things. If you want to stay away from the installed program, you can use the IPTV plugin, which works fine.
Also, the latest versions of IPTV (I think beginning with 5.1) support the Apple Darwin (QT Streaming server) which will allow you to use the QuickTime plugin for the browser for streaming support and is also free.
If you absolutely must use Windows Media, you can do that through the integrated ACNS/IPTV package, but that's not, let's say, fully baked yet. -
Having trouble using windows media player in a browser
Everytime I try to open streaming video in Safari I get an error message, sometimes I get "Cannot open the file. Verify that the path and filename are correct and try again" and sometimes "error creating unique tmp file". I have installed wmp I don't know how many times but I just can't get rid of this. I tryed this in my friend's mac and it worked fine but mine is giving me trouble. I have also tryed this in other browsers like Omniweb, firefox and even Internet explorer (internut exploder), what can I do?
I do not know why it works on one Mac and not another. From a Microsoft Bulletin:
Playing protected files
Content providers can protect Windows Media files from unauthorized playback by using a technology called digital rights management (DRM). A Windows Media file that has been assigned digital rights is called a "protected file."
To play a protected file, you must obtain a license (a kind of electronic key) from the content provider. In many cases, the Player can acquire a license for you automatically when you attempt to play the file. In other cases, the content provider may not issue you a license until you pay a fee or provide additional information.
Although it is usually possible to play protected files by using Windows Media Player 9 Series for Mac OS X, in some cases you may encounter one of the following issues:
* The Player displays the error message "Cannot open the file. Verify that the path and file name are correct and try again." In this case, verifying the path and file name will not solve the problem.
* A Web page is displayed that informs you that you should upgrade to a newer version of the Player. In this case, you already have the latest version of Windows Media Player for Mac OS X, so upgrading will not solve the problem.
In both cases, there is no way to resolve the issue, and you won't be able to play the file.
However, I have sometimes been able to extract the url for the media file from the page source and put it directly into WMP and then been able to listen to it. -
Java Application + Flash / Win Media Player.
Hey Guys,
I am developing a video streaming application and wanted to integrate the Flash player in my code. I am not able to do it. I could load and open the player but couldnt play .swf file. Please advice / suggest / guide...
Bye,
Salil.SiddhayeFollowing is the sample code that I am trying to execute..by calling the Win Media Player
public static void main(String[] args)
String cmd = "C:\\Program Files\\Windows Media Player\\wmplayer.exe";
try
Process p = Runtime.getRuntime().exec(cmd);
OutputStream out = p.getOutputStream();
RandomAccessFile file = new RandomAccessFile("C:\\sample.wmv", "r");
// ByteBuffer buffer = ByteBuffer.allocate(SystemInfo.getInstance().getSizeOfChunk());
ByteBuffer buffer = ByteBuffer.allocate(200);
FileChannel channel = file.getChannel();
int n = 0;
int i = 0;
while ((n = channel.read(buffer)) >= 0)
byte[] b = new byte[buffer.array().length];
try
out.write(b);
out.flush();
System.out.println(b.length+" bytes flushed()");
Thread.sleep(7000);
//just to see if the playback stops due unavailability of data.
catch (Exception e)
e.printStackTrace();
catch(IOException e)
System.out.println("Error : " + e + "\n");
} -
Problem using Windows Media Player 10 to put music on my Muvo V
<FONT face=Century size=3>Please Help
I hvae just bought a Creative Muvo V200 GB. I have tried using Windows Media Player 0 to load songs onto it. It goes through the motions and syncs ok and when I check 'removable' on Windows Media it shows that the songs are on there. However when I turn the MP3 Player on it registers 'no music'
I tried wiping the player by downloading the firmware and starting from scratch but still get the same problem.
Just don't like the layout of Creative so would really appreciate some advice on how to fix Windows Media.
Thank You
EilishEilish wrote:
<FONT face=Century size=3>Please Help
I hvae just bought a Creative Muvo V200 GB. I have tried using Windows Media Player 0 to load songs onto it. It goes through the motions and syncs ok and when I check 'removable' on Windows Media it shows that the songs are on there. However when I turn the MP3 Player on it registers 'no music'
I tried wiping the player by downloading the firmware and starting from scratch but still get the same problem.
Just don't like the layout of Creative so would really appreciate some advice on how to fix Windows Media.
Thank You
Eilish
Thanks for that piece of information. Player is definitely working as I have about 20 songs on it through realplayer.
Put a folder of new songs on desktop and a shortcut to my Muvo V200 but when I try to drag and drop it won't let me. All songs on the Muvo are in the root folder. Am I doing it the proper way? I'm afraid I'm a bit moronic when it comes to computers so if you can be patient perhaps you might like to send it again to me idiot speak.
Really appreciate it
Eilish -
Using Windows Media Player, but my phone automatic...
Sorry the description is so confusing.
I have used Windows Media player successfully several times to transfer music to my Nokia 7510.
However, now whenever I plug into my computer, rather than allowing me to choose from 3 options, one of which is "PC suite" another "Media," and I'm not sure the third, it automattically chooses PC Suite. This makes it impossible to download songs.
How can I make it so that I have these three choices at the beginning again?
Thank you very muchCheck the English manual on page 41 about USB data cable connections.
http://www.nokiausa.com/get-support-and-software/product-support/nokia-7510-supernova/guides
‡Thank you for hitting the Blue/Green Star button‡
N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009
Maybe you are looking for
-
WLS 6.1 The transaction is no longer active...
Hello guys, I have a litle problem. We have an application deployed on WLS 5.1. It is working perfect for more than an year now. We recently migrated to WLS 6.1, which went pretty painlessly. The only problem I figured out is a transaction timeout on
-
Hp LaserJet 1200 won't print all pages
My hp laserjet 1200 has started acting strangely (or Mac OS) in that it sometimes, not always, fails to print the last page of a job, regardless of what program it is from. If it is a 6-page docuement, it only prints 5 pages, or 1 out of 2, etc. Anyo
-
How to know in an IDOC you are at the end of processing the EDIDD table?
I am fairly new to processing IDOCS. I am working with the user exit EXIT_SAPLVEDF_002. This is in the IDOC FM IDCO_OUTPU_INVOIC. I am working with SAP AFS (the IDOC is /AFS/INVOIC02 but is the same as IDOC INVOIC02 with added logic for AFS). I kno
-
User exit for Idoc_output_invoic
Dear Friends , I need to know which would be the best user exit to populate data for an SD invoice . This is triggered using vf01 transaction . I also need to populate data to the custom segment fields . My idoc type is INVOICE 02 . Thank you
-
Safari could not download the file "iTunes12.0.1.dmg" because there is not enough free disk space. How do i resolve this issue?