# rtsp using raspberry pi

**URL:** <https://community.wowza.com/t/rtsp-using-raspberry-pi/44326>\
**Category:** Wowza Streaming Engine\
**Created:** [November 28, 2014, 4:12pm UTC](https://community.wowza.com/t/rtsp-using-raspberry-pi/44326 "2014-11-28T16:12:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sak\_sak](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@sak\_sak](https://community.wowza.com/u/sak_sak)\
**Post date:** [November 28, 2014, 4:12pm UTC](https://community.wowza.com/t/rtsp-using-raspberry-pi/44326/1 "2014-11-28T16:12:49Z")

</div>

Hello, i am a happy owner of a new raspberry pi B+ and i have also tha official Raspberrypi camera. I connected the camera and following the following command i manage to see the stream from vlc in my computer.

cvlc v4l2:///dev/video0 --v4l2-width 1920 --v4l2-height 1080 --v4l2-chroma h264 --sout ‘#rtp{sdp=rtsp://:8554/}’

I now want to make this visible from wowza. I tried to dreate a new stream with the address of the rpi (192.168.1.121:8554) but i got nothing.

What should i do to see in wowza the live video that the raspberry camera produces?

Thank you in advance ,

ybohan

---

<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:** [November 28, 2014, 9:13pm UTC](https://community.wowza.com/t/rtsp-using-raspberry-pi/44326/2 "2014-11-28T21:13:57Z")

</div>

Hi,

Take a look at some of the VLC [command examples here.](https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts)

These commands transcode to H.264 and send the stream in as MPEG-TS. There are other examples there that use other protocols.

The examples use a file as input, so you would keep you input side as you have it, and then try different outputs.

See if any of these help getting the stream in.

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:** [December 1, 2014, 11:26pm UTC](https://community.wowza.com/t/rtsp-using-raspberry-pi/44326/3 "2014-12-01T23:26:35Z")

</div>

Hi,

Just was suggesting alternative commands to help make it work.

I think [this forum thread](http://community.wowza.com/t/-/38905) is closer to what you are trying to do:

You will need to set the Wowza live application to use RTPTransportMode set to udp, as interleaved is the default and VLC cannot provide an interleaved stream.

The stream file in the Wowza Streaming Engine manager should contain the following:

```auto
     rtsp://192.168.1.121:8554

```

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:** [December 3, 2014, 12:03am UTC](https://community.wowza.com/t/rtsp-using-raspberry-pi/44326/4 "2014-12-03T00:03:06Z")

</div>

Hi,

It looks like someone [here](http://raspberrypi.stackexchange.com/questions/9667/streaming-video-from-raspberry-pi-to-internet-via-external-server) at least succeeded using the Pi and Cam plus Raspivid and FFMPEG

That does use RTMP though. RTSP should also be possible, and I’m sure vlc as well, but I would advise trying to get it to work in a way that has already succeeded.

There’s also a general [FFMPEG How-To here.](https://www.wowza.com/docs/how-to-use-ffmpeg-with-wowza-media-server-mpeg-ts%28MPEG-TS%29)

Daren

---

<div class="post-metadata">

**Author:** ![sak\_sak](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@sak\_sak](https://community.wowza.com/u/sak_sak)\
**Post date:** [December 1, 2014, 10:41am UTC](https://community.wowza.com/t/rtsp-using-raspberry-pi/44326/5 "2014-12-01T10:41:50Z")

</div>

Hello, there!

My problem is not how to make it mjpeg. I simply want to keep the rstp format and make it visible from wowza

---

<div class="post-metadata">

**Author:** ![sak\_sak](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@sak\_sak](https://community.wowza.com/u/sak_sak)\
**Post date:** [December 2, 2014, 11:12am UTC](https://community.wowza.com/t/rtsp-using-raspberry-pi/44326/6 "2014-12-02T11:12:02Z")

</div>

after vlc -vvv it asks for the input of the camera. What should i put for the standard raspberry pi camera?

rtsp://raspi\_url/camera and /dev/video0

do not seem to be able to connect.

---

<div class="post-metadata">

**Author:** ![sak\_sak](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@sak\_sak](https://community.wowza.com/u/sak_sak)\
**Post date:** [December 2, 2014, 2:18pm UTC](https://community.wowza.com/t/rtsp-using-raspberry-pi/44326/7 "2014-12-02T14:18:21Z")

</div>

I managed to use

sudo modprobe bcm2835-v4l2

cvlc v4l2:///dev/video0 --v4l2-width 640 0–v4l2-height 480 --v4l2-chroma h264 --sout ‘#rtp{sdp=rtsp://:8554/}’

Following those instructions i managed to see the stream from vlc in my pc which is also the wowza but not from wowza (also tried in rtsp the rpi IP and the wowza server ip)
