New issue
Advanced search Search tips

Issue 639496 link

Starred by 3 users

Issue metadata

Status: Duplicate
Merged: issue 642012
Owner: ----
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Media Recorder API generated webm badly encoded ?

Reported by antoined...@gmail.com, Aug 19 2016

Issue description

Steps to reproduce the problem:
1. Record video from https://webrtc.github.io/samples/src/content/getusermedia/record/ 
2. Download the video
3. Put it in a video tag

What is the expected behavior?
- currentTime incremented when the video is playing.
- ontimeupdate  launch multiple time when the video is playing.
- Launching the video with play method.

What went wrong?
- currentTime is always 0
- ontimeupdate only launch when the video end and stop.
- Don't do anything.

Did this work before? N/A 

Chrome version: 51.0.2704.81 (Build officiel) (32 bits)  Channel: stable
OS Version: 6.0.1
Flash Version: 

Posted on stackoverflow before but didn't get a solution : stackoverflow.com/questions/39007857/media-recorder-api-generated-webm-badly-encoded

Tested with diffent mimeType but didn't work either (vp8,vp8,opus)

Bug on a Samsung Galaxy S6
Système d'exploitation Android 6.0.1; SM-G920F Build/MMB29K
Blink 537.36 (@211d45a5b74b06d12bb016f3c4d54095faf2646f)
JavaScript V8 5.1.281.59
Agent utilisateur Mozilla/5.0 (Linux; Android 6.0.1; SM-G920F Build/MMB29K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.81 Mobile Safari/537.36
 
Components: -Blink Blink>Media

Comment 2 by mcasas@chromium.org, Aug 23 2016

Components: -Blink>Media Blink>MediaStream>Recording
Labels: Needs-Feedback
Hello

Thanks for reporting the issue. Can you please retest the issue on the latest chrome stable on the play store and let us know if it repros? Also, please attach a video of the issue, if possible.

Issue does not repro on Samsung Galaxy S6 Edge on chrome stable: 52.0.2743.98

Comment 4 by mcasas@chromium.org, Aug 26 2016

Cc: mcasas@chromium.org
I've updated to the last Chrome version and recorded a new video (attached). Now the timeupdate seem to work well on Chrome mobile. 

But, in a the WebView (52.0.2743.98), the problem remain.

I'm using Cordova 6.2.0 but, I don't think It have something to do with this problem, don't you ?

Also, If you open the video with VLC, you can see that the duration isn't show and It seem buggy when you use the scrub bar.


test.webm
1.2 MB View Download
In fact, duration doesn't show in Chrome and you can't use the scrub bar. But It work well on Firefox.

Comment 7 by mcasas@chromium.org, Aug 29 2016

antoinedenis2@: MediaRecorder is a Real-Time recorder, so essentially
it produces the WebM header before knowing the recording duration,
see  https://crbug.com/571632 .

There is a bug suggesting updating the header when the recording is
done in a single installment ( https://crbug.com/571632 ).

Comment 8 by mcasas@chromium.org, Aug 29 2016

Mergedinto: 642012
Status: Duplicate (was: Unconfirmed)

Comment 9 by mcasas@chromium.org, Aug 29 2016

Apologies, the first link in #7 should have been  https://crbug.com/599134 .
Components: Blink>MediaRecording
Components: -Blink>MediaStream>Recording

Sign in to add a comment