How to set dimension and another parameters of received dataSource to rec?

I have a small problem with set the dimension of recording video from received dataSource.
It always have dimension of original dataSource :/
I have done something like this:
  FileTypeDescriptor ftd = new FileTypeDescriptor(FileTypeDescriptor.MSVIDEO);
  Format[] formats = new Format[] {new VideoFormat(VideoFormat.CINEPAK, new Dimension(1024,768), Integer.MAX_VALUE, Format.byteArray, (float)30)};
  ProcessorModel pm = new ProcessorModel(datasource, formats, ftd);
   processor = Manager.createRealizedProcessor(pm);
  DataSource outputDS = processor.getDataOutput();
   MediaLocator ml = new MediaLocator("file:capture.avi");
   datasink = Manager.createDataSink(outputDS, ml);
   datasink.open();
   datasink.start();
I see that Datasource is not changed.
But when I try to something like this:
FormatControl formCont=((CaptureDevice)ds).getFormatControls()[0];
   VideoFormat formatVideoNew = new VideoFormat(null,null,-1,null,(float)camFPS);
   formCont.setFormat(CapFormat.intersects(formatVideoNew));
I have an exception with casting Clonable dataSource to CaptureDevice:
java.lang.ClassCastException: com.ibm.media.protocol.SuperCloneableDataSource$PushBufferDataSourceSlave cannot be cast to javax.media.protocol.CaptureDeviceThis works only when I'm operating od datasource taken from capturedevice, not received from another computer.
The question is simple: How can I change dimension, frameRate etc. of record from received dataSource.

FormatControls are only available on capture devices that have the ability to capture in multiple formats. The FormatControl is used to control the device itself, not the stream. The concept of using a FormatControl on a DataSource that isn't reading from a capture device doesn't make sense, which is why you're having problems.
In order to change the resolution or other format characteristics of a video stream that isn't coming from a capture device directly, you'll need to transcode it from the existing format to the new format.
[http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/Transcode.html]
Which is achieved by passing it through a Processor...

