-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AMCP INFO regression #1151
Comments
Which ones would you like to see brought back? |
I think most important are solutions to retrieve info about
|
Hi @premultiply I don't understand, the things you are referring to has been there since February, or something, last year. ;) Have a look here. ex. <?xml version="1.0" encoding="utf-8"?>
<channel>
<framerate>50</framerate>
<framerate>1</framerate>
<mixer>
<audio>
<volume>115775648</volume>
<volume>97853664</volume>
<volume>53128900</volume>
<volume>44045544</volume>
<volume>0</volume>
<volume>0</volume>
<volume>0</volume>
<volume>0</volume>
</audio>
</mixer>
<stage>
<layer>
<layer_10>
<background>
<producer>empty</producer>
</background>
<foreground>
<file>
<clip>306.80000000000001</clip>
<clip>2502.5</clip>
<name>PLAY_TIME.m4v</name>
<path>c:/caspar/_MEDIA/Play_Time.m4v</path>
<streams>
<file>
<streams_0>
<fps>25</fps>
<fps>1</fps>
</streams_0>
<streams_1>
<fps>0</fps>
<fps>0</fps>
</streams_1>
<streams_2>
<fps>0</fps>
<fps>0</fps>
</streams_2>
<streams_3>
<fps>90000</fps>
<fps>1</fps>
</streams_3>
</file>
</streams>
<time>1004.36</time>
<time>7147.2799999999997</time>
</file>
<loop>false</loop>
<paused>false</paused>
<producer>ffmpeg</producer>
</foreground>
</layer_10>
</layer>
</stage>
</channel> |
For me what should be reimplemented is the INFO CONFIG and INFO PATHS has there is no other way to retrieve the default config values to my knowledge. For the INFO TEMPLATE i do not know because i’m Not using it. |
Couldn't this be implemented outside the server, like the media scanner, in that way we could make it extendable, so it wouldn't inflict with the server? Just a thought! |
I totally agreed that the new media scanner is a smart move. May INFO PATHS could be a part of it. But I don’t see the reason why externalizing INFO CONFIG would be better. |
@5opr4ni sounds like you are thinking of #1135 CONFIG and PATHS are super simple though, and would only be a few pretty simple lines each inside the amcp files, so I'm not worried about complexity of those. The others are more complex/meessy, so once we know what is actually wanted it can be discussed where they reside or how they are implemented |
@Julusian Yes! |
You are right, but this description can not be found in the official CasparCG github Wiki or anywhere else there. For me this XML structure should be improved a little bit to make it easier to parse like this for example:
|
Hi We want to keep everything at a bare minimum. The info should not differ from the OSC which is pumped out in a high frequency, so we need to keep it as clean as possible. Everything is absolute, so you can get what you want at client side. The servers main responsibility is to serve videoframes not format text. /o |
True regarding the docs, we are writing new documentation when there is time. We are a small group doing everything. Would be nice with som help. ;) |
I think INFO PATHS can be send to the elderly home :) As it can easy be extracted from the config and anyway only really helps when the client runs on the same machine as the server and so it is easy to get a hold to the config file. |
What I would like to see is something similar to INFO TEMPLATE, that can be used to query metadata from templates. Would be good to find a solution for HTML, scene and PSD templates to give back the information's about their fields also. But can be implemented in Scanner.exe if it is easier. |
Sorry @didikunz, i don't agree with you. INFO PATHS is useful in case where the client doesn't know where the server is located on the filesystem because it provide absolute file paths. INFO CONFIG just provides paths as they are specified in the config file. And it is common to have client and server on the same machine |
To make it short, the only way for a local client to know where the Server is installed is by INFO PATHS |
My clients normally start the (local) servers along with itself, so they always know were the server is in the file system. But that is the reason, why we discuss these issues here, to find out, what is needed and what not. I do not mind keeping INFO PATHS but only commented my opinion on this. |
After Background info and Foreground info for non-playing files has been added to OSC, I think OSC can do most of whats needed. By using something like the CCG-state-scanner it´s easy to subscribe to a lot of info from the machine. The good thing with the OSC, is that it can stream out a lot of data very fast, the weak thing (IMHO) is that it´s a server->client connection, and as the ACMP is a client-server connection, you need to open op port on both sides. If anyone has wishes for the https://github.com/olzzon/casparcg-state-scanner please let me know, and I´ll try to implement it. (Right now it´s mainly build for TV2 DK purposes) |
Hmm, so it turns out that the old |
INFO CONFIG and INFO PATHS are now in 2.3 As far as I can tell nothing else is wanted from this task, or did I miss something else? |
Hey @Julusian. Thanks a lot ! That's perfect. |
May be return INFO SYSTEM for enumerate Decklink/Blowfish/NDI/OpelAL/Screen devices? |
@drakmor do you mean available consumers or ones assigned to channels? The ones in use ought to be part of INFO and OSC, but it appears to not be for some reason. |
Yes, list of available consumers. |
Maybe roll back this commit? - 5118dd2 |
First, I wan't to thank you for what your doing with CasparCG. That's awesome guys !
Expected behaviour
I would expect that AMCP 2.2 still provide a command to get informations about config, paths, template etc
Current behaviour
The INFO [PATH | TEMPLATE | PATHS | ...] commands have been replaced by INFO [channel_id] but there is no new command that provide a way to get thoses precious informations that we had with AMCP 2.1.
Environment
In order to know what is the best solution for me to manage this issue in my own casparCG client, could you tell me what do you plan to do ? Leave AMCP that way, go back to get the behavior of AMCP 2.1 or implement new commands ?
Thanks a lot ;)
The text was updated successfully, but these errors were encountered: