FFMPEG code (Not command) to stream audio to a Multicast address -


I need to stream an audio to a multicast address and I can decide:

ffmpeg -i input -f mpegts udp: // hostname: port? Pkt_size = 188 and buffer_says = 65535

but I do not know how to do this through code? Thanks, can help me

This is no different from any other video conversion ffmpeg - open input stream, open output stream, and Loop around av_read_packet, av_decode_video, av_encode_video, av_write_packet_interleaved

The easiest way is to separate the ffmpeg utility source code, which is in ffmpeg source directory in ffmpeg.c . >

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -