Open dinesh-pathak100 opened 7 years ago
Please make sure to pass video/webm\;codecs=vp9
to fix seeking issues.
I have tried this also but problem is same Sir @muaz-khan
Sir @muaz-khan I have tested your extension , there is also the same problem of video controls ie. the forward/ backward and start from any point first time we played the video. The video control which shows how much part video is played not started when video is playing, it directly reaches to end when video end . Sir @muaz-khan please help for this problem.
It is a known chromium issue. I'm able to seek all vp9-based recorded videos on Win10/DellXPS15.
So this issues happens on a few devices only.
I am also facing same issue where captured video are not able to seek forward or backward. Tried above approach to pass video/webm\;codecs=vp9 on windows 10. Is there anything missing?
Please try this:
video.onloadedmetadata = function() {
video.onloadedmetadata = null; // [optional]
video.currentTime = 0; // to initial position [optional]
};
video.src = URL.createObjectURL(blob);
video.currentTime = 9999999999; // this line is important; other code is optional
@muaz-khan, Thank you, It works fine on browser when recorded video generates. But this webm video produce same problem when I play offline after download and when I upload this to any other website
@muaz-khan . I am using webrtc. Not working with video.currentTime = 9999999999; Not able to seek the video. I have to add backward and forward to video. Any one have solution for that. NOt working on chrome.
@preetisachdeva1 This tool ( https://github.com/legokichi/ts-ebml/ ) is expected to fix it. I'll include a fix in the next version.
Please make sure to pass
video/webm\;codecs=vp9
to fix seeking issues.
How can I do it if I only record the audio-only? Because I am having the same issue, I can't forward/backward the audio.
This worked for me: https://github.com/yusitnikov/fix-webm-duration
Sir I am using MediaRecorder api for recording the screen with audio, using your extension code for recording and the video is generated properly but I can't forward/backward this video or start from any point for first time , when it play first time after that it works fine. I am using this code at stop recording
`function stopScreenRecording(blob) { isRecording = false; var blob = new Blob(chunks, {type: "video/mp4"}); chunks = [];
} ` and this is for start recording
`function gotStream(stream) {
}`
Sir please provide some solution thank you @muaz-khan