[FFmpeg-trac] #8620(avdevice:open): Fundamental bug in DirectShow capture - wrong timestamps
FFmpeg
trac at avcodec.org
Wed Jun 2 13:15:51 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):
Replying to [comment:12 Balling]:
> Because it is unreliable? I mean see #8454.
No. those numbers does not relate to Media Sample PTS.
IMediaSample::GetTime returns stream times at which this sample should
begin and finish.
There are two available cases: times are good or times are absent.
Whole DirectShow based on these timestamps.
So I'm still against of ignoring video timestamps in that place of libav.
We must get timestamps directly by IMediaSample::GetTime.
May be we should be able to revert to old way, but normal way should be:
IMediaSample::GetTime for all samples, if time==NULL, then use reference
clock.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8620#comment:14>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list