[FFmpeg-devel] [PATCH 3/3] libavcodec/v4l2_m2m_dec: set default time base
wm4
nfxjfg at googlemail.com
Tue Jan 9 02:14:18 EET 2018
On Tue, 09 Jan 2018 00:03:15 +0000
Lukas Rusak <lorusak at gmail.com> wrote:
> I'm not really sure what to do then.
>
> Should I just replace time_base with pkt_timebase instead?
>
> Or
>
> Should I just remove the time base rescaling completely in v4l2_set_pts and
> v4l2_get_pts as it seems to be 1:1 anyways.
The encoder needs to use time_base, the decoder pkt_timebase.
If the decoder can simply pass through timestamps, you don't need to do
any rescaling in the decoder. But I doubt v4l can do that.
More information about the ffmpeg-devel
mailing list