ffmpeg -i video.mp4 -vn -acodec libopus audio.opus
On Sun, Aug 18, 2019 at 3:12 PM Dziku <[email protected]> wrote: > 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 > _______________________________________________ > 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". _______________________________________________ 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".
