---
title: "Discussion on \"Strip GPS and Device Metadata from Photos and Videos Before You Share Them (Python + ffmpeg)\" | Hashnode"
description: "Discussion on \"Strip GPS and Device Metadata from Photos and Videos Before You Share Them (Python + ffmpeg)\". A tested ~100-line script that finds EXIF, GPS, PNG text chunks and QuickTime location tags, removes them without wrecking orientation or re-encoding video, and verifies the result"
url: "https://hashnode.com/posts/strip-gps-and-device-metadata-from-photos-and-videos-before-you-share-them-python-ffmpeg/6af3bffc6103eb72ec2a666a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Strip GPS and Device Metadata from Photos and Videos Before You Share Them (Python + ffmpeg)](https://jadenvo259.hashnode.dev/strip-gps-and-device-metadata-from-photos-and-videos-before-you-share-them-python-ffmpeg?utm_source=hashnode&utm_medium=feed)

A tested ~100-line script that finds EXIF, GPS, PNG text chunks and QuickTime location tags, removes them without wrecking orientation or re-encoding video, and verifies the result

21h ago · 8 min read · jadenvo259.hashnode.dev  
Read the article

-   [#ffmpeg](https://hashnode.com/tag/ffmpeg)
-   [#python](https://hashnode.com/tag/python)
-   [#privacy](https://hashnode.com/tag/privacy)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#security](https://hashnode.com/tag/security)

## Written by

[Jaden Vo](https://hashnode.com/@jadenvo259)

@jadenvo259

  
[View profile](https://hashnode.com/@jadenvo259)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
