Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making seekable blob corrupts the video #35

Open
darind opened this issue Oct 7, 2021 · 0 comments
Open

Making seekable blob corrupts the video #35

darind opened this issue Oct 7, 2021 · 0 comments

Comments

@darind
Copy link

darind commented Oct 7, 2021

I have a webm video captured using Media Recorder API representing the current browser tab. In order to produce a seekable video I use the ts-ebml package like so:

ts-ebml -s input.webm | cat > input-seekable.webm

Most of the time this works pretty well, but I have noticed that with still videos (no moving frames), this produces corrupted video.

Here's an example of such input video:

input.webm.zip

After applying the seekable transformation on this input video I get the following corrupt video:

input-seekable.webm.zip

If you try opening the resulting video, playing it and then seeking towards the end, the playback stops.

Also if you open this video with some js player (such as shaka player) it throws the following error:

{
	"severity": 2,
	"category": 3,
	"code": 3016,
	"data": [3, null, "PIPELINE_ERROR_DECODE: {\"causes\":[],\"data\":{},\"stack\":[{\"file\":\"media/filters/vpx_video_decoder.cc\",\"line\":197}],\"status_code\":271,\"status_message\":\"\"}"],
	"handled": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant