[FFmpeg-trac] #6193(undetermined:new): GPS coordinates getting lost after encoding
FFmpeg
trac at avcodec.org
Fri Mar 24 01:10:56 EET 2017
#6193: GPS coordinates getting lost after encoding
-------------------------------------+-------------------------------------
Reporter: AndriusWild | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: unspecified | undetermined
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by AndriusWild):
Hello,
I was wondering if this issue is going to be investigated.
To reproduce the issue you can
1. Download this sample file:
https://drive.google.com/file/d/0B5_iknSPeSNBM3JWeGFVS1kteDA/view?usp=sharing
2. Convert it with
{{{
-map_metadata 0
}}}
option, for example
{{{
ffmpeg -i in.mp4 -c:v libx264 -crf 23 -c:a libfdk_aac -b:a 192k
-map_metadata 0 out.mp4
}}}
and then
3. Read metadata using the following tools:
{{{
ffmpeg -i FILE
}}}
{{{
mediainfo FILE
}}}
{{{
exiftool -a -G1 -s FILE
}}}
'''ffmpeg -i''' will show you that
{{{
com.android.version: 6.0.1
}}}
as well as
{{{
rotate : 90
}}}
are missing
'''mediainfo''' will show you that
{{{
©xyz : +##.####-###.####/
com.android.version : 6.0.1
}}}
is missing and replaced with:
{{{
Writing application : Lavf57.56.101
}}}
Also
{{{
Rotation : 90°
}}}
is missing
'''ExifTool''' will show you that
{{{
[QuickTime] GPSCoordinates : ## deg ##' ##.##" N, ###
deg #' ##.##" W
[QuickTime] ComAndroidVersion : 6.0.1
}}}
got replaced with:
{{{
[QuickTime] HandlerType : Metadata
[QuickTime] HandlerVendorID : Apple
[QuickTime] Encoder : Lavf57.56.101
[QuickTime] LocationInformation : (none) Role=shooting
Lat=##.##### Lon=-###.##### Alt=0.00 Body=earth Notes=
}}}
and
{{{
[QuickTime] ComAndroidVersion : 6.0.1
}}}
is missing
as well as
{{{
[Composite] Rotation : 90
}}}
got replaced with
{{{
[Composite] Rotation : 0
}}}
Please advise
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6193#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list