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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • How to invoke widgets using Javafx

    Hi,
    Can anyone please say how we can invoke widgets from a javafx code?
    Please help.
    Any help in this regard will be well appreciated with points.
    Warm Regards,
    Anees

    If you follow this link , you can see the example of a widget.
    [http://eco.netvibes.com/export/blog/230491/google-news|http://eco.netvibes.com/export/blog/230491/google-news]
    We can use this widget in an html, by just inserting the code given there in our html page.
    Instead of an html page, I want to use this code and display it in a container as shown in the examples in the link [https://docs.google.com/Doc?id=dfzrknk_33gvv8z2f4&hl=en|https://docs.google.com/Doc?id=dfzrknk_33gvv8z2f4&hl=en]
    I need to do this using javafx.
    This is my exact requirement.
    If I am not cllear with any portion of my question, please say.
    Regards,
    Anees

  • How to create editor using JavaFX

    Hi all
    I had scenario like this , I want to develop SCADA Editor(did any one known this :: refer this site http://openscada.org/) which is Control Monitoring Systems in industry,
    Its like editor and we having controls on left side.. we can drag n drop those controls to editor. we can edit those controls property as well..
    Now consider one can create project for their machinery controling system using this project.. By drag n drop controls edit its property and save it and run the their project.. this idea..
    we tried this project in JavaSwing and its close to end.. but one more task has assigned that we need to develop under javaFX.. Is this possible to develop in this.. Im Brand new to JavaFX, Can any one having idea is most welcome.. I need some suggestions.. Expecting reply thanks in advance,

    As Galien said, if you just want to play a song this already ocurrs in parallel (in other thread). But for other application you can use utilities in javafx.async package.
    Look here:
    [http://java.sun.com/javafx/1.3/docs/api/javafx.async/javafx.async.JavaTaskBase.html]
    [http://java.sun.com/javafx/1.3/docs/api/javafx.async/javafx.async.Task.html|]
    public-read def task: Task = Task {
                override public function start(): Void {
                    println("Task started!");
                override public function stop(): Void {
                    println("Task stopped!");
                onDone: function () {
                    println("Task done!");
            }Remember that the Task is the superclass for common JavaFX services like HttpRequests, RssTask and others.
    For swing like asynchronous actions look at method deferAction in FX utility class:
    [http://java.sun.com/javafx/1.3/docs/api/javafx.lang/javafx.lang.FX.html]
    Regards

  • How do i use multiple threads( very much real time), using JavaFX?

    I'm creating an application, using JavaFX because one can create awesome GUI using JavaFX. I need to know how to create real time multiple threads using javafx.
    JavaFX doesn't support creation of multiple threads, but i think there is another way of doing it. I need it work in real time as my application works with an hardware (wacom intous 3 tablet), and i need mutiple threads to get all the parameters from the stylus of the tablet simultaneously...
    any code which will help me out or explaination on how to go about this is appreciated...
    Help required quickly...

    See example at
    [http://jfxstudio.wordpress.com/2009/06/09/asynchronous-operations-in-javafx/|http://jfxstudio.wordpress.com/2009/06/09/asynchronous-operations-in-javafx/]

  • How to create a muli line text area using JavaFx

    Hi all,
    Since the preview SDK does not contain TextArea any more, I am wondering how to create a muli line text area using JavaFX. The behaviour of this text area/field should be somehow similar to JTextArea in Swing or StyledTextWidget in SWT.
    Does JavaFX have any support for this? What would be a sensible approach to create such a widget?
    Thanks for your suggestions,
    br michael

    This is a pretty old thread (I know I came across this while searching for something similar recently), but I figured I'd throw this out there in case other people might find this useful. As I write this, JavaFX's latest version is 1.3... which may have added the needed functionality since the last post.
    You can now create a multi-line text area using a TextBox and by specifying the nubmer of lines and setting the "multiline" value to true. It may not offer all of the same functionality as JTextArea, but it did the job for what I needed... newlines by pressing enter, scrollbar if text surpasses height, etc.
    Here's a simple example:
    Group {
       content: [
          TextBox {
             text: "This is a multi-line textbox"
             lines: 10  // <-- this may/may not be necessary depending on your situation. Default is 5.
             multiline: true
    }Edited by: loeschg on Jul 29, 2010 2:59 PM

  • How to video via email using flash media playback setup?

    How I can send video via email?  I send every week an email that contain a link to WMV file on our website.  I am trying to send the same thing using flash media player. Here the html generated via flash media playback setup and will not display in an email.  Any advise
    <object width="400" height="400"> <param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf"></param><param name="flashvars" value="src=http%3A%2F%2Fwww.4GodIsLove.com%2F%2FTV%2FFlash%2FLydua_Fares_Elhaana.flv"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true"  width="400" height="400" flashvars="src=http%3A%2F%2Fwww.4GodIsLove.com%2F%2FTV%2FFlash%2FLydua_Fares_Elhaana.flv"></embed></object>

    salma_salma wrote:
    Thanks Janaki but how can I add a new application? I tried to do it using Flash Media Administration Console but it doesn't work
    Hi Salma,
    To add an application to FMS follow the below steps
    1. Create a folder "my_app" under "$InstallRoot\applications" directory.
    2. For simple server side code... add "main.asc" file inside "$InstallRoot\applications\my_app" directory which has the content like
    application.onConnect = function(clientObj){
         trace('onConnect function");
         return true;
    3. To add streams to the application, creates 'streams' folder inside "$InstallRoot\applications\my_app" directory, within that create '_definst_' folder and then place your FMS supported streams within the directory. So your streams for the 'my_app' application will be at "$InstallRoot\applications\my_app\streams\_definst_\mystream.flv".
    You can connect to this application using the url "rtmp://your_server_name/my_app". To play the stream mystream.flv using video player, use the url "rtmp://your_server_name/my_app/mystream.flv".
    Regards,
    Janaki L

  • FCPX: In Event Library: how to know if a video was used in the timeline of Final Cut Pro X?

    In Event Library: how to know if a video was used in the timeline of Final Cut Pro X?
    An example: In Premiere Pro, the whole video is added to the timeline identified as used in their video library. Facilitating our work on a big project, not to repeat videos. You can do this in FCPX?

    The way it works in FCP:
    Working from the Timeline Index, you can see lists of all clips in the sequence and their location in the timeline.
    You can also do a search (kevn) to narrow the results.
    Russ
    hth.
    Russ

  • How do I create/host interactive articles with embedded video for use in browsers?

    I'm seeking a little guidance -
    How do I create/host interactive articles with embedded video for use in browsers?
    The aim is to bring together video, design, images and writing in one place. A little like Born Presents, but very accessible and user friendly.
    I'm happy using InDesign but want to create interactive articles / magazines that have embeded video files as required. I've been looking at .SWF files but I've come unstuck.
    I want people to view the articles via a blog, ideally with them opening in a lightbox style viewer. It's not intended for tablet viewing and people should be able to view and interact with the files with little effort on their part.
    I think I know how to create these files within InDesign, but I'm not so hot on web design and I'm not sure how to host these online. Does this start coming into the realms of Flash?
    If anyone could point in the right direction I'd really appreciate it - Thank you in advance.

    PDF is one thing. Folios for DPS is another. There is a little bit of
    overlap but not much.
    The interactivity in the folio overlays panel is for DPS only.

  • How are you currently using video with marketing automation?

    I manage an educational site through Brightcove called Video Marketing Academy. I would like to create a course to tackle the challenges of using video with a marketing automation platform. I’d love to know how you are currently using video with marketing automation, what your results have been, and what are some of the challenges that you are running into?
    I understand some of this maybe platform specific, but I would like to understand the challenges and help from a strategy and best practice perspective.
    videomarketingacademy.brightcove.com

    Well you certainly hit some good ones. When it comes to marketing automation I'm always game for more flexibility with anything, for instance I would love to have more conditional options on form processing conditions, and I know that has nothing to do with video but it goes to your answer, anyway that you can give a marketer more flexibility with filters or conditions or what not the better when it comes to lead scoring, campaign options, and reporting the better.
    If one could integrate Video reporting into Eloqua I think that would be cool, I know that would be very challenging because of how Eloqua reporting works, but it would make it a one stop shop which isn't bad, 

  • How can I continue listening to a YouTube video while using another app?

    How can I continue listening to a YouTube video while using another app?

    How can I continue listening to a YouTube video while using another app?

  • How stream Video at host, at me site using Adobe Flash Media Streaming?

    Please help me how stream Video at host, at me site using Adobe Flash Media Streaming? With using localhost and my ip I can just watch streaming in my computer. How should i configure my server to watch streaming at my site?
    Please help!
    Thank you!

    Petro,
    I have chacked code and changed src.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
    <title>SWFObject 2 static publishing</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <script type="text/javascript" src="scripts/swfobject.js"></script>
    <script type="text/javascript">
    swfobject.registerObject("flashId", "9.0.0", "flash/expressInstall.swf");
    </script>
    </head>
    <body>
    <div>
    <object width="600" height="409"> <param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback_101.swf"></param><param name="flashvars" value="src=http://192.168.100.4/hds-live/livepkgr/_definst_/liveevent/livestream.f4m&poster=http%3A%2 F%Fosmf.org%2Fimages%2Fposter_cathy_fmp.jpg&autoPlay=true"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://fpdownload.adobe.com/strobe/FlashMediaPlayback_101.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true"  width="600" height="409" flashvars="src=http://192.168.100.4/hds-live/livepkgr/_definst_/liveevent/livestream.f4m&poster=http%3A%2 F%2Fosmf.org%2Fimages%2Fposter_cathy_fmp.jpg&autoPlay=true"></embed></object>
    <!--<![endif]-->
    </object>
    </div>
    </body>
    </html>
    But anyway I am facing same problem as I wrote already. I can see streaming just in my computer. From other computers it's writing error log. What should I do? Maybe I am trying to stream video at my site in a wrong way? I am using Adobe flash media Live Emcoder with Adobe flash Media Server 4.5. In my computer everything works fine. But I can't stream to otyer cimputers. Please help.

  • I'm new to after effects--I want to scale up a H.264 video file using bicubic. How do I do that?

    I'm new to after effects--I want to scale up a H.264 video file using bicubic. How do I do that?

    Here is detail about the bicubic sampling option added in After Effects CC (12.0):
    http://blogs.adobe.com/aftereffects/2013/06/bicubic-resampling-for-improved-scaling-and-ot her-transformations-in-after-effects.html
    As Rick says, you can get even better results for many videos (though at the expense of longer processing time) using the new Detail-Preserving Upscale effect added in After Effects CC (12.1):
    http://blogs.adobe.com/aftereffects/2013/09/after-effects-cc-12-1-whats-new-and-changed.ht ml

  • How pinnacle can be used for streaming video for mac app?

    How pinnacle can be used for streaming video for mac app?

    Hi naturalfemale,
    As mentioned in the referring article, closed captioning content has to be specifically added/enabled to a video for closed captioning to function:
    Additional Information
    Not all videos include caption or subtitle tracks. Check the documentation for the video you are using to see if it includes these features.
    OS X: Using captioning features in Mavericks
    http://support.apple.com/kb/HT5910
    At the moment, I do not believe there is an option for universal captioning.
    Regards,
    - Brenden

  • How to record video for use in IMovie?

    Hello. I'm new to MAC & IMovie, and I would appreciate knowing how to capture my video recordings using my USB linked video camera, instead of FaceTime. I would like to record a series of videos, and then import them and edit them in IMovie. Thank you.

    Hey videoiq2014!
    Here are the instructions for achieving this goal:
    iMovie (2013): Record video with the FaceTime HD camera
    https://support.apple.com/kb/PH14675
    While the title of this article is meant for the FaceTime camera, in step 2, the article instructs you to choose the camera you wish to record with. In this step, you should choose your USB camera. Thanks for coming to the Apple Support Communities!
    Regards,
    Braden

  • How to combine video clips into one video clip using FCPX

    I typed this into the search engine but could not come up with anything. How do you combine Video clips into one Video clip using FCPX? Thanks in advance.
    Gar

    The simple answer is to put the clips together in a project in the desired order and export (oops, the new word is share [YUK!]) a master file.
    But maybe you should say a little more about the clips to determine whether the answer I've given is relevant to yor situation.

Maybe you are looking for