Similar Messages

  • How to set up and configure AirPort Express for AirPlay and iTunes

    Saw somewhere that supposedly there were some apple written guidlines on the above topic. I have searched all over for them. Anyone know where I can get a copy to read through. Just trying to educate myself a bit and sety up another room with access to itunes, radio, etc with high quality speakers and amp off my express.

    Here you go ...
    How to set up and configure AirPort Express for AirPlay and iTunes

  • How to set datapackage and  Idoc

    Hi
    could any body  tell me , How to set datapackage and Idoc in sap bw

    Hi Hari,
    There are 2 additional places to make these settings global:
    1) Transaction SBIW on BW for SAP Source systems:
    Data Transfer to the SAP Business Information Warehouse ->
    General Settings -->
    Maintain Control Parameters for Data Transfer
    2) Transaction SPRO on BW for non-SAP Source Systems:
    SAP Customizing Implementation Guide -->
    SAP NetWeaver -->
    SAP Business Information Warehouse -->
    Links to other systems -->
    Maintain Control Parameters for the data transfer
    Please note the paths are from a BW 3.5 system.
    Kind regards,
    Dorothy

  • How to set-up and use FAMILY Sharing

    Can someone please explain to me in detail how to set-up and use FAMILY Sharing, none of the information I have so far found in the documentation helps at all, in fact it puts you in a constant loop giving the same information over and over again
    We have quite a few devices from ipads, iphones and ipods and I need to set-up Family Sharing.
    We have our main Apple ID which is linked to our Payment method, I have now got my son a new iPad, I have created his Apple ID and set-up a link via FAMILY Sharing to our main Apple ID.
    From what I read we should be able to share our purchased Apps between family members.
    So I figured I would be able to get the Apps now via iTunes that are part of the FAMILY Sharing, however when I go into ITunes (latest version downloaded yesterday) I can only see the Home sharing menu item not FAMILY Sharing, so I cannot work out in Itunes how to get Apps that are FAMILY shared.  So ok I will try and get Apps directly via the Ipad using the App Store.  To test it is working I look for a known paid for App, I then go to download it and it is now asking me to pay for it again. 
    Can someone please explain to me in detail how FAMILY Sharing is supposed to work and how I get it to work please.
    Thanks for your help
    Greg

    Hey GregWr,
    Thanks for the question. The following resources provides some of the best information regarding Family Sharing. Included, you’ll find information on making sure the accounts are set to "Share my purchases”, as well as information on downloading Family Member purchases from the iTunes Purchased section. Please note that some applications are not shareable.
    Sharing purchased content with Family Sharing - Apple Support
    http://support.apple.com/en-us/HT201085
    Which purchased content can I share using Family Sharing - Apple Support
    http://support.apple.com/en-us/HT203046
    If you don't see your family's shared content - Apple Support
    http://support.apple.com/en-us/HT201454
    Thanks,
    Matt M.

  • How to set up and use AirPlay

    How to set up and use AirPlay

    Welcome to the Apple Community.
    AirPlay; When watching suitable content on the iPad, tap the screen to bring up the controls, tap the AirPlay icon and select the Apple TV. The content will then stream to the Apple TV.
    Mirroring; Double tap the home screen button, swipe the application panel to the right, tap the AirPlay icon and choose the Apple TV. The iPad screen will then be streamed to the Apple TV.

  • How to set upper and lower limit for service notification in SPRO

    Hello everyone,
    Good morning....!!
    I am new to SAP PM and to SCN as well.
    I have a question on Service notification user status.
    I  have notification profile configured in SAP as below:
    Status no      Status          Short text              Lower limit          Upper limit
    5                  REGD          Registered                1                          70
    10                PCKS            Pack sent                  1                          70
    20                APRC            Application received  1                        70
    etc..
    I want the statusesto be set as  navigation should only allow to go back one by one...like from APRC -->PCKS not to REGD.From PCKS -->REGD etc..not vice versa.
    Can enayone explain me to how to set lower and upper limits for these according ot the above requirement.
    for more details please check my attachment.
    Thanks in advance..!!
    Regards,
    Sudha.

    Once you change the status to previous status, just save the order. Then again open the order & try to change the user status.
    Just I made replica of your profile. I could able to change (even without saving the order).

  • How to set date and time on apple tv

    how to set date and time on apple tv

    Assuming this is not the first time you have used your Apple TV
        1.    You might try restarting the Apple TV by removing ALL the cables for 30 seconds.
        2.    Also try restarting the router.
        3.    If the problem persists, try a restore, you may want to try the previous procedures several times before doing this.
    If this is a new Apple TV, it may also be that your network router is not allowing access to the timeserver, check that your router allows access over port 123.

  • Script to open, set dimensions and save

    Hi All,
    I'm a newbie in Illustrator. I'd like to find a way to open a pdf file, set its new dimensions and after that, save the file in .AI format. Is that possible ? How could i achieve this ?
    Thanks in advance.

    OK, so here's another version of a script I posted the other day. Copy and paste into the ESTK or a text editor that will save as plain text. Save with a .jsx file extension. Place it in Adobe Illustrator CS4>Presets>Scripts and restart AI (or you can run it from the ESTK).
    #target illustrator
    Place_PDF_to_AI.jsx
    DESCRIPTION
    This script gets files specified by the user from the
    selected folder and batch processes them and saves them
    as AIs in the user desired destination with the same
    file name.
    Modified from Adobe supplied scripts and
    scripts by Carlos Canto on Illustrator Scripting
    by Larry G. Schneider 072911
    // uncomment to suppress Illustrator warning dialogs
    app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
    var destFolder, sourceFolder, files, fileType;
    // Select the source folder.
    sourceFolder = Folder.selectDialog( 'Select the folder with target files', '~' );
    // If a valid folder is selected
    if ( sourceFolder != null )
         files = new Array();
         fileType =  prompt ( 'Select type of files to you want to process. Eg: *.pdf', ' ' );
         // Get all files matching the pattern
         files = sourceFolder.getFiles( fileType );
         if ( files.length > 0 )
              // Get the destination to save the files
              destFolder = Folder.selectDialog( 'Select the folder where you want to save the AI files.', '~' );
              for ( i = 0; i < files.length; i++ )
                   var idoc = app.documents.add(DocumentColorSpace.RGB, 400.0, 533.0);  // make new document
                   var ilayer = idoc.layers.add();   // make new layer
                   ilayer.name = "pdf.file";  // name layer
                   //ilayer.zOrder(ZOrderMethod.SENDTOBACK);  // put at bottom of layer stack
                   var iplaced = ilayer.placedItems.add();  // add image place holder
                   iplaced.file = (files[i]);  // place file
                   var docName = (files[i].name.split('.'))[0];   // take the first part of the placed file name for the new document
                   var destFile = new File(destFolder + "/" +  docName + ".ai");   // make a new file in the dest folder
                   var options = new IllustratorSaveOptions();   // new save options
                   options.compatibility = Compatibility.ILLUSTRATOR14;   // save as AICS4
                   options.pdfCompatible = false;   // turn off PDF compatibility
                   options.useCompression = false
                   // Export as AI
                   idoc.saveAs(destFile,  options);  // save the file in the dest folder
                   idoc.close(SaveOptions.DONOTSAVECHANGES);   // close the file without saving
              alert( 'Files are saved as AI in ' + destFolder );
         else
              alert( 'No matching files found' );
    app.userInteractionLevel = UserInteractionLevel.DISPLAYALERTS

  • How to set values of a parameterized message in ADF Faces?

    Hi all,
    i've got the following problem: I want to set the values of a parameterized message before i add the message to the FacesContext.
    Contents of the message resource bundle:
    testPage.successMsg.create=The device {0} was created successfully!
    Code within backing bean method:
    String message = getStringFromBundle("testPage.successMsg.create");
    FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(message));
    In Struts/ADF UIX the following code did the job:
    protected void setUIXInfoMessage(HttpServletRequest request, String key, Object[] args)
    MessageData msgs = new MessageData();
    MessageResources mr = this.getResources(request);
    String msg = "";
    if (mr != null)
    msg = mr.getMessage(request.getLocale(), key, args);
    msgs.addMessage(null, msg, null, UIConstants.MESSAGE_TYPE_INFO);
    request.setAttribute(UIX_MESSAGE_KEY, msgs);
    Can anyone help me with this problem? I have searched a lot in the Oracle ADF Development Guide and within forum, but did not find any solution.
    Another interesting thing is, how to set the parameters from jspx-Code.
    How can i achieve the same results in ADF Faces corresponding to the following UIX-Code:
    <boundAttribute name="title">
    <messageFormat format="${nls['deleteTip.confirmation']}">
    <dataObject source="${bindings.TipName}"/>
    </messageFormat>
    </boundAttribute>
    Resource Bundle:
    deleteTip.confirmation=Do you really want to delete the tip {0}?
    Another question:
    What are the corresponding elements in ADF Faces corresponding to <concat> and <if> in UIX or what possibilites exist in ADF Faces to dynamically concatenate strings depending on certain conditions?
    I know, these are many questions. I am familiar with UIX, but now i have to start developing applications with ADF Faces and there are some things i don't find corresponding equivalents.
    Thanks in advance!
    Regards,
    Stefan

    Hi,
    SRDemo shows you how to do this declratively
    <h:outputFormat value="#{res['srcreate.confirmPanel.message']}"
    escape="false" id="nextButton">
    <f:param value="#{requestScope.SRDEMO_CREATED_SVRID}"/>
    </h:outputFormat>
    where the <f:param ...> element sets the value of the variable
    To programmatically access internationalized strings, SRDemo uses
    private static ResourceBundle getBundle() {
    FacesContext ctx = getFacesContext();
    UIViewRoot uiRoot = ctx.getViewRoot();
    Locale locale = uiRoot.getLocale();
    ClassLoader ldr = Thread.currentThread().getContextClassLoader();
    return ResourceBundle.getBundle(ctx.getApplication().getMessageBundle(),
    locale, ldr);
    public static String getStringFromBundle(String key) {
    ResourceBundle bundle = getBundle();
    return getStringSafely(bundle, key, null);
    You take it from there and put it to a FacesMessage, If it uses parameters I guess you will have to parse the string
    Frank

  • Once and for all: How to set up and use SSH

    Yes, I know ssh has been discussed on and off, but never in its entirety; and yes, there are step by step instructions on the www, but at one point or another they skip a crucial instruction that would be necessary for unix-dummies (e.g. how to save and close the nano-editor in Terminal). So, please pardon my question:
    There are several points I'd like to ask for ssh-connecting two macs on a local network:
    1) In terminal-file-"connect to server" you can ask for an ssh connection to be set up. For this to work, do I need to create private and public keys first? If so, how? Please point me to a reliable and step-by-step instruction site.
    There are some free ssh-utilities out there, but their documentation is just not helpful enough for a UNIX-dummy.
    2) Apparently I managed to connect via ssh once (from the terminal, see point 1) to a local server (allowing remote connection set to ON at the server). But then, when I connected to that server from the client's finder and tried to get into my user account on that server it told me that no secure connection could be established. What's wrong here? Do I have to continue working from within the terminal to use this connection? That would be difficult for an average MacUser.
    3) What is the security advantage of an SSH connection on a local wireless network (Airport Base Station) over WPA2, if at all?
    4) And how to set up an ssh-connection over the internet cloud to safely build a remote control/desktop sharing connection, e.g., a friend's Mac when she has a problem?
    Thanks for your consideration.

    First I'm not sure what your goals are.
    1) In terminal-file-"connect to server" you can ask for an ssh connection to be set up. For this to work, do I need to create private and public keys first?
    If you have ssh keys, you can do this without passwords. If you have not exchanged keys with the remote system, you will be asked for the password of the user you are attempting to login as.
    If so, how? Please point me to a reliable and step-by-step instruction site. There are some free ssh-utilities out there, but their documentation is just not helpful enough for a UNIX-dummy.
    Log into the remote system. This could be via ssh.
    On the remote system, run the following command to generate an ssh key for that remote system:
    ssh-keygen -t rsa
    Generating public/private rsa key pair.
    Enter file in which to save the key (/Users/username/.ssh/id_rsa): <<take default>>
    Created directory '/Users/username/.ssh'.
    Enter passphrase (empty for no passphrase): <<enter nothing>>
    Enter same passphrase again: <<enter nothing again>>
    Your identification has been saved in /Users/username/.ssh/id_rsa.
    Your public key has been saved in /Users/username/.ssh/id_rsa.pub.
    The key fingerprint is:
    aa:bb:cc:dd:ee:ff:gg:hh:ii:jj:kk:ll:mm:nn:oo:pp [email protected]
    This will generate an ssh key for the remote system. This could be any system that support ssh, such as a Unix system, or another Mac.
    Copy the id_rsa.pub file from the remote system to your Mac. When I say "your Mac" I mean the one that you want to make the ssh connection from. The id_rsa.pub is found in the remote system's ~username/.ssh/ directory.
    Append the copied id_rsa.pub to your Mac's ~himbear/.ssh/authorized_keys2 file
    cat id_rsa.pub >>~himbear/.ssh/authorized_keys2
    Now when you ssh to that specific remote system, it will NOT ask for a password. The first time you ssh to any system, ssh will ask if the system is really the system you thing it is. But once you say "yes", it will not ask that question again.
    Repeat for every remote system you wish to log into using an ssh key.
    2) Apparently I managed to connect via ssh once (from the terminal, see point 1) to a local server (allowing remote connection set to ON at the server). But then, when I connected to that server from the client's finder and tried to get into my user account on that server it told me that no secure connection could be established. What's wrong here? Do I have to continue working from within the terminal to use this connection? That would be difficult for an average MacUser.
    MacUser. A flash from the past, as in the MacUser magazine.
    ssh is not used by default when you make connections. If you want an ssh connection, you have to establish it intentionally.
    ssh can be used to pre-establish a tunnel (or tunnels) that other services can use. Once an ssh tunnel is establish, connections to local host's tunnel port will be connected to the specified remote port. For example:
    ssh -L 5901:localhost:5900 [email protected]
    will establish a tunnel that VNC can use. The VNC client would connect to localhost display 1 or port 5901.
    ssh allows multiple -L tunnels to be specified on the ssh command line.
    3) What is the security advantage of an SSH connection on a local wireless network (Airport Base Station) over WPA2, if at all?
    Inside you home. Not much. Unless of course you do not trust the other members of your family. That is to say, others having your WPA2 password, and are thus on the inside, and can sniff you packets.
    4) And how to set up an ssh-connection over the internet cloud to safely build a remote control/desktop sharing connection, e.g., a friend's Mac when she has a problem?
    If you are using the Mac OS X Leopard built-in *Screen Sharing* and you are connecting to another Mac's built-in Leopard System Preferences -> Sharing -> Remote Management (Tiger's Apple Remote Desktop), then in the *Screen Sharing* preferences, is an "Encrypt all network data" option.
    If you wish to set this option in advance, you can launch *Screen Sharing* by double clicking on System -> Library -> CoreServices -> Screen Sharing.app
    You can *Screen Sharing* connections over the net using iChat. This is one of the easiest ways to take control of their system. Of course they need to cooperate. I use a Free AOL Instant Messager (AIM) account for my iChat connections. And as a side benefit you can text, audio chat and/or video chat with the person at the other end.
    If you are NOT using the build-in Mac OS X *Screen Sharing* and/or you are NOT using the build-in remote Mac OS X remote management server, then this is a situation where an ssh tunnel would be a very good idea.
    However, setting up an ssh tunnel between 2 systems across the internet gets complex.
    In this case you might want to consider using something like LogMeIn.com which will deal with all those nasty home routers without needing to to do nasty router configurations, and it will be a secure connection. LogMeIn.com will not be as fast as a *Screen Sharing* connection or a VNC connection, but it will be secure and easy to establish. Again, this is only if you can not to Mac to Mac *Screen Sharing* using built-in Mac OS X remote desktop.
    Now if you want to roll your own ssh tunnels for VNC, then I'm just going to outline the things you need to do.
    If the remote system is behind a home router, you need to configure that remote home router to "Port Forward" port 22 on the Internet side to port 22 on the target Mac. Bonus points if the internet side using a high number port to discourge net bots from knocking on your door. Use the ssh -p 12345 option to connect to the high numbered port that is forwarded to port 22 of the destination Mac.
    On the remote Mac you need to run a VNC server. If this is a Mac, then Leopard System Preferences -> Sharing -> Remote Management (Tiger's Apple Remote Desktop). If it is not a Mac, then for Windows, TightVNC, UltraVNC, RealVNC are possible options. Linux has a built-in vncserver, or you can install x11vnc which has the advantage of displaying the desktop screen.
    Once you can access the remote system, you use an ssh command like the following:
    ssh -p 12345 -L 5901:localhost:5900 remote.system.address
    You can get the remote system's address by having the remote system surf over to http://whatismyip.com. Then they can tell you the IP address.
    If you are going to be doing this a lot, you can get a free no-ip.com or dyndns.org dynamic DNS name for the remote system, and the remote system can run a dynamic DNS client (available from no-ip.com or dyndns.org) which will keep the dynamic DNS name updated as the remote person's ISP change's their IP address.
    Finally, now that you have an ssh tunnel for VNC traffic, you have your VNC client connect to
    Address: localhost
    Port: 5901
    Depending on your VNC client you may need to specify Display 1 instead of Port 5901. Or if you do not get a Display or Port option you specify localhost:5901

  • How To set Header and Footer in MIDlet screen

    Hi Friends,
    How can i set header and footer in my screens .
    My need is that in header part ,my company's name shuld be display and in footer section "any thing".
    How can i achieve this things plz advice me.
    karan

    Hi Supareno,
    Can u tell me in details with small code, If it's
    possible for you .
    regards
    karandefine an header (coordinate 0,0)
    optional {
    a CustomItem? (coordinate 0, 0+header.getHeight() )
    another CustomItem ? (coordinate 0, CustomItem.getY() + CustomItem.getHeight() )
    etc...
    define footer (coordinate 0, getHeight() - footer.getHeight() )
    Message was edited by:
    supareno

  • How to set up and auto-mirror a networked drive?

    So here's the situation.  I currently have a MBP Retina 15 (max spec'd), and there are some design processes that still run a little slow for my liking.  Given that I spend about half my working life at a desk plugged into a monitor anyway, I figured I'd get a Mac Pro to use when I'm in the office.
    What I need help with is how to:
    -Set up an external networked drive so that I can open and save all my projects to the same place regardless of which machine I'm working on.  I spend 90% of my laptop working time at home on the same network.
    -Have the networked drive auto-back up to another external storage device so that in case of HD failure.  Basically I want to save a file, and have it expeditiously (ideally instantly, but the sooner the better) back up to the secondary HD. 
    Somebody at the Apple Store suggested using a USB HD plugged into Airport Extreme, and that would work, I suppose, but
    1) I'd really prefer something plugged in to the Mac Pro to speed up the data transfer at least one one machine.
    2) There's only 1 USB port on the Airport Extreme.  So if we were to go this way, the back up mechanism would need to be built in to the drive -- some sort of double external HD that auto-mirrors.
    Any suggestions?

    Could you use textarea?
    sym.$('inputfiled').html('<textarea cols="20" rows="3"></textarea>);
    actually the form I used in the file is:
    inputMessage = $('<textarea />').attr({'type':'textarea','rows':'10', 'cols': '25','value':'', 'id':'message'});

  • How to set tabs and how to set them outside the margins of my main body of text

    I type lots of docs where I have a body of text, indented, and then there is an action letter, A,B,C etc, out to the right.  Can't see how to set the body of text plus separate tab outside the margin in Pages.  Could do it in MS Word.  Pages looks great, but I'm stuck on a few things I used to do.  Can anyone help?
    Thanks

    Hi Peter
    Thanks for the reply.
    Here is a sample of the text:
    you'll see that the D, C, B etc are squashed up to the text, I can't move their tab outside the margin.  On Word (dare I say it?) I could set my right hand margin and still have a tab further out.  Don't know that your anchoring idea is the thing.  Is there another way to limit my text?  I wonder about columns, although then all the ABCs will be in the second won't they?
    Any ideas?
    Thanks again
    Nonie

  • How to set Processes and Session parameter

    Hi All,
    I have to check the optimal value for the Parameter "processes" and "session" for my database server,
    existing value for Processes is 500 and sessions is 1000.
    Oracle application: 12.0.6
    database 10.2.0.4 2 node RAC.
    and i wanted to know how many " jdbc connection" can be done for the 12GB RAM and Quad core two CPU machine,
    Pl let us know any doc/Thumb rule to set the above.
    Thanks and Regards
    Vasu

    Hi,
    I wanted to check what is the maximum limit of the "processes" for my existing resource. is my 500 processes itself is exhasted the resources.The maximum limits are mentioned in the database reference manual.
    Process and Runtime Limits
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/limits004.htm#i288165
    Oracle 10g Documentation Library
    http://www.oracle.com/pls/db102/homepage
    Kindly let me know any SQL query or supporting document to set the processes and session parameters.Did you review the initialization document referenced above? I believe it shows the value you need to set for processes and session parameters. For the query, you can query v$parameter or issue "show parameter <parameter name>" from SQL*Plus.
    Regards,
    Hussein

  • How to set thumbnailUrl and/or thumbnailLocation?

    Hi...
    I have now been struggling how to set the URL or location for the thumbnail, when packaging a book...
    PS. The thumbnail is already uploaded to a location I know the path to:
    This is my XML request (bolded text are examples):
    [thumbnailLocation attempt]:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
              <package xmlns="http://ns.adobe.com/adept">
              <metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
                             <dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">testTitle</dc:title>
                             <dc:publisher xmlns:dc="http://purl.org/dc/elements/1.1/">testPublisher</dc:publisher>
                             <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">testCreator</dc:creator>
                             <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">da</dc:language>
                             <dc:description xmlns:dc="http://purl.org/dc/elements/1.1/">testDescr</dc:description>
                             <dc:identifier xmlns:dc="http://purl.org/dc/elements/1.1/">urn:uuid:UUID</dc:identifier>
              </metadata>
              <thumbnailLocation>C:\path\to\thumbnail\00c6429e-ea9e-4656-acaf-4de3c37de8d3.jpg</thumbnailLocation>
              <dataPath>C:\path\to\book\00c6429e-ea9e-4656-acaf-4de3c37de8d3.epub</dataPath>
    </package>
    [thumbnailURL attempt]:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <package xmlns="http://ns.adobe.com/adept">
      <metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
            <dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">testTitle</dc:title>
            <dc:publisher xmlns:dc="http://purl.org/dc/elements/1.1/">testPublisher</dc:publisher>
            <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">testCreator</dc:creator>
            <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">da</dc:language>
            <dc:description xmlns:dc="http://purl.org/dc/elements/1.1/">testDescr</dc:description>
            <dc:identifier xmlns:dc="http://purl.org/dc/elements/1.1/">urn:uuid:UUID</dc:identifier>
            <thumbnailURL>C:\path\to\thumbnail\00c6429e-ea9e-4656-acaf-4de3c37de8d3.jpg</thumbnailURL>
      </metadata>
      <dataPath>C:\path\to\book\00c6429e-ea9e-4656-acaf-4de3c37de8d3.epub</dataPath>
    </package>
    In the response I can see that it completely ignores the thumbnailURL tag, but does not ignore thumbnailLocation - it merely just doesn't do anything with it.
    Any idea?

    Thanks for the answer!
    However, I have tried with both file://c/path/to/... and http://www.myserver.com/thumbnails/filename.jpg  for the <thumbnailLocation> tag, and same for the <thumbnailURL>.
    The packaging service still keeps ignoring those tags, and when I go look in the admin console (http://localhost:8080/admin/console) the book that was posted, has no thumbnail URL.
    I also tried using a base64 encoded image as <thumbnailData> together with <thumbnailLocation>... But in vain...
    PS. This Adobe Content Server has VERY LOUSY technical references. There's no code examples to find, and the tags / xml-requests/responses has very poor detailed explanation. Example:
    The detailed information about the thumbnailLocation tag is like this:
         thumbnailLocation - Upload location for the thumbnail
    Oh really...
    Long story short:
    When I package a book, I already have an uploaded thumbnail image on the server. All I want is to refer to that image, when I package a book... How hard can it be?

Maybe you are looking for