[vlc-devel] [PATCH] [codec/dirac.c] Fix aspect ratio signalling and presentation time stamps

Laurent Aimar fenrir at via.ecp.fr
Sun Jun 29 17:41:05 CEST 2008

On Sun, Jun 29, 2008, David Flynn wrote:
> - Do not set p_pic->date = p_block->i_pts, p_block will be several frames
>   ahead of p_pic, worse it isn't in presentation order.  Since there is
>   no method of tagging input blocks with PTS through the decoder, fake
>   the PTS at output based upon the an initial PTS and frame rate.
 This is not a usable solution:
 - if you are not using an input file, you do not control the pace. The
difference between the real PTS and the fake one will grow indefinitly.
 - in case of frame lost -> same things.

Unless the support by ffmpeg is really worst, I would prefer letting ffmpeg
decode dirac until this issue is fixed.

More information about the vlc-devel mailing list