Am So., 18. Aug. 2019 um 21:12 Uhr schrieb Dziku <[email protected]>:

> 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?

There is no raw opus, it always has to be encapsulated, FFmpeg allows you
to write it to several containers.
You can use the image2 muxer to write raw opus frames but I doubt that
anything can read these frames.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to