How to place a logo on the server side, I can't find relevant information #6673
Replies: 5 comments 1 reply
-
Hi @josetowers Do you want to display the logo at the top of the Ant Media Server player (play.html) or embed it within the stream? Which protocol (WebRTC, HLS, or DASH) are you using to play the stream? |
Beta Was this translation helpful? Give feedback.
-
I want it to be on the server side that it is encoded, and it is hls
El El vie, 27 de sep de 2024 a la(s) 6:51 a.m., yashtandon113 <
***@***.***> escribió:
… Hi @josetowers <https://github.com/josetowers>
Do you want to display the logo at the top of the Ant Media Server player
(play.html) or embed it within the stream?
Which protocol (WebRTC, HLS, or DASH) are you using to play the stream?
—
Reply to this email directly, view it on GitHub
<#6673 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BLUGWV4NKVXU3GQ66EJMKVTZYVIFJAVCNFSM6AAAAABO5T5ZBGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANZXGU2DIOI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
.com>
|
Beta Was this translation helpful? Give feedback.
-
I'm not interested in that version, just the community.
El El mar, 1 de oct de 2024 a la(s) 9:05 a.m., yashtandon113 <
***@***.***> escribió:
… @josetowers <https://github.com/josetowers>
If you are using the Enterprise Edition of Ant Media Server, you can use
the Filter Plugin. Check out this blog post
<https://antmedia.io/discover-the-filter-plugin/> for more reference. You
can refer to Filter number 3 for integrating the logo in a stream.
Here is the sample API call for your reference:
*To start the filter:*
curl -i -X POST -H "Accept: Application/json" -H "Content-Type:
application/json" "http://localhost:5080/LiveApp/rest/v2/filters/create"
-d
'{"filterId":"logodemo","inputStreams":["stream1"],"outputStreams":["test"],"videoFilter":"movie=/usr/local/antmedia/webapps/LiveApp/images/logo.png[logo];[in0][logo]overlay[out0]","audioFilter":"[in0]acopy[out0]","videoEnabled":"true","audioEnabled":"true","type":"asynchronous"}'
*To Remove the filter:*
curl -i -X DELETE -H "Accept: Application/json" -H "Content-Type:
application/json" "
http://test.antmedia.io:5080/LiveApp/rest/v2/filters/ogodemo"
As a result, it will be as follows.
image.png (view on web)
<https://github.com/user-attachments/assets/d63b5237-6f5e-4a01-882f-e4180f588db5>
I hope it helps. If you have any questions, please feel free to ask.
—
Reply to this email directly, view it on GitHub
<#6673 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BLUGWV4JB7XWXDC5DYSDWFTZZK22ZAVCNFSM6AAAAABO5T5ZBGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAOBRGAZTKMI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
.com>
|
Beta Was this translation helpful? Give feedback.
-
I'm interested in putting the logo on the community version
El El mar, 1 de oct de 2024 a la(s) 9:28 a.m., Prueba Ope <
***@***.***> escribió:
… I'm not interested in that version, just the community.
El El mar, 1 de oct de 2024 a la(s) 9:05 a.m., yashtandon113 <
***@***.***> escribió:
> @josetowers <https://github.com/josetowers>
>
> If you are using the Enterprise Edition of Ant Media Server, you can use
> the Filter Plugin. Check out this blog post
> <https://antmedia.io/discover-the-filter-plugin/> for more reference.
> You can refer to Filter number 3 for integrating the logo in a stream.
>
> Here is the sample API call for your reference:
>
> *To start the filter:*
>
> curl -i -X POST -H "Accept: Application/json" -H "Content-Type:
> application/json" "http://localhost:5080/LiveApp/rest/v2/filters/create"
> -d
> '{"filterId":"logodemo","inputStreams":["stream1"],"outputStreams":["test"],"videoFilter":"movie=/usr/local/antmedia/webapps/LiveApp/images/logo.png[logo];[in0][logo]overlay[out0]","audioFilter":"[in0]acopy[out0]","videoEnabled":"true","audioEnabled":"true","type":"asynchronous"}'
>
> *To Remove the filter:*
>
> curl -i -X DELETE -H "Accept: Application/json" -H "Content-Type:
> application/json" "
> http://test.antmedia.io:5080/LiveApp/rest/v2/filters/ogodemo"
>
> As a result, it will be as follows.
>
> image.png (view on web)
> <https://github.com/user-attachments/assets/d63b5237-6f5e-4a01-882f-e4180f588db5>
>
> I hope it helps. If you have any questions, please feel free to ask.
>
> —
> Reply to this email directly, view it on GitHub
> <#6673 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/BLUGWV4JB7XWXDC5DYSDWFTZZK22ZAVCNFSM6AAAAABO5T5ZBGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAOBRGAZTKMI>
> .
> You are receiving this because you were mentioned.Message ID:
> <ant-media/Ant-Media-Server/repo-discussions/6673/comments/10810351@
> github.com>
>
|
Beta Was this translation helpful? Give feedback.
-
Unless you are no using enterprise edition, only way to do that is to place the logo on client side using javascript. This way your logo will be placed on top of your video player and it will kinda look like its embedded to the stream. But as i mentioned, on server side with community edition this is not possible. |
Beta Was this translation helpful? Give feedback.
-
How to place a logo on the server side, I can't find relevant information
Beta Was this translation helpful? Give feedback.
All reactions