WhatsApp Video Exif Samsung Galaxy 8

Started by tkasparik, April 22, 2019, 03:45:16 AM

Previous topic - Next topic

tkasparik

Hello,

Over the weekend I had organized my Whatsapp photos and videos via copying to my local hard drive and then saving back onto the phone - its a Samsung S8. This resulted in all the Whatsapp photos and videos to be grouped under "today's date" when viewed in the Samsung Gallery app. Very frustrating.

I learned today when taking videos and photos using Whatsapp, the date taken (photo) and date authored (video) is not saved. I ended up using the exiftool to fix the dates - this was possible since the name of the files corresponded to the dates. For the photos I used -datetimeoriginal option set the date taken and for videos I used -createdate option to set the media created date.

The Samsung Gallery app was able to correctly sort the photos by the date taken; however not for videos. I ended up trying the -datetimeoriginal for the videos but no luck. Finally I compared the exif data between the videos taken by the native Samsung app versus the Whatsapp. The metadata from both the files are very similar so I am not sure why Samsung Gallery is not using "media created" in the Whatsapp video.

Would someone be able to look at exif from both video files and see the differences between the two? The Samsung Gallery app must be looking a for a flag of some kind which is not set in the Whatsapp videos. I can upload via email.

Many thanks

-Tom

Hayo Baan

Happy to look at them for you. If you post the output of exiftool -a -G0:1 for those files here, we can check it out. 
Hayo Baan – Photography
Web: www.hayobaan.nl

Phil Harvey

Maybe add -time:all to the command since we are only interested in date/time tags:

exiftool -a -G0:1 -time:all DIR

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

tkasparik

Thanks guys. Below is the extracted date/time tags for the Samsung native video recorder app and Whatsapp video recorder:

Samsung Native Video Record Info
[File:System]            File Modification Date/Time   :   2019:04:21 11:58:14-04:00
[File:System]            File Access Date/Time    :   2019:04:22 22:25:02-04:00
[File:System]           File Creation Date/Time   :   2019:04:22 22:25:02-04:00
[QuickTime]           Create Date                   :   2018:11:10 18:55:24
[QuickTime]           Modify Date                       :   2018:11:10 18:55:24
[QuickTime:Track1]   Track Create Date           :   2018:11:10 18:55:24
[QuickTime:Track1]   Track Modify Date           :   2018:11:10 18:55:24
[QuickTime:Track1]   Media Create Date           :   2018:11:10 18:55:24
[QuickTime:Track1]   Media Modify Date           :   2018:11:10 18:55:24
[QuickTime:Track2]   Track Create Date           :   2018:11:10 18:55:24
[QuickTime:Track2]   Track Modify Date           :   2018:11:10 18:55:24
[QuickTime:Track2]   Media Create Date           :   2018:11:10 18:55:24
[QuickTime:Track2]   Media Modify Date           :   2018:11:10 18:55:24

WhatsApp Video Record Info
[File:System]           File Modification Date/Time   :   2019:04:22   02:41:24-04:00
[File:System]           File Access Date/Time    :   2019:04:22   22:22:49-04:00
[File:System]           File Creation Date/Time   :   2019:04:22   22:22:49-04:00
[QuickTime]           Create Date                   :   2018:12:30   0:00:00
[QuickTime]           Modify Date                   :   2018:12:30   18:04:30
[QuickTime:Track1]   Track Create Date         :   2018:12:30   18:04:30
[QuickTime:Track1]   Track Modify Date           :   2018:12:30   18:04:30
[QuickTime:Track1]   Media Create Date           :   2018:12:30   18:04:30
[QuickTime:Track1]   Media Modify Date           :   2018:12:30   18:04:30
[QuickTime:Track2]   Track Create Date           :   2018:12:30   18:04:30
[QuickTime:Track2]   Track Modify Date           :   2018:12:30   18:04:30
[QuickTime:Track2]   Media Create Date           :   2018:12:30   18:04:30
[QuickTime:Track2]   Media Modify Date           :   2018:12:30   18:04:30
[XMP:XMP-xmp]           Create Date                   :   2018:12:30   0:00

Hayo Baan

Looks like the createDate mysteriously lost the time. This is probably the cause of the sorting problem.
Hayo Baan – Photography
Web: www.hayobaan.nl

tkasparik

Would you be able to help me with the command to set all the date/time tags to the same value - with the exception of the file system dates.

Thank you!


StarGeek

"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

tkasparik

I changed the all the date time tags to be the same. Still no luck for Samsung Gallery App to use create date instead of the file system dates.

Is there a way to copy all exif info from one file to the other and still having the file play?




Phil Harvey

This should do it, and the file should still play:

exiftool -tagsfromfile SRCFILE -all:all DESTFILE

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).