[FFmpeg-user] how can i learn start time as HH.MM.SS.ss

MERT Gürtürk mertgurturk at hotmail.com
Wed Dec 30 03:20:12 EET 2020


thank you so much. The information was very useful for me. but I need to know the start time as HH.MM.SS.ss to do geotagging.

I cannot see the starting time in split seconds below.

Metadata:
      creation_time   : 2020-11-23T13:02:53.000000Z
      handler_name    : GoPro AVC
      encoder         : GoPro AVC encoder
      timecode        : 13:02:06:02
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
    Metadata:
      creation_time   : 2020-11-23T13:02:53.000000Z
      handler_name    : GoPro AAC
      timecode        : 13:02:06:02
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
    Metadata:
      creation_time   : 2020-11-23T13:02:53.000000Z
      handler_name    : GoPro TCD

________________________________
Gönderen: Carl Zwanzig <cpz at tuunq.com> adına ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org>
Gönderildi: 29 Aralık 2020 Salı 21:05
Kime: ffmpeg-user at ffmpeg.org <ffmpeg-user at ffmpeg.org>
Konu: Re: [FFmpeg-user] Ynt: Ynt: Mailman privacy alert

(Next time you post, please fix the "privacy alert" in the subject line;
that doesn't belong.)

On 12/29/2020 5:57 AM, MERT Gürtürk wrote:
> I have a 30 fps video file.I will use this process for geotagging.

Actually, you have a 29.97fps (or 30000/1001) file (aka "drop-frame" rate).

> I want to set this file to produce 1 image per second (starting from the
> first image). My video duration is 8.51 minutes in total.
Assuming the duration listed is correct (00:08:51.54 = 531.45 sec), in
source frames that would be about 15930 source frames with that half-second
included. That half second might get you an extra output frame.


Referring to some official doc (which really wasn't hard to find)
https://trac.ffmpeg.org/wiki/Create%20a%20thumbnail%20image%20every%20X%20seconds%20of%20the%20video

use the fps video filter

ffmpeg -i NTSC_Test.mov -vf fps=1 x\%04d.jpg

Using a frame-count marked 2-second (00:00:02.0) file I get frames 0.14 and
1.14 (in the middle of each second). If you need to get the first frame of
each second, you may need to experiment with the 'select' filter.


Examples from using -r (for anyone searching the archive)
ffmpeg -i NTSC_Test.mov  -r 1 x\%04d.jpg
gives frames 000, 0.01, 0.26, and 1.26

ffmpeg -i NTSC_Test.mov -ss 00:00:00.1 -r 1 x\%04d.jpg
gives frames 0.03, 0.04, 0.29, and 1.29

Later,

z!

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


More information about the ffmpeg-user mailing list