• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[Q] How to retrieve FourCC code for a video track?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Q] How to retrieve FourCC code for a video track?


  • Subject: [Q] How to retrieve FourCC code for a video track?
  • From: JongAm Park <email@hidden>
  • Date: Fri, 7 Aug 2009 08:44:59 -0700

Hello.

I'm trying to retrieve information what video codec is used for a video clip in Final Cut Pro XML project file.
When a sequence is exported, the XML contains codec information for the sequence, but when an individual clip is exported, it doesn't export the codec information.


However, the FCP somehow figure out what code is used for the clip.
So, what I guess is that it knows by looking at the actual video clip file.


I could get human readable codec information by using :

NSArray *tracksArray = [movie tracks];

int i, tracks = [tracksArray count];

for( i = 0 ; < tracks; i++ )
{
QTTrack *track [tracksArray objectAtIndex:i];
NSDictionary *attribute = [track tackAttributes]

NSString *codecString = [attribue objectForKey:QTTrackFormatSummaryAttribute];


	....


However, to figure out what fourCC the human readable codec info is meant for, I need to export clips as all types the QT supports.


So, I would like to retrieve fourCC code directly.
Is there any way to do it? I looked up the reference, but had no luck so far.


Thank you.
JongAm Park
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Compatibility between FCP 6 and FCP 7
  • Next by Date: Re: [Q] How to retrieve FourCC code for a video track?
  • Previous by thread: Re: Compatibility between FCP 6 and FCP 7
  • Next by thread: Re: [Q] How to retrieve FourCC code for a video track?
  • Index(es):
    • Date
    • Thread