CasparCG / server

CasparCG Server is a Windows and Linux software used to play out professional graphics, audio and video to multiple outputs. It has been in 24/7 broadcast production since 2006. Ready-to-use downloads are available under the Releases tab https://casparcg.com.
GNU General Public License v3.0
902 stars 269 forks source link

LOADBG queuing of multiple clips #121

Open hummelstrand opened 11 years ago

hummelstrand commented 11 years ago

The "auto" parameter of LOADBG only holds one clip. This buffer could instead be made into a queue where the server kept track of all the tracks that have been loaded, and auto-loads the next one in the queue as soon as the previous one is playing.

This could be handled by a client (as several community clients have shown) but it requires complicated transaction and constant INFO polling. If it is implemented on the server, it is cleaner...

There should also be an AMCP command to read the contents (file names and lengths) of the queue.

tjenkinson commented 11 years ago

I agree this would be useful. It would be good also if it gave each element in the queue a unique id which it would return through the initial AMCP command when a clip is added and then the command to get the entire queue. You could then run another command to either empty the queue or pass the ids of the items in the queue that you want to remove to remove specific ones only.

maceyldn commented 11 years ago

This would be great to if there was timecode in the server, either through SDI or freewheeling inside CCG. You could then fire clips at a certain time...

mcdikki commented 11 years ago

Yes, I agree too. I also agree that a unique ID for a loaded media return by the load/loadbg/play command would be great. In clients this would help to identify media and templates much better than just the name+layer+channel.

I would recommend to add such a uid to every loaded media, no matter if it is loaded to bg.

ronag commented 11 years ago

mcdikki: Excellent idea, I was just considering that myself when trying to add per item status.

tjenkinson commented 11 years ago

When someone looks at this could they also see about altering cambell-prince's new layer producer so tha amcp commands work like described here http://casparcg.com/forum/viewtopic.php?f=3&t=1475#p9186 . It would be really useful to be able to queue this as well like the other producers. Thanks!

ronag commented 11 years ago

Keep is simple:

LOADBG 1-1 1-2 PLAY 1-1

jesperstarkar commented 10 years ago

+1 for hid as feedback to client, and as a part of the INFO block when querying for status.