[FFmpeg-user] ffmpeg mpegts timestamp mismatch
Alexander Brotzge
Alexander.Brotzge at wolfvision.net
Thu Nov 3 08:18:53 EET 2016
Hi,
we're currently trying to optimize our code to get the best live streaming performance out of ffmpeg (currently we do have about 1sec delay between sender and receiver).
While optimizing we encountered a problem. After analyzing the mpegts stream packets, sent from our ffmpeg instance, we see a constant mismatch between PTS and PCR Timestamps of exactly 700ms.
We don't know how we came across these different timestamps. Any ideas of where these different timestamps come off?
Commandline - options:
ffmpeg -thread_queue_size 512 -f gdigrab -video_size 1920x1200 -i desktop -vcodec libx264 profile:v baseline -level 4 -filter:v fps=25 -pix_fmt yuv420p -threads 0 -preset ultrafast -tune zerolatency -crf 22 -force_key_frames expr:gte(t,n_forced*2) -y -f mpegts udp://10.0.2.110:15555?pkt_size=1316<http://10.0.2.110:15555?pkt_size=1316>
Thanks
Alex
More information about the ffmpeg-user
mailing list