Reading mp4 details

Hi there.
I have added a movie with some random name (myMovie12.mp4) into my iPhone xcode project and then using MPMoviePlayer i m playing this movie. How can i get the details of this movie? I mean the size, duration, original name? In short i need to read the mp4 tags of my movie? Is there any way to do this?

Reading the previous eventually leads to...
• Multimedia Support
http://developer.apple.com/IPhone/library/documentation/MediaPlayer/Reference/Me diaPlayerFramework/index.html#//appleref/doc/uid/TP40006952
...which then goes to...
• MPMediaQuery Class Reference
http://developer.apple.com/IPhone/library/documentation/MediaPlayer/Reference/MP MediaQuery_ClassReference/Reference/Reference.html
Which, among other details, includes:
Creating Media Queries
The class methods in this section create queries which you can use directly or modify as described in
“Configuring Media Queries.” For each class method, the query’s groupingType property is set
automatically according to the name of the method. For example, the albumsQuery method assigns
a grouping type of MPMediaGroupingAlbum. The grouping type specifies the nature of the media
item collections you can then retrieve from the query. Some class methods match the entire iPod
library while others match a subset, as described in the Discussion sections for each method.
+ albumsQuery
+ artistsQuery
+ songsQuery
+ playlistsQuery
+ podcastsQuery
+ audiobooksQuery
+ compilationsQuery
+ composersQuery
+ genresQuery
– init
– initWithFilterPredicates
All of which will help you to understand what is needed to parse your MP4s for title, length, etc.
Sample Apple project loosely related:
SpeakHere
http://developer.apple.com/iphone/library/samplecode/SpeakHere/
Please speak up if you need the code written, etc.

