[FFmpeg-devel] [PATCH]: examples/transcode_aac.c - Do not use global pts for frame pts counting

Nicolas George george at nsup.org
Tue May 11 16:53:54 EEST 2021


Ray (12021-05-11):
> The example transcode_aac.c uses a global pts for counting.  For
> libavcodec novices this can cause them to overlook this and result
> with incorrect "start" times of output files if called multiple times
> (see user error resulting in bug report
> https://trac.ffmpeg.org/ticket/9228)

I think it is a bad idea, it makes the example more complex, and only
fix a very particular issue for people who know it already.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210511/5a99b618/attachment.sig>


More information about the ffmpeg-devel mailing list