Hi,
Bikramjeet Singh wrote:
Hi,
I am new to ffmpeg library. I am making a application in which I
have a mpeg2 content in buffer and It is to be transmits on a Multicast IP
while encoding it into TS packets. I have gone through the file
"mpegtsenc.c". I think it is for the same purpose. But I am not getting, how
to use this in my application. Please anyone HELP.
The following code examples helped me to use ffmpeg/libavformat for
remultiplexing MPEG2 into MPEG2-TS. The second example shows how to use
the ByteIOContext to provide your own I/O routines, just in case you
want to use your own ones.
Remultiplex MPEG TS to MPEG PS:
http://lists.mplayerhq.hu/pipermail/libav-user/2008-September/001277.html
Encoding H.264 and AAC audio into MPEG2 TS.:
http://lists.mplayerhq.hu/pipermail/libav-user/2009-May/003034.html
Also have a look in the libavformat directory. There is a file named
"output-example.c".
Christian
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user