[resolved now]

i realized lately that its beyond the scope of file parser., and
supposed to be done by codec component.
written a custom parser to detect interlaced content,
and posted to local gerrit - http://review.omapzoom.org/#change,6889

-- 
Regards,
Deva
www.bittoggler.com

On Tue, Sep 7, 2010 at 4:14 PM, Deva R <r.deva...@gmail.com> wrote:
> Hi,
> Is it possible to detect scan type (progressive or interlaced) of a video
> file in stagefright?
>
> I see below listed fields are query-able with metadata of file through
> stagefright, but not scan-type which i guess is avaiable in MP4 file header.
> Any hint on how to detect scan-type of video file at Stagefright player
> driver? Or is it available in opencore??
> Thanks,
> Deva
> PS.
> From .\frameworks\base\include\media\stagefright\MetaData.h
> enum {
>     kKeyMIMEType          = 'mime',
>     kKeyWidth             = 'widt',
>     kKeyHeight            = 'heig',
>     kKeyChannelCount      = '#chn',
>     kKeySampleRate        = 'srte',
>     kKeyBitRate           = 'brte',
>     kKeyESDS              = 'esds',
>     kKeyAVCC              = 'avcc',
>     kKeyVorbisInfo        = 'vinf',
>     kKeyVorbisBooks       = 'vboo',
>     kKeyWantsNALFragments = 'NALf',
>     kKeyIsSyncFrame       = 'sync',
>     kKeyIsCodecConfig     = 'conf',
>     kKeyTime              = 'time',
>     kKeyDuration          = 'dura',
>     kKeyColorFormat       = 'colf',
>     kKeyPlatformPrivate   = 'priv',
>     kKeyDecoderComponent  = 'decC',
>     kKeyBufferID          = 'bfID',
>     kKeyMaxInputSize      = 'inpS',
>     kKeyThumbnailTime     = 'thbT',
>     kKeyAlbum             = 'albu',
>     kKeyArtist            = 'arti',
>     kKeyAlbumArtist       = 'aart',
>     kKeyComposer          = 'comp',
>     kKeyGenre             = 'genr',
>     kKeyTitle             = 'titl',
>     kKeyYear              = 'year',
>     kKeyAlbumArt          = 'albA',
>     kKeyAlbumArtMIME      = 'alAM',
>     kKeyAuthor            = 'auth',
>     kKeyCDTrackNumber     = 'cdtr',
>     kKeyDiscNumber        = 'dnum',
>     kKeyDate              = 'date',
>     kKeyWriter            = 'writ',
> };
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to