Questions tagged [fmj]

FMJ is an open-source project with the goal of providing an alternative to Java Media Framework (JMF), while remaining API-compatible with JMF. It aims to produce a single API/Framework which can be used to capture, playback, process, and stream media across multiple platforms.

FMJ stands for Freedom for Media in Java. It is an open-source project. It's goal is to provide an alternative solution to Java Media Framework(JMF) and remaining API-compatible with JMF. It's goal is to provide a single API/Framework to capture, playback, process, and stream media across multiple platforms like Windows/Mac/Linux.

Features:

  1. You don't need to install FMJ like you do in JMF. just use the libraries.
  2. It is opensource.
  3. Its api is compatible with JMF.
  4. FMJ is API-compatible with JMF, thus you can use existing JMF codes and run them.
  5. You can request or add features in FMJ.

If you are interested in FMJ:

17 questions
25
votes
6 answers

Video playback in Java ( JMF, Fobs4JMF, Xuggler, FMJ )

I need simple video playback in Java. Here are my requirements: PRODUCTION QUALITY Open and decode video files whose video and audio codecs can be chosen by me. I.E I can pick well behaving codecs. Be able to play, pause, seekToFrame OR seekToTime…
ksullivan
  • 496
  • 1
  • 7
  • 12
7
votes
3 answers

FMJ Webcam capture example

I've been searching for while now and I can't find a simple example of how to capture a webcam stream with FMJ. Are there any tutorials or examples available which could help me?
Alexander Stolz
  • 7,454
  • 12
  • 57
  • 64
2
votes
2 answers

Can an example be provided on how to stream an audio file with FMJ or JMF in Java

I have been looking for about 2 days for an example on how to do RTP streaming in FMJ or JMF that can be picked up through a browser or through a media program like VLC. Any help would be appreciated!
Hogofwar
  • 51
  • 8
2
votes
2 answers

Is it possible to capture high res web cam images in java?

I am trying to take photos with my web cam, and I'm having some difficulty trying to find a solution in java. I've successfully set up FMJ and have my streaming video, but I want to take a photo, not video frame-grab. My web cam says it's 1.3MP, and…
Stephen
  • 19,488
  • 10
  • 62
  • 83
2
votes
2 answers

Java FMJ is not cross platfrom ? How can it be fixed?

I was trying to use FMJ (for windows/linux/mac). Where JMF was not working for me (so decided to work with FMJ as it is cross platform). But when ever i am trying FMJ it never works, where you can see the difference in the screen shot. Note: I have…
user285594
2
votes
2 answers

Java video cross platform is a nightmare, is there any freedom for this?

What actually exist to solve Java Video ? It does not work in my linux box, JMF cant detect even my webcam. ex: https://i.stack.imgur.com/Vic0o.png JMF - works in Mac, i guess no ? Cause in CentOS/Fedora it does not detects my Video camera. FMJ - ?…
user285594
2
votes
1 answer

Problems creating an RTP stream with JMF

I'm at the very early stages of a project requiring the broadcasting, using RTP, of a DataStream created from a MediaLocation. I'm following some example code which currently failingin on the rptManager.initalize(localAddress) with the error "Can't…
Nick
  • 6,967
  • 2
  • 34
  • 56
2
votes
1 answer

No capture devices found in FMJ

Previously I was working with JMF, but JMF need to be installed, but I don't want to add this overhead. That's why I want be moved to FMJ. And FMJ is opensource. :) There is some sample example given with FMJ source. And there is a FMJStudio, from…
shibli049
  • 528
  • 12
  • 31
1
vote
1 answer

FMJ not working on initial download

I've written some application code using JMF, but would like to switch to FMJ to make delivery easier. Unfortunately, on my Windows 7 laptop (where JMF works fine once installed), I downloaded fmj-20070928-0938.zip, uncompressed it, and ran…
Robert
  • 164
  • 1
  • 12
1
vote
1 answer

How to capture audio AND video with FMJ

I can capture video and audio separately, but the createMergingDataSource method of the javax.media.Manager class in FMJ just throws an UnsupportedOperationException. Is there another way to capture audio and video and encode them in AVI (or any…
1
vote
2 answers

Creating a YUVFormat instance

I would like to create a jmf/fmj YUVFormat instance for a dynamically created CaptureDevice using YUV420. I am confused as to what the values are supposed to be for strideY, strideUV, offsetY, offsetU, and offsetV. Only the following constructors…
Paul Gregoire
  • 9,715
  • 11
  • 67
  • 131
1
vote
1 answer

Difference Java Media Framework API and FMJ

I want capture the data from scanner, camera, USB camera for all operating systems. What is difference between Java Media Framework API and FMJ? Which API is better? Update Is there any possible to capture the data from scanner using JMF?
user1357722
  • 7,088
  • 13
  • 34
  • 43
1
vote
1 answer

How do I get started with FMJ in Eclipse?

I am planning to build a program that deals with Streaming of audio over a network. For this project, I choose to use FMJ. However, I can't manage to even start. I haven't imported many libraries before, and there is practically no information…
Amanoo
  • 43
  • 1
  • 6
0
votes
1 answer

FMJ Video Capture in Java

I'm trying to capture video from a webcam connected via usb, but for some reason FMJ can't load or find the registry file. When I try to run my program, every call to a FMJ function produces the warning: [time] net.sf.fmj.utility.Registry…
Benoir
  • 1,244
  • 10
  • 10
0
votes
2 answers

What is the difference between YUVFormat.YUV_420 and ColorSpace.YUV420?

I have searched through and have read a ton of sources, but I cannot seem to find an answer. I thought these "types" were equal, but when I decode h264 into bytes using jcodec I assumed the data output was YUV 4:2:O Planar (YUV420P); this is the…
Paul Gregoire
  • 9,715
  • 11
  • 67
  • 131
1
2