# Use login credentials with avconv

**URL:** <https://community.wowza.com/t/use-login-credentials-with-avconv/44415>\
**Category:** Wowza Streaming Engine\
**Created:** [December 7, 2014, 11:22pm UTC](https://community.wowza.com/t/use-login-credentials-with-avconv/44415 "2014-12-07T23:22:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elias\_Haggkisvat](https://avatars.discourse-cdn.com/v4/letter/e/ed655f/32.png) [@Elias\_Haggkisvat](https://community.wowza.com/u/Elias_Haggkisvat)\
**Post date:** [December 7, 2014, 11:22pm UTC](https://community.wowza.com/t/use-login-credentials-with-avconv/44415/1 "2014-12-07T23:22:20Z")

</div>

This is not exactely a wowza query , but any workaround in wowza to achieve this would also be appreciated.

avconv should according to documentation (e.g [https://wiki.libav.org/Snippets/avconv](https://wiki.libav.org/Snippets/avconv)) be able to send in the format ftmp://username:password@serverip/live/streamname

However I get this fault when using that format :

/usr/bin/avconv -i rtsp://10.7.59.2:554/live2.sdp -vcodec copy -acodec copy -f flv rtmp://gym:mypasswordhere@myserverip/live/streamname

avconv version 9.14-6:9.14-1rpi1rpi1, Copyright © 2000-2014 the Libav developers

built on Jul 22 2014 15:08:12 with gcc 4.6 (Debian 4.6.3-14+rpi1)

[rtsp @ 0x14ed580] Unimplemented RTP/JPEG restart marker header.

Last message repeated 2600 times Last message repeated 2280 times

[rtsp @ 0x14ed580] max\_analyze\_duration reached

[rtsp @ 0x14ed580] Estimating duration from bitrate, this may be inaccurate

Guessed Channel Layout for Input Stream #0.1 : mono

Input #0, rtsp, from ‘rtsp://10.7.59.2:554/live2.sdp’:

Metadata:

title : RTSP/RTP stream 2 from DCS-5222LB

comment : live2.sdp with v2.0

Duration: N/A, start: 0.000000, bitrate: N/A

Stream #0.0: Video: mjpeg, 90k tbn

Stream #0.1: Audio: pcm\_mulaw, 8000 Hz, mono, s16, 64 kb/s

Problem accessing the DNS. (addr: gym)

rtmp://gym:mypasswordhere@myiphere:/live/streamname: Unknown error occurred

Same probem with dashes around rtmp://… Any suggestions ? With ffmpeg this format works.

---

<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:** [December 7, 2014, 8:47pm UTC](https://community.wowza.com/t/use-login-credentials-with-avconv/44415/2 "2014-12-07T20:47:13Z")

</div>

Hi,

I’m not sure about avconv, but I know it’s very similar to ffmpeg.

With FFMPEG you need to use the secureURLparams module in Wowza Streaming Engine

along with a commandline similar to this:

```auto
 ffmpeg -re -i sample.mp4 -c:v copy -c:a copy -f flv rtmp://wowzaserver/app?doPublish=12345/streamname

```

There are some more details to be found at this [FFMPEG forum thread.](http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=7&t=723)

Daren
