How to stream mpeg-ts over rtp in java -


i need simulate ffmpeg command in java application:

ffmpeg -f alsa -i hw:1,0 -acodec libmp3lame -ac 1 -ar 44100 -b:a 128k -f mpegts -pes_payload_size 426 udp://233.21.215.101:1234?pkt_size=1316 

or vlc command:

cvlc --ttl 220 --sout '#transcode{acodec=mp3, ab=128, samplerate=44100, channels=1}:rtp{dst=233.21.215.101, port=6001, mux=ts}' alsa://plughw:1,0 

already have mp3 stream (capture soundcard , encoding mp3 on fly). need create mpeg-ts multicast stream it. how can it? don't found useful information in google.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -