Comment to 'Developer Question: BxTemplUploaderRecordVideo'
  • Further testing, ffmpeg output is:

    Input #0, matroska,webm, from '/home/wise/tmp/php2HfdWI':
    Metadata:
     encoder : QTmuxingAppLibWebM-0.0.1
     Duration: N/A, start: -0.001000, bitrate: N/A
     Stream #0:0(eng):
    

    So, this is why duration is set to false. And my web recording was 15 seconds.

    Why?

    • This is a question to a ffmpeg developers. May be a web recording is not having duration set in a file header, because it was streamed, while ffmpeg relies only on a file header and is not analyzing the entire file. I'm not sure. You may try to update the ffmpeg to a newer version. Or as I suggested above you can try to use a ffprobe utility instead, because it works better for getting various file info than the ffmpeg.