Wowza Community

Using Xuggler/FFmpeg encoding with Wowza

I got FFMPEG working on LINUX publishing it to the Wowzaserver with something like;

ffmpeg -i /dev/video0 -qscale 1 -r 25 -vcodec libx264 -vpre fastfirstpass -b 636k -aspect 4:3 -s 640x480 -ar 44100 -ab 64k -async 1 -g 6 -f flv -threads 2 rtmp://ip/app/camera

Now i want to try to authenticate the publishing side to the server. I got it working with Flash Media Encoder (windows) with the following application config:

<Module>
<Name>ModuleRTMPAuthenticate</Name>
<Description>ModuleRTMPAuthenticate</Description>
<Class>com.wowza.wms.plugin.security.ModuleRTMPAuthenticate</Class>
</Module>

and the

<Property>
<Name>rtmpEncoderAuthenticateFile</Name>
<Value>${com.wowza.wms.context.VHostConfigHome}/conf/${com.wowza.wms.context.Application}/publish.password</Value>
/Property>

This is working fine under windows; a popup appears and i can start publishing the stream after giving the credentials.

Now i want to pass the authentication parameters with FFMPEG in Linux to Wowza, so i can authenticate the publishing side under linux. Is there a way to do this?

Thanks for thinking with me, but it doesnt seem to work. I got the error:

“pipe:: Unknown format”

When I hit google with that error, i notice that i`m not the only one with that error lol :smiley:

This works for me:

dvgrab -f raw -noavc - |LD_LIBRARY_PATH=$XUGGLE_HOME/lib ffmpeg -i - -f dv1394 -s 500x375 -r 10 -ar 22050 -ab 32k -ac 1 -b 750K -f flv rtmp://my.server.it/app/stream

Hello guys,

I am facing a problem concerning mobile videos. Xuggler can’t convert videos made by phone camera. Please could some one give me a hint?

I am havving the same issue as Thijsie.

Has anyone passed the authentication parameters with FFMPEG in Linux to Wowza using ModuleRTMPAuthenticate module?

Thanks

Zoltan,

You might want to post on the Find a Consultant Forum, or write to support@wowza.com and ask for list of independent consultants

Salvadore