[Webkit-unassigned] [Bug 216832] New: MediaRecorder produces invalid video files since iOS/Safari 14

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 22 09:54:16 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=216832

            Bug ID: 216832
           Summary: MediaRecorder produces invalid video files since
                    iOS/Safari 14
           Product: WebKit
           Version: Safari 14
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: andriworld at gmail.com
                CC: youennf at gmail.com

Since iOS 14 and Safari 14 on MacOS. Most media players can't play the recorded files. It seems the metadata (duration, frame rate...) are not set properly. If I re-encode the file assuming the frame rate, then I get a valid file.

Steps to reproduce:
1. Record the camera stream using the getUserMedia and MediaRecorder APIs
2. Play back the recorded chunks in a video element within Safari
OBSERVATION: The recorded video plays back properly in Safari
3. Save the recorded chunks in a file
4. Play back the saved file
OBSERVATIONS:
- Safari and Quicktime play the file properly. 
- Other video players cannot play the file (Chrome, VLC)
- The file's duration is incorrect (usually very large)
- ffmpeg cannot determine the file's duration or frame rate
EXPECTED: The file should play properly and have valid metadata. This was the case in iOS 13.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200922/af4c3826/attachment.htm>


More information about the webkit-unassigned mailing list