A
A
artshelom2019-08-15 16:11:53
Java
artshelom, 2019-08-15 16:11:53

How to get mp3 audio from rtmp?

How can I get the audio track of the stream? With the help of java

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Cheremisin, 2019-08-15
@artshelom

Using only java, I don't know. But there is a wrapper for gstreamer - https://github.com/gstreamer-java/gst1-java-core. From it, you can get any track from almost any container. True, I haven’t checked for a long time how things are with rtmp support (it’s proprietary, after all).
There is a plugin, but in "unreliable" - https://gstreamer.freedesktop.org/documentation/rt...
I work with gstreamer-java myself... so write, if anything...
If anything - examples here - https ://github.com/gstreamer-java/gst1-java-examples

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question