[FFmpeg-devel] [PATCH] dvbsub fix transcoding

Wim Vander Schelden lists at fixnum.org
Thu May 22 13:53:23 CEST 2014


Hi,

I looked at this code a few months back, and simply removing the nb/loop
prevents the out-of-order PTS of packets, but will also break the output.

(Much) more is needed to fix this issue.

Kind regards,

Wim


On Thu, May 22, 2014 at 11:26 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Anshul Maheshwari <anshul.ffmpeg <at> gmail.com> writes:
>
> /* Note: DVB subtitle need one packet to draw them and one other
> >         packet to clear them */
> >      /* XXX: signal it in the codec context ? */
> >      if (enc->codec_id == AV_CODEC_ID_DVB_SUBTITLE)
> > -        nb = 2;
> > +        nb = 1;
>
> I tested your patch with the first sample from
> ticket #2024 (Starship_Troopers.vob) and as far
> as I can tell, it breaks the output. Does it work
> for you?
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list