[FFmpeg-trac] #6193(undetermined:new): GPS coordinates getting lost after encoding

FFmpeg trac at avcodec.org
Sun Dec 8 14:19:16 EET 2019

#6193: GPS coordinates getting lost after encoding
             Reporter:  AndriusWild  |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |

Comment (by timvw):

 This issue is similar to https://trac.ffmpeg.org/ticket/4209

 Replying to [comment:6 AndriusWild]:
 > I was able to copy moov/udta atom using https://www.bento4.com
 > mp4extract moov/udta input.mp4 temp.txt
 > mp4edit --insert moov:temp.txt output.mp4 output_gps.mp4
 > I tried to copy moov/udta/©xyz atom first but was not able to do that so
 I had to copy the entire [udta]

 Thanks! This work-around works for me, except I use moov/meta (instead of
 your moov/udta):

 ffmpeg -i source.mov converted.mp4
 mp4extract moov/meta source.mov source-metadata
 mp4edit --insert moov:source-metadata converted.mp4 converted-withmeta.mp4

Ticket URL: <https://trac.ffmpeg.org/ticket/6193#comment:10>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list