JMF video formats

Hey all,

I’m trying to write a video player using JMF (Java Media Framework). I’m able to get MP3s to play, so I know I’m on the right track, but testing video playback is impossible because with every video I have it cannot read the format.

Are there any files out there it should work with?

I looked on wikipedia and it says “Many JMF developers have complained that the JMF implementation supplied in up-to-date JRE’s supports relatively few up-to-date codecs and formats. Its all-Java version, for example, cannot play MPEG-2, MPEG-4, Windows Media, RealMedia, most QuickTime movies, Flash content newer than Flash 2, and needs a plug-in to play the ubiquitous MP3 format.”

Googling JMF it says…

JMF 2.1.1 supports a wide array of media types, including

* protocols: FILE, HTTP, FTP, RTP
* audio: AIFF, AU, AVI, GSM, MIDI, MP2, MP3*, QT, RMF, WAV
* video: AVI, MPEG-1, QT, H.261, H.263
* other: HotMedia

*MP3 is supported only on the Windows platform.

So maybe an H.263 video contained in AVI?

Just a guess, I’ve never used it.

I’ve found one in that very format, and indeed, it works. I’d been Googling for an hour or more, so thanks for your keen Google-fu skillz!