On Wed, 2008-06-18 at 08:38 +0200, Luca Abeni wrote:
> Hi Lonnie,
> 
> Lonnie Walker wrote:
> [...]
> > Is there any documentation regarding the muxer.
> 
> It's just an AVOutputFormat like all the others: you can use
> it by using the standard av_* functions. Have a look at
> output_example.c for some details (you can create a test
> transport stream by using "output_example test.ts").
> 
> > I would like to try the
> > current TS muxer. Is the muxer part of a library or a tool I can used
> > via the command line?
> 
> It is part of libavfromat, and can be used by your own code or via
> the "ffmpeg" command (use "-f mpegts" for specifying the output format).
> 
> 
> > Can you point me to the source code?
> 
> The parts relevant to MPEG TS are in libavformat/mpegtsenc.c
> 
> 
>                               Luca


Thanks for your help Luca. I was able to create a MPEG-2 TS using the
following command 
ffmpeg -i video -i audio.aac  -f mpegts  output.ts. it worked
perfectly. 

I will now look into libavformat and use it to create the Transport
stream programatically.

Lonnie


_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to