Problem of the playback of encrypted FA3 content on android

Hello
The problem of the playback of encrypted (FA3 with anonymous authentication) content (F4M) for android mobile platform (Flash player 11.0 +)
Here is a sample client code (OSMF 1.6.1):
private function initMediaPlayer(url:String):void{
      mediaPlayerSprite = new MediaPlayerSprite();
      var urlResource:URLResource = new URLResource(url);
      var f4mElement:F4MElement = new F4MElement(urlResource);
      mediaPlayerSprite.mediaContainer.width = 800;
      mediaPlayerSprite.mediaContainer.height = 400;
      mediaPlayerSprite.mediaPlayer.media = f4mElement;
      mediaPlayerSprite.mediaPlayer.autoDynamicStreamSwitch = false;
      mediaPlayerSprite.mediaPlayer.autoPlay = true;
      mediaPlayerSprite.mediaPlayer.addEventListener(MediaPlayerStateChangeEvent.MEDIA_PLAYER_STATE_CHANGE, onMediaPlayerStateChangedHandler);
      mediaPlayerSprite.mediaPlayer.addEventListener(DRMEvent.DRM_STATE_CHANGE, onDRMStateChange);
      mediaPlayerSprite.mediaPlayer.addEventListener(MediaErrorEvent.MEDIA_ERROR, onMediaError);
      addChild(mediaPlayerSprite);
This code works great for desktop platforms (Flash Player and AIR) and AIR-applications for mobile. But if you run it in Flash Player for Android we will always get the message "DRMState.AUTHENTICATING" and nothing more!
There are no errors.
Content does not play.
Help please. What's the problem?
Thank you so much!

Thank you for responding, Stephen!
Tested on devices:
HTC NEXUS ONE - Android 2.3.6 - Adobe Flash Player 11.1.111.5
Samsung GALAXY TAB P7500 - Android 3.2 - Adobe Flash Player 11.1.111.5
The player asks for a file manifest (F4M),
then immediately asks for the fragments.
No license request. As a consequence, does not play videos.

Similar Messages

  • What's the problem on the DES PBE encryption

    I've tried the to make a DES encryption by using my provided key
    But it got the the following errors :
    <pre>
    Exception in thread "main" java.security.spec.InvalidKeySpecException: Inappropriate key specification
    at com.sun.crypto.provider.DESKeyFactory.engineGenerateSecret(DashoA6275)
    at javax.crypto.SecretKeyFactory.generateSecret(DashoA6275)
    at t.main(t.java:37)
    </pre>
    <pre>
    import java.security.*;
    import javax.crypto.*;
    import javax.crypto.spec.*;
    public class t{
         public static void main(String[] args) throws Exception{
              char[] charArray = new char[5];
              ("mykey").getChars(0, 5, charArray, 0);
              PBEKeySpec pbeKeySpec = new PBEKeySpec(charArray);
              SecretKeyFactory keyFac = SecretKeyFactory.getInstance("DES");
              SecretKey pbeKey = keyFac.generateSecret(pbeKeySpec);
              Cipher pbeCipher = Cipher.getInstance("DES");
         pbeCipher.init(Cipher.ENCRYPT_MODE, pbeKey);
         // Our cleartext
         byte[] cleartext = "This is another example".getBytes();
         // Encrypt the cleartext
         byte[] ciphertext = pbeCipher.doFinal(cleartext);
    </pre>
    Do anyone know how to solve it, thx

    Just a note: DES only has a 56-bit key so it's not consider secure enough these days (triple-DES is but it doesn't work directly with PBE)...
    - Doug
    javax.crypto.spec.PBEParameterSpec paramSpec
    = new javax.crypto.spec.PBEParameterSpec( "mySalt".getBytes(), 1000 );
    javax.crypto.spec.PBEKeySpec keySpec
    = new javax.crypto.spec.PBEKeySpec("myPassword".toCharArray());
    javax.crypto.SecretKeyFactory kf
    = javax.crypto.SecretKeyFactory.getInstance("PBEWithMD5AndDES");
    javax.crypto.SecretKey passwordKey = kf.generateSecret( keySpec );
    javax.crypto.Cipher cipher
    = javax.crypto.Cipher.getInstance("PBEWithMD5AndDES");
    cipher.init(javax.crypto.Cipher.ENCRYPT_MODE, passwordKey, paramSpec);
    // Our cleartext
    byte[] cleartext = "This is another example".getBytes();
    // Encrypt the cleartext
    byte[] ciphertext = cipher.doFinal(cleartext);
    System.out.println("Ciphertext is : " + new String(ciphertext));

  • Problems exporting and playback the MPEG2-DVD videos, from .MP4 file!

    I have PremiereProCS4 v.4.2.1 installed on this PC:
    OS:WindowsXPProx64Bit; CPU:IntelCore2Quad Q9650; RAM:4GB DDR2 PC2-6400 Kingston; HDD:3x500GB WestrnDigital Caviar Green; VGA: Sparkle GeForce 9400GT 512MB.
    I have downloaded an AVCHD file .MTS 1920x1080p 25p, made by Canon HF100 AVCHD camcorder, from this source (.rar file):
    http://www.megaupload.com/?d=RWR5MNYHhttp://www.megaupload.com/?d=B9ZDX2RZ
    The videos in question called: "25pf_1.25_f1.8.MTS" playback and export from Premiere as MPEG2-DVD very well.
    I playbacked it on Premiere on the second Monitor as "OutputDevice". All Ok.
    I playbacked also the DVD made with EncoreCS4, on the external DVD set-top-box-player. All OK.
    I downloaded also another clip 1080p 25p, converted as .mp4, from the same author, imported then in Premiere with Preset "XDCAM EX 1080p 25p" (470MB) :
    http://www.megaupload.com/?d=B9ZDX2RZ
    No problems with playback.
    Exported as MPEG2-DVD PAL "Lower Field First".
    Opened in NeroShowTime Player: the video have a serious interruptions of the playback, some moments plays back-and-forward, and it isn't fluid at all!
    I tried to create a DVD with EncoreCS4 and played it with DVD Player set-top-box, and the result is bad, and is the same as the playback on my PC with NeroShowTime Player. It present the back-and-forwars interruptions.
    I tried also to create an AVCHD Project 1080p 25p and import the .MP4 file, but the problem persists !
    After exporting them, and played-back on NeroShowTime and on Set-Top-Box Player, the video have strange behavior, and plays back-and-forward!
    1) What Preset in Premiere should I use to editing, for this .MP4 file format, (filmed with Canon HF100 AVCHD and converted from original .MTS format to .MP4 format)?
    2) Is this a transcoding problem?
    3) Is this an exporting MPEG2-DVD PAL field-order issue?
    This is my bad exported MPEG2-DVD converted file, available for downloading:
    http://rapidshare.com/files/337858976/Canon_HF100_1920x1080p_25p_01_AVCHD25p.m2v.html
    Strange! With .MTS files I haven't any exporting problems at all!
    Please response me hurry!
    Many Thanks!
    Horsepower.

    OK! Sanyo use a bad format.
    But about JVC GY-HM100 Professional:
    I know this model very well!
    It records to .MP4 XDCAM_EX at the same manner of Professionals Sony Camcorder such this: Sony XDCAM_EX model "PMW-EX1" price €6.478,80.
    This JVC GY-HM100 camcorder is not tha same as Consumer JVC camcorders.
    It doesn't record MOD or TOD files.
    It records .MP4 files editables in Premiere with XDCAM_EX "Preset"!
    See those details:
    http://pro.jvc.com/pro/attributes/HDTV/manual/editing1.html
    http://pro.jvc.com/pro/hm100/content.jsp?model_id=MDL101845&attributeId=2&feature_id=02
    See also this page:
    http://pro.jvc.com/pro/hm100/content.jsp?model_id=MDL101845&attributeId=12&feature_id=12
    The first Brochure called "A Guide to the Most Efficient Workflow with ProHD
    (6 pg brochure)" explain very well the .MP4 - XDCAM_EX format and the Editing process that should be with Adobe PremiereProCS4.
    I have inspected the downloaded .mp4 file in question, and GSPOT v.2.70a reading this:
    -CONTAINER:
         isom: MP4  Base Media v1 [IS0 14496-12:2003]
    -VIDEO:
         CODEC:avc1
         NAME: H.264/MPEG-4 AVC
    -AUDIO:
          CODEC: mp4a: MPEG-4 AAC LC
    1c) Is this an AVCHD video codec?

  • Error message in .docx : 'Open XML file cannot be opened because there are problems with the contents. Details Unspecific error Location: 2'

    I have put a lot of work into a docx document on my Mac, but now can't open it as it gives the error message: 'the Open XML file cannot be opened because there are problems with the contents. Details, Unspecific
    error, Location: 2'
    When opening the original file the message said: 'this file contains word 2007 for Windows equations' etc. but I managed to track changes fine, and saved, closed and re-opened it numerous times without problem. Some graphs seemed moved, and various formulas
    were illegible, but no other weirdness was observed.
    I have microsoft 2008 installed on my Mac OS X version 10.6.8.
    I've tried to fix it using various solutions suggested here, but am afraid am too IT illiterate to have had any luck, please help I'm new to all this!
    I've uploaded it to https://www.dropbox.com/s/hkw9k6lyihzoxpc/SittwayPauktawSQUEACREPORT_KD%2BCH.docx

    Hi,
    This issue is related strictly to oMath tags and occurs when a graphical object or text box is anchored to the same paragraph that contains the equation.
    Please use the "Fix it" tool in the following KB article to resolve the problem. See:
    http://support.microsoft.com/kb/2528942
    Hope this helps.
    Regards,
    Steve Fan
    TechNet Community Support

  • Since the most recent Firefox update 3.6.8 by banking institution no longer shows as having a secure encrypted connection, however, my bank assures me all is well with their certificates and that is a problem with the new Firefox browser update, can you g

    Since the most recent Firefox update 3.6.8 my banking institution no longer shows as having a secure encrypted connection, however, my bank assures me all is well with their certificates and that is a problem with the new Firefox browser update, can you give me some idea why it is doing this?
    == This happened ==
    Every time Firefox opened
    == Right after the new Firefox update

    Hello Anne.
    Can you please try it in a new (temporary) Firefox profile and see if the issue is still present? See [http://support.mozilla.com/en-US/kb/Managing+profiles this article] to know how to create a new Firefox profile. Please report back the results.

  • The file .docx cannot be opened because there are problems with the contents in sharepoint document library

    I created a site and  created a document libarary and assigned a word document as a content type . I have written a workflow to create a new document . The workflow is working fine and all the document is getting created and values are getting stored
    in it .
    As per my requirement I am saving the above site as site template .
    After that I am creating a new site based on the above site template , Its getting created and I started the workflow , its working fine and the document is also getting created .
    The problem is I am getting error while opening the word document
    Error - The file filename.docx cannot be opened because there are problems with the contents .
    Details - No error details availble .
    Indresh

    What are you doing within the txt document?  Is it general text and string based items, or have you something more elaborate going on?
    An older discussion here elaborates a bit more on the dotx vs docx side of things.
    http://social.msdn.microsoft.com/Forums/en-US/de1b5ff9-ea6d-460c-a707-8c28acd4906f/error-opening-office-open-xml-file-when-using-sd-workflow-to-create-item-in-document-library?forum=sharepointcustomizationlegacy
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Problems with the Spry Content Slider Widget in DW6

    Hello there,
    I have been wrestling with a problem I'm having with the Spry Content Slider Widget that I hope someone has an answer for.
    I have 2 widgets on a page, but the problem I'm having occurs whether there is 1 or 2 on the page.
    No matter how many slides I have in the widget, it only shows the first 3. The 2 widgets per page occurs on every html page (9 in total.)
    In there a setting in the inline or linked .js code limiting the number of slides to 3?
    In addition to these widgets, I also use a DWUser_EasyRotator Slider on the pages, and both the easyRotator and Spry Widgets launch a fancyBox jQuery Gallery. Tho it's a possibility, I don't think the mixing of sliders/js is the problem, as I was having the problem with the Spry Widget showing only the first 3 upon the first insert of the Widget.
    Any suggestions on settings I should be aware of, as regards the Widget, would be greatly appreciated… (;

    On line 66 of your code, you have an extra </head> tag that doesn't belong.    Remove that and validate your code again. 
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.gallerynumber9.com.au%2Findex ---778.html
    Nancy O.

  • TS1702 iam unable to read i books contents . display of i books is disappearing in 5 seconds after the i book. recent i book 3 is also updated. but the problem is still there. in my ibook contents occupied space is 53 mb.

    hi.
    I am unable to read i book contents.
    once i touch the i book icon , my contents in the i books will be visible for 5 seconds n then automatically i book closes by itself.
    iam unable to acess to ibook at all. i have updated ios6.0.1.
    also updated i book 3.0.1. but still the same problem.
    same type of problem iam facing when i open magzster some times.
    help me n guide me to resolve this problem.
    or you can call me to the following number.
    regards.
    k.n.balaji.
    india.
    +919989092629

    hi.
    I am unable to read i book contents.
    once i touch the i book icon , my contents in the i books will be visible for 5 seconds n then automatically i book closes by itself.
    iam unable to acess to ibook at all. i have updated ios6.0.1.
    also updated i book 3.0.1. but still the same problem.
    same type of problem iam facing when i open magzster some times.
    help me n guide me to resolve this problem.
    or you can call me to the following number.
    regards.
    k.n.balaji.
    india.
    +919989092629

  • Problems with the Search for room content

    Hi,
    I face a problem configuring the search for room content using KM search iView (com.sap.km.Search).
    I found the chapter Configuring the Search for Room Content in the help. So I set up the following things :
    1- I assign the room_id iView parameter to the roomid room parameter (in the template)
    2- I added room_cm_search component to the component set (I added it at the bottom of the "component for basic search function")
    3- I select the entry "Folder" as the default search scope in the search option set. I specify a root folder for search as well.
    But it doesn't work properly. It always returns "no result found". And if I add the room_cm_search component at the top of the "component for basic search function", It runs the search on all the documents of the default search scope, and not only on the room documents.
    Can you please tell me the right way to configure the search for room content using the com.sap.km.Search iView ?
    I work on EP 7.0 SP 10.
    Thanks a lot,
    Loïc LEVEUGLE

    Hi Loic,
    the Room Content Search iView is a special Search iView that is filtering for documents that were created in the Room Context (all documents get a specific metadata that is keeping the roomiD) . The easiest thing is to use the standard iView used for the delivered templates from SAP.
    I would advise to use the iView that is already preconfigured for a room template or part template and can be found and referenced in your template from the following path: Portal Content ->com.sap.ip.collaboration--> TemplateAndPartContent --> Generic -->iViews and take the iView "Search Room"
    If you reference that iView in your room template or room part template, you have to think about the correct configuration in the template configuration iView. Just take as example the configuration of the part template "SAP Search Room".
    Or even better: Copy a template (room or part) from SAP that is containing the Room Search and delete everything what you don´t need out of the template. You safe time and you can add all additional content you´ll need to your template. Some ideas can be found in the following "How to Guide":
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0496f69-cb70-2910-21a6-c4cf2cc66311
    What you have written under 3 -> would never work as the root folder for search doesn´t make any sense as the documents of a room are stored in different folders and you can´t define a root folder. Therefor you have the specific room_id parameter that is filtering what documents belong to the room.
    Good luck,
    Anja

  • My ipod uses 10.2 software, but iphone5 wants 10.7version, will this pose any problems with the content currently in itunes?

    my ipod uses 10.2 software, but iphone5 wants 10.7version, will this pose any problems with the content currently in itunes if I downloand straight from itunes.com?

    Your content is stored locally on your computer, when you update, it will not mess with your content at all.

  • "The file .docx cannot - problems with the contents."

    Word 2007 file HELP!
    I started a paper this morning and saved it as normal, however when I try to reopen it I get the following messege: The file .docx cannot be opened because there are problems with the contents. Does anyone know how to resolve this issue?

    Hi,
    Please check if this applies:
    http://support.microsoft.com/kb/2528942
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Cannot open Word File because "there are problems with the contents"

    Hi Everyone,
    I cannot open Word File because "there are problems with the contents" unspecified error; Location: 2.  Please help as I need this doc for work meeting this morning.  Nothing special about this doc but links were copied into it???  However I do that all the time.  I have never had this happen before.  I am on a 2010 machine.  I just ran a disk permissions repaired and emptied the trash but still no dice.  I had several other word docs up as well when I got up this morning but they are all fine.  I do not have Time Capsule turned on (which I need to do but that will be another thread/question).
    Thank you,
    sb

    Ok, I found a way to open this but not sure what happened to begin with and the formatting setup is different now, almost like text editor?  Not sure what happened here but hope it doesn't happen again?

  • Am I the only person who has problem with video playback ?

    I'm having problems with the latest nvidia driver and it seems that nobody wrote about it on the forums.. After installing the latest nvidia driver (169.07-1), the video playback with xv selected will be played in purple and blue colours.. Generally red will not be shown.. So human faces are colored with a combination of purple and blue.. Everything is normal on the other hand.. Sound works perfectly, the movie can be watched smoothly even on fullscreen.. With x11, all players can show the colors but...
    1) The movie quality in Totem is very bad then...like the image is gathered together by 3x3 pixels..
    2) mplayer shows everything fine but it can't get fullscreen..
    I created a nautilus script for a workaround that let's me watch the movies with fullscreen using the -fs -zoom options..
    But this problem is really annoying..

    1.0rc2, with some things disabled that are enabled in the Arch package (lirc, samba, and that live-media thing).
    $ pacman -Qs mplayer
    local/mplayer-custom 1.0rc2-1
    xvinfo:
    X-Video Extension version 2.2
    screen #0
    Adaptor #0: "NV17 Video Texture"
    number of ports: 32
    port base: 355
    operations supported: PutImage
    supported visuals:
    depth 24, visualID 0x21
    depth 24, visualID 0x24
    depth 24, visualID 0x25
    depth 24, visualID 0x26
    depth 24, visualID 0x27
    depth 24, visualID 0x28
    depth 24, visualID 0x29
    depth 24, visualID 0x2a
    depth 24, visualID 0x2b
    depth 24, visualID 0x2c
    depth 24, visualID 0x2d
    depth 24, visualID 0x2e
    depth 24, visualID 0x2f
    depth 24, visualID 0x30
    depth 24, visualID 0x31
    depth 24, visualID 0x32
    depth 24, visualID 0x33
    depth 24, visualID 0x34
    depth 24, visualID 0x35
    depth 24, visualID 0x36
    depth 24, visualID 0x37
    depth 24, visualID 0x38
    depth 24, visualID 0x39
    depth 24, visualID 0x3a
    depth 24, visualID 0x3b
    depth 24, visualID 0x3c
    depth 24, visualID 0x3d
    depth 24, visualID 0x3e
    depth 24, visualID 0x3f
    depth 24, visualID 0x40
    depth 24, visualID 0x41
    depth 24, visualID 0x42
    depth 24, visualID 0x43
    depth 24, visualID 0x44
    depth 24, visualID 0x45
    depth 24, visualID 0x46
    depth 24, visualID 0x47
    depth 24, visualID 0x48
    depth 24, visualID 0x49
    depth 24, visualID 0x4a
    depth 24, visualID 0x22
    depth 24, visualID 0x4b
    depth 24, visualID 0x4c
    depth 24, visualID 0x4d
    depth 24, visualID 0x4e
    depth 24, visualID 0x4f
    depth 24, visualID 0x50
    depth 24, visualID 0x51
    depth 24, visualID 0x52
    depth 24, visualID 0x53
    depth 24, visualID 0x54
    depth 24, visualID 0x55
    depth 24, visualID 0x56
    depth 24, visualID 0x57
    depth 24, visualID 0x58
    depth 24, visualID 0x59
    depth 24, visualID 0x5a
    depth 24, visualID 0x5b
    depth 24, visualID 0x5c
    depth 24, visualID 0x5d
    depth 24, visualID 0x5e
    depth 24, visualID 0x5f
    depth 24, visualID 0x60
    depth 24, visualID 0x61
    depth 24, visualID 0x62
    depth 24, visualID 0x63
    depth 24, visualID 0x64
    depth 24, visualID 0x65
    depth 24, visualID 0x66
    depth 24, visualID 0x67
    depth 24, visualID 0x68
    depth 24, visualID 0x69
    depth 24, visualID 0x6a
    depth 24, visualID 0x6b
    depth 24, visualID 0x6c
    depth 24, visualID 0x6d
    depth 24, visualID 0x6e
    depth 24, visualID 0x6f
    depth 24, visualID 0x70
    depth 24, visualID 0x71
    number of attributes: 3
    "XV_SET_DEFAULTS" (range 0 to 0)
    client settable attribute
    "XV_ITURBT_709" (range 0 to 1)
    client settable attribute
    client gettable attribute (current value is 0)
    "XV_SYNC_TO_VBLANK" (range 0 to 1)
    client settable attribute
    client gettable attribute (current value is 1)
    maximum XvImage size: 2046 x 2046
    Number of image formats: 4
    id: 0x32595559 (YUY2)
    guid: 59555932-0000-0010-8000-00aa00389b71
    bits per pixel: 16
    number of planes: 1
    type: YUV (packed)
    id: 0x32315659 (YV12)
    guid: 59563132-0000-0010-8000-00aa00389b71
    bits per pixel: 12
    number of planes: 3
    type: YUV (planar)
    id: 0x59565955 (UYVY)
    guid: 55595659-0000-0010-8000-00aa00389b71
    bits per pixel: 16
    number of planes: 1
    type: YUV (packed)
    id: 0x30323449 (I420)
    guid: 49343230-0000-0010-8000-00aa00389b71
    bits per pixel: 12
    number of planes: 3
    type: YUV (planar)
    Adaptor #1: "NV05 Video Blitter"
    number of ports: 32
    port base: 387
    operations supported: PutImage
    supported visuals:
    depth 24, visualID 0x21
    depth 24, visualID 0x24
    depth 24, visualID 0x25
    depth 24, visualID 0x26
    depth 24, visualID 0x27
    depth 24, visualID 0x28
    depth 24, visualID 0x29
    depth 24, visualID 0x2a
    depth 24, visualID 0x2b
    depth 24, visualID 0x2c
    depth 24, visualID 0x2d
    depth 24, visualID 0x2e
    depth 24, visualID 0x2f
    depth 24, visualID 0x30
    depth 24, visualID 0x31
    depth 24, visualID 0x32
    depth 24, visualID 0x33
    depth 24, visualID 0x34
    depth 24, visualID 0x35
    depth 24, visualID 0x36
    depth 24, visualID 0x37
    depth 24, visualID 0x38
    depth 24, visualID 0x39
    depth 24, visualID 0x3a
    depth 24, visualID 0x3b
    depth 24, visualID 0x3c
    depth 24, visualID 0x3d
    depth 24, visualID 0x3e
    depth 24, visualID 0x3f
    depth 24, visualID 0x40
    depth 24, visualID 0x41
    depth 24, visualID 0x42
    depth 24, visualID 0x43
    depth 24, visualID 0x44
    depth 24, visualID 0x45
    depth 24, visualID 0x46
    depth 24, visualID 0x47
    depth 24, visualID 0x48
    depth 24, visualID 0x49
    depth 24, visualID 0x4a
    depth 24, visualID 0x22
    depth 24, visualID 0x4b
    depth 24, visualID 0x4c
    depth 24, visualID 0x4d
    depth 24, visualID 0x4e
    depth 24, visualID 0x4f
    depth 24, visualID 0x50
    depth 24, visualID 0x51
    depth 24, visualID 0x52
    depth 24, visualID 0x53
    depth 24, visualID 0x54
    depth 24, visualID 0x55
    depth 24, visualID 0x56
    depth 24, visualID 0x57
    depth 24, visualID 0x58
    depth 24, visualID 0x59
    depth 24, visualID 0x5a
    depth 24, visualID 0x5b
    depth 24, visualID 0x5c
    depth 24, visualID 0x5d
    depth 24, visualID 0x5e
    depth 24, visualID 0x5f
    depth 24, visualID 0x60
    depth 24, visualID 0x61
    depth 24, visualID 0x62
    depth 24, visualID 0x63
    depth 24, visualID 0x64
    depth 24, visualID 0x65
    depth 24, visualID 0x66
    depth 24, visualID 0x67
    depth 24, visualID 0x68
    depth 24, visualID 0x69
    depth 24, visualID 0x6a
    depth 24, visualID 0x6b
    depth 24, visualID 0x6c
    depth 24, visualID 0x6d
    depth 24, visualID 0x6e
    depth 24, visualID 0x6f
    depth 24, visualID 0x70
    depth 24, visualID 0x71
    number of attributes: 2
    "XV_SET_DEFAULTS" (range 0 to 0)
    client settable attribute
    "XV_SYNC_TO_VBLANK" (range 0 to 1)
    client settable attribute
    client gettable attribute (current value is 0)
    maximum XvImage size: 2046 x 2046
    Number of image formats: 5
    id: 0x32595559 (YUY2)
    guid: 59555932-0000-0010-8000-00aa00389b71
    bits per pixel: 16
    number of planes: 1
    type: YUV (packed)
    id: 0x32315659 (YV12)
    guid: 59563132-0000-0010-8000-00aa00389b71
    bits per pixel: 12
    number of planes: 3
    type: YUV (planar)
    id: 0x59565955 (UYVY)
    guid: 55595659-0000-0010-8000-00aa00389b71
    bits per pixel: 16
    number of planes: 1
    type: YUV (packed)
    id: 0x30323449 (I420)
    guid: 49343230-0000-0010-8000-00aa00389b71
    bits per pixel: 12
    number of planes: 3
    type: YUV (planar)
    id: 0x3
    guid: 03000000-0000-0010-8000-00aa00389b71
    bits per pixel: 32
    number of planes: 1
    type: RGB (packed)
    depth: 24
    red, green, blue masks: 0xff0000, 0xff00, 0xff
    xorg.conf:
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # /etc/X11/xorg.conf (xorg X Window System server configuration file)
    # Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
    # (Type "man /etc/X11/xorg.conf" at the shell prompt.)
    #Section "ServerFlags"
    # Option "XkbDisable" "true"
    #EndSection
    Section "ServerLayout"
    Identifier "Default Layout"
    Screen "Default Screen" 0 0
    InputDevice "Generic Keyboard"
    InputDevice "Configured Mouse"
    EndSection
    Section "ServerLayout"
    Identifier "TV Layout"
    Screen 0 "Screen_TV" 0 0
    InputDevice "Generic Keyboard"
    InputDevice "Configured Mouse
    EndSection
    Section "Files"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/cyrillic"
    FontPath "/usr/share/fonts/100dpi/:unscaled"
    FontPath "/usr/share/fonts/75dpi/:unscaled"
    FontPath "/usr/share/fonts/Type1"
    FontPath "/usr/share/fonts/100dpi"
    FontPath "/usr/share/fonts/75dpi"
    FontPath "/usr/share/fonts/artwiz-fonts"
    FontPath "/usr/share/fonts/TTF"
    EndSection
    Section "Module"
    Load "bitmap"
    Load "dbe"
    Load "ddc"
    #Load "dri"
    #Load "evdev"
    Load "extmod"
    Load "freetype"
    Load "glx"
    Load "int10"
    Load "record"
    Load "type1"
    Load "vbe"
    EndSection
    Section "InputDevice"
    Identifier "Generic Keyboard"
    Driver "kbd"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "logiitc"
    Option "XkbLayout" "se"
    EndSection
    Section "InputDevice"
    Identifier "Configured Mouse"
    Driver "mouse"
    Option "CorePointer"
    Option "Device" "/dev/input/mice"
    Option "Protocol" "ExplorerPS/2"
    EndSection
    Section "Monitor"
    Identifier "Acer AL1923"
    #HorizSync 30.0-69.0
    #VertRefresh 60.0-75.0
    # calc: (x|y)pixels * 25.4 / dpi
    #DisplaySize 336 269 # 96 DPI @ 1280x1024
    Option "DPMS"
    EndSection
    Section "Monitor"
    Identifier "TV"
    HorizSync 30-50
    VertRefresh 60
    EndSection
    Section "Device"
    Driver "vesa"
    Identifier "VESA"
    EndSection
    Section "Device"
    Identifier "nv"
    Driver "nv"
    EndSection
    Section "Device"
    Identifier "NVIDIA GeForce 7600GS"
    Driver "nvidia"
    BusID "PCI:5:0:0"
    Option "NoLogo" "true"
    Option "RenderAccel" "true"
    Option "AddARGBGLXVisuals" "true"
    Option "backingstore" "true"
    EndSection
    Section "Device"
    Identifier "Card_TV"
    Driver "nvidia"
    Option "TVStandard" "PAL-B"
    Option "TVOutFormat" "SVIDEO"
    Option "ConnectedMonitor" "TV"
    EndSection
    Section "Screen"
    Identifier "Default Screen"
    Device "NVIDIA GeForce 7600GS"
    #Device "nv"
    #Device "vesa"
    Monitor "Acer AL1923"
    DefaultDepth 24
    SubSection "Display"
    Depth 1
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 4
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 8
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 15
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 16
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 24
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    EndSection
    Section "Screen"
    Identifier "Screen_TV"
    Device "Card_TV"
    Monitor "TV"
    DefaultDepth 16
    SubSection "Display"
    Depth 16
    Modes "1024x768" "800x600"
    EndSubSection
    EndSection
    Section "Extensions"
    Option "Composite" "Enable"
    EndSection
    I should probably also mention that I'm rolling my own kernel, and as such I'm not using the package from testing. Building it manually with the PKGBUILD from ABS though so it shouldn't be any difference though.
    Last edited by [vEX] (2008-01-15 17:15:36)

  • Problem extracting the content of a big xml data

    Hello
    I'm trying to use a web service that needs and returns big messages (>1Mo).
    Could you tell me if I do something wrong ? (I have a problem with the extract function at the end of the process)
    For this I modified the soap_api package to use clob for the envelope instead of varchar2.
    Sending a message works well, I modified the part of the invoke function that does this to
    send the message chunked :
    generate_envelope(p_request, l_envelope, p_type);
    --show_envelope(l_envelope);
    l_http_request := UTL_HTTP.begin_request(p_url, 'POST','HTTP/1.1');
    UTL_HTTP.set_header(l_http_request, 'Content-Type', 'text/xml');
    UTL_HTTP.set_header(l_http_request, 'Content-Length', LENGTH(l_envelope));
    UTL_HTTP.set_header(l_http_request, 'Transfer-Encoding', 'chunked' );
    UTL_HTTP.set_header(l_http_request, 'SOAPAction', p_action);
    --UTL_HTTP.write_text(l_http_request, l_envelope);
    v_clob_length := dbms_lob.getlength(l_envelope);
    loop
        if (v_end > v_clob_length) then
            v_end := v_clob_length;
            v_length := v_end - v_start + 1;
        end if;
        v_chunk_data := null;
        v_chunk_data := DBMS_LOB.SUBSTR(l_envelope, v_length, v_start);
        UTL_HTTP.write_text(l_http_request, v_chunk_data );
        if (v_end = v_clob_length) then
            exit;
        end if;
        v_start := v_end + 1;
        v_end := v_start + 2000;
    end loop;
    After that I modified the function to retrieve the message line by line instead of in one block :
    l_http_response := UTL_HTTP.get_response(l_http_request);
    --UTL_HTTP.read_text(l_http_response, l_envelope);
    l_envelope := null;
    begin
      LOOP
        utl_http.read_line(l_http_response, v_line, TRUE);
        v_line_clob := v_line;
        l_envelope := l_envelope || v_line_clob;
      END LOOP;
    UTL_HTTP.end_response(l_http_response);
    exception
      WHEN utl_http.end_of_body THEN
        utl_http.end_response(l_http_response);
    end;
    --show_envelope(l_envelope);
    l_response.doc := XMLTYPE(l_envelope);
    l_response.envelope_tag := p_request.envelope_tag;
    (I modified the show_envelope function to save the xml in a file and the message is completed and the creation of the xmltype returns no errors)
    But the last part that I didn't change doesn't work :
    l_response.doc := l_response.doc.extract('/' || l_response.envelope_tag || ':Envelope/' || l_response.envelope_tag || ':Body/child::node()',
                        'xmlns:' || l_response.envelope_tag || '="http://schemas.xmlsoap.org/soap/envelope/"');
    show_envelope(l_envelope);
    It should remove the <soap:Envelope> and <sopa:Body> part but they still exists after the extract.
    This is an example of the xml I receive from the web service :
    <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><getResultTestRetourStringResult xmlns="http://www.verlingue.fr/WSCalculTarificateur/"><Resultat>
    </Resultat></getResultTestRetourStringResult></soap:Body></soap:Envelope>

    Maybe because you are using l_envelope when calling show_envelop?
    l_response.doc := l_response.doc.extract('/' || l_response.envelope_tag || ':Envelope/' || l_response.envelope_tag || ':Body/child::node()',
                        'xmlns:' || l_response.envelope_tag || '="http://schemas.xmlsoap.org/soap/envelope/"');
    show_envelope(l_envelope);
    It's really hard to tell from your snippets of code, some of which have nothing to do with the issue.  The following works for me just fine on 11.1.0.6
    declare
      l_doc   XMLTYPE;
      l_snip  XMLTYPE;
    begin
      l_doc := XMLTYPE('<?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soap:Body>
          <getResultTestRetourStringResult xmlns="http://www.verlingue.fr/WSCalculTarificateur/">
             <Resultat></Resultat>
          </getResultTestRetourStringResult>
        </soap:Body>
    </soap:Envelope>');
      l_snip := l_doc.extract('/a:Envelope/a:Body/*','xmlns:a="http://schemas.xmlsoap.org/soap/envelope/"');
      dbms_output.put_line(l_snip.getStringVal);
    end;
    produces
    <getResultTestRetourStringResult xmlns="http://www.verlingue.fr/WSCalculTarificateur/">
      <Resultat/>
    </getResultTestRetourStringResult>
    I also get the same thing when using child::node() instead of *
    You'll notice that my namespace prefixes do not agree with what's in the XML.  That's okay.  Only the URI matters, not the prefix itself.  Since your URI is hard-coded, you could simplify the XPath as I showed so that it is easier to read.
    Welcome to the forums.
    Here is an always helpful read.
    Re: 2. How do I ask a question on the forums?

  • I'm having video playback problems in the timeline, Premiere Elements12

    I'm having video playback problems in the timeline, Premiere Elements12.The clip keeps stuttering. The whole video is 45 minutes long, is HD and has added music tracks. Any ideas would be appreciated.

    From the Premiere Elements Information FAQ http://forums.adobe.com/thread/1042180
    •You MUST use an account with Administrator Privileges to run Premiere Elements
    •(Doing Run as Administrator http://forums.adobe.com/thread/969395 [says Encore and also for "All" versions of Premiere] will sometimes fix "odd" errors)
    •What version of Premiere Elements? Include the minor version number (e.g., Premiere Elements 12 with the 12.1 update)
    •What operating system? This should include specific minor version numbers, like "Mac OSX v10.9.4"---not just "Mac"
    •Has this ever worked before?  If so, do you recall any changes you made to Premiere Elements, such as adding Plug-ins, brushes, etc.?  Did you make any changes to your system, such as updating hardware, printers or drivers; or installing/uninstalling any programs?
    •Have you installed any recent program or OS updates? (If not, you should. They fix a lot of problems.)
    •What kind(s) of image file(s)? When talking about camera raw files, include the model of camera.
    •If you are getting error message(s), what is the full text of the error message(s)?
    •What were you doing when the problem occurred?
    •What other software are you running?
    •Tell us about your computer hardware. How much RAM is installed?  How much free space is on your system (C:) drive?
    •How many and what speed are your hard drive(s)... ie 5400rpm or 7200rpm or?
    And some other questions...
    •What are you editing, and does your video have an orange line over it BEFORE you do any work?
    •Which version of Quicktime do you have installed?
    •What is your exact brand/model graphics adapter (ATI or nVidia or ???)
    •What is your exact graphics adapter driver version?
    •Have you gone to the vendor web site to check for a newer driver?
    •For Windows, do NOT rely on Windows Update to have current driver information
    •-you need to go direct to the vendor web site and check updates for yourself
    •nVidia Driver Downloads http://www.nvidia.com/Download/index.aspx?lang=en-us
    •ATI Driver Autodetect http://support.amd.com/en-us/download/auto-detect-tool

Maybe you are looking for