Wowza Community

Live streaming encoder using linux

Hello,

I need to know how to use linux to send a live streaming webcam and using my sound card. Which application do I use? is there any application like Flash Media Live Encoder for Linux? I need help!

Caikron

A lot of people use vlc for streaming from linux.

https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts

The instructions here are for using vlc on Windows. The main difference for cameras with linx will be the first parts of the command line. everything after --sout should be similar. The online documentation for vlc will explain how to stream your camera.

If you are running a desktop environment then you should be able to try different settings in the gui to see what works for you.

As another user recently pointed out, you need to copy the sdp file created by vlc to your wowza server content folder if they are on separate machines.

.sdp files belong in the content folder: the /conf/[app-name]/Application.xml /StorageDir.

Richard

If you are using FMLE (or Wirecast or similar type of RTMP live encoder), there is no .sdp file involved. The instructions are here:

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

In the above guide, the example stream name is “myStream.sdp”. In this case it is just a stream name, the .sdp extension is incidental, arbitrary, meaningless really. FMLE publishes (pushes a stream) to Wowza, so you do not need an actual .sdp file in the content folder, as you do with other types of encoders.

Richard

As another user recently pointed out, you need to copy the sdp file created by vlc to your

wowza server content folder if they are on separate machines.

No luck with this so far for various reasons but on your point above, when I stream to the server, I do see vlc.sdp in the sharedobjects file of my app on wowza. Is this the file you mean or do I need to copy one from the windows machine to replace that one?

Update: Wait now, I moved back to using adobe encoder since vlc wasn’t working. So while I’m using that, I do have the encoder streaming to the server, just trying to figure out why I can’t play the stream now.

.sdp files belong in the content folder: the /conf/[app-name]/Application.xml /StorageDir.

When I start the stream, some directories get created in the app dir.

So for example, I have.

/conf/[app-name]/StorageDir

/conf/[app-name]/Application.xml

Then under applications, I have…

When I start the live stream, a new directory gets created.

/applications/[app-name]/sharedobjects

In there, I see

/applications/[app-name]/sharedobjects

In there, I see

/applications/[app-name]/definst

/applications/[app-name]/vlc.sdp

Both of the above have nothing in them.

What am I missing, is it a server configuration thing that isn’t giving me what you’re expecting?

I give up, I guess :).