ffmpeg.js plugin: record video+audio fails
See original GitHub issueDescription
So far If I want record video+audio, it seem need use the RecordRTC? If use other plugin such as “webm-wasm” it seem will only record video without sound. So I want to try use some converter, such as ffmpeg.js with RecordRTC? But seem not luck with many config I try. Do you mind provide a example for convert to mp4 (Video+Audio) with common codec such as h264?
Steps to reproduce
Some config I test
convertOptions: ['-f', 'mp4', '-codec:a', 'aac', '-codec:v', 'libx264'],
pluginLibraryOptions: {
outputType: 'video/mpeg'
},
Results
Expected
Convert success
Actual
Throw exception
Error output
uncaught exception: [object Object] ffmpeg-worker-mp4.js:17:59
Additional Information
It may be not a bug, may need a tips for demo how to use ffmpeg with videojs record with Video+Audio?
versions
videojs
4.0.0
browsers
Firefox 76.0.1
OSes
MacOS
Issue Analytics
- State:
- Created 3 years ago
- Comments:19 (10 by maintainers)
Top Results From Across the Web
how to add audio using ffmpeg when recording video from ...
So I got the audio to work after a little bit of trial and error with ffmpeg. Not sure if this is the...
Read more >Ffmpeg.js Audio/Video Encoding/Transcoding/Muxing
The audio-plus-canvas-recording.html demo does nothing for me when I press stop. Birendra Kumar • 7 years ago. Audio is not working using ...
Read more >ffmpeg Documentation
As an output option, disables video recording i.e. automatic selection or mapping of any video stream. For full manual control see the -map...
Read more >RecordRTC: WebRTC audio/video recording ® Muaz Khan
The biggest issue is that RecordRTC is unable to record both audio and video streams in single file. Do you know "RecordRTC" fails...
Read more >Screenshots and Videos - Cypress Documentation
How Cypress captures screenshots of test failures automatically ... Video recording can be turned off entirely by setting video to false from within...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I opened https://github.com/Kagami/ffmpeg.js/issues/111 for that unhandled error.
yes follow the documentation, see development section.