To send video file with JMF

Hi�
I making an application that it needs to send a video file (of a server to a client). I implemented this using the mechanism of RTP implemented for the JMF. My server sends the archive, that my customer only shows the video for the half and does not appear the bar of control of time in player. And, later that client receives all the data (and she does not show, by the way), the user do not obtain to attend again what it finishes to receive� Somebody could help me in this? Necessary that my customer if holds of similar form to the Youtube. That is, he goes loading and showing how much he has, leaving, the user to manipulate bar of time of player e, also, leaving the user to again attend to the video if thus wanting�
Tanks...

Presumably, you're using the following sample code to create the AVI:
[http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/JpegImagesToMovie.html]
And you're using the following sample code(or something similar) to send the AVI via RTP:
[http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/VideoTransmit.html]
Regardless, instead of creating a DataSource from a MediaLocator that points to your AVI file, you can just use the DataSource that's generating the AVI files, and make that be the DataSource that's driving your RTP session.

Similar Messages

  • To Decode and play  MPEG-2 Video files with JMF

    Hi ALL,
    I amin serious trouble with a problem. I am developing a Simulator, a function of which is to decode MPEG-2 Video files in real time and play it as well.I have got a MPEG-2 Decoder implemented in C from an open source and need to integrate with my Simulator which is writtebn in Java. The integration part I am doing via JNI(Java Native Interface). Now I have a bunch of C files in MPEG-2 decoder which are to be compiled during the Execution of the Java Simulator.Can anybody give some idea about how to call multiple C files from the Java Source through JNI at one go? Another problem I am facing is in calling a single C code from the traditional "HelloWorld" Java Code itself. The problem comes when I am trying to compile the shared library between the C native code and Java Code in my Linux Machine...I am getting the following message:
    /usr/lib/gcc-lib/i386-redhat-linux/2.96/.../../../crt1.0 : In function '_start' :
    /usr/lib/gcc-lib/i386-redhat-linux/2.96/.../../../crt1.0(.text+0x18): undefined reference to 'main'
    collect2: ld retrurned 1 exit status

    Duplicate; reply to http://forum.java.sun.com/thread.jsp?forum=54&thread=478434

  • Play sdp file with JMF

    Hi,
    I have a Darwin Streaming Server(DSS) running on a machine, that reflects several broadcasts from other machines (I'm broadcasting to the DSS with JMF).
    I can see all the videos and audio without any problem with Quick Time, but I can't find a way to play the sdp files with jmf. I've searched the web for jmf and sdp, and there isn't much information, i've also tried to play with JMStudio..no luck. In the JMF solution there aren't any samples for SDP files....
    If I can't find a way to do it, I'll use Quick Qime 4 Java, the only problem is that there isn't a linux implementation :(
    Thanks in advance.
    Best regards,
    ANeto

    Hi,
    I have read all the mails on the JMF interest group regarding the Broadcaster and DSS.
    Well i too am trying to do a similar application. This is an Application
    Casting program basically to share my desktop with the other person sitting
    across the network using my client. And in order to multicast this, i am
    looking at using Darwin Streamng Server.
    The whole idea here is that i break the desktop image up into frames and
    then compress them and then send it over, protocol used here is TCP/RTP/UDP.
    I am trying to hit this stream of packets to DSS so that it can be accessed
    else where over the internet. I'm trying to under stand the basic
    authentication mechanism DSS uses, so that i can create the .sdp file and
    transfer it over to the DSS, which can further be accessed by any client
    that can understands sdp.
    As i read in the mail some of you were able to create the .sdp file with your custom built boradcaster and send it to DSS if i am not wrong.
    I have tried this with Mpegable Broad caster as you said.
    Now the problem i had was to create .sdp file with my application and push it to the DSS.
    So have you made some kind of a documentation or can you give me an idea as
    to how i can go about this. Or it will be even better if you can share the code with me.

  • Wifi sharing video files with Samsung HDD/Blu Ray player

    How do I find my Samsung BD/HDD player and send video files to it? The manual says I need to download 'PC Share Manager' (yuk) surely I can just hunt for it on the network?
    It's def connected, cos it's picking up stuff off the internet, but I want it to talk to the Mac!
    Thanks,
    Tim

    No, there is no connection on the back of the C6500 to connect with the iPhone. You would also have to activate a tethering account ($25 per month) with AT&T if it was physically possible.

  • How to send multiple files with it's original name over HTTPS using one CC?

    I am working on a File to HTTPs scenario. It is in production and working fine. Currently we send only one file and I have hard coded the name in the communication channel in the header fields. Now we have to send more files with different names and I want to use only one receiver channel instead of many. We need to send the files with their original names.
    I used the ASMA in the sender File Adapter and I see the FileName in the dynamic configuration under http://sap.com/xi/XI/System/File name="FileName".
    I know we can use a UDF in message mapping and get the value and put it in HEADERFIELDONE. But we don't want to use mapping as the files are huge and we don't want to insert XML tags in the payload.
    So how do I put the Filename from the DynamicConfiguration to the HTTP header field as FileName without using mapping? Are there any settings?
    Can I put something in the PROLOG or can I use any other module in the File Sender Adapter or is there any other option?
    Any help is appreciated.
    Thanks
    Sai

    See my blog:
    /people/stefan.grube/blog/2009/06/19/unknown-use-case-of-dynamicconfigurationbean-store-file-name-to-jms-header-without-mapping
    You have to put the configuration in sender channel, as HTTP adapter does not allow modules.
    For the second module, put values related to HTTP adapter.

  • How do i make a still image (photo) fit the length of the music? I record music and want to put the tracks to a video file with a still image of my business logo in the background. Any help?

    How do I make a still image (photo) fit the length of the music? I record music and want to convert the tracks to a video file with a still image of my business logo in the background. On windows movie maker you could just select "fit to music" but this program isnt as easy to figure out! Any help?

    Double-click on the still image in the project timeline to open the Inspector. In the Inspector, adjust the duration by typing in a new duration to match the length of your music. I think the limit for a still image is 10 minutes. If you need more than this, simply drag the image into the timeline again then adjust its duration. The two images will play seamlessly (no gap will be visible).
    See this iMovie Help topic:
    http://help.apple.com/imovie/#mov3a883915
    You can achieve more precision when entering durations by changing a preference in the menu item iMovie Preferences. Check (tick) the preference for Show Time As HH:MM:SS:frames. This will enable you to enter the duration of stills down to the frame level, rather than full seconds (NTSC is 30 frames per second; PAL is 25 fps). When entering times, type a colon between each time segment, such as 2:50:15, which represents 2 minutes 50 seconds and 15 frames. For 5 seconds 20 frames you would enter 5:20 and so forth.
    Note that the music will only run to the length of the video in the timeline (in your case, the still images). So, after increasing the stills duration you will need to drag the end of the music track as far as required. The stills can be dragged inwards to reduce the duration if necessary.
    John
    Message was edited by: John Cogdell - added Note

  • How can i make a picture from a video file with final cut pro x?

    how can i make a picture from a video file with final cut pro x?

    Go to the "share" menu, select "save current frame"

  • AOL mail doesn't send .doc-files with Firefox

    When using Firefox AOL Mail doesn't send .doc-files. Instead a corrupted file with a different size is sent. Any other file type works aswell as sending .doc-files with other browsers works...

    I'm getting a similar problem. Snow Leopard Mail for me seems to be choking on large attachments - sending them, forwarding them, or even moving them from one IMAP folder to another.
    My mails are getting through, but it takes a long time and they are dragging the whole system to a crawl in the process.

  • I have a problem with the mac can not read video files with the extension IMOD. How can I solve this problem?

    I have a problem with the mac can not read video files with the extension IMOD. How can I solve this problem?

    By doing a Google search. 

  • Sending XML Files with Certificate

    Hello everybody.
    I need develop an abap program for sending XML files with a certificate.
    How I can create this certificate?
    Somebody have an idea?
    Thank you everybody.
    Nelson

    Mikael,
    This sounds like one of the many quirks (perhaps bugs) related to how FrameMaker handles non-FM files in books. The current book model doesn't play well with XML files as chapters and this seems like yet another problem. Apparently, if an xref does not target another .fm file in the book, Frame assumes that the target file is not in the book and therefore will not be in the book PDF.
    There have been discussions here about this in the past. The solution that I use is to run an API client before publishing that converts all XML files to .fm files, and redirect all xrefs appropriately. Then, book features work as expected and PDFs come out as normal. This is not feasible, however, without the automation from the API client.
    There may be some who would say that the best approach is to use XML and books the way that the designers did account for... that is, the whole book becomes an XML document with entity references to the separate chapters. In my work, though, this model was not appropriate... rather, I needed a binary FM book to act like a book, except with XML files as chapters. So, I think I understand your situation.
    Is API programming or FrameScript an option for you? I think it may be the only way to get what you are looking for.
    Russ

  • Unable to send video files

    i have Lumia 820.. And I am unable to send video files through gmail as well as WhatsApp.. Please help me out Asap..

    There may be a limit on gmail on how large an attached file can be, often the limit is around 5mb, all you can do is use a file sharing site like dropbox or use skydrive or googledrive to upload the video & then send the link to the file via email.
    hth,

  • Trying to convert video files with an extension of IDI_DVD to digital files itunes and imovies can read can someone help me

    Can someone please tell me how I can convert video files with an extension of IDI_DVD to a file itunes and imovie can read? Thanks.

    Thanks for the reply, The files are on a DVD disk. I coverted my family VHS tapes to digital dvds using an HP Media Centre PC five or more years ago cant remember the program but if I get info on the disk ,on the Mac it tells me the extension is IDI_DVD.

  • Can I move ninety video files with their keyword tags from 'My Catalogue' into another catalogue?

    Can I move ninety video files with their keyword tags from 'My Catalogue' into a another catalogue?

    Nyinyikay a écrit:
    Can I move ninety video files with their keyword tags from 'My Catalogue' into a another catalogue?
    Two problems :
    1 - You can't merge catalogs in PSE
    2 - The usual workaround is to 'write metadata to files', export the files and 'get' them into the other catalog. But you can't write metadata to files with video files.
    The only thing you could do would be to duplicate the catalog and delete all pictures other than your ninety videos...

  • Is there a way to use my branding when sending a file with Adobe Send?

    Is there a way to include my logo in the message with Send files?

    Hi dporterphotography,
    The branding feature isn't available in Send just yet, but it is planned for a future release. In the meantime, you're welcome to send your file, with branding, using Adobe SendNow. You can log in to SendNow at https://sendnow.acrobat.com/signin.html using the same Adobe ID and password that you use for Send.
    Best,
    Sara

  • Compressing the wav file  with JMF

    Hi Guys,
    Any one of you know about how to compress a wav file with jmf.Please its very urgent.
    Thnaks
    Jast

    Specify a compressed encoding for the audio output format. You'll have to enumerated the supported formats on the output track to finds out what's available to you. In Windows, JMF should be able to use the available system codecs. First try transcoding a wave file in JMStudio to see what works.

Maybe you are looking for

  • Report error in WebSource.

    Hi guys, Happy New Year to ALL..... i build one report and save as .jsp format.i am creating a report block for the web report. In the web source view i selected Edit>Find & Replace .As per the document i just replace it.At that time it shows the fol

  • Pop-ups that won't go away no matter what

    Hello, I am lookinf for a solution: my children went on a torrents dowload site. They downloaded some tv shows. I ended up with lots of pop-up windows everywhere and on some web pages there are highlighted words (in green) that are itself pop-up wind

  • What do I do if my iPhone screen is slightly purple and it wont go away?

    What do I do if my iPhone screen is slightly purple and it wont go away?

  • Forums URL

    Would be possible to change the URL for the Arch forums to "forums.archlinux.org"?  I find that the current "bbs.archlinux.org" doesn't seem fitting, given that the AUR is "aur.archlinux.org" and the wiki is "wiki.archlinux.org".  Unless "bbs" has a

  • What is the maximum number of movies in iTunes?

    Hi iTunes People, I have 4073 entries in my iTunes MOVIES library.  I cannot add any more titles to the library.  Is there a maximum number of movies allowed in the iTunes movie database - or what?  This is not a disk space issue - it is specifically