WebM Video FPS information is not part of video metadata when bit rates are exceeding 30MBPS

1,059 views
Skip to first unread message

pawan kumar

unread,
Mar 24, 2022, 10:44:43 PM3/24/22
to WebM Discussion
I am part of team that build API's to capture video using Chrome browser. When a file is recorded with webM format and with video bit rate setting is greater than 30MBPS, there is no FPS information as part of metadata. 

If it was using VBR, I believe it should mention. that as part of the metadata. 

Would there be any association of bit rate causing webm encoder to switch from CBR to VBR?? 


James Zern

unread,
Mar 25, 2022, 1:54:43 PM3/25/22
to WebM Discussion
Hi,

The WebCodecs interface has an option for CBR/VBR [1]. How are you capturing and encoding the video?

 


--
You received this message because you are subscribed to the Google Groups "WebM Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webm-discuss...@webmproject.org.
To view this discussion on the web visit https://groups.google.com/a/webmproject.org/d/msgid/webm-discuss/c06defe5-9f2a-439c-97f3-a45a6c0334bdn%40webmproject.org.

pawan kumar

unread,
Mar 27, 2022, 11:42:22 PM3/27/22
to webm-d...@webmproject.org
Hello James,

I think there was a typo in the question. So posting it again -

I am part of team that build API's to capture video using Chrome browser. When a file is recorded with webM format and with video bit rate setting is greater than 30MBPS, there is no FPS information as part of metadata. 

If it was using Variable frame rate, should that be mentioned as part of the video metadata? 

Would there be any association of bit rate setting causing webm encoder to switch from constant frame rate to variable frame rate? 

I think our development team is using chrome API's to capture video and audio from builtin camera and microphone devices and encoding using chrome natively supported webm.

Regards,
-Pavan.

You received this message because you are subscribed to a topic in the Google Groups "WebM Discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/a/webmproject.org/d/topic/webm-discuss/_CYUnkYBf-A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to webm-discuss...@webmproject.org.
To view this discussion on the web visit https://groups.google.com/a/webmproject.org/d/msgid/webm-discuss/CABWgkXKNfJ8ZgkxhRGRniK%3DOEsbS%3DwdQ_mqF48xEb-84T-2sew%40mail.gmail.com.

James Zern

unread,
Mar 28, 2022, 6:56:20 PM3/28/22
to WebM Discussion
On Sun, Mar 27, 2022 at 8:42 PM pawan kumar <pawan...@gmail.com> wrote:
Hello James,

I think there was a typo in the question. So posting it again -

I am part of team that build API's to capture video using Chrome browser. When a file is recorded with webM format and with video bit rate setting is greater than 30MBPS, there is no FPS information as part of metadata. 

The capture may be variable frame rate, the webm file format supports this. Do you have an example you could provide that has the metadata you're looking for? I don't think the bitrate should affect this.
 

If it was using Variable frame rate, should that be mentioned as part of the video metadata? 

Would there be any association of bit rate setting causing webm encoder to switch from constant frame rate to variable frame rate? 

I think our development team is using chrome API's to capture video and audio from builtin camera and microphone devices and encoding using chrome natively supported webm.


Regards,
-Pavan.

On Sat, Mar 26, 2022 at 4:54 AM 'James Zern' via WebM Discussion <webm-d...@webmproject.org> wrote:
Hi,

On Thu, Mar 24, 2022 at 7:44 PM pawan kumar <pawan...@gmail.com> wrote:
I am part of team that build API's to capture video using Chrome browser. When a file is recorded with webM format and with video bit rate setting is greater than 30MBPS, there is no FPS information as part of metadata. 

If it was using VBR, I believe it should mention. that as part of the metadata. 

Would there be any association of bit rate causing webm encoder to switch from CBR to VBR?? 

The WebCodecs interface has an option for CBR/VBR [1]. How are you capturing and encoding the video?

 


