Wowza Community

Tricaster to wowza and after play live streaming for web and mobiles

I have a TriCaster and I would like that, its streaming to Wowza, can also be converted to a mobile device and varying the bitrate and frame for the web?

Wowza can be configured to extract and repeat a sequence.

Kind regards: manyblue

I think you can follow this tutorial for Tricaster:

https://www.wowza.com/docs/how-to-set-up-live-streaming-using-an-rtmp-based-encoder

The Wowza Transcoder can be used to create multi-bitrate sets:

https://www.wowza.com/docs/how-to-set-up-and-run-wowza-transcoder-for-live-streaming

also, to your other questions

https://www.wowza.com/docs/how-to-insert-a-pre-roll-or-mid-roll-for-video-on-demand-playback-in-flash-rtmp-client

https://www.wowza.com/docs/how-to-specify-a-play-start-time-and-duration-for-http-streaming

https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher

Take a look at the many examples and articles

https://www.wowza.com/docs/

Richard

It’s hard to follow. You just list steps you took in most of your posts. I’m not sure what the problem is.

Make sure you are running Wowza in stand-alone (/bin/startup.bat) mode so that you can see log output in the console, which shows what is going on in Wowza, if anything, when you start the encoder.

Keep following the guides, if you are having problems try to explain what doesn’t work precisely. If you need to hire a consultant, write to support@wowza.com and ask for this of independent consultants.

Richard

This usually means that Wowza is already running. It might be running as a service and you are trying to run it in stand-alone (/bin/startup.bat) mode, or vice-versa.

The other possibility is that are running another program that is using port 1935, but probably the above

Richard

If the Wowza service was running when you rebooted the server, then it was probably re-started, so when you ran Wowza in stand-alone mode you got the same error. It is necessary to turn off the service before you run Wowza in stand-alone mode. Refer to the User Guide for your OS for how to turn the stop and start the Wowza service.

Richard

You seem to be on the wrong track. You don’t need two applications live and live_2. You just need one application with Transcoder enabled.

If you are publishing a stream in your live encoder named “myStream”, then you will subscribe to that stream in your URLs, as you have shown. If the stream is named something else, change the stream name in the URLs accordingly.

Richard

this is good thread. My client have Tricaster HD and surely they would like to transcode into mobile devices.

You can configure you application named “live_2” as you have described above to use the sample template named “transrate.xml”. For “live_2” to be set up to use Wowza Transcoder, you do not need to do #2. By default all Wowza applications (live, live_2, etc.) will look in /usr/local/WowzaMediaServer-3.0.5/transcoder/templates for transrate.xml, transcode.xml or your own custom template as specified by name in the Application.xm. in Transcoder/Templates. There is more information about the Transcoder AddOn template and configuration in the tutorial.

-Lisa

OK I think i need is this:

The Wowza Transcoder can be used to create multi-bitrate sets:

https://www.wowza.com/docs/how-to-set-up-and-run-wowza-transcoder-for-live-streaming

Ok I have take the 4 files en i have modificate samething, can you look it for to inspect.

http://www.tvgrancanaria.com/docs/transcode.xml

http://www.tvgrancanaria.com/docs/transrate.xml

http://www.tvgrancanaria.com/docs/application.xml

http://www.tvgrancanaria.com/docs/publish.password

After to midificate must i live it eachone in each directory ???

Thankyou very much for your atention: Manyblue

Wowza 3 + transcode = 1.495 $ ???

Is it right ???

Kind regards: Manyblue

Ok i understand this:

  1. I mus create a new live directory called “live_2” in /usr/local/WowzaMediaServer-3.0.5/conf/live_2/, inside i must put “application.xml” and this file modificated the same than mannual for transcode

  2. In /usr/local/WowzaMediaServer-3.0.5/conf/publish.password modificate user and password and uncoment the line.

  3. Start Wowza Media Server 3.

  4. Discharge the addon Transcoder, inside i can find “transcode.xml” and “transrate.xml” i must put it in /usr/local/WowzaMediaServer-3.0.5/conf/transcode/…

  5. For the moment i stop here for now to expect correct me and after i follow.

Kind regards: Manyblue

I have maded all of the manual.

In this url: http://www.tvgrancanaria.com/docs/WowzaMediaServer-3.0.5.tar.gz

i have a directory wowza and inside applications and conf inside of the two all for Transcoder.

Can you look it and say me if it is right ??

For example i have take one streaming name for all files i must correct, this “laspalmas_live_1”, at the and i choose other and other user and password but this is for to look if it is correct the process.

I haver anderstand more or less how work wowza for this transcode and the new urls.

Thankyou very much for your help i am a novice but i have two wowzas buy it and running i must learn how to configure better with this Trans rate and after of this i must look DRM

As allways, kind regards: Manyblue

Waiting for an answers, i put here one metod for to do two streamings with diferent bitrate and frame at 2 application “live” and “live_3” from tricaster to Wowza

