CasparCG/Server — pull request #254 by gfto (2014-02-27 17:00:50+00:00)
Title: Consumer improvements (enables streaming output!)

These patches enable disk consumer to act like a streaming output consumer. Afterr the patches are applied the following works as expected (adds stream output with the chosen settings):

> ADD 1 FILE output.ts -f mpegts -o udp://239.78.78.78:5000?pkt_size=1316&reuse=1 -vcodec libx264 -crf 24 -preset ultrafast -tune fastdecode -b:v 512k -s cif -r 25 -acodec aac -b:a 96k

The extra settings needed can also be added in the configuration file using , for example to have streaming output by default add this in caspar.config:

output.ts
libx264
false
-f mpegts -o udp://239.78.78.78:5000?pkt_size=1316&ttl=1&reuse=1 -vcodec libx264 -crf 24 -preset ultrafast -tune fastdecode -b:v 512k -s cif -aspect 16:9 -acodec aac -b:a 96k