bbc/brave

Performance Buffer Improvements

chrisspiegl opened this issue · 1 comments

I am experimenting a lot with Brave as a tool for my live streaming and broadcasting ideas. So far I think I have understood a lot about it (and even implemented a tone of additional configuration parameters for myself — may PR at some point).

However, I often am running into this error message:

GStreamer warning debug: gstbasesink.c(3005): gboolean gst_base_sink_is_too_late(GstBaseSink *, GstMiniObject *, GstClockTime, GstClockTime, GstClockReturn, GstClockTimeDiff, gboolean) (): /GstPlayBin:playbin2/GstPlaySink:playsink/GstBin:vbin/GstBin:bin2/GstInterVideoSink:mixer100_intervideosink_350894:
0|braveWal | There may be a timestamping problem, or this computer is too slow.
0|braveWal |  WARNING: [  input900] GStreamer warning message: A lot of buffers are being dropped.

Considering that I am on an 3.1 GHz Quad-Core Intel Core i7 MacBook Pro from 2017 and that I am only consuming 3 RTMP streams and displaying one RTMP or TCP output sink?

I am looking for ideas about what I may be able to improve?

I already have set the x264enc to the preset=ultrafast for example.

I am glad about any pointers or help. Thank you 🌸.

Unfortunately brave can just be very CPU hungry, we deploy it usually to large CPU cloud instances. That enables us to use lower powered machines to control it.