I can´t comprobated, tomorrow, but same one say me it is possible this.

I create a new live_3 equal than live in wowza /conf and /applications, restart wowza.

I open in tricaster windows Adobe flash media encoder, i choose two streamings (FME can made 3) with diferent bit rate and frame i keep the proyect.

I edit this two_streams.xml and i edit it:

<?xml version="1.0" encoding="UTF-16"?>

<flashmedialiveencoder_profile>

Custom

0

0

0

rtmp://mydomind:1935/live

<backup_url>rtmp://mydomind:1935/live_3</backup_url>

grancanaria_live_1

author

copyright

description

keywords

rating

title

</flashmedialiveencoder_profile>

I keep this file in C:\Program Filesx86\Tricaster/streaming/flash/pal/16:9/

I open tricaster and choose in streaming config “two_streams” and start it

rtmp://domind:1935/live/grancanaria_live_1

http://domind:1935/live_3/grancanaria_live_1/playlist.m3u8

Can be possible this ???

Kind regards: manyblue

OK I have solution the proble, thankyou very mucht.

BUT when i restart the server and try to run wowza, give me this messege and i can not start it:

INFO server comment - Server License Key: SVRT3-XXXXX-XXXXX-XXXXX-XXXXX-TttZj

INFO server comment - Maximum Connections: Unlimited

INFO server comment - Transcoder Streams Available: Unlimited

INFO server comment - Transcoder Watermark: Yes

INFO server comment - nDVR Available: Yes

INFO server comment - DRM Available: Yes

INFO server comment - Hardware Available Processors: 8

INFO server comment - Hardware Physical Memory: 12041MB/15086MB

INFO server comment - Hardware Swap Space: 15885MB/15885MB

INFO server comment - Max File Descriptor Count: 20000

INFO server comment - Open File Descriptor Count: 48

INFO server comment - OS Name: Linux

INFO server comment - OS Version: 3.0.0-16-generic

INFO server comment - OS Architecture: amd64

INFO server comment - Java Name: OpenJDK 64-Bit Server VM

INFO server comment - Java Vendor: Sun Microsystems Inc.

INFO server comment - Java Version: 1.6.0_23

INFO server comment - Java VM Version: 20.0-b11

INFO server comment - Java Spec Version: 1.6

INFO server comment - Java Home: /usr/lib/jvm/java-6-openjdk/jre

INFO server comment - Java Max Heap Size: 1066MB

INFO server comment - Java Architecture: 64

INFO server comment - Java Locale[user.language]: es

INFO server comment - Java Locale[user.country]: ES

INFO server comment - Java Locale[file.encoding]: UTF-8

INFO server comment - Java Args[0]: -Xmx1200M

INFO server comment - Java Args[1]: -Djava.net.preferIPv4Stack=true

INFO server comment - Java Args[2]: -Dcom.sun.management.jmxremote=true

INFO server comment - Java Args[3]: -Dcom.wowza.wms.runmode=standalone

INFO server comment - Java Args[4]: -Dcom.wowza.wms.native.base=linux

INFO server comment - Java Args[5]: -Dcom.wowza.wms.AppHome=/usr/local/WowzaMedi aServer

INFO server comment - Java Args[6]: -Dcom.wowza.wms.ConfigURL=

INFO server comment - Java Args[7]: -Dcom.wowza.wms.ConfigHome=/usr/local/WowzaM ediaServer

INFO server comment - Server runmode: standalone

INFO server comment - Server native.platform: linux

INFO server comment - Server threads[h/t]: 10/10

INFO server comment - CMDInterface now listening: [any]:8083

ERROR server comment - server core failure: java.net.BindException: Address alre ady in use

java.net.BindException: Address already in use

at sun.nio.ch.Net.bind(Native Method)

at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java: 137)

at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:77)

at org.apache.mina.transport.socket.nio.SocketAcceptor.registerNew(Unkno wn Source)

at org.apache.mina.transport.socket.nio.SocketAcceptor.access$1100(Unkno wn Source)

at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.run(Unknow n Source)

at org.apache.mina.util.NamePreservingRunnable.run(Unknown Source)

at java.lang.Thread.run(Thread.java:679)

INFO vhost vhost-start defaultVHost -

INFO server comment - defaultVHost threads[h/t]:120/80 home:/usr/local/WowzaMediaServer

INFO vhost comment defaultVHost Bind attempt ([any]:1935:4)

WARN vhost comment defaultVHost Bind failed, try again ([any]:1935): java.net.BindException: Address already in use

Do you know what is happening ??

Perhaps it is i have a live streaming from one tricaster that it is´n stopped, if i stoped i can run wowza ??

Kind regards: manyblue

OK

This server has apache and there is here the web, in the web there is a player of live and there is a tricaster runing live to wowza. In use 80 Apache 1935 wowza:

120/80 home:/usr/local/WowzaMediaServer

