[FFmpeg-user] about flv file metadata
Carl Eugen Hoyos
cehoyos at ag.or.at
Sat Oct 27 03:58:19 CEST 2012
esolve esolve <esolvepolito <at> gmail.com> writes:
> ffmpeg version 0.8.12, Copyright (c) 2000-2011
This is too old, please update.
> [flv @ 0x1e5f600] Estimating duration from bitrate, this may be inaccurate
(After reading my comment below, also note above line.)
> Input #0, flv, from 'youtube_1.flv':
> Metadata:
> duration : 205
> starttime : 0
> totalduration : 205
> width : 640
> height : 360
> videodatarate : 741
> audiodatarate : 117
> totaldatarate : 864
> framerate : 25
> bytelength : 22177678
> canseekontime : true
> sourcedata : BADC214C5HH1349887655671782
> purl :
> pmsg :
> Duration: 00:03:24.72, start: 0.000000, bitrate: 878 kb/s
Regarding your original question:
Please look at the indentation - "Metadata" is something
that the encoder wrote into the file header,
the line that starts with "Duration" has nothing to do
with metadata, but these are FFmpeg's assumptions about
the file (that may or may not be correct).
To know the actual length of a file, it is usually necessary
to decode it.
Please do not top-post here, Carl Eugen
More information about the ffmpeg-user
mailing list