Now the encoder
AVStream is using the same timing parameters as the decoder but I'm still seeing the messages, I'm gonna try to equalize AVCodecContext next.
Code:
LOG: Video
LOG: =================================================
LOG: decoder
LOG: AVFormatContext
LOG: start_time=0 duration=10022000 bit_rate=2631572 start_time_realtime=0
LOG: AVCodecContext
LOG: bit_rate=2228686 ticks_per_frame=2 width=1920 height=1080 gop_size=12 keyint_min=25 sample_rate=0 profile=100 level=42
LOG: avc->time_base=num/den 0/2
LOG: avc->framerate=num/den 0/1
LOG: avc->pkt_timebase=num/den 0/1
LOG: AVStream
LOG: index=0 start_time=0 duration=153600
LOG: avs->time_base=num/den 1/15360
LOG: avs->sample_aspect_ratio=num/den 1/1
LOG: avs->avg_frame_rate=num/den 60/1
LOG: avs->r_frame_rate=num/den 60/1
LOG: =================================================
LOG: Video
LOG: =================================================
LOG: encoder
LOG: AVFormatContext
LOG: start_time=0 duration=0 bit_rate=0 start_time_realtime=0
LOG: AVCodecContext
LOG: bit_rate=0 ticks_per_frame=1 width=1920 height=1080 gop_size=-1 keyint_min=-1 sample_rate=0 profile=-99 level=-99
LOG: avc->time_base=num/den 1/15360
LOG: avc->framerate=num/den 0/1
LOG: avc->pkt_timebase=num/den 0/1
LOG: AVStream
LOG: index=0 start_time=0 duration=153600
LOG: avs->time_base=num/den 1/15360
LOG: avs->sample_aspect_ratio=num/den 1/1
LOG: avs->avg_frame_rate=num/den 60/1
LOG: avs->r_frame_rate=num/den 60/1
LOG: =================================================