VideoHelp Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Member
    Join Date
    Sep 2008
    Location
    Iran, Islamic Republic of
    Search Comp PM
    Hi all,
    i have a bunch of completely same format avi files (RIFF). I've analysed one of them with media info and putted the result at the end of this post.
    All videos are taken by 'Garmin dash cam 20' which geographically tags the video at the same time that video is encoded and make it possible to see lat/lon of position of camera at each second of video. ok?
    There are many dash cam video players that while they playing the video, also they show the position of camera on a map beside the playing video (see this screenshot for example). All of them are able to play video but non of them (expect Garmin dash cam player) are not able to detect geotags! These are dash cam players i've checked my video:
    - Action Cam
    - Cobra Dash Cam Player
    - DATAKAM
    - DODPlayer
    - DashCam viewer

    As I've said only Garmin dash cam player was able to show geo position while playing the video. This is all files that GDC (Garmin Dash Cam) player have installed and uses them to extract geo info from videos (maybe be useful to find out how it works behind the scene)

    Click image for larger version

Name:	garmin.png
Views:	724
Size:	77.1 KB
ID:	33200

    What i need to know is to find a way to pragmatically extract only the Latitude and Longitude info at each second of video. A good alternative would be a console executable file that gets video file address from execution parameters and process video file and writes the result into a text file etc.

    This is a very small commercial app and actually i'm not a video nerd, i do not know much about video so i can pay up to $150 for such an application (I'm also a freelancer!!!).

    This is also example video that is taken with camera, final application should work with this file (and file only like this, with same format)

    https://goo.gl/3g77EO

    This video plays fine in GDC player and shows lat/lon in map while playing video.

    A very good application was "AVCHD2SRT" (available from here also here) this was exactly what i need but unfortunately it do not work with my videos.

    Media info output on my file:

    Code:
    General
    Complete name                    : *!\VDO.avi
    Format                           : AVI
    Format/Info                      : Audio Video Interleave
    File size                        : 6.68 MiB
    Duration                         : 6s 2ms
    Overall bit rate                 : 9 343 Kbps
    
    Video
    ID                               : 0
    Format                           : AVC
    Format/Info                      : Advanced Video Codec
    Format profile                   : Main@L4.1
    Format settings, CABAC           : Yes
    Format settings, ReFrames        : 2 frames
    Codec ID                         : H264
    Duration                         : 6s 0ms
    Bit rate                         : 9 124 Kbps
    Width                            : 1 920 pixels
    Height                           : 1 080 pixels
    Display aspect ratio             : 16:9
    Frame rate                       : 30.000 fps
    Color space                      : YUV
    Chroma subsampling               : 4:2:0
    Bit depth                        : 8 bits
    Scan type                        : Progressive
    Bits/(Pixel*Frame)               : 0.147
    Stream size                      : 6.53 MiB (98%)
    
    Audio
    ID                               : 1
    Format                           : ADPCM
    Codec ID                         : 2
    Codec ID/Hint                    : Microsoft
    Duration                         : 6s 2ms
    Bit rate mode                    : Constant
    Bit rate                         : 176.4 Kbps
    Channel(s)                       : 1 channel
    Sampling rate                    : 44.1 KHz
    Bit depth                        : 4 bits
    Stream size                      : 130 KiB (2%)
    Interleave, duration             : 46 ms (1.38 video frame)
    Last edited by epsi1on; 18th Aug 2015 at 02:43.
    Quote Quote  
  2. It looks like the GPS data is in the GR02 chunk. See post #29 in this thread:

    https://translate.google.com/translate?hl=en&sl=ja&u=http://kohada.2ch.net/test/read.c...6/&prev=search

    From VirtualDub's hex editor and RIFF chunk viewer:

    Click image for larger version

Name:	riff.png
Views:	5626
Size:	107.2 KB
ID:	33208
    Quote Quote  
  3. Member
    Join Date
    Sep 2008
    Location
    Iran, Islamic Republic of
    Search Comp PM
    Originally Posted by jagabo View Post
    It looks like the GPS data is in the GR02 chunk. See post #29 in this thread:

    https://translate.google.com/translate?hl=en&sl=ja&u=http://kohada.2ch.net/test/read.c...6/&prev=search

    From VirtualDub's hex editor and RIFF chunk viewer:

    Image
    [Attachment 33208 - Click to enlarge]
    Thanks for information, that was very helpfull. I did extracted data i was wanted...
    Thank you
    --
    for further info:
    http://gis.stackexchange.com/questions/157114/how-to-extract-gps-information-from-garm...20-video-files
    Last edited by epsi1on; 31st Aug 2015 at 02:09.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!