[FFmpeg-trac] #8620(avdevice:open): Fundamental bug in DirectShow capture - wrong timestamps

FFmpeg trac at avcodec.org
Tue Jun 1 19:01:04 EEST 2021


#8620: Fundamental bug in DirectShow capture - wrong timestamps
-------------------------------------+-------------------------------------
             Reporter:  Dmitry       |                    Owner:  (none)
  Sinitsyn                           |
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  avdevice
              Version:  unspecified  |               Resolution:
             Keywords:  dshow dts    |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Dmitry Sinitsyn):

 What do you want to say?
 I'm talking about video PTS calculation:
 https://github.com/FFmpeg/FFmpeg/blob/b76a0e24f9effa64e48ff0567af0dc497dd99e84/libavdevice/dshow_pin.c#L316-L320

 Here we correctly get audio PTS by using IMediaSample_GetTime and create
 FAKE video PTS.
 Why?
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/8620#comment:11>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list