Yes Deva, You are right.
The information regarding interlace is stored in compressed bit
stream.
Codec component should be able to provide this information to the
application, i.e. OMX Client. In case of Android :: Stagefright, its
OMXCodec.cpp.
Once this information is retrieved, developer can choose to do field
interlacing / selection for display at awesome player.
regards
Shashank
On Oct 4, 1:50 pm, Deva R r.deva...@gmail.com wrote:
[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,
Devawww.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 instagefright?
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 atStagefrightplayer
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