question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

saved video has mime type video/x-matroska

See original GitHub issue

Description

Even with videoMimeType: “video/webm;codecs=H264” , I am getting video/x-matroska as mime-type of saved video and video has unknown duration due to which it does not has seekbar.

Additional Information

"myVideo", { controls: true, fluid: false, width: videoWidth, height: videoHeight, plugins: { record: { audio: true, video: video_option_settings, screen: record_screen_option, frameWidth: videoWidth, frameHeight: videoHeight, maxLength: videoMaxLengthInSeconds, debug: true, videoMimeType: "video/webm;codecs=H264" }, }, },

versions

videojs

what version of videojs does this occur with? 3.11.0

browsers

Chrome Version 81.0.4044.138 (Official Build) (64-bit)

OS Windows 10

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
thijstriemstracommented, May 19, 2020

The fix for this is in this pull request: #474 Give that a try or wait for v4.0.0 release.

1reaction
thijstriemstracommented, May 19, 2020

video saved by this plugin has known duration and also correct mime-type

You should try the ts-ebml plugin to save the duration.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does RecordRTC always set my mime type to x-matroska
Even though i set the mime type in the options to 'video/webm' it always seems to switch it back to 'x-matroska'... Here is...
Read more >
video/x-matroska mimetype - Extensions and alternatives
Matroska (sometimes spelled Matroška) is an open standard multimedia container format. It is based on the EBML metaformat and can be used with...
Read more >
Graph returning incorrect MIME type for MKV video files
After some quick debugging it seems that Microsoft Graph now returns application/octet-stream as mimetype of an MKV file instead of video/x- ...
Read more >
MimeTypes - Android Developers
Returns whether the given string is a text MIME type, including known text types that use "application" as their base type. static boolean....
Read more >
Correct MIME types for serving video files - Encoding.com Help
One critical issue that comes up often is that the hosting server has not set the MIME types for the video type. A...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found