Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (533)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  play a wmv in java  (Read 3193 times)
0 Members and 1 Guest are viewing this topic.
Offline aNt

Senior Member




AFK


« Posted 2005-09-07 13:36:03 »

anyone no a way of doing this? jmf dont work and indeed qtj cant play wmv being its m$ mumble.
Just wondered if anyone has worked out or no's a way to play wmv in Java action....

ta
Offline princec

JGO Kernel


Medals: 342
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #1 - Posted 2005-09-07 22:16:22 »

It should work in jmf, but it doesn't by default ISTR... you need to tell it that .wmv is a known filetype or somesuch using that setup tool that comes with it.

By God it's useless.

Cas Smiley

Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #2 - Posted 2005-09-09 03:03:39 »

JMF would have been so cool if it was debugged and supported... they have the beginnings of something good and then they let it rot.

WMV is complex and quite propritary.  You will have to use native code that interfaces with microsoft's codec to play it.  Technically JMF with the platform specific native libs should be able to do that.. but no doubt it is hosed somehow.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline aNt

Senior Member




AFK


« Reply #3 - Posted 2005-09-11 15:47:41 »

i added it as a mine type.. but it didnt want to no Sad.. take it theres no native mumbles already nocking around?
Offline princec

JGO Kernel


Medals: 342
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #4 - Posted 2005-09-11 16:49:57 »

I used NCTVideoControl activeX controls to play video in Windows after I basically failed to get JMF working. Cost $500 or something. I use it for video playback into GL textures. It's a neat bit of kit. I wrote a JNI wrapper around the bits I needed for it.

Cas Smiley

Offline William Denniss

JGO Coder


Projects: 2


Fire at will


« Reply #5 - Posted 2005-09-13 15:32:59 »

What we really need is a java wrapper for MPlayer which can play just about all files in all operating systems (e.g. I can watch WMV on mac).  Pity MPlayer has a restrictive GPL license though.

Will.

Offline jcrjavagames

Innocent Bystander





« Reply #6 - Posted 2005-10-11 06:17:50 »

From my understanding of the jmf it doesn't support wmv files.

I'm not uptodate on java programming but you might get around the problem by making a call to your desktop browser, the browser would then automatically run the wmv file.

Another way around is to convert the wmv file to another format: avi or mpeg or mov.  There would probably be a loss in quality but if you're streaming over the internet it might not be noticed.

Hopes this helps.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

pw (24 views)
2014-07-24 01:59:36

Riven (24 views)
2014-07-23 21:16:32

Riven (18 views)
2014-07-23 21:07:15

Riven (21 views)
2014-07-23 20:56:16

ctomni231 (50 views)
2014-07-18 06:55:21

Zero Volt (45 views)
2014-07-17 23:47:54

danieldean (36 views)
2014-07-17 23:41:23

MustardPeter (39 views)
2014-07-16 23:30:00

Cero (54 views)
2014-07-16 00:42:17

Riven (55 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!