# FFmpeg and RTMP authentication

**URL:** <https://community.wowza.com/t/ffmpeg-and-rtmp-authentication/39482>\
**Category:** Wowza Streaming Engine\
**Created:** [January 6, 2015, 11:33pm UTC](https://community.wowza.com/t/ffmpeg-and-rtmp-authentication/39482 "2015-01-06T23:33:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johan\_Niemi](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@Johan\_Niemi](https://community.wowza.com/u/Johan_Niemi)\
**Post date:** [January 6, 2015, 11:33pm UTC](https://community.wowza.com/t/ffmpeg-and-rtmp-authentication/39482/1 "2015-01-06T23:33:02Z")

</div>

The [FFmpeg documentation](https://www.ffmpeg.org/ffmpeg-protocols.html#rtmp) suggests this syntax:

```auto
rtmp://[username:password@]server[:port][/app][/instance][/playpath]

```

However, this will give you an “Problem accessing the DNS.” error when trying to connect to the Wowza server.

In [this thread](http://community.wowza.com/t/-/37912) it is suggested to use Wowza SecureURLParams instead of RTMP authentication, when streaming from FFmpeg.

Is it still not possible to use FFmpeg with RTMP authentication?

---

<div class="post-metadata">

**Author:** ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)\
**Post date:** [January 6, 2015, 11:20pm UTC](https://community.wowza.com/t/ffmpeg-and-rtmp-authentication/39482/2 "2015-01-06T23:20:41Z")

</div>

Hi,

[SecureURLParams](https://www.wowza.com/docs/how-to-secure-publishing-from-an-rtmp-encoder-that-does-not-support-authentication-modulesecureurlparams%28ModuleSecureURLParams%29) is the only way that works currently

with FFMPEG.

Daren

---

<div class="post-metadata">

**Author:** ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)\
**Post date:** [September 2, 2015, 3:38pm UTC](https://community.wowza.com/t/ffmpeg-and-rtmp-authentication/39482/3 "2015-09-02T15:38:32Z")

</div>

Hi,

The following will actually work in windows without the need for secureURLparams:

```auto
 -f flv "rtmp://serveraddress[:port][/app][/streamname] flashver=FMLE/3.0\20(compatible;\20FMSc/1.0) live=true pubUser=myuser pubPasswd=mypassword" 

```

Daren

---

<div class="post-metadata">

**Author:** ![Diego\_Suarez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/diego_suarez/32/628_2.png) [@Diego\_Suarez](https://community.wowza.com/u/Diego_Suarez)\
**Post date:** [July 13, 2015, 10:59am UTC](https://community.wowza.com/t/ffmpeg-and-rtmp-authentication/39482/4 "2015-07-13T10:59:34Z")

</div>

> Hi,
> 
> [SecureURLParams](https://www.wowza.com/docs/how-to-secure-publishing-from-an-rtmp-encoder-that-does-not-support-authentication-modulesecureurlparams%28ModuleSecureURLParams%29) is the only way that works currently
> 
> with FFMPEG.
> 
> Daren

For what is worth, it DOES work on Linux. In Windows appears that the URL parsing scheme is not the same and it’s not working.
