ExifTool Forum

General => Metadata => Topic started by: Engineer_GLTECH on November 16, 2024, 07:21:03 PM

Title: Extracting GPS from *.TS video file
Post by: Engineer_GLTECH on November 16, 2024, 07:21:03 PM
Hello Phil,
I have a new Dashcam with a different file format and I can not get exiftool to extract the GPS coordinate. Would you look into it please?

https://www.dropbox.com/scl/fi/6u9azqlk4t8hpyghdw2k1/Wrong-Way-pass.ts?rlkey=xb1lzphugmmwkobg72w07btm5&st=jo1bl9lx&dl=0

Thanks & Best regards
Title: Re: Extracting GPS from *.TS video file
Post by: StarGeek on November 16, 2024, 07:51:44 PM
Phil just went AFK for a couple of weeks, so it will be some time before this gets looked at.
Title: Re: Extracting GPS from *.TS video file
Post by: Engineer_GLTECH on November 16, 2024, 08:39:38 PM
OK. Thanks for the info.
Title: Re: Extracting GPS from *.TS video file
Post by: Phil Harvey on November 25, 2024, 08:44:59 AM
This is a program with PID 0x0300 containing private data in this video, but it seems to contain only a timestamp, not GPS:

  PID(0x0300) --> Program 1 ISO 13818-1 PES private data (0x06)
Transport packet 84298:
    f1d258: 47 50 00 20 b7 10 00 05 5b 18 00 00 ff ff ff ff [GP. ....[.......]
    f1d268: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f1d278: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f1d288: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f1d298: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f1d2a8: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f1d2b8: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f1d2c8: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f1d2d8: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f1d2e8: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f1d2f8: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f1d308: ff ff ff ff ff ff ff ff ff ff ff ff             [............]
  PID(0x0300) --> Program 1 ISO 13818-1 PES private data (0x06)
Transport packet 85292:
    f4ac50: 47 50 00 20 b7 10 00 05 6c ac 00 00 ff ff ff ff [GP. ....l.......]
    f4ac60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f4ac70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f4ac80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f4ac90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f4aca0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f4acb0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f4acc0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f4acd0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f4ace0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f4acf0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f4ad00: ff ff ff ff ff ff ff ff ff ff ff ff             [............]
  PID(0x0300) --> Program 1 ISO 13818-1 PES private data (0x06)
Transport packet 86291:
    f789f4: 47 50 00 20 b7 10 00 05 7e 40 00 00 ff ff ff ff [GP. ....~@......]
    f78a04: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f78a14: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f78a24: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f78a34: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f78a44: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f78a54: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f78a64: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f78a74: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f78a84: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f78a94: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
    f78aa4: ff ff ff ff ff ff ff ff ff ff ff ff             [............]

And I can't see any other programs which could contain the GPS track.

- Phil
Title: Re: Extracting GPS from *.TS video file
Post by: Phil Harvey on December 10, 2024, 11:26:49 AM
Good news!

After looking at this file in more depth, I found that some of the private data packets later in the file actually do contain encrypted GPS!!

ExifTool 13.07 will have the ability to decrypt and extract this information.

- Phil