Detect Codec of local media File

All your problems with Audio, Video and Images.

Detect Codec of local media File

Postby coolalok » Fri Dec 31, 2010 8:21 am

Hi,
I am streaming local audio and video files of a mobile device to another android devce using FFMpeg.
Is there a way to detect/ know the Codec format of the file programatically as it needs to be passed to FFMpeg.
I am using the Media Scanning logic of ContentProvider ( MediaStore.Audio.Media and MediaStore.Video.Media). The table does not contain any column for getting Codec information.
Thanks And Regards ,
Alok
Android......
Here I come!!!
User avatar
coolalok
Developer
Developer
 
Posts: 29
Joined: Tue Sep 01, 2009 7:35 pm
Location: Pune,India

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: Google Feedfetcher and 21 guests