Am Do., 29. Okt. 2020 um 22:46 Uhr schrieb Jonathan Baudanza <j...@jonb.org>: > > I am trying to write the contents of an RTP-OPUS stream to an OGG-OPUS file. > The purpose is to send a WebRTC session to Google's Speech-to-text API, which > accepts OGG-OPUS as input. > > The opus muxer requires that an opus header be present in extradata. It seems > that the demuxer from my RTP stream doesn't include this. > > If I construct the opus header myself and insert it into extradata, > everything works great. This seems like a hack though. Is this something that > the RTP demuxer should be doing?
At least channel count and sample rate are supposed to be read from the SDP file. Carl Eugen _______________________________________________ Libav-user mailing list Libav-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email libav-user-requ...@ffmpeg.org with subject "unsubscribe".