--
You received this message because you are subscribed to the Google Groups "WebM Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webm-discuss...@webmproject.org.
To view this discussion on the web visit https://groups.google.com/a/webmproject.org/d/msgid/webm-discuss/c06defe5-9f2a-439c-97f3-a45a6c0334bdn%40webmproject.org.

--
You received this message because you are subscribed to a topic in the Google Groups "WebM Discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/a/webmproject.org/d/topic/webm-discuss/_CYUnkYBf-A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to webm-discuss...@webmproject.org.
To view this discussion on the web visit https://groups.google.com/a/webmproject.org/d/msgid/webm-discuss/CABWgkXKNfJ8ZgkxhRGRniK%3DOEsbS%3DwdQ_mqF48xEb-84T-2sew%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "WebM Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webm-discuss...@webmproject.org.

pawan kumar

unread,
Mar 29, 2022, 6:59:36 PM3/29/22
to webm-d...@webmproject.org, Terence....@dolby.com, Wenfen...@dolby.com
Hello James,

I am attaching the recorded media with and without FPS information.  Adding in Terence  and Vincent as well from my team to follow the discussion.

The only difference between them was the video bitrate setting applied. Any setting >30 MBPS would render the output file without the FPS infro.

Regards,
-Pavan.

James Zern

unread,
Mar 30, 2022, 10:22:52 PM3/30/22
to WebM Discussion, Terence....@dolby.com, Wenfen...@dolby.com
On Tue, Mar 29, 2022 at 3:59 PM pawan kumar <pawan...@gmail.com> wrote:
Hello James,

I am attaching the recorded media with and without FPS information.  Adding in Terence  and Vincent as well from my team to follow the discussion.

The only difference between them was the video bitrate setting applied. Any setting >30 MBPS would render the output file without the FPS infro.

Thanks for posting the clips. Where do you see the fps reported? I don't see a FrameRate element in the Track header for either [1] and there likely shouldn't be since this is variable rate input, see below.
The noFPS clip actually has timestamps closer to 30fps than the 30FPS clip, at least looking quickly at the beginning of the file.

$ mkvinfo -v sandbox_30FPS.webm |grep 'track number 2' |head
| + Simple block: key, track number 2, 1 frame(s), timestamp 00:00:00.000000000
| + Simple block: track number 2, 1 frame(s), timestamp 00:00:00.028000000
| + Simple block: track number 2, 1 frame(s), timestamp 00:00:00.061000000
| + Simple block: track number 2, 1 frame(s), timestamp 00:00:00.091000000
| + Simple block: track number 2, 1 frame(s), timestamp 00:00:00.124000000
| + Simple block: track number 2, 1 frame(s), timestamp 00:00:00.157000000
| + Simple block: track number 2, 1 frame(s), timestamp 00:00:00.190000000
| + Simple block: track number 2, 1 frame(s), timestamp 00:00:00.219000000
| + Simple block: track number 2, 1 frame(s), timestamp 00:00:00.251000000
| + Simple block: track number 2, 1 frame(s), timestamp 00:00:00.285000000
$ mkvinfo -v sandbox_noFPS.webm |grep 'track number 2' |head
| + Simple block: key, track number 2, 1 frame(s), timestamp 00:00:00.000000000
| + Simple block: track number 2, 1 frame(s), timestamp 00:00:00.033000000
| + Simple block: track number 2, 1 frame(s), timestamp 00:00:00.067000000
| + Simple block: track number 2, 1 frame(s), timestamp 00:00:00.096000000
| + Simple block: track number 2, 1 frame(s), timestamp 00:00:00.133000000
| + Simple block: track number 2, 1 frame(s), timestamp 00:00:00.163000000
| + Simple block: track number 2, 1 frame(s), timestamp 00:00:00.199000000
| + Simple block: track number 2, 1 frame(s), timestamp 00:00:00.231000000
| + Simple block: track number 2, 1 frame(s), timestamp 00:00:00.267000000
| + Simple block: track number 2, 1 frame(s), timestamp 00:00:00.299000000

 
Reply all
Reply to author
Forward
0 new messages