1、 Detailed error reporting information is as follows:
[TransmuxingController] > DemuxException: type = CodecUnsupported, info = Flv: Unsupported audio codec idx: 7
Uncaught (in promise) Error: Unhandled error. (undefined)
at EventEmitter.emit (events.js:135)
at EventEmitter.eval (flv-player.js:453)
at EventEmitter.emit (events.js:144)
at eval (transmuxer.js:729)
Flv: Unsupported audio codec.
2、 Solution
Analysis: there is no error in the front end
reason: Google does not prohibit video, but audio, but the video contains audio information, so it depends on whether the playback stream contains audio operations
Here, modify the streaming command to solve the problem:
Original:
ffmpeg -i rtsppath -vcodec copy -s 704x576 -acodec copy -f flv rtmp:/****/rtmplive/test
After modification:
ffmpeg -i rtsppath -vcodec copy -an -s 704x576 -acodec copy -f flv rtmp:/****/rtmplive/test
3、 Summary
when ffmpeg streaming is used, the audio coding is forced to AAC format.
Read More:
- Extract audio from ffmpeg video to mp3 format or m4a format command
- Camtasia error: video codec open failed
- Camtasia error :video codec open failed
- Resolve Audio: failed to create voice ` goldfish_ Audio ‘error
- An error is reported when starting the Android emulator: Emulator: audio: Failed to create voice `goldfish_audio_in’
- Video JS can’t play the prompt( CODE:4 MEDIA_ ERR_ SRC_ NOT_ SUPPORTED) No compatible source was found for this video.
- Conversion of audio file format with ffmpeg command
- Remove video with video byte 0, uncaught (in promise) domexception: failed to load because no supported source was f
- ImageIO.read () unsupported image type when reading picture_ exception Unsupported Image Type
- Easywasmlayer reports an error uncaught (in promise) domexception when playing a video
- Playing audio in termux
- How to convert audio to subtitle (text) with Python?
- Solve the audio control and report domexception: the play() request was interrupted by a call to pause in the chrome console
- Failed to install realtek HD audio driver Code:0xE0000247
- Camtasia | An error occurred in the Recorde System Audio setup Failed
- Neko RPGXP player for Korea
- Reading and saving opencv Python video
- Unsupported operation types unsupported operation data types
- How do I download or save a YouTube video to my computer?
- Android media player error (38,0)