Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show GPS metadata for video files #894

Open
dasKeks28 opened this issue Oct 1, 2023 · 2 comments
Open

Show GPS metadata for video files #894

dasKeks28 opened this issue Oct 1, 2023 · 2 comments
Labels
feature A new idea or feature good first issue Good for newcomers help wanted Extra attention is needed UI Related to the frontend web ui written in Javascript
Projects

Comments

@dasKeks28
Copy link

Since video files can also store GPS coordinates, it would be great if those were also recognized by Photoview, including showing videos on the map.

@kkovaletp
Copy link
Contributor

It could be done by the command exiftool -location:all input.mp4, which will extract GPS data and convert it to human readable format, or by ffmpeg -i input.mp4 -f ffmetadata - - which will output raw metadata of the video and then we need to parse it to find the location.

Taking into account that the geolocation could be stored in different formats, the 2nd command gives more flexibility.

@kkovaletp kkovaletp added this to To do in Roadmap via automation Apr 29, 2024
@kkovaletp kkovaletp added help wanted Extra attention is needed good first issue Good for newcomers feature A new idea or feature scanner Related to the scanner component labels Apr 29, 2024
@kkovaletp
Copy link
Contributor

I just double-checked this on my testing instance and see the GPS data for videos in the DB, so the issue is not about extracting the data by scanner job from source files, but to display those videos in UI in the same way as photos.

@kkovaletp kkovaletp added UI Related to the frontend web ui written in Javascript and removed scanner Related to the scanner component labels Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new idea or feature good first issue Good for newcomers help wanted Extra attention is needed UI Related to the frontend web ui written in Javascript
Projects
Roadmap
To do
Development

No branches or pull requests

2 participants