Re: [FFmpeg-user] [ffmpeg] preserving metadata from .mp4 to .jpg/.png frames

2020-05-22 Thread Moritz Barsnick
On Fri, May 22, 2020 at 07:52:14 +0200, Michael Koch wrote:
> here is an example of a JPG for which exiftool (version 11.26) reports 6
> dates/times:
> http://www.astro-electronic.de/IMG_1343.jpg

Yes, that file contains actual EXIF metadata, including date tags.

That doesn't change the fact that ffmpeg currently isn't able to create
EXIF metadata, even if it is able to parse it from some formats.

Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] [ffmpeg] preserving metadata from .mp4 to .jpg/.png frames

2020-05-22 Thread Michael Koch

Am 22.05.2020 um 11:52 schrieb Nicolas George:

Michael Koch (12020-05-22):

here is an example of a JPG for which exiftool (version 11.26) reports 6
dates/times:
http://www.astro-electronic.de/IMG_1343.jpg

File Modification Date/Time : 2020:05:22 07:46:54+02:00
File Access Date/Time   : 2020:05:22 11:51:04+02:00
File Inode Change Date/Time : 2020:05:22 11:51:00+02:00

Spot the difference with your version?


This is what my version of exiftool reports:

C:\Users\mKoch\Desktop>c:\ffmpeg\exiftool 
C:\Users\mKoch\Desktop\IMG_1343.jpg -u


ExifTool Version Number : 11.26
File Name   : IMG_1343.jpg
Directory   : C:/Users/mKoch/Desktop
File Size   : 3.4 MB
File Modification Date/Time : 2020:05:22 07:15:10+02:00<---
File Access Date/Time   : 2020:05:22 13:06:37+02:00    <---
File Creation Date/Time : 2020:05:22 13:06:37+02:00    <---
File Permissions    : rw-rw-rw-
File Type   : JPEG
File Type Extension : jpg
MIME Type   : image/jpeg
Exif Byte Order : Little-endian (Intel, II)
Image Description   :
Make    : Canon
Camera Model Name   : Canon IXUS 107
Orientation : Horizontal (normal)
X Resolution    : 180
Y Resolution    : 180
Resolution Unit : inches
Modify Date : 2020:05:22 07:15:10<---
Y Cb Cr Positioning : Co-sited
Exposure Time   : 1/60
F Number    : 2.8
ISO : 200
Exif Version    : 0221
Date/Time Original  : 2020:05:22 07:15:10<---
Create Date : 2020:05:22 07:15:10  <---
Components Configuration    : Y, Cb, Cr, -
Compressed Bits Per Pixel   : 3
Shutter Speed Value : 1/60
Aperture Value  : 2.8
Max Aperture Value  : 2.8
Flash   : Auto, Did not fire
Focal Length    : 5.0 mm
Macro Mode  : Normal
Self Timer  : Off
Quality : Fine
Canon Flash Mode    : Auto
Continuous Drive    : Single
Focus Mode  : Single
Record Mode : JPEG
Canon Image Size    : Large
Easy Mode   : Night Snapshot
Digital Zoom    : None
Contrast    : Normal
Saturation  : Normal
Sharpness   : 0
Camera ISO  : Auto
Metering Mode   : Evaluative
Focus Range : Auto
AF Point    : Manual AF point selection
Canon Exposure Mode : Easy
Lens Type   : n/a
Max Focal Length    : 20 mm
Min Focal Length    : 5 mm
Focal Units : 1000/mm
Max Aperture    : 2.8
Min Aperture    : 8
Flash Bits  : (none)
Focus Continuous    : Single
AE Setting  : Normal AE
Image Stabilization : Shoot Only
Zoom Source Width   : 4000
Zoom Target Width   : 4000
Spot Metering Mode  : Center
Manual Flash Output : n/a
Focal Type  : Zoom
Focal Plane X Size  : 6.30 mm
Focal Plane Y Size  : 4.72 mm
Canon Flash Info    : 0 0 0 0
Auto ISO    : 192
Base ISO    : 100
Measured EV : 8.81
Target Aperture : 2.8
Target Exposure Time    : 1/60
Exposure Compensation   : 0
White Balance   : Auto
Slow Shutter    : Off
Shot Number In Continuous Burst : 0
Optical Zoom Code   : 0
Flash Guide Number  : 0
Flash Exposure Compensation : 0
Auto Exposure Bracketing    : Off
AEB Bracket Value   : 0
Control Mode    : Camera Local Control
Focus Distance Upper    : 1.6 m
Focus Distance Lower    : 0 m
Bulb Duration   : 0
Camera Type : Compact
Auto Rotate : None
ND Filter   : Off
Self Timer 2    : 0
Flash Output    : 0
Canon Image Type    : IMG:IXUS 107 JPEG
Canon Firmware Version  : Firmware Version 1.00
File Number : 164-1343
Owner Name  :
Rotation    : 0
Camera Temperature  : 18 C
Canon Model ID  : PowerShot SD1300 IS / IXUS 105 / IXY 200F
AF Info Size    : 98
AF Area Mode    : Single-point AF
Num AF Points   : 9
Valid AF Points : 1
Canon 