Similar Messages

  • How to read the details in the context node of the custom controller

    Hi friends,
        My requirement is i enhanced the component ICCMP_BP_DETAILS , now on EH_ONSAVE i want to read the details of the Context node in the Custom COntroller .
    In custom controller from ICCMP_BP_DETAIL/CuCoBPDuplicate  From this in context node CUSTOMER is there in that attributes first name last name is there i want to read those details
    so can u pls provide the logic for this how can i get the values.
      am very new to the BSP programming
    Regards
    Yogesh

    Hi Suchitha,
    when i am following the above code the lr_entity is not Bound, so can u pls suggest is there any thing is missing
    i used the below mention code but lr_entity is not bound
    DATA: lr_cuco type ref to CL_ICCMP_BP_CUCOBPDUPLICA_IMPL.
                lr_entity type ref to cl_crm_bol_entity.
    lr_cuco ?= me->get_custom_controller( 'ICCMP_BP_DETAIL/CuCoBPDuplicate') .
    CHECK lr_cuco IS BOUND.
    lr_entity ?= lr_cuco->typed_context->customer->collection_wrapper->get_current( ) .
    CHECK lr_entity IS BOUND .
    lr_entityIF_BOL_BO_PROPERTY_ACCESSGET_PROPERTY_AS_VALUE( iv_attibute =  'FIRST_NAME' ev_attribute = lv_firstname ) .
    Please correct the code if any thing is missing
    Regards,
    Yogesh

  • Can you allow users to view a calendar without granting "Read - Full Details"?

    Outlook 2007, Exchange 2010
    We would like users to be able to view Room calendars side by side in Outlook. Its fine if they can see basic details (subject, organizer), but we don't want them able open and read the meeting body. 
    Is it possible to have a side by side view without granting "Read - Full Details"?
    David.

    Hi David,
    In Outlook 2007, "Free/Busy time, subject, location" permission only applies when checking the user's free/busy information and not when looking in another user's Calendar folder. In Outlook 2007, if you want to let the calendars be shown side
    by side, you need to grant the user Folder Visible permission. But in this way, the user can read meeting details.
    For more information, here is a blog for your reference.
    Free/Busy and Calendar Permissions in Outlook 2007 running against Exchange 2007 or later
    http://blogs.technet.com/b/outlooking/archive/2010/01/13/free-busy-and-calendar-permissions-in-outlook-2007-running-against-exchange-2007-or-later.aspx
    Hope this can be helpful.
    Best regards,
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Amy Wang
    TechNet Community Support

  • HT3775 I am using OS X Mountain Lion and I have this .avi file but not able to read. What is missing in my setup and what other file do I need to download to enable me to read?  I can read mp4 files though.

    I am using OS X Mountain Lion and I have this .avi file but not able to read. What is missing in my setup and what other file do I need to download to enable me to read?  I can read mp4 files though.

    Here is a link: https://itunes.apple.com/en/app/mplayerx/id421131143?mt=12
    I agree that VLC is also a good choice but MPlayerX is more user friendly.

  • Read IBASE details in Account Overview

    Hi All,
    I have a requirement to read Ibase details in Account overview screen.
    I created component usage of ICCMP_IBASE in BP_HEAD.
    My need is to get Ibase data (without enhancing ICCMP_IBASE) in BP_HEAD dynamically, when a partner is selected.
    I have an IBASE link in account overview screen.
    If I write code in wd_component_usage, how will it navigate to ICCMP_IBASE and get the respective data for the partner.
    Any idea how to go ahead?
    Cheers,
    Lakshmi

    Hi Laxmi,
    Bit confused with your requirement, please clarify..
    1.Are you trying to show ibase assignment block in account overview page(this requires component usage/binding) or
    2. You want to have a ibase link in account overview page on click of that it should dynamically navigate to ibase view and show the ibase data(it requires cross component navigation)
    Cheers,
    Sumit Mittal

  • Reading Order details from buffer

    Hi all,
          I am checking the validations for both header and item level at the time of Order creation in CRM. I am using BADI, CRM_ORDERADM_H_BADI for this. And inside this, I am using CRM_ORDER_READ to read the details from Order. But it is not giving the details when I press u2018Enteru2019. When I do some more changes and press 'Enter', CRM_ORDER_READ  is giving the details. But I want to get these datails in the first hit itself. Is there any FM to read the order details from buffer?
    Regards,
    Santosh

    Dear Santosh,
    Please do try using folllowing FM's to read order from buffer:
    CRM_ORDERADM_H_READ_OW
    CRM_ORDERADM_I_READ_OW
    CRM_ORDER_READ_OW
    Hope this will help.
    Regards,
    Arjun

  • Read project details (javascript)

    Hi,
    I cannot figure out how to read the details of a project, ex. I can get the Name, ID, CreatedDate etc. but not the Owner, StartDate, EnterpriseProjectType etc..
    I tried with the following code, what am I doing wrong?
    projectContext.load(proj);
    projectContext.load(proj.get_owner());
    projectContext.executeQueryAsync(function () {
    var name = proj.get_name();
    var ept = proj.get_enterpriseProjectType();
    var owner = proj.get_owner();
    }, function (sender, args) {
    alert('Error: ' + args.get_message());
    The Owner and EPT variables are assigned an object, but I cannot figure out which type of object. would expect it to be a string.
    I also tried with:
    projectContext.load(proj, 'Include(Name, Id, Owner)');
    Please, any help is appreciated.

    After a long search and through the CSOM API I found that the owner is actually a SharePoint object.
    projectsBasic.forEach(function (proj, index) {
    if (proj.get_id() == projectuid) {
    projectContext.load(proj);
    var owner = proj.get_owner();
    projectContext.load(owner);
    var ept = proj.get_enterpriseProjectType();
    projectContext.load(ept);
    projectContext.executeQueryAsync(function () {
    var name = proj.get_name();
    var cd = proj.get_createdDate();
    var eptname = ept.get_name();
    var ownerName = owner.get_title();
    }, function (sender, args) {
    alert('Error: ' + args.get_message());
    Notice the get_title instead of get_name
    http://technicaltrix.blogspot.dk/

  • ITunes wont read mp4 tags?

    I downloaded a few albums in mp4 format for the first time today, and I like to use iTunes to keep my library organized. When I added the new music to iTunes, it threw all the new songs in folder 'Unknown Artist - Unknown Album'. I used winamp to check the files, and they all have mp4 tags. My wont iTunes organize these files?

    What tag editor are you using? The only tag editor that I know works properly on M4A files, other than iTunes, is Tag&Rename. Anything else might screw up the files completely.

  • ABAP report to read request details in data-target and delete

    Hi,
    Is there any abap report which I can run in background to read all request details (Request ID, Date) in a data target?
    And any ABAP report which can delete a particular request?
    Regards
    Vikrant

    Hi Vikrant,
    You can check Table RSREQDONE and RSREQICODS for all details about requests.
    About deletion you can try with standard function in InfoPackage when uploading.
    Ciao.
    Riccardo.

  • Problem with reading mp4 files with QT 7.4.1 or mpeg Streamclip

    Hi,
    I used to convert some .flv files into .mp4 files with iSquint and then into .dv files with mpeg Streamclip in order to re-work and compile these files on a DVD using iMovie and iDVD.
    However I cannot do it anymore since I upgraded to QT 7.4.1. iSquint uses the mpeg-4 video codec to convert the file. Therefore I cannot open them with QT 7.4.1 anymore and I cannot convert them into .dv files with mpeg Streamclip anymore since Streamclip is uses a QT plug-in.
    I have tried to solve the problem using Perian but this plug-in does not work with my version of Mac (Panther 10.3.9). I also tried to downgrade to an older QT using Pacifist but it nearly crashed my whole computer (fortunately I could fix that by reinstalling QT 7.4.1).
    Has someone a solution to my problem?
    Thank you in advance.
    Steve

    Not all the following will apply to Panther (10.3.x) so look carefully on the sites mentioned for the correct versions:
    These are the downloads and the settings you need in order to view/hear pretty much everything that the net can throw at you: The setup described below has proved repeatedly successful on both PPC and Intel macs, but nothing in life carries a guarantee!
    It is known to work in the great majority of cases with Safari 3.0.4, QT 7.3 or 7.4 and OS 10.4.11. (If you are running Leopard, ensure that all plug-ins have been updated for OS 10.5)
    Assuming you already run Tiger versions OS 10.4.9 or above (this has not yet been verified with Leopard) and have Quicktime 7.2 or above, and are using Safari 2 or 3, download and install (or re-install even if you already had them) the latest versions, suitable for your flavor of Mac, of:
    RealPlayer 10 for Mac from http://forms.real.com/real/player/blackjack.html?platform2=Mac%20OS%20X&product= RealPlayer%2010&proc=g3&lang=&show_list=0&src=macjack
    Flip4Mac WMV Player from http://www.microsoft.com/windows/windowsmedia/player/wmcomponents.mspx (Windows Media Player for the Mac is no longer supported, even by Microsoft)
    Perian from http://perian.org/
    You should read this support page http://perian.org/#support in case you need to delete older codecs.
    Adobe FlashPlayer should first be uninstalled using the appropriate uninstaller available here: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14157&sliceId=2 and then the latest version obtained from here: http://www.adobe.com/shockwave/download/download.cgi?P1ProdVersion=ShockwaveFlash and installed.
    (You can check here: http://www.adobe.com/products/flash/about/ to see which version you should install for your Mac and OS.)
    In earlier versions than QT 7.1.3 in Quicktime Preferences, under advanced, UNcheck Enable Flash, and under Mime settings/Miscellananeous only check Quicktime HTML (QHTM).
    You should also ensure, if you are running Tiger 10.4.11 or Leopard, that you have downloaded and installed the correct version for your Mac of Security Update 2007-009.1.1, which also deals with the Quicktime/Flash issues you may have experienced, such as the '?'. What happened was that both Quicktime as well as Adobe FlashPlayer tried to play the Flash video at the same time. This no longer happens. (N.B. Security Update 2007-009 1.1 requires both a restart and a permission repair.)
    If you get problems with viewing video on a website try moving this file to your Desktop:
    Hard drive/Library/Internet Plug-Ins/QuickTime Plugin.webplugin
    and then restarting Safari. If all now works, you can trash that file.
    In Macintosh HD/Library/Quicktime/ delete any files relating to DivX (Perian already has them). However it should be noted that Perian is not an internet plugin and will not play DivX files imbedded on a website. For that you will need the DivX Player browser plugin available from http://www.divx.com/divx/mac/
    Now go to Safari Preferences/Security, and tick the boxes under Web Content (all 4 of them) to enable Java.
    Lastly open Audio Midi Setup (which you will find in the Utilities Folder of your Applications Folder) and click on Audio Devices. Make sure that both Audio Input and Audio Output, under Format, are set to 44100 Hz, and that you have selected 'Built in Audio'.
    Important: Now repair permissions and restart.
    You should also consider having the free VLC Player from http://www.videolan.org/ in your armory, as this plays almost anything that DVD Player might not.

  • Can't read mp4 files with QT 10.1

    On my MacBook Pro with OS 10.7.5 I'm running QT 10.1 and find that it won't open mp5 files that have been downloaded from YouTube by a program such as Torch or icyvideo.  Yet the list of files that are acceptable in this QT program includes mp4.  Am I doing something wrong?

    They are HD video files uploaded from a Panasonic AG-HVX200 camera.
    They are imported in .mov format, I guess they should be working in QT but it can only read sound.
    These files work in final cut though.
    thanks

  • How to read mp4 on a mac

    How can I open a mp4 file on a mac?
    Quicktime doesn't work...

    Must be something wrong with the file, because it should play just fine.

  • Twonkey media server unable to read mp4 files created by new version of Leawo Blu Ray Ripper

    For the past week I have been ripping DVDs with a new version (v7.3.0.3) of Leawo Blu Ray Ripper.  The Twonkey media server (v7.2.9-1) on my WD4100DL will not read the newer files compared to movies ripped with the old version (v7.2.1.4).  My Roku media server does just fine.  Is there an upgrade of the Twonkey media server available?
    Thanks for any advice.

    I think that Leawo has helped me to solve the problem.  The MP4 files that I made using the old version of Blu-Ray Ripper apparently defaulted to H.264 video codec for MP4 files.  Twonky is able to read those files. The new version (7.3.0.3) of Leawo Blu-Ray Ripper defaulted to MPEG4 video codec.  Twonkey cannot read those MP4 files.  I have changed the video codec to H.264 in Blu-Ray Ripper and I am in the process of ripping a DVD now.  I will post the result.

  • How to read user details based on org structure

    hi,
    i want to read which user is logon sap crm 7.0 based on org structure is there any functional module or bapi. how to find out which user is logon.
    jemmi.

    Hi Jemmi,
    Login user can be accessed by sy-uname directly. i think you are interested in finding bp's assigned to org unit of login user.
    I am giving few details, check whichever is relevant for you.
    To get the org unit of the login user ..
       s_logon_orgunit = CL_CRM_AUI_SERVICE=>get_logon_orgunit_of_agent( ).
    To get all the bp's under that org unit
      move-corresponding ls_logon_orgunit to ls_orgunit.
      CALL METHOD CL_CRM_AUI_SERVICE=>GET_BP_DATA_FROM_ORG_UNIT
        EXPORTING
          IV_ORGUNIT   = ls_orgunit
        RECEIVING
          RV_HROBJBUPA = ls_bp.
    Get all org units the user is assigned to as BP's
      CALL FUNCTION 'RH_STRUC_GET'
        EXPORTING
          act_otype       = 'US'
          act_objid       = sy-uname
          act_wegid       = gc_sms_wegid-org_4_usr
          authority_check = ' '
        IMPORTING
          act_plvar       = lv_plvar
        TABLES
          result_tab      = lt_result_tab
        EXCEPTIONS
          no_plvar_found  = 1
          no_entry_found  = 2
          OTHERS          = 3.
    Cheers,
    Sumit Mittal

  • Reading mp4 format

    Hi
    I converted mpg short clips in mp4 format using PC Suite's converter.
    I can not read the resulting file on my E61; is there something I'm doing wrong in my setup or is there a qwak in the software?
    CK

    Thats what i use, its brilliant
    its a bit boggling the first time you open the program, but once youve set all the options for the first time, its fine
    Plus with n73, you can use all the mpeg4 etc...
    and unlike most converters, the voice is never out of sync
    Trium Mars - 2002 - 2003, Nokia 3510i - 2003 - 2004, Nokia 6230 - 2004 - 2006, Nokia N73 - 2006-2008, Nokia 6500slide - 2008 -

Maybe you are looking for

  • If then else

    In one of Tim's blobs (XMLP 5.6.3 for EBS hits the streets) this was mentioned as a new feature: "Conditional Formatting Enhancement in RTF Templates Now in addition to the xsl:if statement, you can also use the "It...Then...Else" construct in RTF Te

  • Message To/From info widely spaced...

    I've got two users with mail where both pretty much simultaneously developed this issue. (there are 4 users but only 2 use mail) The information at the top of every email seemed to jump to wide spacing (about 2 inch). This happens on even old email w

  • Making a lightbox photo gallery with thumbnails for 100+ photos

    I have been trying to make the above (all is in an accordion). I started by merely using a thumbnail slide show, but that didn't work because I couldn't organise the thumbnails into multiple pages. So my solution was to first put a multiple page tool

  • Email template with an image

    Hi, I would create an email template with an image embedded. I created the email template with outlook on my PC. The body is the following. <body lang=EN-US link=blue vlink=purple><div align=right style='text-align:right'><!--[if gte vml 1]><v:shapet

  • Itunes unusable - crashing constantly since new operating system

    Since upgrading to MAC OS X version 10.7.3, itunes has been crashing constantly.  It will not even open and is completely unusable.  Now Outlook is also crashing.  I use itunes with my ipad, ipod, ipod touch, kobo reader.  Any ideas?