defaultVHost_ Bind attempt ([any]:1935:4)

I have restart the server but wen i go to start wowza give me this error.

Tomorrow morning i will stop the tricaster and all streamings live and restart the server and start wowza.´I´ll tell you samathing.

Thank my friend

Kind regards: Manyblue

OK, but i can not find /bin/startup.bat, i have:

/usr/local/WowzaMediaServer-3.05/bin/startup.sh

Today i go to restart all server and look what happend.

I´ll tell you samething.

Kind regards: Manyblue

Nothing, but it is all right now.

Process:

  1. Desable the tricaster live streaming to wowza and all streamings

  2. Reboot Ubuntu

$ sudo su

$ pass:

cd /usr/local/WowzaMediaServer-3.0.5/bin/

./startup.sh

Now i have wowza in terminal and i can look all logs and all go fine, live and vod.

More or les i know how must i install Transcoder with the same group has transrate.xml the process is easy but to tune it hahahahaha a little more…

For Transcoder application with transrate.xml template, correct me if i´m in wrong:

  1. I must make a new application “live”, in this example i go to call it “live_2”, for this:

a) I make a dir “live_2” in: /usr/local/WowzaMediaServer-3.0.5/conf/

b) I copy from my live application in use now the file “application.xml” and paste in: /usr/local/WowzaMediaServer-3.0.5/conf/live_2/

c) In side of this “application.xml” i must correct the following lines:

live

transcode

transrate.xml … (transrate.xml: Use this template when the source stream is H.264 video with either AAC

or MP3 audio and you want Wowza Transcoder to generate lower bitrate renditions of te source stream for adaptive bitrate delivery)

If i send my live emission from my tricaster to wowza to this “live_2” application, this application send me to de “transcode” application and this to “transrate.xml” template.

  1. I must make a new application “transcoder”

a) I make two dir “/transcoder/templates/” in: /usr/local/WowzaMediaServer-3.0.5/conf/

b) I copy the two files “transcoder.xml” and “transrate.xml” from usr/local/WowzaMediaServer-3.0.5/transcoder/ to: usr/local/WowzaMediaServer-3.0.5/conf/transcoder/templates/

c) The application “live_2” use the file “transrate.xml”, for the moment i use this template for default with StreamNameSouece and StreamNameGrop and only change all:

true

720p…360p…240p…etc etc etc

I must install it tomorrow for phones live streaming

My next step will be to install DRM and if all go fine in this server… transport it to a connection of 20 Gbps …

Wowza 3 + transcode = 1.495 $ ??

or

Wowza 3 + transcode = 999 + 1495 $ ??

Thank you very much for your atention and kind regards: Manyblue

OK the application Transcoder exist in /usr/local/WowzaMediaServer-3.0.5/transcode

I only need to create the new live appliction “live_2” in /usr/local/WowzaMediaServer-3.05/conf/ inside of this directory “live_2” must be application.xml inside af this file i must change my 1)

i don´t need to do nothing more.

Now for the urls:

http://mydomind:1935/live_2/ngrp:myStream_all/playlist.m3u8

http://mydomind:1935/live_2/ngrp:myStream_mobile/playlist.m3u8

http://mydomind:1935/live_2/ngrp:myStream_all/manifest.f4m

http://mydomind:1935/live_2/ngrp:myStream_mobile/manifest.f4m

http://mydomind:1935/live_2/ngrp:myStream_all/Manifest

http://mydomind:1935/live_2/ngrp:myStream_mobile/Manifest

I don´t understand this very good the urls myStrem = the name of the streaming with tricaster for example ???

Thank Lisa_W

Kind regards: Manyblue

This is very very important, why???

Here in spain more exactly Canary Islands the mobile connection is low, i have test it in iphone the normal streaming encoding in tricaster and i reproduce it with the same bitrate and frame that tricaster, i can not look it very good in iphone for that i need to do two streamings simultaneous one to “live” and other to “live_2” to transrate for smarphones, andrioig, iphone etc.

I have one Tricaster 450 Extreme and one Wirecast 4 for to made the streamings.

I only need an explanation of the sistem of urls.

Kind regards: Manyblue

Jajajajajaja thank Richard I understand you.

I have the original install application “live” installed, i don´t need other, only change this apli.

OK samathing for example:

I made streaming from tricaster called “stream-000352” to wowza “live”

For to play it with the same bitrate i transmit from wowza must i call it ?:

rtmp://mydomind:1935/live/stream-000352

http://mydomind:1935/live/stream-000352/playlist.m3u8

For to play it in iphone or smarphones etc:

http://mydomind:1935/live/ngrp:stream-000352_mobile/playlist.m3u8 iphone

rtmp://mydomind:1935/live/ngrp:stream-000352_mobile

http://mydomind:1935/live/ngrp:stream-000352_mobile/Manifest

PD: My application “live” has in use in this moment :

${SorceStreamName}.xml,transrate.xml