does composite egress outputs (mp4) include metada...
# ask-ai
n
does composite egress outputs (mp4) include metadata about its duration?
t
Thanks for reaching out, Blaine. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Absolutely! Composite egress outputs in MP4 format do include metadata about their duration. This information is saved right within the output file, making it easy for you to find out the total length of your recorded session. If you have any more questions or need help with this, feel free to ask—I’m here to help! Sources: livekit-protocol/livekit/protocol/egress.pyi | test/ffprobe.go
n
excellent - what is the name of the metadata field?
t
Just to help you out, the metadata field for duration in composite egress MP4 outputs is called
duration
. Usually, it's shown in nanoseconds. If you have any questions about this, feel free to ask—I'm here to help! Sources: livekit-protocol/livekit/protocol/egress.pyi | test/ffprobe.go
n
if its written to Google Cloud - is this included as part of the GCS storage metadata or the actual binary media data?
t
I understand you’re looking into the duration metadata for composite egress MP4 outputs. Just to clarify, this information is actually embedded within the binary media data itself, rather than in the Google Cloud Storage (GCS) storage metadata. A handy way to access it is by using tools like
ffprobe
, which can extract the duration directly from the media file. If you need any help with this, feel free to ask—I’m here to support you! Sources: livekit-protocol/livekit/protocol/egress.py | pkg/config/storage.go