Capturing vfw: devices from JMF All Java

Hi There,
i am new to java.I have a problem that i am unable to capture devices that are vfw:/ devices from jmf registry.
I am working on jmf for all java i.e. cross platform...
If any one is having sollution plz send it to me
Thanks in advance
Sanket Parekh
[email protected]

Hi There,
i am new to java.I have a problem that i am unable to capture devices that are vfw:/ devices from jmf registry.
I am working on jmf for all java i.e. cross platform...
If any one is having sollution plz send it to me
Thanks in advance
Sanket Parekh
[email protected]

Similar Messages

  • Not able to recognize any video/audio devices using jmf and java soun

    Hi ,
    I need one help from your side.
    Here I am expecting some clarifications from you. Before that let you my environement.
    My working environment :
    Eclipse tool and added jmf jar to my project I did not do any thing more.
    If any thing I need to do just let me know. My target platform is MAC & UBUNTU.
    Please bare with my questions.
    1) I am not able to recognize any video/audio devices using jmf and java sound APIs on My system.
    ( I checked with the app mentioned in the http://www.java-forums.org/new-java/11201-jmf-cannot-connect-device.html )
    Do we need any administrives rights for our working PC.
    What is the procedure/ setup I need to follow from a java application to enable particular audio/video device since I dont about end-user system setup right.
    If possible send some sample code to recognize /r detect audio device ( voice input ). It should run on both MAC and UBUNTU.
    2) I run the one sample audio recording application of this link (http://www.jsresources.org/examples/SimpleAudioRecorder.java.html) which is provided by YOU.
    I got output audio file and able to hear voice on UBUNTU system but not able to hear voice on MAC system.
    I heared that default line in ( audio setup of the sys) is wont take any voice data on MAC.Why I made this stmt means we are getting false when using isSupported methods of JAVA SOUND API.
    ( like for TragetdataLine ...i,e, all ports are getting false)
    I have one sample audio recording app implemented by QUICKTIME API. In this case also he taking audio ftom device only using quicetime API.
    With that we are able to record and hear audio ( voice input --> not line in , external device we added some thing like SSB...)
    3) In case of Video capturing DataSource, Streams are implemented by PullBufferDataSource , PullBufferStream intefaces used.
    In case of Audio capturing DataSource, Streams are implemented by PushBufferDataSource, PushBufferStream intefaces used.
    Can you explain the reasons ? I gone through API but i am not clear.
    HOPE I WILL BE CLARIFIED EVERY THING FROM YOU.
    Thanks
    RamaRao.G

    Hi ,
    I need one help from your side.
    Here I am expecting some clarifications from you. Before that let you my environement.
    My working environment :
    Eclipse tool and added jmf jar to my project I did not do any thing more.
    If any thing I need to do just let me know. My target platform is MAC & UBUNTU.
    Please bare with my questions.
    1) I am not able to recognize any video/audio devices using jmf and java sound APIs on My system.
    ( I checked with the app mentioned in the http://www.java-forums.org/new-java/11201-jmf-cannot-connect-device.html )
    Do we need any administrives rights for our working PC.
    What is the procedure/ setup I need to follow from a java application to enable particular audio/video device since I dont about end-user system setup right.
    If possible send some sample code to recognize /r detect audio device ( voice input ). It should run on both MAC and UBUNTU.
    2) I run the one sample audio recording application of this link (http://www.jsresources.org/examples/SimpleAudioRecorder.java.html) which is provided by YOU.
    I got output audio file and able to hear voice on UBUNTU system but not able to hear voice on MAC system.
    I heared that default line in ( audio setup of the sys) is wont take any voice data on MAC.Why I made this stmt means we are getting false when using isSupported methods of JAVA SOUND API.
    ( like for TragetdataLine ...i,e, all ports are getting false)
    I have one sample audio recording app implemented by QUICKTIME API. In this case also he taking audio ftom device only using quicetime API.
    With that we are able to record and hear audio ( voice input --> not line in , external device we added some thing like SSB...)
    3) In case of Video capturing DataSource, Streams are implemented by PullBufferDataSource , PullBufferStream intefaces used.
    In case of Audio capturing DataSource, Streams are implemented by PushBufferDataSource, PushBufferStream intefaces used.
    Can you explain the reasons ? I gone through API but i am not clear.
    HOPE I WILL BE CLARIFIED EVERY THING FROM YOU.
    Thanks
    RamaRao.G

  • Is possible capture quotes stream from a running java application?

    Running from webstart the following jnlp code:
    <?xml version="1.0" encoding="utf-8"?><jnlp spec="1.0+" codebase="http://powertrade.intesatrade.it/T3"> <information> <title>IntesaTRADE T3 Demo</title> <vendor>IntesaTRADE</vendor> <description>IntesaTRADE T3 Demo</description> <description kind="short">IntesaTRADE T3 Demo</description> <icon href="http://powertrade.intesatrade.it/T3/T3-Demo.gif"/> <offline-allowed/> </information> <security> <all-permissions/> </security> <resources> <j2se version="1.4+" href="http://java.sun.com/products/autodl/j2se" initial-heap-size="36m" max-heap-size="256m"/> <property name="it.soltec.ibox.iblog" value="1,1"/> <property name="it.soltec.ibox.Demo" value="YES"/> <jar href="http://powertrade.intesatrade.it/T3/tcubelib/T3_1di6.jar" /> <jar href="http://powertrade.intesatrade.it/T3/tcubelib/T3_2di6.jar" /> <jar href="http://powertrade.intesatrade.it/T3/tcubelib/T3_3di6.jar" /> <jar href="http://powertrade.intesatrade.it/T3/tcubelib/T3_4di6.jar" /> <jar href="http://powertrade.intesatrade.it/T3/tcubelib/T3_5di6.jar" /> <jar href="http://powertrade.intesatrade.it/T3/tcubelib/T3_6di6.jar" /> <jar href="http://powertrade.intesatrade.it/T3/tcubelib/sg.jar" /> <jar href="http://powertrade.intesatrade.it/T3/tcubelib/liba.jar" /> <jar href="http://powertrade.intesatrade.it/T3/tcubelib/chart.jar" /> <jar href="http://powertrade.intesatrade.it/T3/tcubelib/ITCharts.jar" /> </resources> <resources os="Windows"> <nativelib href="http://powertrade.intesatrade.it/T3/tcubelib/native.jar"/> </resources> <application-desc main-class="it.soltec.ibox.client.IBoxClient"> <argument>1221555803176U</argument> <argument>classeContratto=ITRAD</argument> <argument>pushServerControlUrl=http://push.intesatrade.it/tpush_control</argument> <argument>pushServerUrl=https://push.intesatrade.it/tpush</argument> <argument>serviceHttpAddress=http://powertrade.intesatrade.it</argument> <argument>serviceHttpsAddress=https://powertrade.intesatrade.it</argument> <argument>servicePingPath=/T3/pool.html</argument> </application-desc> </jnlp>
    a java streaming quotes platform is launched.
    Is there any way (winsock,API,etc...) to capture the data offered by the java platform?
    Thanks

    In Applescript, when you compile the code, the app must be running. If it's not, then it will start.
    When you run the script, InD doesn't have to be started first. You could have some Finder actions happen, then InD starts at the needed time when it's actions occur. You can have an if/then statement that only requests InD to do an action only if other circumstances are met. You do not even need to tell application InD to launch, just the first tell app statement will do it.
    I do not know how things work in Javasc or VB.

  • Problem-Capturing Remote device in JMF

    Hi,
    Iam new to this application.Iam able to capture Audio and Video from my system.anyone can tell me how to capture audio and video from remote system.
    Please anyone help me....
    Thanks..

    Thanks for ur reply.
    but iam not running code in remote system.
    Please can u explain more about running of code in remote machine.
    For this i have to use applets or it is enough java classes itself.
    I tried to capture using Applet from servlet but it is giving Exception when opening datasink.The exception is java.security.AccessControlException: access denied (java.io.FilePermission C:\Program Files\Apache Tomcat 4.0\webapps\VideoChat\jsps\testcam.mpg read).
    Please explain more about this.
    Thanks....

  • Image capture from avi vfw device can't find video modes

    Hello
    Here my issu, i have implemented image capture from a video device using jmf 2.1.1e performancepack, using a webcam everything is fine but when i use the video capture source i want to use i can only work with format 720x480 pal and i require 720x576 pal.
    jmf seem not to reconize video format from this source, but the video is correcty displayed and image correctly captured. I'm surprised it is half working:decoding&render is ok to but not format choice.
    I have check it is not because i'm in ntsc mode (ntsc is 720x480) because my analogic source is pal and color are correct (if with device software i change to ntsc mode i have a black&with but using jmf i'm in color so i'm in pal mode)
    Difference bettween the webcam and my device is that my device is an avi encoder so in jmf webcam is javax.media.format.YUVFormat and my device com.sun.media.format.AviVideoFormat
    i have tried many thing:
    install codec pack (divx6, another codec pack)
    try to use Fobs4JMF
    register in JMStudio IBMdecoder, jffmpeg
    Tanks for any help
    the device support many configuration UYVY 235x288 352x576 .... 720x576 but JMF offer only 1 video mode for this device.
    here in jmf my capture device info:
    Name = vfw:Microsoft WDM Image Capture (Win32):0
    Locator = vfw://0
    Output Formats---->
    0. com.sun.media.format.AviVideoFormat
    UYVY, 720x480, Length=691200 0 extra bytes
    and with a web cam:
    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 = 460800 DataType = class [B yuvType = 2 StrideY = 640 StrideUV = 320 OffsetY = 0 OffsetU = 307200 OffsetV = 384000
    1. javax.media.format.RGBFormat
      RGB, 160x120, Length=57600, 24-bit, Masks=3:2:1, PixelStride=3, LineStride=480, Flipped
    2. javax.media.format.RGBFormat
      RGB, 176x144, Length=76032, 24-bit, Masks=3:2:1, PixelStride=3, LineStride=528, Flipped
    3. javax.media.format.RGBFormat
      RGB, 320x240, Length=230400, 24-bit, Masks=3:2:1, PixelStride=3, LineStride=960, Flipped
    4. javax.media.format.RGBFormat
      RGB, 352x288, Length=304128, 24-bit, Masks=3:2:1, PixelStride=3, LineStride=1056, Flipped
    5. javax.media.format.RGBFormat
      RGB, 640x480, Length=921600, 24-bit, Masks=3:2:1, PixelStride=3, LineStride=1920, Flipped
    6. javax.media.format.YUVFormat
      YUV Video Format: Size = java.awt.Dimension[width=160,height=120] MaxDataLength = 28800 DataType = class [B yuvType = 2 StrideY = 160 StrideUV = 80 OffsetY = 0 OffsetU = 19200 OffsetV = 24000
    7. javax.media.format.YUVFormat
      YUV Video Format: Size = java.awt.Dimension[width=176,height=144] MaxDataLength = 38016 DataType = class [B yuvType = 2 StrideY = 176 StrideUV = 88 OffsetY = 0 OffsetU = 25344 OffsetV = 31680
    8. javax.media.format.YUVFormat
      YUV Video Format: Size = java.awt.Dimension[width=320,height=240] MaxDataLength = 115200 DataType = class [B yuvType = 2 StrideY = 320 StrideUV = 160 OffsetY = 0 OffsetU = 76800 OffsetV = 96000
    9. javax.media.format.YUVFormat
      YUV Video Format: Size = java.awt.Dimension[width=352,height=288] MaxDataLength = 152064 DataType = class [B yuvType = 2 StrideY = 352 StrideUV = 176 OffsetY = 0 OffsetU = 101376 OffsetV = 126720[/i]

    I have find some information at l'article http://archives.java.sun.com/cgi-bin/wa?A2=ind0111&L=jmf-interest&P=22779
    but i didn't find "sample programs on the JMF Solutions page" which is about VFWDeviceQuery
    so i have trouble with point 2 so this article.
    I have try to rewrite VFWDeviceQuery:
    i just have add dimension 720x576 and "UYVY" in the variable declaration, then compile and replace VFWDeviceQuery .java in jmf.jar in but it is not working)
    I miss information on what to do on VFWDeviceQuery to try more
    About jmf soucre file, i have used the source file jmf-2_1_1e-scsl-src but i have some package missing such as com.ibm.media.codec.audio.BufferedEncoder ...
    so i can't use debugger on all jmf package and check how VFWDeviceQuery is working.
    if someone have information about please help me:
    - "sample programs on the JMF Solutions page" about VFWDeviceQuery
    - how to rewrite VFWDeviceQuery to support UYVY
    - how to compile entier jmf source files
    V.

  • How detect capture device without jmf&java client pc ??

    hi...
    a computer install jmf & java => detect catpure device
    but... no detect capture device without jmf & java clientpc...
    however solved this problem?
    plz...
    thanks..
    email : [email protected]

    You must hard code a dependent platform code to examine the registry or its similar in linux.

  • I have multiple devices backed up to the same computer each with different data. how do i keep them from syncing all data when i back up or transfer stuff from the computer to a device?

    i have multiple devices backed up to the same computer each with different data. how do i keep them from syncing all data when i back up or transfer stuff from the computer to a device? one is an iphone 6 and the others are ipad mini first gens, each ipad has 64gb and the iphone has 128, need to keep the data seperate as they are not all mine

    Itunes content and pics are NOT part of the backup that itunes performs.
    Backing up, updating, and restoring iPad, iPod touch, and iPhone software
    You should transfer any purchases from iphone regularly:  File>Transfer Purchases  , if they fail to be transferred when you sync.
    You buy one and only one download.  It is your responsibility to move/copy/backup your purchases.
    You can try contacting itunes support and asking for an exception, but they are under no obligation to allow.
    http://www.apple.com/support/itunes

  • HT3819 If I have to load the same apple id on all devices to use home share, does that preclude each device from using a second apple id and does that constitute a separate Itunes db or something?

    If I have to load the same apple id on all devices to use home share, does that preclude each device from using a second apple id and does that constitute a separate Itunes db or something?

    Welcome to the Apple community.
    Only one of your libraries needs to use your iTunes Store Apple ID for home sharing. Your other computers can use their own ID for iTunes, so long as they use the same ID as all of the devices on the network for home sharing.

  • I have an iPod, iPhone and iPad all set up to a Dell laptop. I recently got a Macbook Pro, how do I transfer all my control for my devices from the Dell to the MacBook?

    I have an iPod, iPhone and iPad all set up to a Dell laptop. I recently got a Macbook Pro, how do I transfer all my control for my devices from the Dell to the MacBook?  Can anyone help?

    http://www.apple.com/support/switch101/
    http://www.macworld.com/article/1153952/superguide_switchingtoamac.html

  • How do I deactivate all the activations of my PocketBook device from my digital ID

    I have a reader PocketBook IQ701. When I started to move borrowed books tro the device, I moved the ACSM file to the device directly and then opened the file on the device. I was asked to enter ID, and authorization was OK, but the book was not readable. I had to reboot the device, to start over. I did this or similare a couple of times before I got the message "E_ACT_TOO_MANY_ACTIVATIONS". Then I found out to start (the right way) from the PC with digital editions, but when I tried to authorize the device, I again got the message "E_ACT_TOO_MANY_ACTIVATIONS ...". How do I deactivate all the activations of my PocketBook device from my ID.
    I have used another email-adress to create a new Digital ID, and used this to make it work, but I would rather use my own email adress, which I also use with my smartphone and the Bluefire reader.

    Digital Editions help people are supposed to be able to reset your
    counters.  However, you have to be persistent - this is NOT a problem that
    will be resolved if you buy HELP time because the product is free.  And
    most of the tech's I've talked to won't do anything because they've been
    set up to do product support for those Adobe products that you pay money
    for.
    Be persistent.....
    ===============

  • How do I stop all of my devices from ringing when a call comes in

    How do I stop all of my devices from ringing when a call comes in

    Use a different iCloud account on each device.
    Don't use iCloud at all.
    Disable Bluetooth.
    Don't connect to the same wi-fi network on all the devices.
    Go to Settings > FaceTime and turn it off.
    Go to Settings > FaceTime on the devices and disable 'iPhone Cellular Calls'.
    Any of these will work, but the last one is probably best.

  • Up until the ios7 upgrade I could track all our family's devices from my 3GS, now since upgrading on the iPhone 4S and 5 I can't track them as they come up as 'offline'! And inactive on my icloud id added on the devices!! Please advise.

    Up until the ios7 upgrade I could track all our family's devices from my 3GS, now since upgrading to ios7 on the iPhone 4S and 5 I can't track them as they come up as 'offline'! And inactive on my icloud id that added on the devices!! Because I. can't upgrade to ios7 on my 3GS is that why, or do I need to do something else on each device?

    It's possible that installing iOS7 on the other devices made the setting to the default for "Find My Friends". The default is off/disabled. Thus they are off line.
    Double check their settings for that feature.
    KOT

  • Deleted all Java-related files from system

    Hello there, community!
    This issue will make me look like a dummy, but here it goes. Basically it is what I did yesterday, I erased all Java-related files from my computer for hideous reasons, now before considering a reinstall, I'd like to know whether there is a solution to this problem. My recovery partition still has Mavericks installed, which is weird, seeing as I am on Yosemite already.
    Basically most apps won't start, and that includes Finder, App Store and every other major app/resource I might need to use for a recovery.
    I tried to re-download Java from Oracle website and JDK, but .dmg files won't run either.
    I'm trying to look for as many solutions as possible before I do a recovery, because again, I don't have a Time Machine, and hope there will be a solution as I have lots of work to finish.
    Any type of help will be welcome!
    Mid-2011 iMac 21.5, Mavericks 10.10.1

    Hello EdNKh,
    Welcome to the Apple Support Communities!
    I understand that you are trying to reinstall Java but cannot get the .dmg to run. With the information you provided in your post, I would suggest using the information in the attached article to reinstall OS X Yosemite. Reinstalling with this information will keep your files and settings intact. 
    OS X Yosemite: Reinstall OS X
    Have a great day,
    Joe

  • I bought  an iphone 5 second hand and was told all i had to do was sync it with itunes i did all that but previous owner hasn't removed the device from their account, i am unable to contact them..can anyone tell how i can start using my phone pls

    i bought  an iphone 5 second hand and was told all i had to do was sync it with itunes i did all that but previous owner hasn't removed the device from their account, i am unable to contact them..can anyone tell how i can start using my phone pls

    Fanta Pants wrote:
    i bought  an iphone 5 second hand
    The Apple ID and Password that was Originally used to Activate the iDevice is required.
    If you cannot get this information from the seller
    Removing a device from a previous owner’s account
    You need to return the Device for a refund, as you will not be able to re-activate it.

  • WHen I put music onto my devices I will have some songs that will play, while others will be grey and can not be played....also I find that when I purchase an album from iTunes all songs from the album will not be downloaded...

    WHen I put music onto my devices I will have some songs that will play, while others will be grey and can not be played....also I find that when I purchase an album from iTunes all songs from the album will not be downloaded...

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                       
    If necessary
    You can redownload most iTunes purchases by:
      Downloading past purchases from the App Store, iBookstore, and iTunes Store

Maybe you are looking for

  • Microsoft Windows.   Adobe Flash Player 11.5 r502 has stopped working

    downloaded latest update. Installation ot complete. Constantly getting this error message: Microsoft Windows.   Adobe Flash Player 11.5 r502 has stopped working A problem caused the program to stop working correctly. Windows will close the program an

  • I can only import HDV with Apple Intermediate Codec!!!!

    Hello, I want to get to the bottom of this. I have HDV film shot on a DV tape. I cannot import this HDV footage, it appears to be importing, but the moment I hit "escape" to stop capture, I realize nothing was actually importing. I usually end up wit

  • Where is the file menu on podcasts for the ipad?

    I want to subscribe to something not on podcasts shop, but I need to enter the URL.  I already know the URL but I can't find the location of the file menu.  I want to know the location of the file menu for he IPAD, not Mac.  And I don't have a Mac la

  • BAPI_TRANSACTION_COMMIT  in select

    Hi Gurus, I've written following code select * from ztable perform create_bom. endselect in create_bom ive written a bapi to create bom and immediatley calling BAPI_TRANSACTION_COMMIT. However the program crashes giving dump saying that i cant have c

  • Inaccurate Pricing Calculation

    Hi All, I have set Master Price for material A as USD 337 per Car. One CAR includes 12 EA. I made a sales order including 5 EA of this material A. With manually calculation, the condition value of these 5 EA material A should be  USD 140.42. However,