How to transcode webm block which doesn't has EBML header(from MediaRecorder)to m3u8 ts(transport stream))

612 views
Skip to first unread message

Messiah Cheng

unread,
Sep 5, 2023, 3:57:04 AM9/5/23
to discuss-webrtc
helping!

Now i'm using MediaRecorder to record my camera and screen, I want to upload webm block to server and use ffmpeg to transcode/decode the webm block to ts, So when i finish recording i can use m3u8 link to preview the video.

But i can't play any webm block, and when i use ffmepg it show "EBML header parsing failed demo.webm: Invalid data found when processing input"
Reply all
Reply to author
Forward
0 new messages