Questions tagged [mediarecorder]
Mediarecorder is the Android class used for recording Audio and Video available since API Level 1. (For the Web-API, use the [web-mediarecorder] tag instead.)
mediarecorder
1,101
questions
0
votes
1
answer
35
views
Using mediaRecorder to capture a JS animation but blob is null value
I use Vanta js to create an animation background and use mediaRecorder to capture the canvas as webm. The page will be recorded from the beginning and stop and export the webm after 1 sec.
However, ...
-1
votes
0
answers
18
views
FFmpeg "Non-monotonous DTS in output stream" error when processing video from Safari's MediaRecorder
I'm recording a video stream in Safari with MediaRecorder, then sending it to a remote server which then uses ffmpeg to reencode the video. When reencoding with FFmpeg, I get a lot of warnings and the ...
0
votes
0
answers
30
views
MP4 file created using MediaRecorder API is not playable
I am trying to generate an mp4 file from a screen recording done via a chrome extension. The video plays back perfectly on the browser, but when I download the file and play it back locally with a ...
0
votes
1
answer
26
views
nextjs can not record screen, screen audio and user microphone
I'm trying to create a nextjs app that uses media recorder api to record screen, screen audio and user microphone, but I have the problem with the audio (user voice can't be recorded clearly, ...
0
votes
0
answers
18
views
IllegalStateException: Surface has been abandoned when trying to use ImageWriter to write into MediaRecorder's surface
I'm trying to use ImageWriter to stream from Camera2 device to MediaRecorder's surface(recording video basically).
And it works on one of two devices I tried it on but on Samsung SM-G955U1 at some ...
0
votes
0
answers
35
views
Javascript playing audio and recording at the same time problem
I am developing a JavaScript application where the user listens to a pre-recorded sound and simultaneously repeats the text. During this process, the app will record the user's voice as well.
The ...
0
votes
0
answers
11
views
Webm file downloaded from user's microphone does not have duration metadata [duplicate]
I am trying to record the user's microphone, and then send it to an API.
I did the code for the recording, and it works well, but when I send it to the API, it says that it does not have a duration.
...
0
votes
0
answers
18
views
Unable to Play any Audio File from Cached File - Media/Exo Player
I am trying to record the audio using MediaRecorder API of android and save the audio file in the cache directory of the app. The audio file gets saved perfectly into the cache dir and is working fine ...
0
votes
0
answers
52
views
How to mirror/flip horizantally web cam video recording in JS?
I want to record the web came video. I am able to record the normal web cam video. But I want video to be mirrored/ flipped horizantally. How can I do it?
Here is my code:
window.navigator....
0
votes
0
answers
24
views
Web MediaRecorder API equivalent in React Native
I need media recorder audio type stream in react native application for real time voice processing.
Which does not seems to be working. Is there any node package which does the same or any other ...
0
votes
0
answers
37
views
mediaRecorder: removing a chunk before building the Blob does not provide the expected results
The purpose of the test code in the snippet is to build a speech interactively, chunk by chunk.
If you don't like the last recorded chunk, you can simply remove it from the chunks array (chunks.pop()) ...
0
votes
0
answers
37
views
Having issues when using MediaRecorder to send chunks of video to backend and merge them
I'm trying to use MediaRecorder to record a video stream, and I send a video chunk every second to server, and use createWriteStream to write to the file, but the video only plays the first second and ...
0
votes
0
answers
25
views
Error playing audio: DOMException: The element has no supported sources
I'm working on a project where I'm capturing audio from the user's microphone using getUserMedia and sending it to a server via WebSockets. The server then broadcasts this audio to other users. ...
0
votes
0
answers
21
views
The Video size is puzzling when I use Android MediaRecorder to record webm video with VP8
I use Android MediaRecorder to record a video, the video size is normal when using H264 and H265, but abnormal when change to webm with VP8, for example 480P, the h264 is 480 x 720, but vp8 is 720 x ...
0
votes
0
answers
21
views
Want some example code for Android native app/service that utilize MediaCodec MediaMuxer in C++(native) layer
I've found that there are MediaCodec class, MediaMuxer class and MediaRecorder class in Android java class APIs.
But also I know of MediaCodec, MediaMuxer and MediaRecorder classes exist in C++ layer ...