Created clone doesn't work??

Thank you for your attention.
I am doing a project on transmiting video and audio from a server to some clients. It works well on trasmission, but I would like to show the visual component on the server computer during transmission and I get trouble in here.
My original method is use medialocator "vfw://0" to form a DataSource. And then use this DataSource to form its clone. I use the original DataSource to create player for visual component. On the other hands, I use the clone to combine with audio DataSource to form a merged DataSource for transmission. However, as the result, the transmission is fail in this case.
If I use clone as player for visualcomponent and original datasource for transmission, the transmission works well but the visualcomponent is fail.
Can anyone give me some advices??
My code in creating clone is as follows:
          try{
               vcDS = Manager.createDataSource(locatorV);
               if (vcDS== null) {
               System.err.println("Cannot create DS for VisualComponent.");
               System.exit(0);
               ds = Manager.createCloneableDataSource(vcDS);     
               if (ds == null) {
               System.err.println("Cannot clone the given DataSource");
               System.exit(0);
          } catch(IOException ioe){
                    System.out.println("IO Exception!");
          } catch(NoDataSourceException ndse){
                    System.out.println("No DataSource Exception!");          
          createPlayer(((SourceCloneable)ds).createClone());     
//           createPlayer(vcDS);     
          MergedDS = createMergedDataSource(locatorA, ds);
Cheers!!
Andrew

hi
andrew i worked on similar application, according to my knowledge
once the datasource is converted to cloneable datasource u must no longer use the original datasource , better create two clones and use them.

Similar Messages

  • Create Directory Doesn't Work!!! (stupid computers, mumble grumble)

    Ok, so maybe I'm an ass.... but this rather simple section of code to dynamically create a timestamped directory if it's not there, and not create it if it is, doesn't work.  I can't understand why it doesn't, but it doesn't.  Can someone please help me out, I've written a huge super complex imaging program and finished it this past sunday only to have the very last problem in the software be with this stupid save file routine!
    Thanks so much for the help!
    Jonathan
    Attachments:
    createnewdir.vi ‏18 KB

    Jonathon,
    When I run your VI on my Mac, I get a File not Found error from the File/Directory Info function. That error is fed into the New Directory function, which probably prevents it from running. I think the same thing will apply to other OSes, but I am not sure.
    Try putting a probe on the error in line inside the case structure and see what you get.
    Lynn

  • Packager Created App Doesn't Work On iOS 3.1.3

    I compiled an app from Flash CS 5.5 and tried installing through iTunes and I get an error saying a newer version of iOS was required. It seems odd that the packager doesn't support older iOS versions. Will I have to install CS 5 in order to get iOS 3 compatible apps?

    If you want one app to be able to work on old devices, but live with the older features and performance, and another version that uses the new features, and better performance, but only works on newer devices, then yes. As the new version would also allow you to use the Retina display, you could perhaps call it "HD", or something else that's different to explain why there are two different iPhone versions of the same app.
    If you currently have an app in the store that you're trying to update, then it will have to keep the old features and performance, you're not allowed to upload an update that drops support for devices that the earlier version supported. So again, you could have a new app that is named differently, that doesn't support the old devices.
    Any of the people who bought your earlier app and now want the new better performing Retina version, would have to pay again. You might think about having an incredibly good intro price, just so as to not upset those people too much.

  • New Site create - select doesn't work ok

    OS Vista Home Premium. Installed DW CS3 and when create new site and setting up folders, button select does not work ok. It point to the folder one up not the present one. If c:/root/image and I'm in image the select point to root.
    http://www.youtube.com/watch?v=iCiKtVMhS5Y Is it problem with DW or Vista ?

    Yup, I've had the same problem in CS3 and now CS4.  After much MUCH googling, the only thing I've found so far is that this problem developed for people after SP2 came out for Vista.  I haven't seen any fixes for it yet.  My only solution is to automatically create a folder inside the folder I want to use as my root....then I select that folder.  After going into that folder, the folder one level up, which is the one I want for my root is able to be selected.  After I get the folder I want set, I delete the dummy folder....or I name it images and use it as my image folder.
    Problem is, if I want to define a default image folder, or spry folder I have to make dummy folders inside those subfolders too.....its a real pain.

  • LV 7 Tree Control--Create Method doesn't work

    Just wondering if I broke something already or if this is a minor bug... when I try to create a method for a Tree Control I can only create the first five on the menu (non-control-specific) or the Double Click Method. These are all listed directly without sub-items while all other methods in submenus do not create a method when they are selected. Selecting them makes the menu disappear but nothing happens and there is not a method to place as is usually the case. The method can be created using a workaround--using one of the selectable methods (Double Click for example), then using the finger pointer to select a different method, but not by right clicking on a reference to the tree and trying to create method.
    Att
    ached is a screenshot--all items on the lowest level menu with an arrow to the right do not work.
    Attachments:
    nomethods.jpg ‏58 KB

    Congratulations. Looks like you found a bug... Probibly related to the submenus--don't remember methods having submenus before V7. In any case, you can also get at those methods if you drop down an invoke node from a palette and wire up the reference. Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Qosmio G30-117: WinDVD Creator 2 - created DVD doesn't work on DVD player

    Hi all, need help.
    When I create a DVD on WDVD2 all of the menus and the toggles work on a PC but not on any DVD players. They only work on a PC when I use the mouse and click. On a DVD player the arrow keys and play/enter dont work.
    Am I missing something?

    1.What type of DVD?
    2.If it is DVD-R(minus R) it will compatible with more than 90% of standalone DVD players
    3.If it is DVD +R,+RW compatibility is limited.
    4.I use DVD-R and -RW and so far no problems with dvd players
    5.I have done > 20 home DVD with win DVD creator 2 using toshiba Sonic record now with G20 to date without problems
    6.Make sure that you have AUDIO VTS and VIDEO VTS files on your created DVD
    enjoy
    min

  • CREATE ROLE doesn't work in master database

    Running the CREATE ROLE statement in master database as server-level principal gives:
    Msg 15247, Level 16, State 1, Server NNN, Line 10
    User does not have permission to perform this action.
    Running the same statement in user database succeeds. Is there a way to create a role in master database in SQL Database?

    Hi Martin,
    Thanks for reaching out. It is not possible to create roles in the logical master in SQL database. Some more information on user management in SQL database can be found here: https://msdn.microsoft.com/en-us/library/azure/ee336235.aspx
    Thanks,
    Jan

  • Creating RAID doesn't work using Disk Utility

    When I try to create a RAID in Disk Utility, the pair gets corrupted and I get an error - "couldn't find RAID".
    What is missing? Is there something else to install?
    I'm trying this on an external USB drive.

    I gave up.

  • I just restored my 13" MBP i5 at the apple store to the newest version of Lion after issues with a previous Time Machine backup from Snow Leopard- this time I created a new account and just ported files and folders, and now MS Office doesn't work. Help?

    I just restored my 13" MBP i5 at the apple store to the newest version of Lion after issues with a previous Time Machine backup from Snow Leopard- this time I created a new account and just ported files and folders, and now MS Office doesn't work.
    ^^ that's the main problem. Here's the full history.
    I bought a new 13" i5 MBP, early 2011 edition. I had an old white Macbook 2.14 ghz core2duo on Snow Leopard. I attempted to port over my time machine backup, but encountered problems in that my User was inaccessible from the new computer after the import finished, and I had to go in and change the root password, etc, and for some reason or another, I couldn't install any programs at all from that administrator's account. By "couldn't" I mean I could install them, but upon installation they would never boot. So, I took it to the apple store and did a clean install from the most up to date Lion OSX. Then, I created a brand new admin account, instead of trying to import the old one, and things seemed great. Then, I just imported my old files from the TM backup, but not any system settings, permissions, or user data. Just my Docs, pics, vids, apps, and itunes stuff.
    Here's where things get weird again. I imported this stuff under the name "old", but all of these folders have a red negative sign on them, marking them as restricted. So, from my main admin account, I cannot even peruse these folders. Since I didn't import user data, I can't sign in to the "old" account to change permissions. I already tried to change the permissions from system preferences, but that didn't change anything. And now, for whatever reason, of all the apps that were imported then, MS Office is the only set of apps that does not work. When I click on it, it just says there was a problem and asks if I'd like to send a report to apple. I tried reinstalling it to no avail. I'm an English student, so i really need access to Word. Can anyone help? The Apple store is a major detour for me and would like to fix this issue myself.

    Most likely you have Office 2004 which are PPC-only applications and will not work in Lion. Upgrade to Office 2011. Other alternatives are:
    Apple's iWork suite (Pages, Numbers, and Keynote.)
    Open Office (Office 2007-like suite compatible with OS X.)
    NeoOffice (similar to Open Office.)
    LibreOffice (a new direction for the Open Office suite.)

  • IMac 24" iMac  (iMac7,1), Intel Core 2 Duo 2,8 GHz  Ram 4 MB running OS 10.6.8: impossible upgrade to Mac OSX Mavericks. Already created second account, according to apple online support, but still doesn't work. Thanks for help.

    iMac 24" iMac  (iMac7,1), Intel Core 2 Duo 2,8 GHz  Ram 4 MB running OS 10.6.8: impossible upgrade to Mac OSX Mavericks. Already created second account, according to apple online support, but still doesn't work. Thanks for help.

    Your Mac is definitely one of the supported models? http://www.apple.com/uk/osx/specs/
    If so, what happens when you try to download? Is it a case of nothing happens? If so, take a look at the suggestions under 'Stalled Download' in this link:
    http://www.wired.com/gadgetlab/2013/10/mavericks-issues-and-fixes/#slideid-23477 1
    Also, some usrs have found that logging out of the Mac App Store and then back in again and starting over has kick-started the download. It seems that the 5+gb download can take a long time to give any feedback as to what's happening.

  • Error while creating my first  project on SP15 and why Help doesn't work?

    Hello sdnrs,
    I have a fresh SP15 installtion.
    I have 2 problems creating my first webdynpro project.
    1.When I go to file-new-project-webdynpro->(enter name)->next ,  I have windows poped up with the following error:
    Plug in name: Web Dynpro Archive Builder
    Plug in id: com.sap.ide.webdynpro.archivebuilder
    class: com.sap.ide.webdynpro.archivebuilder.project.WebDynproStandaloneProjectWizard
    Method: createJavaProject(IProject, IProgressMonitor)
    Message: Problems encountered while setting project description.
    Exeption: org.eclipse.core.runtime.CoreException: Problems encountered while setting project description.
    I am frustrated cause I can't do any step futher...! Is there any special settings on the SDK, Window-Preferences, etc?
    2.My Help doesn't work at all - it used to be (with SP11 slim) when i go - 'Help-SAP was docum-SAP webdynpro appl ' and I had my help window poped up.Now I dont have anything!
    Thank you much in advance!
    Bob

    For your information there's another solution if you don't wanna reinstall your NDS or if the reinstallaion doesn't work.
    The error is in the resources so you have to replace some plugin resources to correct the error. Because of that you need access to the resources from somewhere else.
    1. Go to c:\Documents and Settings\"username"\Documents\SAP\workspace\.metadata\.plugins and replace org.eclipse.core.resources with a "working" resource
    2. Go to C:\Program Files\SAP\JDT\eclipse\plugins and replace org.eclipse.core.resources.win32_2.1.0 and org.eclipse.core.resources_2.1.1 with a "working" resource.
    Restart NDS and it ought to work
    Best regards,
    Ole Mose

  • I am trying to sign in to attend a session and it says 'Invalid user or password. Please try again.' I have reset my password and it still doesn't work. I created a new AdobeID and it still doesn't work. I need to attend this training. How can I get in?

    I am trying to sign in to attend a session and it says 'Invalid user or password. Please try again.' I have reset my password and it still doesn't work. I created a new AdobeID and it still doesn't work. I need to attend this training. How can I get in?

    Sorry to hear about this problem. What site are you trying to log in on? Is it a Mozilla site? Usually you don't need to register or sign in to a Mozilla site to use Firefox. Usually you can just go straight to where you want to go.

  • Create a PDF from webpage using entire site option doesn't works

    OK, guys, this is the problem...
    After YEARS of testing from Acrpbat 4 thru 9 on Create a PDF from webpage using entire site option... it doesn't works properly and doesn't got the entire site. ALWAYS get an error of memory or any other error but FINALLY you NEVER got the entire site. I'm talking for a big website... not like amazon.com, but a big one.
    I make a walkarround to try to capture the website in parts but Acrobat is not "intelligent" to make a resume capture of the site, because ALWAYS start from the begining instead from the resume position of the site...
    My question is, HOW can get the ENTIRE SITE in a PDF document... without getting errors or stopping the capture process...
    Don't have problem of low RAM memory because I'm in a MONSTER MACINTOSH.... 3.2 GHZ with 8 Core and 32 GB of RAM under Mac OS X Leopard 10.5.6 in Acrobat 9 Pro.
    If I'm not wrong, the GET ENTIRE SITE option in Web Capture (Create a PDF from webpage using entire site option) doesn't works from Acrobat 4 thru 9 in Pro version... tested, you'll never got the entire site... I'm talking in capture a huge entire site and not a little one...
    Can someone help me?
    Thanks.

    Ok so I go to a web page and select something to print. Once I've clicked print I switch over from printer/micosoft xps docu writer/fax and select Adobe PDF. All goes through with a 'Create Adobe PDF' coming up progressing through to eventually save and store. Once I open the file it end up as the picture above. I have the same version on another computer and that works fine but this particular Sony laptop it doesn't seem to work properly. 

  • I get an "install failed" message. "Recovery system can't be created-click restart to return to previous version of OS X." This doesn't work. My Mac continues to try to install Mountain Lion. What is the elegant way to get my system back?

    I get an "install failed" message. "Recovery system can't be created—click restart to return to previous version of OS X." This doesn't work. My Mac continues to try to install Mountain Lion. What is the elegant way to get my system back?

    The first time I attempted to install ML was on a late 2011 MBP.  It ran for three minutes then gave me the error message: Could not install OSX due to an unexpected error.  I was using the original ML install app, not a USB or other drive.  
    After a couple of restarts wiht the same result I saw a message to the effect that the install was trying to close open apps.  I closed apps  manually a few times to no avail.  I shut down instead of restarting then booted into Safe mode (hold down the shift key when starting) and that did it.  The install went smoothly after that. 
    I since installed ML in two iMacs using a cloned copy of the install app on a USB drive.  This time I shut down the computers and booted into Safe Mode first and there were no problems. 
    I don't know if this issue is the one causing you these problems but it is a simple enough solution to try.
    Jay

  • Editting PDF documents that were created by a MAC doesn't work because of font incompatability.  How can we get MAC fonts and load in our Adobe Acrobat Pro 9?

    Editting PDF documents that were created by a MAC doesn't work because of font incompatability.  How can we get MAC fonts and load in our Adobe Acrobat Pro 9?

    If it's a Mac font and you're on Windows, you can't. If you are also on a Mac, you'll need to purchase the fonts (fonts are generally non-transferable, like software. One of the reasons pdf exists), install them and try your edits.
    But it's best to edit the original document and create a new pdf when finished.

Maybe you are looking for

  • ABAP class mapping in PI (7.0)

    I just switched from XI (3.0) to PI (7.0). I tried to move one of my interfaces, but in Interface Mapping there is no "ABAP-class" option. How to use ABAP mapping in PI?

  • Unable to reinstall SCVMM 2012 R2 during database migration - access denied to VMMDKM container

    I'm trying to migrate my SCVMM 2012 R2 DB to a new SQL 2012 server. As per TechNet article http://technet.microsoft.com/en-us/library/dn469626.aspx, I uninstalled VMM, which went without a problem. During the reinstall, setup fails with "Unable to cr

  • IPhoto update failure after updating to yosemite

    Updated to yosemite, now I can't use iPhoto without updating that too. Error message when I try to update iPhoto : "This update is not available for this Apple ID either because it was bought by a different user or the item was refunded or cancelled"

  • Delete pages from converted PDF

    Hi all I am newbie to this forum. I have close to 70 PDF which are nothing bur exported reports from Business Objects(BI Tool). The issue is that these PDF's have few blank pages in them. To sit and go thru a 2000Page PDF is tiring and time consuming

  • ESS/MSS : analyse service code Abap/Java

    Hi all, where I can analyse the code of WebDynpro Java and Abap for ESS/MSS services? Best regards. Miki