lu-zero / bmdtools

Basic capture and play programs for Blackmagic Design Decklink
Boost Software License 1.0
198 stars 74 forks source link

Is the input faster than realtime? #99

Open mjrduarte opened 6 years ago

mjrduarte commented 6 years ago

Hi.

I'm having a issue with ffmpeg and bmdplay.

The command line is:

ffmpeg -i "udp://@239.50.53.9:5501?buffer_size=262144?fifo_size=4525000&overrun_nonfatal=1" -c:v rawvideo -s:v hd1080 -c:a pcm_s16le -ar 48000 -f nut -write_index 0 - | bmdplay -m 7 -C 0 -b 4000 -f pipe:0

I have 4 processes like this, each reading a multicast stream and sending it to a Blackmagic Decklink Duo 2 output.

After some time, one or two of the processes starts eating all the RAM, and I get this message over and over, until the machine hangs:

5526 storing 0x6063a0, videoqueue - is the input faster than realtime?

Any idea on what is causing this?

Thanks in advance for any help you can give me.

mjrduarte

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/57777532-is-the-input-faster-than-realtime?utm_campaign=plugin&utm_content=tracker%2F256764&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F256764&utm_medium=issues&utm_source=github).