Sorry I missed these 2 details in your first post, looking back I see you had included them in your original post.
First, when using PassThru you will not have access to the Overlay feature.
Second, you can’t use .stream files as the source for the StreamNameAlias AddOn, at least this is my understanding.
I will be thinking of a solution. In the mean time, keep working on it and maybe someone from support will step in with more information.
Salvadore
Hi Salvadore,
thank you for your help. So in order to have the overlay images, I have to use the video settings instead of let the PassThru. But with different cameras source quality, is it possible to modify the settings of the video settings differently ?
Now I have only 1 transcoded stream, is it because of the trial version ?
If the source for a Transcoder application is named “myStream”, the transcoded renditions, myStream_160p for example, will have the overlay if that is configured and if using H264 not PassThru, as mentioned.
If you playback myStream, you will be playing the source, and that will not have the overlay. I tried to use StreamNameAlias to alias a stream in the aliasmap.stream.txt to start, and aliasmap.play.txt for playback, but it doesn’t work. The only way to use the same stream name is use another application, pull from the first app with live repeater and StreamNameAlias to map myStream to the origin stream.
Richard
Hi,
The reason it doesn’t work as expected is because the mechanism used to start the remote stream reads the play alias first to get the stream name that it then passes into the stream alias part. If you remap the name in aliasmap.play.txt, it will try to start the wrong stream name.
The easiest way would be to use a different name for playback and alias that to the name used to start the stream originally.
Example:
original stream name is myStream. This is the remote stream (ip camera for example)
transcoded stream name is myStream_360p. this has the overlay.
playback stream name is stream1. this will be mapped to myStream_360p
In aliasmap.play.txt:
stream1=myStream_360p
*=${Stream.Name}
The first line will map the player request for stream1 to myStream_360p.
the second line will pass thru any other stream name unchanged. This will include any direct requests for myStream_360p or the request to start the remote source.
Because you cannot use .stream files to start your remote source, you need the following in your aliasmap.stream.txt file.
myStream=[ip camera url]
To start the remote stream, use Startup Streams and use myStream and the mediacaster name. You can also use the old stream manager on http://[wowza-ip]:8086/streammanager to start it manually. Either way will have the stream show up in the list of published streams for the application.
Roger.
Hi Richard and Roger,
Thank you for your support. Due to some pre-defined constraints, in which the stream format should be XXX.YYY.stream, so I just move the “720p” part to the top of the stream name. I think I won’t use the alias name because I have also need the real stream name to do with some HTTP Providers. I will try the alias some other days.
Many thanks.
AD