[Ffmpeg-devel] Mpeg2-ts encoder uses fixed PES payload size

Aurelien Jacobs aurel
Sun Mar 4 02:29:55 CET 2007


On Sat, 03 Mar 2007 19:06:39 +0100
Luca Abeni <lucabe72 at email.it> wrote:

> Hi all,
> On Sat, 2007-03-03 at 18:56 +0100, Luca Abeni wrote:
> [...]
> > Ok, here is the patch. 
> [...]
> Sorry, I sent a wrong patch. Here is the correct one.
> 
> Index: libavformat/allformats.c
> ===================================================================
> --- libavformat/allformats.c	(revision 8205)
> +++ libavformat/allformats.c	(working copy)
> @@ -103,6 +103,7 @@
>      REGISTER_MUXER   (MPEG2VIDEO, mpeg2video);
>      REGISTER_MUXER   (MPEG2VOB, mpeg2vob);
>      REGISTER_DEMUXER (MPEGPS, mpegps);
> +    REGISTER_MUXER   (MPEGTS, dvb);

This looks wrong. Both parameters of REGISTER_MUXER should be
exactly the same, one uppercase and one lowercase.
This should be:
  REGISTER_MUXER   (DVB, dvb);
And you should add a line in the Makefile:
  OBJS-$(CONFIG_DVB_MUXER) += mpegtsenc.o

Aurel




More information about the ffmpeg-devel mailing list