Wowza Community

Muxing video and audio stream

I have two separate streams, one audio and one video stream. The video stream comes from an Axis IP Camera (h264) and the audio streams is from a Barix Instreamer (mpga). What I want to have is an single stream with the video from the IP camera and the audio from the audio encoder. I found out that this is called muxing, however I cannot find how to do this.

Codec informatie from VLC

Audio (can be adjusted in the Barix when necessary

Type: Audio

Codec: MPEG Audio Layer 1/2/3 (mpga)

Channels: Stereo

Sample rate: 24000 Hz

Bitrate 160 kb/s

Video

Type: Video

Codec: H264 - MPEG-4 AVC (part10)(h264)

Resolution: 1280x720

The Wowza software is runnig on Ubuntu 11.04 Server x64.

Can someone help me with this?

I’m trying it with VLC but cannot figure out how to use multiple input streams and mux them into one transportstream. Also tried ffmpeg which is working fine with static files, however I can’t get it to work with live streams.

There is no way to do this with Wowza. You might be able to do it with ffmpeg but I do not know the details.

Charlie

Hi icarus,

Try posting your ffmpeg commands that work muxing VOD files. And also try posting what you’ve tried that doesn’t work. Maybe someone will have a suggestion.

Thanks for the reply.

Unfortunately I can’t figure out how to do this with ffmpeg either. It sounds easy just to combine two ip streams but it seems like there is no way to do this, although I still think it should be possible…

In the end I solved it by using another Axis IP camera, one that has an audio input and is able to mux this internally. Using Wowza to distribute this h.264 streams to my clients is working fine! Thanks for the suggestions and the help :slight_smile: