Getting format/codec info from media file.

Hi all,
Using the QuickTime SDK I see how can retrieve metadata about the content of a media file like title, author, etc. But I can't see how to get metadata about the data itself like format, codec, bitrate, framerate, etc.
I've used code from the QTMetadata example to get me started with metadata like so:
while(QTMetaDataGetNextItem(/*... */)){
but as mentioned, it seems one can only get content metadata.
How should I go about retrieving metadata about the data?
Thanks.

Ok, well, I've found ExtAudioFileGetProperty() from the AudioToolbox framework. It works but I'd still be looking for something similar from the QuickTime framework so if anybody has got a hint, I'd still appreciate it. (Not to mention that thre's doesn't appear to be an equivalent framework for video files, e.g. VideoToolbox, which I need as well).
Message was edited by: tseegers

Similar Messages

  • TS3771 Why can't I select "get info" from the file area so I can change the setting to "open in 32-bit mode" ?

    Why can't I select "get info" from the file area so I can change the setting to "open in 32-bit mode" ?

    It may be because of your settings. You can modify that setting in System Preferences > Trackpad. Another way of making right-click is to click the app icon while holding the Control key

  • How to get data from media files such author, title and so on

    Hi you all!

    You'd have to parse the binary file header yourself. JMF doesn't have any built-in ways to extract META data from media files.
    Also, don't post your question in the title and not in the body of the message. It's annoying and stupid...

  • How to get the extension Info from firefox? Do we have any firefox API to communicate with the browser? I couldnt see the HTML of the widget displayed in the toolbar how to access the widget using JS or any way

    How to get the extension Info from firefox? Do we have any firefox API to communicate with the browser? I couldnt see the HTML of the widget displayed in the toolbar how to access the widget using JS or any way

    Hi,
    Thanks for the suggestion. I've been playing around with some of the classes of the java.net package and java.io
    Using the URL class i can get the content of the data from a STATIC page and output that response to file so that is does not display to the client broswer.
    But this only works if the URL i give points to a static html page.
    So the problem i'm getting is if i'm righting in arguments in the URL, this means that server needs to process the arguments i give and its sends back a dynamic result. Because its dynamic the URL class can not handle this and throws me an exception everytime :(
    Have u ever tried to do some things like this?
    Rahul

  • HT201269 . I bought a new ipod touch 5G, can I get all my info from my iphone 5 to my new ipod touch 5G

    bought a new ipod touch 5G, can I get all my info from my iphone 5 to my new ipod touch 5G without having the iphone anymore?

    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device
    Restore from an existing backup of the iPhome

  • I followed the steps to restore to factory settings now I can't get back my info from a prior backup. My pads screen was frozen on the connect to iTunes I needed to restore. I had to setup my pad as if it was new. How do I acess my prior backup

    I followed the steps to restore to factory settings now I can't get back my info from a prior backup. My pads screen was frozen on the connect to iTunes I needed to restore. I had to setup my pad as if it was new. How do I acess my prior backup

    Once again, KP is correct, but I just want to add that if you don't see the backup in the drop down menu on the summary page of iTunes when you choose the restore from backup option, then the backup is unfortunately gone. If you backup your computer, the iPad backup should probably be in that computer backup. I use Time Machine with my MacBook Pro and can access backups from months ago.
    On a side note, I also archive backups from time to time. If you right click on a backup name in iTunes>Edit>Preferences>Devices (Windows) or iTunes>Preferences>Devices (Mac) you can save that backup or archive it. It will be date and time stamped. I have no idea why I do this to the degree that I do it, but I probably have 12-14 iPad backups archived in iTunes.

  • SMC not getting suggested patch info from Update Manager in Solaris 10

    Hi All,
    why SMC not getting suggested patch info from Update Manager in Solaris 10??
    Thank you in advance.

    Hi All,
    why SMC not getting suggested patch info from Update Manager in Solaris 10??
    Thank you in advance.

  • WARNING: Failed to get Network Cost info from NLM, assuming network is NOT metered, error = 0x80240037

    I have couple of VMs Server 2012 R2 RTM on Hyper-v Host running the same OS.
    All machines including host and VM that is not in domain have an error in Windowsupdate.log:
    AU WARNING: Failed to get Network Cost info from NLM, assuming network is NOT metered, error = 0x80240037
    FW and UAC are off on all. There are posts on web discussing the same error but most of them connect this to WSUS or Config Manager. And it is clear because we are touching Windowsupdate.log when troubleshooting WSUS. And because WSUS on 2012 is BUGGY this
    error confuses too.
    Finally, as mentioned earlier I deployed NEW server 2012 not from SYSPREP and did not place it to the domain. Updated the machine from MS update. Everything is OK beside the same error about COST :).
    So now it is clear it has nothing to do with WSUS or Configuration manager. It indicates to some Network issue. But there is no clear answer. Some suggest just to ignore the error if everything is OK. But I would like to have a clean log. And it is just
    interesting what could cause the problem. Is it Hyper-V stuff or Server 2012 itself. Anyway I guess I am doing right by posting a question on HV forum since here are people that should know 2012 .
    Thanks.
    see the log below
    2013-12-16 20:32:03:610  752 b44 Setup SelfUpdate check completed.  SelfUpdate is NOT required.
    2013-12-16 20:32:04:047  752 b44 PT +++++++++++  PT: Synchronizing server updates  +++++++++++
    2013-12-16 20:32:04:047  752 b44 PT   + ServiceId = {9482F4B4-E343-43B6-B170-9A65BC822C77}, Server URL =
    https://fe2.update.microsoft.com/v6/ClientWebService/client.asmx
    2013-12-16 20:32:04:047  752 b44 Agent Reading cached app categories using lifetime 604800 seconds
    2013-12-16 20:32:04:047  752 b44 Agent Read 1 cached app categories
    2013-12-16 20:32:05:016  752 b44 PT   + SyncUpdates round trips: 2
    2013-12-16 20:32:06:422  752 b44 Agent   * Found 0 updates and 14 categories in search; evaluated appl. rules of 449 out of 701 deployed entities
    2013-12-16 20:32:06:422  752 b44 Agent *********
    2013-12-16 20:32:06:422  752 b44 Agent **  END  **  Agent: Finding updates [CallerId = AutomaticUpdates  Id = 2]
    2013-12-16 20:32:06:422  752 b44 Agent *************
    2013-12-16 20:32:06:422  752 b44 IdleTmr WU operation (CSearchCall::Init ID 2, operation # 20) stopped; does use network; is not at background priority
    2013-12-16 20:32:06:422  752 b44 IdleTmr Decremented PDC RefCount for Network to 0
    2013-12-16 20:32:06:422  752 b44 IdleTmr Decremented idle timer priority operation counter to 1
    2013-12-16 20:32:06:422  752 ba0 AU >>##  RESUMED  ## AU: Search for updates [CallId = {5393115A-5840-4CB4-9C66-F68034E75DF8} ServiceId = {9482F4B4-E343-43B6-B170-9A65BC822C77}]
    2013-12-16 20:32:06:422  752 ba0 AU   # 0 updates detected
    2013-12-16 20:32:06:422  752 ba0 AU #########
    2013-12-16 20:32:06:422  752 ba0 AU ##  END  ##  AU: Search for updates  [CallId = {5393115A-5840-4CB4-9C66-F68034E75DF8} ServiceId = {9482F4B4-E343-43B6-B170-9A65BC822C77}]
    2013-12-16 20:32:06:422  752 ba0 AU #############
    2013-12-16 20:32:06:422  752 ba0 AU All AU searches complete.
    2013-12-16 20:32:06:422  752 ba0 AU AU setting next detection timeout to 2013-12-17 22:55:28
    2013-12-16 20:32:06:422  752 ba0 AU WARNING: Failed to get Network Cost info from NLM, assuming network is NOT metered, error = 0x80240037
    2013-12-16 20:32:06:422  752 ba0 AU WARNING: Failed to get Network Cost info from NLM, assuming network is NOT metered, error = 0x80240037
    "When you hit a wrong note it's the next note that makes it good or bad". Miles Davis

    Hi pob579,
    Sorry for the late .
    I want to know if your network connection indicates " unidentified network ".
    If that is the case , you can try the step below :
        open the "local group policy"
        expand  local computer policy -->computer configuration -->windows settings -->security settings
    --> network list manager policies
        in the right pane you will see Unidentified Networks , double click it , then you can configure the
    Location Type when the network connection is unidentified
        If there is domain , you need to change the same entry in "Domain Policy"
        after that please restart your computer
    Hope this helps
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • "Could not get the audio data from the file" error

    Hi
    I get a lot of "Could not get the audio data from the file" errors when opening a project. Sometimes they crash Premiere Pro CC 7.01 (Mac). But if not Premiere works as usual, with the audio.
    I tried to convert the audio files (coming from Audition) from 32 to 16 bit. It worked while opening a project once, but not the following times.
    Where can it come from ?
    Edit: I also get this error when importing audio: "Error: Premiere Pro version 7.0 is not compatible with the Premiere Pro Plug-in version 5.7.4". Maybe it is connected.

    Got it! It was the Smartsound plugin making trouble. Got rid of it and no more errors.

  • HT1386 I want to give me old iphone 4 to my daughter and need to get all her info from her old iphone onto a new computer.  The PC she synced with is dead and she does not want to loose all her contacts and music.

    I want to give my old iphone 4 to my daughter and need to get all her info from her old iphone 3 onto a new computer.  The PC she synced with is dead and she does not want to loose all her contacts and music. How can I do this?

    To effectively transfer ownership of the iPhone requires that it be "restored" as a new device.
    ...  The PC she synced with is dead
    The iPhone is not a backup device. Your computer backs up the iPhone, not the other way around. What you use to back up your computer is up to you - Macs use Time Machine. I assume PCs use something similar.
    If her PC backup is dead you will have difficulty extracting content from the iPhone since it is not designed to work that way.
    All her Apple purchases can easily be transferred to another iPhone. However, her contacts will be gone, as will any music or other contact obtained from sources other than Apple.
    There are a number of third party utilities that claim to be able to extract content from an iPhone. See wjosten's procedure here:
    https://discussions.apple.com/docs/DOC-3141

  • How to get info from imported file in an outbound campaign IVR-based. UCCX 8.5.

    Hello.
    Somebody knows if it is possible to get the information inside my ivr script from the file imported when I create an outbound campaign IVR-based?
    I want to store in variable data like first name, last name, account number... And use them in the flow of my IVR script.
    I´m using UCCX 8.5.
    Regards

    did you get this to work ?

  • Music is missing from Media files

    So I have many CD's I have copied to iTunes.  I copied them years ago.  I'm now trying to copy some of the music files from media to my phone (non-Apple) which requires me to do it from the media file location on my windows.
    I noticed music is missing from my music on iTunes.  I have not found a way to update/backup whatever to get the missing music to the media files?

    "Not sure how or what caused the Compilations folder in the file path."
    iTunes will put any songs for which the "Part of a Compilation" flag is set into the Compilations folder.  Unless you have an older type of iDevice there's really no need to ever use "Part of a Compilation" (and even if you do, its only necessary for "Various Artists" compilations).  In this example, if you select the album in iTunes, right-click > Get Info >  Summary tab and set Part of a Compilation to "No" (and assuming that you have configured iTunes to manage your library) the media will be moved to C:\Users\RS Desktop\Music\iTunes\iTunes Media\Music\.38 Special\Flashback_ The Best of .38 Special.
    "So after I moved a few songs over, went to iTunes to play.  It says it can't locate the songs."
    Ah, that may be the problem ... based on what you're reporting you have these two options set under Edit > Preferences > Advanced:
    This means that iTunes determines where to store media based on Artist and Album information - if you start moving files around yourself it will inevitably lose track of it (indeed, iTunes lacks any capability to keep track of media when moved by anything else, irrespective of its settings).
    "How do if I click on a song a pop up asks if I want to locate, then I can go to the media files folder and get the song, but that if individually."
    iTunes does sometimes automatically fix related links when you do this - however, it can't be guaranteed to do so and there is no "bulk fix" capability built into iTunes itself.
    If possible, restore your iTunes Media using a backup taken before you started moving files around.  Turingtest2 has a useful script (http://samsoft.org.uk/iTunes/scripts.asp#FindTracks) that may help to resolve further issues (as always, before you start running any scripts that may modify the content of your library take a backup first).

  • Intel and Lion simply isnt having anything to do with my p   ower mac pro G5 running leopard 10.5.8, How can i get Lion to accomodate my media files  at least?

    I upgraded from my
    mac pro power pc, G5 ( running leopard 10.5.8 combo update)
    to
    an Intel iMac Running Lion,
    after failing to move my data with migration assist, then target disk mode - i phoned Apple - which said id need an external drive. 
    I used time machine to copy my user data from my G5.  However Lion will not recognize the external drive.
    Ive been at this for a few days and anxious to expedite the move, mostly photos, and media files.
    If Re-formatting is the only way.....is there a way to  do so without another day of re-copying by firewire.
    The external drive is a Ciel Lx , recomended to me by apple.
    Any one else making the move from power to intel? Havent found much posted recently.

    So we know more about it...
    At the Apple Icon at top left>About this Mac, then click on More Info, then click on Hardware> and report this upto but not including the Serial#...
    Hardware Overview:
    Model Name: iMac
    Model Identifier: iMac7,1
    Processor Name: Intel Core 2 Duo
    Processor Speed: 2.4 GHz
    Number Of Processors: 1
    Total Number Of Cores: 2
    L2 Cache: 4 MB
    Memory: 6 GB
    Bus Speed: 800 MHz
    Boot ROM Version: IM71.007A.B03
    SMC Version (system): 1.21f4
    On both please.

  • Read and write info from/to file available at client side.

    Hi,
    I have some table name in one CSV file at client side.
    once you get list of tables name from input CSV file at client side.
    Need to run one query to know total rows and size of table in MB , this i need to repeat for all tables which i got from input file.
    finally write 'table name | total rows | size of table in MB' whole info in another CSV file at client side. this output CSV file name will contain timestamp.
    Please guide me in detail how to read and write file avail at client side.
    I am using sql developer at client side.
    version : oracle11g
    Thanks in advance.

    This is a simple SQL question and this forum is for SQLDEveloper, however, this is a question for our SQL*Plus support which can help with this.
    clear SCREEN
    set FEEDBACK off
    set head off
    --Gather stats to populate rownums and avg length of rows.
    --These are not exact sizes (obviously) but you get the idea.
    begin
    dbms_stats.gather_schema_stats ('<YOUR_SCHEMA');
    end;
    select TABLE_NAME||','||NUM_ROWS||','||ROUND((NUM_ROWS*AVG_ROW_LEN)/(1024*1024)) CSV
    from USER_TABLES
    where num_rows is not null order by num_rows desc;

  • OracleSOA - File Adapter - Correct mechanism to get the line number from the file

    We are using Oracle SOA process to read data from a file, process the data and write it to the database. SOA process is created using Oracle File Adapter to read the data, Oracle BPEL to transform & process the data and Oracle DB Adapter to write the data into the database.
    Oracle File Adapter uses native schema to process the fixed length data in the file. The number of rows in the file may exceed more than 500,000, to support processing of large files we use chunk size in the file adapter as 4000 rows. In each read operation, file adapter reads the data that matches to the schema, there might be few rejected rows as well.
    Oracle File Adapter property - jca.file.LineNumber gives me only the line number till what line the data is read. Is there any way to get the line number in the xml message, which exactly matches to the line number in the file.?
    Flat File Format: (Every file has one header, trailer and multiple data lines),
    HEADER02 -
    L01
    L01
    L01
    TRAILER02
    Line number is one of the crucial requirement in the development of the SOA service, this is used to back trace the information from which source and line the data has come.

    Hi Anshul,
    Thanks for sharing your thoughts.
    I am using DB adapter to insert the data into db.
    While doing the xsl transformation I can get the index of the message using position(), but that is not the correct way as there can be rejected lines by the file adapter.
    Even if I maintain a local counter variable, it will not consider rejected lines and increment that, which is not correct.
    Thanks,
    Ravindra

Maybe you are looking for

  • SWF transparency in IE9-Vista. Nightmare.

    I have scoured the web looking for expert input on this issue and sadly I can find none. I am laughable when it comes to Flash, my ability is poor at best. But I have about 6 websites I've made over the last few years, most of which have simple swf f

  • Is there a MAC version of "Paint" that comes with leopard?

    So I made the switch over to Mac about a year ago. I am loving everything about it, Just one quick question. One thing that I miss about windows is the "paint" program. Do Macs come with anything similar to that? I have browsed through apps quite a f

  • Creating a card

    Hi! I´m trying to create a "thank you card" in iphoto. When I´m trying to order it and pay, the language is in Italian. I am from Norway and do not understand Italian. How can i choose Norwegian or English? Thank you for your answer Mari Mette Bernum

  • Insert(put) performance..

    i want to put 1000 million data with berkeley db.. when row count is over 4 million, insert elapsed time is quite slow... a data consists of key(long 8bytes) and String (about 100bytes) i set to 'je.log.fileMax' 64M and cache size 1024M can i tune it

  • Why do I get error messages and failed sync's of wma songs?

    I'm pulling my freakin hair out. I have been able to transfer songs burned from cd's to my crackberry (converted in wma format) but have not been able to sync songs purchased from walmart in wma format (windows media player) or songs purchased from I