我能以某种方式嵌入位置数据到Android中的视频文件? [英] Can I somehow embed location data into a video file in android?

查看:686
本文介绍了我能以某种方式嵌入位置数据到Android中的视频文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以以某种方式嵌入位置数据到Android中的视频文件?

Can I somehow embed location data into a video file in android?

目前我的应用程序创建一个视频文件,获取位置信息,但我不知道是否有可能嵌入的位置信息(lattitude,经度)到我的视频文件。

Currently my app creates a video file and gets location info but I have no idea if it is possible to embed location info (lattitude, longitude) into my video file.

我可以使用的ffmpeg或任何为(我使用了一些操作的ffmpeg在我的视频)。

I could use ffmpeg or whatever for that (I'm using ffmpeg for some operations on my video).

唉,我没有丝毫的一个想法如何GPS数据嵌入到我的视频,如果在所有可能的。

Alas, I have not a slightest idea how to embed GPS data into my video, if at all possible.

推荐答案

您的问题似乎是这其中的一个副本:的地理标记捕捉的视频

Your question seems to be a duplicate of this one: Geotagging a captured video

但尽管如此,摘自: http://mobile.dzone.com/新闻/阅读-GPS纬度和

您可能知道,即使Android不地理标记的视频,这是不完全正确。因为使用你的画廊后,你能看到这些视频被枪杀。这是太棒了,但实际上对影片已被那里的真实信息不进的视频文件,但它是在保持它一个额外的日志文件。因此,实际上视频文件不知道地理坐标。

You may know that even Android doesn’t "geotag" videos this is not quite true. Because after using you gallery you can see where those videos are shot. This is fantastic, but actually the real information about where the video has been taken is not into the video file, but it’s in an additional log file that keeps it. Thus actually the video files doesn’t know the geo coordinates.

所以我认为你不能。你必须地理信息存储在一个额外的文件,像Android这样在做。由于MP4不能存储地理标记。

So I think you can't. You have to store the geo information in an extra file, like Android is doing it. Because MP4 cannot store geotags.

但.MOV文件即可。所以,如果你可以存储文件MOV,也许你可以地理标记添加到它。

But .MOV files can. So if you can store a MOV file, maybe you can add geotags to it.

这篇关于我能以某种方式嵌入位置数据到Android中的视频文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