Flv access to MetaData.. via php ?

Is there a way to runtime reading / access MetaData from a
php script so i can from the file it self get stuff like
videodatarate / audiodatarate / framerate / width and height ..
?

I don't know PHP, but if PH can introspect the file and send
that data to Flash in an XML format, then yes, you can do what you
are asking. The key is PHP getting the data and then formatting it
so that Flash can consume it.
good luck!

Similar Messages

  • Cannot access Diagram metadata via GTL or VB Script

    I'm using PD 16.5 SP03 PL03.
    I need to extract a CSV file that contains selected metadata from the entity attributes that are displayed in a LDM diagram. Nothing works.
    If I create a Generated File containing GTL, no preview tab appears in the diagram properties (this approach works for the model and entities, but not for the diagram).
    If I write a simple VB Script to extract metadata via the DisplayedObjects collection, I get an error message that says the Class doesn't support automation.
    Is there another way?

    Hi,
    You may use the EvaluateTextFor on Object, and use the .Q macro to quote the desired properties.
    Ex.
    <<
    Function %Get%(obj)
       dim sym, sobj, str
       for each sym in obj.Symbols
          if (sym.isKindOf(cls_ObjectSymbol)) then
             if(str <> "") then str = str & vbCrLf
             str = str & sym.Object.EvaluateTextFor("%.Q:ClassName%\t%.Q:Code%\t%.Q:Name%\t%.Q:Comment%", "%CurrentTargetCode%")
          end if
       next
       %Get% = str
    End Function
    >>
    Nice [productive] solution will be to add a template in "NamedObject" with a default description, ie <<%.Q:Code%\t%.Q:Name%\t%.Q:Comment%>>
    that you may override in specific object type. For instance, Entity would display specifc properties, and attributes others.
    You will have a template (say "xlsDump") under NamedObject with a default contents.
    But in Entity, the same template will have additional parent entity for instance, so the same template "xlsDump" will contain <<%.Q:Code%\t%.Q:Name%\t%.Q:Comment%\t[%ParentEntity%?%.Q:ParentEntity.Name%:"No parent"]>>
    Ex.
    NamedObject.xlsDump=
    %.Q:ClassName%\t%.Q:Code%\t%.Q:Name%\t%.Q:Comment%
    Entity.xlsDump=
    %.Q:ClassName%\t%.Q:Code%\t%.Q:Name%\t%.Q:Comment%\t[%ParentEntity%?%.Q:ParentEntity.Name%:"No parent"]\n
    .foreach_item("Attributes")
    %xlsDump%
    .next("\n")
    EntityAttribute.xlsDump=
    %.Q:ClassName%\t%.Q:Code%\t%.Q:Name%\t%.Q:Comment%\t%.Q:DataType%
    You LogicalDiagram.XPreview extended attribute Get Method Script =
    Function %Get%(obj)
       dim sym, sobj, str
       for each sym in obj.Symbols
          if (sym.isKindOf(cls_ObjectSymbol)) then
             if(str <> "") then str = str & vbCrLf
             str = str & sym.Object.EvaluateTextFor("%xlsDump%", "%CurrentTargetCode%")
          end if
       next
       %Get% = str
    End Function
    You will have a preview page as
    <<
    "Entity" "CAR" "Car" "Car vehicle" "Vehicle"
    "Entity Attribute" "NUMBEROFSEATS" "NumberOfSeats" "" "I"
    "Entity Attribute" "TYPE" "Type" "" "VA128"
    "Entity Attribute" "CONDUCTORSEATSLEFT" "ConductorSeatsLeft" "" "BL"
    "Entity" "VEHICLE" "Vehicle" "" "No parent"
    "Entity Attribute" "NUMBEROFSEATS" "NumberOfSeats" "" "I"
    "Entity Attribute" "TYPE" "Type" "" "VA128"
    "Inheritance" "INHERITANCE_1" "Inheritance_1" ""
    >>
    for a simple model Vehicule(NumberOfSeats,Type) <-[inhr]--Car(ConductorSeatsLeft)
    Marc

  • Accessing a JD Edwards database via PHP

    Hi,
    Would anyone be able to tell me if it is possible to access a JD Edwards installation via PHP? Our web interface requires JD Edwards integration. If this is possible, where would I find documentation about this?
    Thanks,
    Geoff

    We used IBM DB2Connect software which allows you to use AS400/iSeries native commands. The web developer handled the setup on the application server so I don't have any details on the setup, but your IBM representative should be able to help you or get you in touch with someone who can help you.

  • Loading FLV via PHP

    Gang,
    I've been unable to find any solution - or even a solid
    explanation - for this problem anywhere.
    I've built a custom FLV player that needs to rely on a PHP
    script to serve it FLV files in order to control access to those
    files. My player uses the FLVPlayback component.
    My actionscript makes a call like this to the PHP script:
    my_player.contentPath = "resource.php?id=12345"
    I've also tried...
    my_player.load("resource.php?id=12345");
    The resource.php code in question looks something like this:
    header('Content-Type: video/x-flv');
    readfile("my_video.flv");
    When tested, the FLVPlayback component simply won't accept
    the FLV served up to it in this way. It WILL work if loading
    directly from the file system, so I know my actionscript works. I
    can load just about any other type of file into Flash this way,
    including JPG and SWF. FLV is the only format that doesn't work.
    I've added the video/x-flv MIME Type to all test servers I've
    tried this on, so the server should recognize the file.
    So here's the question: How can I get my PHP script to serve
    the FLV to my FLVPlayback-based player?
    Thanks,
    J

    Solved!
    The root cause was that the FLV served up by the PHP script
    was being sent to Flash with a .php file extension, which the
    FLVPlayback component doesn't seem to like. The root solution,
    therefore, was to rename the PHP script with a .flv exension, as
    outlined below.
    The files in the "resources/" folder:
    resources/
    -- .htaccess
    -- test.xxx (a renamed FLV file)
    -- resource.flv (a renamed PHP script)
    The .htaccess file:
    AddType application/x-httpd-php .flv
    The PHP script (renamed to "resource.flv"):
    $filename = "test.xxx";
    header('Content-Type: video/x-flv');
    header('Length: ' . filesize($filename));
    header('Content-Disposition: attachment;
    filename="'.$filename.'"');
    $fd = fopen($filename, "r");
    while(!feof($fd)) {
    echo fread($fd, filesize($filename));
    flush();
    fclose ($fd);
    The salient ActionScript:
    //my FLVPlayback compontent instance is named "video"
    video.load("[server]/resources/resource.flv");
    There may be some extraneous headers in the PHP script, but
    at least it works.
    J

  • Can access Apple TV via airplay, but can't get to internet or iMac from Apple TV

    Can access Apple TV via airplay, but can't get to internet or iMac from Apple TV. Whenever I try to put my info in it says to try later. When I test network it says network time has not been set. It has worked previously.

    Try the following steps, check whether things are working after each step where appropriate, before trying the next.
    Check AirPlay is turned on on the Apple TV (turn it off and on if it already is)
    Check that both devices are on the same network (Settings > Wifi, on the mobile device and Settings > General > Network, on the Apple TV).
    Restart the Apple TV (Settings > General > Restart).
    Restart the Apple TV by removing ALL the cables for 30 seconds.
    Restart your router. (Also try removing it’s power cord for at least 30 seconds)
    Restart your mobile device.
    If you are still having problems, the following article(s) may help you.
    Troubleshooting AirPlay
    Troubleshooting Wi-Fi networks and connections
    Recommended Wi-Fi settings
    Wifi Diagnostic Software (for Mac users)
    You may also find some help on this page, where I’ve collected some of the more unusual solutions to network issues.
    When making adjustments to your network for better optimisation, you may find some of the points mentioned on this page helpful.

  • How do I set up an administrator account so my daughter who is under 13 , so she can access itunes herself. Main access will be via itunes vouchers . I don't want to create credit card access.

    how do I set up an administrator account so my daughter who is under 13 ,
    can access itunes herself. Main access will be via itunes vouchers . I don't want to create credit card access.

    There is no such account. The iPod is really a one-user device
    Create a NEW account/ID for her using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before.
      Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    You can then redeem a gift card(s) into the account

  • I now have 5 devices that access the "cloud" via Match. I also have 3 computers that need to be authorized. Is there a way to authorize all these computers/devices in such a way to allow everything to access and sync to the cloud?

    I now have 5 devices that access the "cloud" via Match. I also have 3 computers that need to be authorized. Is there a way to authorize all these computers/devices in such a way to allow everything to access and sync to the cloud?

    I had a problem with a 5.0.3 project that would cause 5.0.4 to crash. Apple asked for a copy of the project and later told me it was because there were some empty text layers. Apple is aware of the issue and is working on a fix.
    In my case I still had 5.0.3 on another Mac and could clean up the project. If empty text layers might be the problem, do you know someone with an earlier version who could open it and remove the empty layers? I'd be willing to give it a try if you'd want to send me the project.
    Ross Hunter

  • I receive a not connected to the internet message several times daily on my iMac connected via airport to a time capsule which accesses the internet via cable modem.. When I input my password to enter network preferences, the connection re-establishes.

    I receive a "not connected to the internet message" several times daily on my iMac connected via airport to a time capsule which accesses the internet via a cable modem. Software/firmware is up to date on the iMac (OSX 10.6.8)  and Tme Capsule(7.5.2). Browser is Safari 5.1.
    When I input my password at the prompt to enter network preferences, all the lights go green (ie... ethernet, ISP etc.) and the connection re-establishes immediately and states "the connection appears to be working normally".
    It more of a nuisance than anything and seems to have started ocurring over the past couple of months. I also have a windows XP box also connected to the same cable modem that I never have internet connectivity issues with. I've verified all the physical aspects of the connections and can't see any evidence of any actual drops in the modem logs. I suspect it is just an intermittent communication loss between the Imac and the Time Capsule, but I am not very familiar with Mac equipment yet.
    Just wondering if anyone has experienced a similar problem and what you did (if anything) to resolve it?
    Thanks.

    The AirPort Express will connect to your existing wireless network if the network is using WPA2 Personal or WPA/WPA2 Personal wireless security settings.
    So, it can join the network as a client and then provide an Ethernet signal to your Time Capsule.
    Be sure to configure the Time Capsule to operate in Bridge Mode so that it will be operating on the same network.

  • I CANNOT ACCESS THE INTERNET VIA MOZILLA FIREFOX. BOX COMES UP AS FOLLOWS:-

    I CANNOT ACCESS THE INTERNET VIA MOZILLA FIREFOX
    A BOX COMES UP WITH THE FOLLOWING:-
    firefox-exe - Entry Point Not Found The procedure Entry Point
    could not be located in the dynamic link library mozsqlite-3-all.
    PLUS
    When I access the internet via my server (Tiscali now Talk-Talk)
    I have to enlarge each page. this is not now automatic.
    What on earth has happened?
    Please Help.
    Thank you.

    You need to do a clean reinstall.
    Download a fresh Firefox copy and save the file to the desktop.
    * Firefox 5.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Uninstall your current Firefox version.
    * Do not remove personal data when you uninstall the current version.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.

  • If i connect an external hard drive to a time capsule, can i access this drive via internet?

    If i connect an external hard drive to a time capsule, can i access this drive via internet?

    If the drive can be accessed in local lan, then it can be accessed from internet assuming you have setup using one of the remote access methods.
    See remote access here.
    https://discussions.apple.com/community/wireless/airport?view=documents

  • Access local disk via Java Web Start??

    HI all ,
    I had saw the JWS document.
    It indicate we can't access local disk via JWS in that Security.
    If I need to access local disk by command, does anyone have better suggestion.
    And can I run *.bat via Java Web Start?
    Thanks very much for your help.
    Morris

    I do the both thing but still don't access to Local disk.
    I just write a simple test class within extend another that create a file (and of course sign it)but still can't create a file Local disk. this MAKE ME MAD and LOOSE MY JOB .
    here is my JNLP file:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for Pensionsrechner -->
    <jnlp
    spec="1.0+"
    codebase="file:///d:/"
    href="test.jnlp">
    <information>
    <title>Me</title>
    <vendor>myself</vendor>
    <homepage href="http://www.me.com"/>
    <description> test test test</description>
    <description kind="short">Test creatin of log file on client </description>
    </information>
    <offline-allowed/>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.4"/>
    <jar href="test2.jar"/>
    </resources>
    <application-desc main-class="secMan.Test"/>
    </jnlp>

  • HT1222 Since downloading the IOS7 I can't access the internet via a wifi.  I would like to remove it, is it possible?  I have the ipad2

    Since downloading the IOS7 I can't access the internet via a wifi.  I would like to remove it, is it possible?  I have the ipad2

    Sorry, no. Apple does not support downgrading.
    Have you tried to go into your settings, reset, reset network settings? It'll erase your current network from your iPad and let you start over.

  • Access CDF MetaData from Region Template

    How can I access the MetaData of a CDF from the Region Template?
    I have read that I can use DOC_INFO, but this does not seem to work. I tried:
    DOC_INFO.dDocAccount and got nothing.
    I tried:
    executeService("DOC_INFO")
    DOC_INFO.dDocAccount
    Thank you in advance for any help.
    _t                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    If you're looking for the CDF that's assigned to the region template, use:
    <!--$#active.[metadata field name]-->
    For example, <!--$#active.xDescription-->
    If you're trying to get from a different CDF, use:
    <!--$dDocName="[Content ID]"-->
    <!--$executeService("DOC_INFO_BY_NAME")-->
    <!--$#active.[metadata field name]-->
    For example,
    <!--$dDocName="CONTENT123456"-->
    <!--$executeService("DOC_INFO_BY_NAME")-->
    <!--$#active.xDescription-->

  • TS1717 I can't access Itunes Store via my Itunes. When Itunes start, CPU always 100%, I've tried uninstall and reinstall Itunes but it seems to be useless. Please help !!!

    I can't access Itunes Store via my Itunes. When Itunes start, CPU always 100%, I've tried uninstall and reinstall Itunes but it seems to be useless. Please help !!!

    I can't access Itunes Store via my Itunes.
    Is iTunes endlessly saying "Accessing iTunes Store"? Or is something a bit different going on?

  • I just bought a brand new iPhone 5s and a huge problem is that when i try to sync my music to my iPhone 5s, under the music tab it says that i can only access my music via iCloud. is there anyway to sync your music from your computer?????

    I just bought a brand new iPhone 5s and a huge problem is that when i try to sync my music to my iPhone 5s, under the music tab it says that i can only access my music via iCloud. is there anyway to sync your music from your computer?????

    The ! sign before the song means that the actual song is no longer on your computer and/or iTunes library.

Maybe you are looking for

  • How to perform expand and collapse operation on click of link or button

    Hi Is there anyway by which i can perform expand and collapse operation over a table on click of a command link or button without using show details component. Is there any other alternative to show detail. I do not want to use show detail because of

  • Update to Acrobat 9.4.2 failed Error code 1646

    I received a notice of an update to Acrobat 9.4.2 and initiated the update. The update failed with error code 1646. I then manually downloaded the update and attempted the update. I received the error message that uninstall of this update is not supp

  • If we set cache persistant time in physical table is there any issues we wi

    hi all one small question i have that is , with out using event pooling tables,if i set the cache persistent time ,will i face any problem? any disadvantages will i face ? Thanks

  • Can't get a USB Connection

    I have a BB 8330, which my computer has been able to detect in the past, but can't now. The computer is an HP EliteBook 6930p running Windows XP Service Pack 2. For what it's worth, I'm using a new USB cable, but the BB is drawing power through it, s

  • Integrate Iplanet and Oracale Retail Central Office

    Hi All, I need to centralize an employee for that I need to integrate ORCO with Iplanet please let me know how to integrate. Thanks and Regards, Sindhuri.M