JMF; Video watermarking in java?

Can any one suggest me how to proceed for this problem?
Input is quicktime file. A watermark should be added to the video track (this can be a small black square in the upper left hand corner of the screen, or something more elaborate). The watermarked movie is output to a new Quicktime file.

Is n't that qtjava out of JMF? i mean it looks like it has got its own packages of Apple

Similar Messages

  • Newbee : jmf video in full java ?

    Hello,
    I am trying to develop with the jmf technology. I tried to see quicktime movies with jmstudio. Failure. Of course I can see these movies with VLC or mplayer.
    Then I tried with the jmf for linux, so some of quicktime movies are seable with jmstudio.
    So my questions are :
    - Is it possible to have a full java video player? If yes : which file format and which CODEC ?
    - Do you tools to convert movies into this format ? (I try ffmpeg but without success)
    - Is it possible to select the video track or the sound track in this kind of movie ?
    - Is it possible to have the size (200 * 300) of the video track ?
    Thanks for any pointers
    PHL.

    You might want to start by posting question in the correct subforum...
    This forum is for mobile application development.
    If this IS the correct forum, I suggest you take a look at the available mobile api's. JMF, Swing and I realy have no clue what Java Server Faces would have to do with video playback...

  • Video watermarking in java?

    Can any one suggest me how to proceed for this problem?
    Input is quicktime file. A watermark should be added to the video track (this can be a small black square in the upper left hand corner of the screen, or something more elaborate). The watermarked movie is output to a new Quicktime file.

    I'm guessing you'll have to go through the video (grabbing each frame) and draw your watermark on every single image.

  • Compressing video files via Java ?

    Hi All,
    Is there any well know API/library for compressing video files like (*.flv, *.mkv , *.avi ) etc via java.
    Google just gave me a few but if some has used/recommend some that would be great.
    thx

    RainaV wrote:
    Is there any well know API/library for compressing video files like (*.flv, *.mkv , *.avi ) etc via java.First off, there is a difference between a file format and a video compression. All of those things you listed above are file formats, and have nothing to do with compression...
    Not sure if FLV files support multiple kinds of compression, but AVIs do. You can have anything from an uncompressed RGB-encoded AVI all the way to a DIV-X encoded AVI.
    But to answer your actual question, no. Java is extraordinarily bad at video compression (because Java doesn't support any sort of hardware acceleration), so the best you're going to find in Java is a Java wrapper for some native encoding library... an example of such a thing would be JMF (which doesn't support FLV or MKV files) or FMJ (which I think supports damned near everything as it wraps around FFMPEG).

  • How jmf  video dispaly  using javafx

    i want to place a video in applet by javafx,the idea can work?
    var myMedia: Media = Media {
    source: "http://sun.edgeboss.net/download/sun/media/1460825906/1460825906_2957290001_DayEarth-Bluray.flv"
    the media only from a file ,is it a stream , Capture from Device?
    please give me some suggestion,thanks
    Edited by: alading on Jul 9, 2009 12:38 AM

    captfoss wrote:
    alading wrote:
    i tested
    var dlist:Vector=CaptureDeviceManager.getDeviceList(new VideoFormat(
    VideoFormat.YUV));
    System.out.println(dlist.size());//0
    result =0, that say can't CaptureDeviceActually, no, it says that you havn't previously run JMRegistry to detect capture devices, there are no capture devices present, none of the capture devices present support YUV formatting, JMF isn't installed correctly, etc...first i am very happy friends forcus the topic,Actually,I had Installed jmf, Captured the video successfully using applet
    Name = vfw:Microsoft WDM Image Capture (Win32):0
    Locator = vfw://0
    Output Formats---->
    0. javax.media.format.YUVFormat
    YUV Video Format: Size = java.awt.Dimension[width=640,height=480] MaxDataLength = 614400 DataType = class [B yuvType = 32 StrideY = 1280 StrideUV = 1280 OffsetY = 0 OffsetU = 1 OffsetV = 3
    1. javax.media.format.YUVFormat
      YUV Video Format: Size = java.awt.Dimension[width=160,height=120] MaxDataLength = 38400 DataType = class [B yuvType = 32 StrideY = 320 StrideUV = 320 OffsetY = 0 OffsetU = 1 OffsetV = 3
    2. javax.media.format.YUVFormat
      YUV Video Format: Size = java.awt.Dimension[width=176,height=144] MaxDataLength = 50688 DataType = class [B yuvType = 32 StrideY = 352 StrideUV = 352 OffsetY = 0 OffsetU = 1 OffsetV = 3
    3. javax.media.format.YUVFormat
      YUV Video Format: Size = java.awt.Dimension[width=320,height=240] MaxDataLength = 153600 DataType = class [B yuvType = 32 StrideY = 640 StrideUV = 640 OffsetY = 0 OffsetU = 1 OffsetV = 3
    4. javax.media.format.YUVFormat
      YUV Video Format: Size = java.awt.Dimension[width=352,height=288] MaxDataLength = 202752 DataType = class [B yuvType = 32 StrideY = 704 StrideUV = 704 OffsetY = 0 OffsetU = 1 OffsetV = 3
    Edited by: alading on Jul 10, 2009 8:06 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Video Conferencing using java

    hi,
    i am developing video conferencing project using JMF.
    and using AVReceive2 and AVTransmit2.
    i am able to send and receive audio and video between two pc's where one transmits and one receives.
    but how to use AVReceive2 and AVTransmit2 for more than two pc's when any one doesnot have information that other user is transmitting.
    What i mean is that when one user wants to connect to another user then how can second (receiver) know that someone is sending him data.
    Basically when to run the AVReceive2 program on second PC..

    hello anyonebaris,
    Am currently working wid this topic of audio video conferencing using java.....N i wud be glad if u wud try helping me out....
    I wanted to find out the actual function the server performs while the audio video transmission is going on in a JMF based platform ...Am using java 1.5 ...n JMF 1.2.1...
    Is the server monitoring the clients and how..??..what function is it performing while establishing the link between the two clients...??
    .....................Plz try 2 help me out....
    ---------Thanx in advance

  • * JMF Video Server Codec *

    I have added another example to http://www.exactfutures.com/index02.htm which is an Effect that does nothing at all to the video data stream! However, do see below.
    Add it by setCodecChain (see example source TestEffect.java), and then whether you are running a webcam or video you will see no difference in the display or speed.
    To test on a PC you can hit on run.bat and then it may find your webcam to run TestEffect.
    Otherwise, to use for a video track, just set the final codec in setCodecChain to the ServerEffect Codec, and include ServerEffect.class and ServerEffect$SvrControl.class and ServerEffect$clientThread.class in the classpath or application directory.
    So what does this Effect actually do?
    If once running you use your web browser to find http://localhost:8080/any.jpg then JMF will serve it a jpeg. Further, if you load http://localhost:8080/ and hit the link, or just hit http://localhost:8080/camapplet.htm directly, then an applet will pop up streaming the source jpegs.
    This can also stream video over a LAN if localhost is replaced with the IP address. If you try this over a network (adjust your firewall and/or router and/or security settings) then one can achieve good results, especially given the simplicity.
    The code to view the output of this JMF Video Server Codec is like for any other such stream, it does not need JMF, and there are Axis video server cam examples on this forum or elsewhere.
    I have added this because it offers an alternative to using RTP (although one can still use that alongside for the audio if required). It may not be as fast as RTP, although with improving broadband speeds that is becoming less of a issue, but it is simpler and robust.
    It is also interesting to see how such a simple plug in can add such useful further functionality. It may help someone. Enjoy.

    write a codec for jmf that accepts, i think rtp type 96 and something else, look in log files, answer is there

  • Jmf video fps problem

    Hi to all,
    I'm developing a program that takes frames from a video, which are currently working on a jmf player object, and display them with jogl in a GLJPanel. the video is 30 fps. But my display function is called 20 times per second. Therefore I'm loosing some of the frames and video cannot be seen smoothly. I guess that the problem is due to the jmf player's frame rate, because it is the only thing that triggers jogl display function. What I want to know is if there is a way of displaying a 30 fps jmf video by jogl bindings and if yes how? I'm taking the current frame and displaying it as a texture within the display function. Is it ok for my application?
    I will be glad if anyone can help me..Thank you very much.

    Two things you should know:
    1) You can't play ANYTHING in AE.  It's not an editing application, and it doesn't work like one... as in, "push the spacebar and video plays".  Nope.   You have to do a RAM Preview by hitting the zero key on the numeric keypad.
    2) You'll save yourself days of frustration and anger by learning the basics, which can be found here:
    Getting started with After Effects (CS4, CS5, CS5.5,  CS6, & CC)

  • JMF video streaming

    Hi all,
    I want to use JMF video streaming api but I have no idea how to do it.
    I want to create several "agents" where each agent streams a single video to a certain ip address . (actually i want each agent to stream to the same computer)
    I want in my application (not the agents applications) to capture each of these streams and display each of them seperately.
    How can this be achieved with JMF ?
    thx.

    no one ????

  • Video lessons about java

    Hi,
    have someone ever seen video lessons about java?
    Can you give me links of video resource ?
    Thanks in advance!

    http://video.google.com/videosearch?q=java&page=1&lv=0&so=0

  • JMF Video Capture in Vista

    Hey all,
    I have done a lot of searching on this matter, but most of the threads are old. I am wondering if there has been any updates or if this issue has been solved in any way.
    I am trying to create an applet that captures an image from a webcam. I created the applet, using sample code found somewhere on these forums, and it works perfectly. I modified it to take 6 screenshots instead of 1 when the Capture button is pressed, and that works perfectly. However, when I developed this I was at work (Windows XP). When I got home and attempted to test my work further I got the following error:
    java.lang.RuntimeException: No permission to capture from applets
    java.lang.RuntimeException: No permission to capture from applets
    javax.media.NoPlayerException: Error instantiating class: com.sun.media.protocol.vfw.DataSource : java.lang.RuntimeException: No permission to capture from applets
         at javax.media.Manager.createPlayerForContent(Manager.java:1362)
         at javax.media.Manager.createPlayer(Manager.java:417)
         at javax.media.Manager.createRealizedPlayer(Manager.java:553)
         at lib.snapshot.applet.Snapshot.init(Snapshot.java:68)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)I read, through these forums and searching google, that IE is in a sandbox in Vista, which makes signed applets only able to access java related data and certain temporary directories, rather than the whole system like other OS's. However, we have other signed applets that create directories in Program Files folders, download files from the server, etc that work fine in Vista, so that makes no sense. Also, I have disabled Protected Mode on my my machine and turned all security measures off, to no affect. Also the same thing happens in Firefox.
    Has anyone found a way around this for Vista? Does anyone know of another easy to use java API for doing this that works in both Vista and XP? Has anyone who has encountered this problem ended up developing something similar in another language (flash, etc)?
    I require this applet for taking snapshots for a project for my job. I had preferred Java, because our other applets are all Java and I didn't want to mix techonologies too much. But if there is no way to do this in a stable way for both Vista and XP, then I will have to look at other languages.
    Thanks for the help.
    Bryan

    compbry, the fundamental problem is that Vista is 3 years old and the latest releast of JMF is like, 5 or 6 years old. So, there's nothing in the realm of "Vista compatibility" for JMF.
    That said, to my knowledge no one has ever gotten JMF to capture video from inside an applet in Vista, JMF installed on the computer or not.
    However, if you have JMF installed, you can easily run a JMF web-start app that will work just fine in Vista, that would allow you to do whatever it is you're needing to do.
    But if you're going in a different direction, I'd suggest looking at the Adobe Flex API. It's free and from what I've researched about it, it makes webcam and microphone capture damn easy. If you've got a decent web server that will allow you to do ColdFusion or (can't remember the term for it, but you can write Java code that will run on-demand on the web host that your Flex application can talk to to do stuff like upload the images, etc...), it should be a relatively easy and short as far as LOC is concerned, minus of course the learning curve associated with learning something new (which is why I've only researched it, but I would've played with it too had I had a "decent webserver" ;-)

  • JMF video capture on OS X?

    Hello,
    is it possible to somehow do video capture under JMF? I use Mac OS X on Macbook Pro. I have found Quicktime for Java, but I would rather avoid using proprietary QuickTime APIs and work with portable JMF API. When I run JMF studio, I only see audio capture device.
    Juraj.

    You should take a look at the hardware requirements and supported formats for the cross platform version of JMF.
    http://java.sun.com/products/java-media/jmf/2.1.1/formats.html
    http://java.sun.com/products/java-media/jmf/2.1.1/requirements.html
    Be aware that JMF does not have its own video format, but supports proprietary formats like Quicktime.
    regards

  • Jmf video capture

    Hi iam new in jmf. The jmf alredy detected the capturing device , but not capturing video. only showing a black screen.while setting its parameters(RGB..) getting the error message "could not inetialize capturiing device". i am using windos xp.

    Interesting read on JMF on wikipedia here
    http://en.wikipedia.org/wiki/Java_Media_Framework
    The article states:
    Many JMF developers have complained that it supports few codecs and formats in modern use. 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. [3] While the performance packs offer the ability to use the native platform's media library, they're only offered for Windows and
    Solaris, the latter rarely used as a desktop OS. Furthermore, Windows-based JMF developers can unwittingly think JMF provides support for more
    formats than it does, and be surprised when their application is unable to play those formats on other platforms.
    Another knock against JMF is Sun's seeming abandonment of it. The API has not been touched since 1999, and the last news item on JMF's home
    page was posted in November 2004.
    While JMF is built for extensibility, there are few such third-party extensions.
    Furthermore, editing functionality in JMF is effectively non-existent, which makes a wide range of potential applications impractical.

  • Jmf video capture in an Applet

    Hello
    I use netBeans 6.9.1 and would like to use JMF and the webcam capture JMF function in my applet
    but Iget a no permission error see below
    How can I get out of that?
    Thank you
    Fred
    Public class SourceCam extends java.applet.Applet implements Runnable {
    public int wmax,hmax,ix, x1, y1, x2, y2,y3,y4=0;
    public double yc1=0.0,yc2=0.0, yc3=0.0,yc4=0.0,yc5=0.0,yc6=0.0;
    Color colors[] = new Color[50];
    int[] couleur=new int[50];
    Thread runner;
    Frame f=new Frame("Stimulated Polarized Light @FF ");
    public static Player player = null;
    public static MediaPlayer MediaPlayer1=null;
    public CaptureDeviceInfo di = null;
    public MediaLocator ml = null;
    run:
    java.lang.RuntimeException: No permission to capture from applets
    java.lang.RuntimeException: No permission to capture from applets
    javax.media.NoPlayerException: Error instantiating class: com.sun.media.protocol.vfw.DataSource : java.lang.RuntimeException: No permission to capture from applets
    at javax.media.Manager.createPlayerForContent(Manager.java:1362)
    at javax.media.Manager.createPlayer(Manager.java:417)
    at javax.media.Manager.createRealizedPlayer(Manager.java:553)
    at org.me.light.SourceCam.init(SourceCam.java:58)
    at sun.applet.AppletPanel.run(AppletPanel.java:424)
    at java.lang.Thread.run(Thread.java:662)

    I did that already
    i.e. what is written in
    Q: Can I capture audio or video from within an Applet with JMF 2.1.1?
    By default (for security reasons), JMF 2.1.1 does not allow capture from an applet. The user can turn this on by using JMFRegistry.
    Run "java JMFRegistry", select the UserSettings tab and check "Allow Capture From Applets". If the browser's security permits loading native libraries, then you will now be able to capture audio/video from an applet.
    but the program lines
    try
    player = Manager.createRealizedPlayer(ml);
    FormatControl formatControl = (FormatControl)player.getControl("javax.media.control.FormatControl");
    Component co = formatControl.getControlComponent();
    Thread.sleep(2000);
    player.start();
    give always the same error
    java.lang.RuntimeException: No permission to capture from applets
    java.lang.RuntimeException: No permission to capture from applets
    why?
    I am working inside the netbeans 6.9.1 editor

  • JMF video load

    Hi guyes
    # i want to make in java a programm which firstly plays up a video intro (mgp or mp3 data)
    i am new in JMF and have really no idea about it.
    I am trying to make the game "Million Show" if you know it!?
    and there i want to put in the intro of it but i really dont know how.. :(
    after hours of searching programms and tutorials in google i need to give up. plz help me.
    i have already installed the JMF (http://www.oracle.com/technetwork/java/javase/tech/index-jsp-140239.html --> Download JMF --> i hope that was the right, or?).
    (i am working with NetBeans IDE 6.9.1
    would someone be that nice to send me the code please(how to import a mpg data and play it)?
    ;)

    Beni wrote:
    but how can i stop und close the player after the video has end?You need to do your own homework to figure out how JMF works... I'm not going to answer any more questions you could look up.
    The player will stop playing automatically when the video ends...and you can listen for an EndOfMedia event to automatically close the player.

Maybe you are looking for

  • "No connectivity with the server" error for one document but not the other, in the same document library

    We have a number of users all of a sudden getting "No connectivity with the server.  The file 'xxx' can't be opened because the server couldn't be contacted." errors trying to open MS Office docs (Word, Excel, etc.) in SharePoint with IE, just by cli

  • ESS:WebDynpro Based Personal Information iviews.?

    Hi All, I am configuring ESS Personal Information. Using Ecc 5.0 , mySAP ERP 2004 60.2 ESS BP and EP6.0. Has anybody configured WebDynpro based Personal Information for country specific India version( country code:40)..Am able to get ITS based Person

  • AsyncOS 6.3.5-015 for Web

    We are currently running 6.3.3-015 but are running /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes;

  • Dynamic query with wild card

    Hi, I have a table1 like below Id (NUMBER) , Keyword (VARCHAR2) 1,A 2,B 3,C another table2 name(VARCHAR2) Alice Bob Jack I need to write a stored procedure to check whether name of table 2 mactched any of the keyword char of table1. How to I write dy

  • When I go to update apps says Apple I'd disabled

    NNeed help when I go to update my apps or get a app says apple I'd disabled what do I do???