ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: mujer_esponja on August 02, 2011, 04:13:10 AM

Title: Ogg metadata. Duration
Post by: mujer_esponja on August 02, 2011, 04:13:10 AM
Hello, I have been searching in this forum about Ogg format, but seems that nobody has faced problems with it.

I have also checked Ogg types in the documentation https://exiftool.org/TagNames/Ogg.html but in none of the types exists "Duration" field.
Is there some way to get this metadata?

Thanks in advance
Title: Re: Ogg metadata. Duration
Post by: Phil Harvey on August 02, 2011, 07:39:04 AM
It seems that Ogg files do not store duration in the metadata.  To get this information one may have to calculate the duration of the audio/video stream, which sometimes requires reading the entire file.  In general, ExifTool does not parse the audio/video stream data, so unless there is a simpler way to calculate duration for this type of file then we may be out of luck.  I did a quick google to look for solutions, but didn't find any.

- Phil
Title: Re: Ogg metadata. Duration
Post by: mujer_esponja on August 02, 2011, 10:14:19 AM
Thank you for your answer Phil