On Tue, 5 Sep 2017, Marton Balint wrote:
On Tue, 5 Sep 2017, Maksym Veremeyenko wrote:
04.09.2017 17:10, Maksym Veremeyenko пише:
Hi,
attached patch implemented threaded NDI output - separate output thread
for
each stream. it makes audio preview in my case more smooth.
updated patch allows running audio/video threads separately
If I get this correctly, this patch is needed because you can only
schedule 1 frame to the NDI API, therefore especially for shorter audio
frames the buffer may underrun, right?. If that is the case, then I'd
describe this in a bit more detail in the docs and/or the commit message.
I've given this some more thought, and this only makes sense if NDI is
throttling the output (e.g via clock_audio or clock_video). If not, then
using threads should not make any difference, so something different might
be going on. Do you have an idea what?
Thanks,
Marton
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel