# Transcoding stream pulled from IP camera using .stream file

**URL:** <https://community.wowza.com/t/transcoding-stream-pulled-from-ip-camera-using-stream-file/35438>\
**Category:** Wowza Streaming Engine\
**Created:** [July 16, 2012, 4:08pm UTC](https://community.wowza.com/t/transcoding-stream-pulled-from-ip-camera-using-stream-file/35438 "2012-07-16T16:08:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Mahoney](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@Daniel\_Mahoney](https://community.wowza.com/u/Daniel_Mahoney)\
**Post date:** [July 16, 2012, 4:08pm UTC](https://community.wowza.com/t/transcoding-stream-pulled-from-ip-camera-using-stream-file/35438/1 "2012-07-16T16:08:12Z")

</div>

I have read the docs on the Transcoder Add-on, but I’m confused about one thing.

I’ve got a .stream file defined to allow me to pull a stream from an IP camera. This works fine. I need now to deliver the stream as received as well as a couple of smaller, lower bitrate versions. I’ve got my transcode.xml file defined and have enabled transcoder in my Application.xml.

What I am not clear on is how to refer to my transcoded streams. Assuming that my stream file is named “camera1.stream”, if my transrate.xml contains:

false

720p

mp4:${SourceStreamName}\_720p

H.264

default

-1

fit-height

1280

720

main

1300000

false

60

false

0

${com.wowza.wms.context.VHostConfigHome}/content/wowzalogo.png

100

5

5

${ImageWidth}

${ImageHeight}

left,top

AAC

96000

how would I refer to this transcoder output? Would it be “camera1.stream\_720p”? Or, if my transrate.xml file also contains:

${SourceStreamName}\_all

720p

360p

240p

160p

could I access the output as “ngrp:camera1.stream\_all”? As you might guess, this is my first time going live with the Transcoder.

EDIT: More information…

I was thinking that if my stream file is named “camera.stream” I might be able to access the 720p version by referencing “camera.stream\_720p”, but that is not the case. JWPlayer complains of no such stream. Trying to load “ngrp:camera.stream” works just fine. “ngrp:camera.stream\_all” doesn’t. Pointers, please?

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [July 17, 2012, 3:30am UTC](https://community.wowza.com/t/transcoding-stream-pulled-from-ip-camera-using-stream-file/35438/2 "2012-07-17T03:30:38Z")

</div>

If you have started camera1.stream in the Stream Manager then your guesses for the stream names are correct. See the Transcoder Tutorial Troubleshooting section for help.

---

<div class="post-metadata">

**Author:** ![Daniel\_Mahoney](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@Daniel\_Mahoney](https://community.wowza.com/u/Daniel_Mahoney)\
**Post date:** [July 17, 2012, 8:21am UTC](https://community.wowza.com/t/transcoding-stream-pulled-from-ip-camera-using-stream-file/35438/3 "2012-07-17T08:21:47Z")

</div>

> If you have started camera1.stream in the Stream Manager then your guesses for the stream names are correct. See the Transcoder Tutorial Troubleshooting section for help.

I wonder now if my issue is a licensing problem. I’m currently using my developer license, trying to get transcoding figured out then I’ll switch over to a full license.

When I request:

curl http://:1935/live/camera.stream/playlist.m3u8

I get:

#EXTM3U

#EXT-X-VERSION:3

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=137425,CODECS=“avc1.66.41”,RESOLUTION=800x450

chunklist.m3u8?wowzasessionid=990550988

When I request:

curl http://:1935/live/ngrp:camera.stream

or

curl http://:1935/live/ngrp:camera.stream\_all

I get

Wowza Media Server 3 Developer Edition (Expires: Jan 10, 2013) 3.1.2 build1624Wowza Media Server 3 Developer Edition (Expires: Jan 10, 2013) 3.1.2 build1624

Should I be able to do this initial setup with my developer’s license?

---

<div class="post-metadata">

**Author:** ![Daniel\_Mahoney](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@Daniel\_Mahoney](https://community.wowza.com/u/Daniel_Mahoney)\
**Post date:** [July 17, 2012, 9:01am UTC](https://community.wowza.com/t/transcoding-stream-pulled-from-ip-camera-using-stream-file/35438/4 "2012-07-17T09:01:43Z")

</div>

Duh! Thanks - I’m still half asleep this morning.

However:

dan@dan:~$ curl http://:1935/live/ngrp:camera.stream\_all/playlist.m3u8#EXTM3U

#EXT-X-VERSION:3

Following the debugging info in the transcoding tutorial, looking through wowzamediaserver\_access.log I see:

2012-07-17 14:38:49 UTC comment server INFO 200 - Transcoder Streams Available: 1 - - - 2.982 - - - - - - - - - - - - - - - - - - - - - - - - -

2012-07-17 13:20:15 UTC comment server INFO 200 - TranscoderSessionNative.loadLibrary: Load transcoder list: /usr/local/WowzaMediaServer/lib-native/linux64/transcoder.list - - - 71.496 - - - - - - - - - - - - - - - - - - - - - - - - -

2012-07-17 13:20:15 UTC comment server INFO 200 - JNI:TranscoderSession.isCUDAAvailable[_defaultVHost_:live/_definst_/idju8dh638j7.stream]: NVidia CUDA hardware acceleration is NOT available on Linux - - - 71.521 - - - - - - - - - - - - - - - - - - - - - - - - -

2012-07-17 13:20:15 UTC comment server INFO 200 - JNI:TranscoderSession.isQuickSyncAvailable[_defaultVHost_:live/_definst_/idju8dh638j7.stream]: Intel Quick Sync hardware acceleration is NOT available on Linux - - - 71.522 - - - - - - - - - - - - - -

but I am NOT seeing anything like :

comment server INFO 200 LiveStreamTranscoder.init[live/_definst_/myStream]: Load transcoder template: C:\Program Files (x86)\Wowza Media Systems\Wowza Media Server 3.0.0/transcoder/templates/transrate.xml

My Application.xml contains (excerpt):

transcoder

${SourceStreamName}.xml,live.xml

${com.wowza.wms.context.VHostConfigHome}/transcoder/profiles

${com.wowza.wms.context.VHostConfigHome}/transcoder/templates

and my /usr/local/WowzaMediaServer/transcoder/templates contains:

[root@ip-10-10-97-239 WowzaMediaServer]# ls -al transcoder/templates/

total 52

drwxrwxr-x 2 wowza wowza 4096 Jul 17 14:37 .

drwxrwxr-x 3 wowza wowza 4096 Jun 19 15:34 …

-rwxrwxr-x 1 wowza wowza 874 May 29 14:44 audioonly.xml

-rwxr-xr-x 1 wowza wowza 4125 Jul 17 00:31 catdudeTCode.xml

-rwxr-xr-x 1 wowza wowza 4125 Jul 17 14:37 live.xml

-rwxrwxr-x 1 wowza wowza 8369 Dec 23 2011 transcode.xml

-rwxrwxr-x 1 wowza wowza 9078 Dec 23 2011 transrate.xml

Should the transcoder be finding my “live.xml” file in the templates dir and logging it?

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [July 17, 2012, 4:49am UTC](https://community.wowza.com/t/transcoding-stream-pulled-from-ip-camera-using-stream-file/35438/5 "2012-07-17T04:49:05Z")

</div>

Try:

curl http://:1935/live/ngrp:camera.stream\_all/playlist.m3u8
