Page MenuHomePhabricator

Sign language video recording stuck on first word forever
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Using FIREFOX
  • Go to https://lingualibre.org/wiki/Special:RecordWizard > (Log in with your Wikimedia account)
  • Step 2: add yourself French Sign Language / Langue des Signes Francaise
  • Step 3: unselect and reselect French sign language. Add words "crabe", "lapin", poisson.
  • Step 4: start sign recording...

What happens?: on step 4 while recording, recording starts on first word be does not end, ever.
After clicking to start recording, and after the initial count down, when the video recording of the 1st word starts... the following error message is thrown in the console :

Uncaught DOMException: MediaRecorder.start: An audio track cannot be recorded: video/webm;codecs=vp8 indicates an unsupported codec | load.php:612

As of now, load.php:612 refers to:

message);});};rw.VideoRecorder.prototype.onReady=function(stream){var mimeType='video/webm';if(MediaRecorder.isTypeSupported('video/webm;codecs=vp9')){mimeType='video/webm;codecs=vp9';}else if(MediaRecorder.isTypeSupported('video/webm;codecs=vp8')){mimeType='video/webm;codecs=vp8';}this.mediaRecorder=new MediaRecorder(stream,{mimeType:mimeType});this.mediaRecorder.ondataavailable=this.onDataAvailable.bind(this);this.mediaRecorder.onstop=this.onStop.bind(this);this.emit('ready',stream);};rw.VideoRecorder.prototype.start=function(){if(this.mediaRecorder===null){return false;}this.canceled=!1;this.timeoutID=setTimeout(this.startNow.bind(this),this.beforeStart*1000);};rw.VideoRecorder.prototype.startNow=function(){if(this.mediaRecorder===null){return false;}this.chunks=[];this.mediaRecorder.start();this.timeoutID=setTimeout(this.stop.bind(this),this.recordDuration*1000);this.emit('started');};rw.VideoRecorder.prototype.stop=function(){clearTimeout(this.timeoutID);this.canceled=!1;if(

What should have happened instead?: recording stop after few seconds, as configured, then move focus to next item.

Software version:

Browser:

  • Firefox 102.0 (64-bit)

Operating System: Ubuntu Studio 21.10
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Kernel Version: 5.13.0-52-lowlatency (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
Memory: 11,6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520

Other information :

  • Fails: Ubuntu Studio 21.10 + Firefox 102.0 (64-bit)
  • Works: Android 10 + Kiwi browser 101.
  • Works: Ubuntu Studio 21.10 + Chromium Version 104.0.5112.101 (Official Build) snap (64-bit)
  • need to test more platform.

Not related to T312554 , which also occurs on sign videos.

Event Timeline

Yug triaged this task as High priority.Aug 24 2022, 10:39 AM
Yug created this task.
Yug updated the task description. (Show Details)
Yug updated the task description. (Show Details)

Done in commit 8c18e496.

Starting with version 71 (December 2019), Firefox require us to specify the audio codec in addition to the video codec during an instantiation of the MediaRecorder.