How to find out FLV duration using PHP?

Is there any way I can use PHP to find out the duration of a
FLV file on its web server?
Thanks.

> Is there any way I can use PHP to find out the duration
of a FLV file
> on its web server?
AFAIK, no. But since some people have found a way to extract
similar
information from SWF files, maybe there is a chance to pull
something
like that off with FLVs.
Alternatively you could create a flash movie that has the
single purpose
of loading an FLV and sending the duration to a PHP script
using the
LoadVars class and its sendAndLoad() method.
Christian Scholz-Flöter

Similar Messages

  • How to find out the Transactions used per month & the USER who used that

    Hi,
    1)How to find out the Transactions used per month & the USER who used that?
    2)and can i get the above same for minimum 20 month?
    System : SAP- Enterprise Core Component.

    You can use my program...
    *& Report  Z_ABAP_TCODE_MONITOR
    *****&  Program Type          : Report                                 *
    *****&  Title                 : Z_ABAP_TCODE_MONITOR                   *
    *****&  Transaction code      : ZTCODE_USAGE                           *
    *****&  Developer name        : Shailendra Kolakaluri                  *
    *****&  Deveopment start date : 26 th Dec 2011                         *
    *****&  Development Package   : ZDEV                                   *
    *****&  Transport No          : DEVK906086                                       *
    *****&  Program Description   : This program is to display
    *List all tcodes executed during previous day.
    *& Show the number of users executing tcodes
    *& Modification history
    REPORT  Z_ABAP_TCODE_MONITOR.
    *& List all tcodes executed during previous day.
    *& Show the number of users executing tcodes
    TYPE-POOLS : slis.
    DATA: ind TYPE i,
          fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
          layout TYPE slis_layout_alv,
          variant TYPE disvariant,
          events  TYPE slis_t_event WITH HEADER LINE,
          heading TYPE slis_t_listheader WITH HEADER LINE.
    *REPORT  z_report_usage.
    TYPES: BEGIN OF zusertcode,
      date   TYPE swncdatum,
      user   TYPE swncuname,
      mandt     TYPE swncmandt,
      tcode     TYPE swnctcode,
      report TYPE swncreportname,
      count     TYPE swncshcnt,
    END OF zusertcode.
    *data   : date type n.
    DATA: t_usertcode  TYPE swnc_t_aggusertcode,
          wa_usertcode TYPE swncaggusertcode,
          wa           TYPE zusertcode,
          t_ut         TYPE STANDARD TABLE OF zusertcode,
          wa_result    TYPE zusertcode,
          t_result     TYPE STANDARD TABLE OF zusertcode.
    PARAMETER: month TYPE dats DEFAULT sy-datum.
    *PARAMETER: date TYPE dats.
    *select-options : username for wa_usertcode-account.
    START-OF-SELECTION.
    PERFORM get_data.
    PERFORM get_fieldcatalog.
      PERFORM set_layout.
    PERFORM get_event.
    PERFORM get_comment.
      PERFORM display_data.
    FORM get_data .
    *date = sy-datum - 2 .
    After start-of-selection add this line (parameter Month required 01 as day).
      concatenate month+0(6) '01' into month.
      CALL FUNCTION 'SWNC_COLLECTOR_GET_AGGREGATES'
        EXPORTING
          component     = 'TOTAL'
          ASSIGNDSYS    = 'DEV'
          periodtype    = 'M'
          periodstrt    = month
        TABLES
          usertcode     = t_usertcode
        EXCEPTIONS
          no_data_found = 1
          OTHERS        = 2.
      wa-date  = month.
    *wa-date  = date.
      wa-mandt = sy-mandt.
    wa_usertcode-account = username.
      LOOP AT t_usertcode INTO wa_usertcode.
        wa-user = wa_usertcode-account.
        IF wa_usertcode-entry_id+72 = 'T'.
          wa-tcode  = wa_usertcode-entry_id.
          wa-report = space.
        ELSE.
          wa-tcode  = space.
          wa-report = wa_usertcode-entry_id.
        ENDIF.
        COLLECT wa INTO t_ut.
      ENDLOOP.
      SORT t_ut BY report ASCENDING.
      CLEAR: wa, wa_result.
    endform.
    FORM get_fieldcatalog .
    fcat-tabname     = 't_ut'.
    fcat-fieldname   = 'DATE'.
    fcat-seltext_l   = 'Date'.
    fcat-key         = 'X'.
    APPEND fcat.
      CLEAR fcat.
      fcat-tabname     = 't_ut'.
      fcat-fieldname   = 'MANDT'.
      fcat-seltext_l   = 'Client'.
      fcat-key         = 'X'.
      APPEND fcat.
      CLEAR fcat.
      fcat-tabname     = 't_ut'.
      fcat-fieldname   = 'USER'.
      fcat-seltext_l   = 'User Name'.
      fcat-key         = 'X'.
      APPEND fcat.
      CLEAR fcat.
      fcat-tabname     = 't_ut'.
      fcat-fieldname   = 'TCODE'.
      fcat-seltext_l   = 'Transaction Code'.
      fcat-key         = 'X'.
      APPEND fcat.
    ENDFORM.
    *&      Form  SET_LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM set_layout .
      layout-colwidth_optimize = 'X'.
    ENDFORM.                    " SET_LAYOUT
    *&      Form  GET_EVENT
          text
    -->  p1        text
    <--  p2        text
    *FORM get_event .
    events-name = slis_ev_top_of_page.
    events-form = 'TOP_OF_PAGE'.
    APPEND events.
    *ENDFORM.                    " GET_EVENT
    **&      Form  GET_COMMENT
          text
    -->  p1        text
    <--  p2        text
    *FORM get_comment .
    DATA: text(30).
    text = 'Billing Report'.
    heading-typ = 'H'.
    heading-info = text.
    APPEND heading.
    *ENDFORM.                    " GET_COMMENT
    **&      Form  top_of_page
          text
    -->  p1        text
    <--  p2        text
    *FORM top_of_page .
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
       EXPORTING
         it_list_commentary       = heading[]
      I_LOGO                   =
      I_END_OF_LIST_GRID       =
    *ENDFORM.                    " top_of_page
    *&      Form  DISPLAY_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM display_data .
      sort t_ut[].
    DELETE ADJACENT DUPLICATES FROM t_ut[] COMPARING ALL FIELDS.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = sy-cprog
          is_layout          = layout
          it_fieldcat        = fcat[]
          i_save             = 'A'
          is_variant         = variant
          it_events          = events[]
        TABLES
          t_outtab           = t_ut
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " DISPLAY_DATA

  • How to find out query name using Elements of the query builder.

    Hi SDNers,
    how to find out query name using Elements of the query .
    thanks,
    satyaa

    Hi,
    For having a look at the relation between BEx tables,check the link below:
    http://wiki.sdn.sap.com/wiki/display/BI/ExploretherelationbetweenBEx+Tables
    -Vikram

  • How to find out Query last used by whom

    Dear All,
    Can any one tell me that "How to find out the Query last used by whom. I have already searched in SDN but no luck. In my system BW Stats are not installed and I have already checked the below tables.
    RSZELTDIR  - Directory of the reporting component elements
    RSZELTTXT  - Texts of reporting component elements 
    RSZELTXREF  - Directory of query element references 
    RSRREPDIR -  Directory of all reports (Query GENUNIID) 
    RSZCOMPDIR -  Directory of reporting components 
    RSZRANGE  - Selection specification for an element 
    RSZSELECT -  Selection properties of an element
    RSZELTDIR - Directory of the reporting component elements 
    RSZCOMPIC -  Assignment reuseable component <-> InfoCube
    RSZELTPRIO -  Priorities with element collisions
    RSZELTPROP - Element properties (settings)
    RSZELTATTR - Attribute selection per dimension element 
    RSZCALC - Definition of a formula element 
    RSZCEL - Query Designer: Directory of Cells
    RSZGLOBV -  Global Variables in Reporting
    RSZCHANGES  Change history of reporting components 
    I am able to find out the Date and time but not the user name.  So could you please help on this.
    Regards
    Sankar

    i think u have missed it.
    RSZCOMPDIR IS THE ONLY TABLE WHICH PROVIDES THE DATA.
    ENTER TECHNICAL QUERY Name in RSZCOMPDIR-COMPID.
    RSZCOMPDIR-TSTNAM gives you the user id of sap bw user who made the change.
    RSZCOMPDIR-TSTPDAT gives you date on which  change was made .
    RSZCOMPDIR-TSTPTIM   gives you timestamp on which  change was made .
    all users details can be obtained from TCODE SU01 where you need to enter sap user id.
    You can also get user name( description) by using tcode SE09 and entering above sap user id.

  • How to find out what is using the native heap of a process running a JVM?

    Hello,
    I am not sure where to post this question so I am starting here.
    I am troubleshooting a Java application using some native calls (32 bits Java running on Solaris 10). The size of the process (as reported by prstat) is slowly increasing day after day.
    The size of the 'Java heap' is fixed at the start (-Xms and -Xmx are set to the same value on the command line when launching the Java app) and the GC is workling fine. No memory complaints from the Java side of the application.
    It is the size of the 'native' heap (as reported by 'pmap') that is increasing:
    root@mas01 # pmap 5382
    5382:/apps/java/bin/java -server -Xms207M -Xmx207M -XX:MaxNewSize=24M -XX:N
    00010000 64K r-x-- /apps/jdk1.5.0_19/bin/java
    0002E000 16K rwx-- /apps/jdk1.5.0_19/bin/java
    00032000 3896K rwx-- [ heap ]
    00400000 389120K rwx-- [ heap ]
    18000000 2784K rwx-- [ heap ]
    DCAF4000 48K rw--R [ stack tid=169 ]
    DCBF6000 40K rw--R [ stack tid=161 ]
    DCCF8000 32K rw--R [ stack tid=160 ]
    My first reaction was to search for a memory leak. Found a minor leak in the JVM with the ::findleak function (called within the mdb debugger). Upgraded to a later release of Java 5 (Java 1.5.0_19) where the leak is fixed but the heap is still increasing.
    Many parts of the process allocate memory in the native heap. The JVM itself, the native calls made to a C++ library part of our Java application and maybe also some 3rd party software.
    I would like to know what is the best way to find out what is consuming more and more memory in the native heap. I started looking a DTraces but I am new to this. I also thought maybe the Solaris Perftools might be of use but I never used them. Before plunging into a tool more or less blindly, I am asking for advices on how to tackle this issue. Can someone recommend a tool/method to see what is allocated in the heap?
    Regards,
    Stéphan
    Edited by: StephanDupont on Sep 22, 2009 8:47 AM

    After googling a lot I managed to run my application with libumem, generated a core file and succeeded to find some leak with mdb even if ::findleak reported nothing.
    Does anyone knows if the ::findleak (you need libumem and mdb) is supposed to find leak in the native part of the memory and a Java application using the JNI interface?
    Regards,
    Stéphan

  • How to find out which application uses how many Web containers?

    Hi everybody,
    we are monitoring several JAVA engines via sapccmsr and often get a threshold overflow for SID\Server\...\Web Container\AllRequestsCount
    The SAP online documentation tells me how to set a threshold for any web application. But befor that I should know, which application uses up all the Web Containers. How can I find out?
    btw: Does the Threshold (1.000.000) make any sense, or is this just a number that may be changed without the fear for any consequences? Is there a serious performance impact?
    Thank you in advance
    Ralf

    Ralf,
    I have an opinion, that you can take a trace messages from Web Container service, which might give you some more details.
    I am not completely sure if that serves your purpose. Still you can have a look in the below document, if it looks helpful.
    http://wiki.sdn.sap.com/wiki/display/JSTSG/%28JSTSG%29%28Web%29Trace+locations
    Regards,
    Sujit.

  • How to find out the variable using in the system.

    Hi Friends,
    When I am trying to create a new variable for a infoobject. It is giving me a warning that Change the tecnical name 'New Variable.....' Before save
    This is not allowing me to create any new variable.
    In the system I find out one variable is there with the name  'New Variable.....'
    And It is being used some where. When I am trying to delete this variable it is giving me a msg that it is being used in ZSCEMESTS.
    But I am not able to find out where this ZSCEMESTS is exists.
    Is there any TCODE for find out this object.
    I want to delete this New Varable.....  So can any body pls provide me the solution?
    Regards,
    Sridhar

    Hi Sridhar.
    Can you please tell me, is the variable entry mandatory? If yes please make the variable entry is optional.
    Hi Sridhar,
    Can you please tell me which type of variable it is? On which object this variable built?
    Variable is available global level, so you can view this variable on the same object right click restrict --- variable --- select --- delete.
    If it though it is already used in another query then use where used list then go to respective query and delete the same.
    Regards,
    Lokanatha.

  • How to find out user privilege using JPDK

    Hi All,
    How can I find out what type of user-privilege that a user has inside the renderBody method of the subclass of the BaseManagedRenderer class? e.g: whether the user has the Administer privilege.
    I looked through the ProviderUser object which can be obtained from the pr.getUser() (PortletRenderRequest.getUser()) and it does not seem to provide the method to get the user's privilege.
    Any insight is greatly appreciated!
    Thanks,
    Vince

    Vince,
    How did you figure out calling the is_user_in_group or other
    similar function calls in the WWSEC_API?
    I tried making a regular SQL Statement by doing the following.
    CallableStatement callablestatement = conn.prepareCall
    ("begin ? := wwsec_api.is_user_in_group(?,?); end;");
    callablestatement.registerOutParameter(1, 12);
    callablestatement.setInt(2, 17);
    callablestatement.setInt(3, 0);
    callablestatement.execute();
    boolean s2 = callablestatement.getBoolean(1);
    callablestatement.close();
    but it fails with the following exception in the JSP...
    java.sql.SQLException: ORA-06550: line 1, column 13: PLS-00382:
    expression is of wrong type ORA-06550: line 1, column 7: PL/SQL:
    Statement ignored
    Can you shed some light on the problem?
    Thanks,
    Niket Parikh

  • How to find out who is using the shared library?

    Is there a way to find out who is listening to my music on my shared library and what they are listening to?

    After googling a lot I managed to run my application with libumem, generated a core file and succeeded to find some leak with mdb even if ::findleak reported nothing.
    Does anyone knows if the ::findleak (you need libumem and mdb) is supposed to find leak in the native part of the memory and a Java application using the JNI interface?
    Regards,
    Stéphan

  • How to find out the updates using query which has done in Discoverer Admin

    Hi All,
    I have done some updates in Discoverer Admin like add field in some folders and rename...I want to know the updates which has been done in the front end using sql query.
    Could any one please tell me is there any query to find out the updates in Discoverer admin.
    Thanks,
    Kamal

    Hi Siddarth,
    Solution :
            1) Go to SE16 - Table Name : EKBE (PO History)
            2) Field - BUDAT (Posting Date)
            3) Transaction event Type:
                             - 1 (Only GR's )
                             - 2 (Both GR and IR)
            4) We can fetch both GR Numbers and also PO Numbers for which IR has not been done if transaction event - 1.
    In addition to MB5S, you can try this also...

  • How to find out operation unit used in preliminary cost estimate.

    Please tell me in which table operation unit used in cost estimate is stored.I dont want information from routing.Can i get the information from cost estimate table itself.

    ttSize 'estimates' the storage required for a table (and indexes) based on the table schema and the number of rows to be stored in the table.
    DSSIZE reports several values from the SYS.MONITOR table. The main one of interest here is PERM_IN_USE_SIZE: 416840. This means that currently 416,840 KB (~407 MB) of memory is used within the datastore. Have you loaded the data for all three tables from Oracle into TimesTen (LOAD CACHE GROUP)? It would be very unusual for there to be such a discrepancy between the size estimated by ttSize and the actual memory needed...
    Unfortunately, there is no way to find out the exact amount of memory actually occupied by a specific table in TimesTen :-(
    Chris

  • How to find out internet version ,using a java program?

    Can any one send javacode to find out the internet version ,using a java program?

    i mean internet explorer version
    Edited by: mvasu on Feb 20, 2008 2:04 AM

  • How to find out material code using web services?

    Hi,
    Is there a WSDL to find out material code of a componet if only inventory ID is known?
    Regards
    Kari

    Thanks

  • How to find out User Id Used in Debugging Mode

    Hi Gurus
    Could you plz advice . how find to  out  SAP user Id used to   delete  SAP table entries in Debugging Mode.
    Thanks
    Ravi

    Hi Ravikanth,
      I'm not sure how to check the change log in debugging mode,
    but you can get the LOG DATA CHANGES from tcode SCU3(If log checkbox selected in Technical settings).
    You may check the coding for scu3 for more details.
    Happy coding..!!
    //Kiran Singh

  • How to find out the most used objects and rarely used objects?

    Hello all,
                  Can somebody please guide me on the procedure to separate frequently used transactions or reports or tables from rarely used ones on the production server?
    Is there any special transaction to find this out?
    hope to hear from you soon.
    Thanks,
    me

    The SAP standard doesn´t provide such a functionality. There is, however, a product called "RBE" (Reverse Business Engineer) which is part of the Solution Manager (ST-SEP). It must be licensed separately.
    Check
    https://service.sap.com/~sapdownload/011000358700000052162007E
    Markus

Maybe you are looking for

  • How do I transfer Voice Memos from my iPhone 5 to my PC?

    Hi! I recently got an iPhone 5 and I have a bunch of Voice Memos on it already. I already tried syncing the voice memos on iTunes, but when I go and try, it was ask me "Would you like to copy these voice memos to your iTunes library?", I would click

  • My iPod Nano will not show up as a device at all, neither in Windows or iTunes

         Please help. I have bought songs in the expectation that they would be listened to, but I can not sync them to my iPod Sixth Generation Nano . Will some one please help me connect it to my pc properly?

  • Slightly off topic - ATI test demos

    Hi, Slightly off topic question but... Many years ago a friend of mine (albeit a PC user) showed me a graphics card render demo which was a take on the Lobby Scene from The Matrix, designed to show of his (then) high powered graphics card (this was a

  • External boot up disk PPC versus Intel

    I am currently travelling with an external HD that is a clone of my G5 PPC iMac. It has a fully functioning OS 10.4.11 on it and I can use it as a boot up disk. I normally stay with a friend who has a PPC Mac, and can boot up using this HD so that it

  • EOIO for Idoc to HTTP

    All - can anyone tell me how to ensure EOIO processing in the Integration Engine (PI 7.0 SP16)? We have queue serialization on and the idocs appear to be coming into PI in the correct sequence but when the process and I check them in SXMB_MONI they a