Hi,
I'm using ffmpeg to convert various video formats to webm and stream the video to the browser. The source is a physical file and I'm redirecting ffmpeg's output stream (ultimately) back to the browser. When I do this, the duration (and frame rate it seems) are not set in the webm output. If I use ffmpegl to convert to a file instead of an output stream, it sets the duration properly. Without knowing the duration or actual output file size, the browser will play the video but cannot show the duration, and the scrub bar doesn't work.
Since I know the duration of the video from the source file, is there a way to set the duration at the beginning of the webm output stream (via some metadata header perhaps)? I'm not knowledgeable on the webm container format, BTW. Any help/suggestions would be very much appreciated.
thanks,
--john