[MPlayer-dev-eng] divx2svcd-0.5.1
Diego Biurrun
diego at biurrun.de
Mon Jul 12 13:28:43 CEST 2004
Jan Knutar writes:
>
> > > ++ WARN: autopadding requires to insert additional 4996980 zero
> > > bytes into MPEG stream (due to 18105 unaligned packets of 18106
>
> > if you can fix this feel free to send a patch ;-)
>
> See cheap hack below ;-)
>
> Although I don't have the spec, I'm guessing that using 2324
> makes it invalid for mpeg and only valid for [s]vcd. vcdimager
> doesn't pad the resulting mpeg anymore, but still thinks it's mpeg1.
> Not that the stream will be [s]vcd conformant in either case, though.
>
> More proper-ish than below would be to make it configurable at
> runtime. I'll probably do that in the weekend when I've got some
> free time, if nobody beats me to it :)
>
> --- main/libmpdemux/muxer.h 2004-03-27 13:00:16.000000000 +0200
> +++ main-ofmpegforvcd/libmpdemux/muxer.h 2004-04-28 11:12:12.000000000 +0300
> @@ -8,7 +8,7 @@
> #define MUXER_TYPE_MPEG 1
> #define MUXER_TYPE_RAWVIDEO 2
>
> -#define MUXER_MPEG_BLOCKSIZE 2048 // 2048 or 2324 - ?
> +#define MUXER_MPEG_BLOCKSIZE 2324 // 2048 or 2324 - ?
Weekend long over, what happened ;-)
Diego
More information about the MPlayer-dev-eng
mailing list