bluecherrydvr / bluecherry-apps

Bluecherry surveillance system (server application)
http://www.bluecherrydvr.com
GNU General Public License v2.0
200 stars 64 forks source link

[Discussion] Use wall clock to fix strange timing issues #641

Open curtishall opened 6 months ago

curtishall commented 6 months ago

server/streaming.cpp, add av_dict_set for:

av_dict_set(&muxer_opts, "use_wallclock_as_timestamps", "1", 0);

This could solve some issues with some cheaper / generic cameras that do not send timestamps correct and could make sure videos are seekable correctly (not a known problem though)

What are the downsides?