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

Out of index C/C++ -

regex - PatternSyntaxException: while using String.ReplaceAll function in java? -

java - Projects which are accessed via multiple (different) IDEs: Ant or Maven? -