Re: [FFmpeg-user] [ffmpeg] preserving metadata from .mp4 to .jpg/.png frames

2020-05-22 Thread Nicolas George
Michael Koch (12020-05-22):
> here is an example of a JPG for which exiftool (version 11.26) reports 6
> dates/times:
> http://www.astro-electronic.de/IMG_1343.jpg

File Modification Date/Time : 2020:05:22 07:46:54+02:00
File Access Date/Time   : 2020:05:22 11:51:04+02:00
File Inode Change Date/Time : 2020:05:22 11:51:00+02:00

Spot the difference with your version?

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] [ffmpeg] preserving metadata from .mp4 to .jpg/.png frames

2020-05-21 Thread Michael Koch

Am 21.05.2020 um 22:31 schrieb Nicolas George:

Kieran O Leary (12020-05-21):

I have a JPG image for which exiftool reports six times:
-- File Modification Date/Time
-- File Access Date/Time
-- File Creation Date/Time
-- Modify Date
-- Date/Time Original
-- Create Date

Aren't some of those just file system metadata, not in the actual JPG
itself?

The "File" fields, obviously. But I very much doubt that a file system
would store both a "File Modification Date/Time" and a "Modify Date",
don't you?


here is an example of a JPG for which exiftool (version 11.26) reports 6 
dates/times:

http://www.astro-electronic.de/IMG_1343.jpg

Michael
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] [ffmpeg] preserving metadata from .mp4 to .jpg/.png frames

2020-05-21 Thread Kieran O Leary
On Thu, May 21, 2020 at 9:31 PM Nicolas George  wrote:

> Kieran O Leary (12020-05-21):
> > > I have a JPG image for which exiftool reports six times:
> > > -- File Modification Date/Time
> > > -- File Access Date/Time
> > > -- File Creation Date/Time
> > > -- Modify Date
> > > -- Date/Time Original
> > > -- Create Date
>
> > Aren't some of those just file system metadata, not in the actual JPG
> > itself?
>
> The "File" fields, obviously. But I very much doubt that a file system
> would store both a "File Modification Date/Time" and a "Modify Date",
> don't you?
>

I agree with you.

K
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] [ffmpeg] preserving metadata from .mp4 to .jpg/.png frames

2020-05-21 Thread Nicolas George
Kieran O Leary (12020-05-21):
> > I have a JPG image for which exiftool reports six times:
> > -- File Modification Date/Time
> > -- File Access Date/Time
> > -- File Creation Date/Time
> > -- Modify Date
> > -- Date/Time Original
> > -- Create Date

> Aren't some of those just file system metadata, not in the actual JPG
> itself?

The "File" fields, obviously. But I very much doubt that a file system
would store both a "File Modification Date/Time" and a "Modify Date",
don't you?

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] [ffmpeg] preserving metadata from .mp4 to .jpg/.png frames

2020-05-21 Thread Moritz Barsnick
On Thu, May 21, 2020 at 20:05:10 +0100, Kieran O Leary wrote:
> On Thu, May 21, 2020 at 6:05 PM Michael Koch 
> > I have a JPG image for which exiftool reports six times:
> > -- File Modification Date/Time
> > -- File Access Date/Time
> > -- File Creation Date/Time
> > -- Modify Date
> > -- Date/Time Original
> > -- Create Date
> Aren't some of those just file system metadata, not in the actual JPG
> itself?

I was wondering the same thing, but my (perhaps newer) exiftool only
reports the first three on a "bare" JPG file.

OTOH, I believe ffmpeg is not capable of writing any metadata for JPG,
not even non-EXIF.

Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] [ffmpeg] preserving metadata from .mp4 to .jpg/.png frames

2020-05-21 Thread Michael Koch

Am 21.05.2020 um 21:05 schrieb Kieran O Leary:

On Thu, May 21, 2020 at 6:05 PM Michael Koch 
wrote:


Am 21.05.2020 um 17:07 schrieb Carl Eugen Hoyos:

Am Do., 21. Mai 2020 um 16:46 Uhr schrieb David Greenwood
:

Nope.

If such files do not exist, it seems unlikely that ffmpeg
can produce them.

I have a JPG image for which exiftool reports six times:
-- File Modification Date/Time
-- File Access Date/Time
-- File Creation Date/Time
-- Modify Date
-- Date/Time Original
-- Create Date


Aren't some of those just file system metadata, not in the actual JPG
itself?


I don't know. Exiftool reports these 6 dates / times. For some other 
JPG's it reports only 3.


Michael

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] [ffmpeg] preserving metadata from .mp4 to .jpg/.png frames

2020-05-21 Thread Kieran O Leary
On Thu, May 21, 2020 at 6:05 PM Michael Koch 
wrote:

> Am 21.05.2020 um 17:07 schrieb Carl Eugen Hoyos:
> > Am Do., 21. Mai 2020 um 16:46 Uhr schrieb David Greenwood
> > :
> >> Nope.
> > If such files do not exist, it seems unlikely that ffmpeg
> > can produce them.
>
> I have a JPG image for which exiftool reports six times:
> -- File Modification Date/Time
> -- File Access Date/Time
> -- File Creation Date/Time
> -- Modify Date
> -- Date/Time Original
> -- Create Date
>

Aren't some of those just file system metadata, not in the actual JPG
itself?

-K
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] [ffmpeg] preserving metadata from .mp4 to .jpg/.png frames

2020-05-21 Thread Michael Koch

Am 21.05.2020 um 17:07 schrieb Carl Eugen Hoyos:

Am Do., 21. Mai 2020 um 16:46 Uhr schrieb David Greenwood
:

Nope.

If such files do not exist, it seems unlikely that ffmpeg
can produce them.


I have a JPG image for which exiftool reports six times:
-- File Modification Date/Time
-- File Access Date/Time
-- File Creation Date/Time
-- Modify Date
-- Date/Time Original
-- Create Date

Michael

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] [ffmpeg] preserving metadata from .mp4 to .jpg/.png frames

2020-05-21 Thread Carl Eugen Hoyos
Am Do., 21. Mai 2020 um 16:46 Uhr schrieb David Greenwood
:
>
> Nope.

If such files do not exist, it seems unlikely that ffmpeg
can produce them.

Please find out what top-posting means and avoid
it here.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] [ffmpeg] preserving metadata from .mp4 to .jpg/.png frames

2020-05-21 Thread David Greenwood
Nope.

The original video .mp4 has a start time and duration in the metadata.

When converting to image files, the only timestamps they hold are for
creation date (system time on script run).


On Thu, 21 May 2020 at 15:28, Carl Eugen Hoyos  wrote:

> Am Do., 21. Mai 2020 um 16:21 Uhr schrieb David Greenwood
> :
>
> > the issue, i have not been able to figure out how to properly preserve
> > metadata during conversion in ffmpeg from mp4 to jpg/png. importantly,
> > this means the images do not have a capture time.
>
> Do you have a jpg/png that contains timestamps?
>
> Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".



-- 
*David Greenwood*
Chief Explorer

https://www.trekview.org
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] [ffmpeg] preserving metadata from .mp4 to .jpg/.png frames

2020-05-21 Thread Carl Eugen Hoyos
Am Do., 21. Mai 2020 um 16:21 Uhr schrieb David Greenwood
:

> the issue, i have not been able to figure out how to properly preserve
> metadata during conversion in ffmpeg from mp4 to jpg/png. importantly,
> this means the images do not have a capture time.

Do you have a jpg/png that contains timestamps?

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".