[FFmpeg-user] Extracting opus frames from webm/mkv

Dziku synmotopompy at gmail.com
Sun Aug 18 22:11:43 EEST 2019


Hello,

I have webm files with only opus encoded audio track that I'm streaming
through a voice chat that requires opus encoded packets as input. So far
I've been using ffmpeg to convert the webms with opus audio to ogg
containers and then use my own code to extract opus packets from ogg, which
is obviously inefficient, because webms already contain the very same opus
packets.

I would like to extract opus encoded packets so that I can directly serve
them to the voice chat. Is it possible to achieve with ffmpeg cli or any of
its C libraries?

Best regards,
Adam Nowak


More information about the ffmpeg-user mailing list