Reading Geolocation from Quicktime Movies with Java (Xuggler)?

﹥>﹥吖頭↗ 提交于 2019-12-12 14:47:01

问题


I need to retrieve geolocation data from QuickTime MOVs recorded on the iPhone/iPad, from a Java application. I am currently investigating the Xuggler media framework; I was hoping I could use Xuggler's IMetaData interface to read out the UserData portion of the Quicktime file. Unfortunately, the only fields retrieved by Xuggler are "major_brand", "minor_version", "compatible_brands", "year", and "year-eng". I know from viewing the video's info in Quicktime that GPS coordinates are embedded. Exiftool also correctly displays the metadata. I need to stick with Java for cross-platform compatibility (I develop on OS X and deploy to Windows and Linux as well). I know that Quicktime for Java is deprecated, so that's not a factor. Any thoughts on how to get the right data out of Xuggler, or how to use a different API? As a last resort, I've considered parsing the output of Exiftool through Java, but that seems unpleasant and hackish at best.

来源:https://stackoverflow.com/questions/7561160/reading-geolocation-from-quicktime-movies-with-java-xuggler

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!