# Record multiple videos from a live web cam stream

**URL:** <https://community.wowza.com/t/record-multiple-videos-from-a-live-web-cam-stream/34562>\
**Category:** Wowza Streaming Engine\
**Created:** [December 15, 2011, 10:38am UTC](https://community.wowza.com/t/record-multiple-videos-from-a-live-web-cam-stream/34562 "2011-12-15T10:38:02Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![gabriel\_fg](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@gabriel\_fg](https://community.wowza.com/u/gabriel_fg)\
**Post date:** [January 2, 2012, 9:16am UTC](https://community.wowza.com/t/record-multiple-videos-from-a-live-web-cam-stream/34562/21 "2012-01-02T09:16:53Z")

</div>

happy New Year !

and a little up, i still cannot set custom recording path 🙂

thank you !

---

<div class="post-metadata">

**Author:** ![gabriel\_fg](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@gabriel\_fg](https://community.wowza.com/u/gabriel_fg)\
**Post date:** [January 3, 2012, 12:49pm UTC](https://community.wowza.com/t/record-multiple-videos-from-a-live-web-cam-stream/34562/22 "2012-01-03T12:49:40Z")

</div>

hello

thanks for reply. i made a new install on a new ubuntu server, have nothing installed but wowza with recording module, same result and no errors i believe its working on your windows machine but i do believe there is a matter on \*nix. anyway i’ll find another way to manage my recordings. i noticed that if i specify for “videorecording” as app name (and publising into it) with the hhtp provider example, i have no errors

if i publish in “videorecording/1000” and specify “videorecording/1000”, the http provider returns me “Error: null”

and anyway in both cases, i just have file with datas when specifying custom path

thanks

---

<div class="post-metadata">

**Author:** ![gabriel\_fg](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@gabriel\_fg](https://community.wowza.com/u/gabriel_fg)\
**Post date:** [January 4, 2012, 5:25am UTC](https://community.wowza.com/t/record-multiple-videos-from-a-live-web-cam-stream/34562/23 "2012-01-04T05:25:50Z")

</div>

thank you for this even if its useless in my case but its interesting to know it exists.

i keep saying there is an issue on ubuntu at least, its recording only metadata when setting custom path with both module or httprovider but its ok i’ll find a way to do what i need

thank you

---

<div class="post-metadata">

**Author:** ![gabriel\_fg](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@gabriel\_fg](https://community.wowza.com/u/gabriel_fg)\
**Post date:** [January 4, 2012, 11:29am UTC](https://community.wowza.com/t/record-multiple-videos-from-a-live-web-cam-stream/34562/24 "2012-01-04T11:29:24Z")

</div>

hi Randall thank you for your reply. to make a long story short as i tested everything you sent me and maybe more, both httpprovider and module version do the same thing: recordings work perfectly (metadata + audio/video) if leaving default path, produces a metadata only when setting custom path. i could re-send the logs and commands, everything is in previous posts…

i’ve just made another test changing “flv” to “1”, same result

look i’ve tryed on 2 differents servers, 3 fresh install nothing else installed, basic setup and usage, using both module class and httpprovider and have the same result everytime. i dont say this is wowza related, it could be ubuntu related, i just need a solution 😃

about the httpprovider null error, it is not a bug deal in itself, i just mentionned it in case it could be related. but by the way i also tryed publishing to app (without specific app instance name) and had again the same result with both httpprovider and module class

and to make sure it wasnt related with my fla code, i tryed also with the samples provided

thank you for your help

---

<div class="post-metadata">

**Author:** ![gabriel\_fg](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@gabriel\_fg](https://community.wowza.com/u/gabriel_fg)\
**Post date:** [January 4, 2012, 12:38pm UTC](https://community.wowza.com/t/record-multiple-videos-from-a-live-web-cam-stream/34562/25 "2012-01-04T12:38:59Z")

</div>

i noticed in wowza logs

default path:

> 2012-01-04 12:18:10 CET comment server INFO 200 - ModuleStreamRecord outputPath: /usr/local/apache/sites/mysite.com/htdocs/recordings/1

custom path

> 2012-01-04 12:18:10 CET comment server INFO 200 - ModuleStreamRecord outputPath: “/usr/local/apache/sites/weesoo.com/htdocs/recordings/1”

double quotes are added in the path in the logs when settings custom path from flash movie

anyway it didn’t change nothing but maybe it is related

---

<div class="post-metadata">

**Author:** ![gabriel\_fg](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@gabriel\_fg](https://community.wowza.com/u/gabriel_fg)\
**Post date:** [January 5, 2012, 7:35am UTC](https://community.wowza.com/t/record-multiple-videos-from-a-live-web-cam-stream/34562/26 "2012-01-05T07:35:30Z")

</div>

ok so

1: i’m publishing a stream “myStream” to application “videorecording” (no instance name)

1st test:

> [http://myserver:8086/livestreamrecord?app=videorecording&streamname=myStream&action=startRecording&format=1](http://myserver:8086/livestreamrecord?app=videorecording&streamname=myStream&action=startRecording&format=1)

**\>\> save the flv file to the path specified in Application.xml (which is the same used during other tests). the flv is ok, metadata+audio/video**

Logs:

> 2012-01-05 07:22:04 CET comment server INFO 200 - ModuleStreamRecord action: startRecording - - - 64211.399 - - - - - - - - - - - - - - - - - – - - - - - -
> 
> 2012-01-05 07:22:04 CET comment server INFO 200 - ModuleStreamRecord app: videorecording - - - 64211.399- - - - - - - - - - - - - - - - - - - – - - - -
> 
> 2012-01-05 07:22:04 CET comment server INFO 200 - ModuleStreamRecord streamName: myStream - - - 64211.4 - - - - - - - - - - - - - - - - - - – - - - - -
> 
> 2012-01-05 07:22:04 CET comment server INFO 200 - ModuleStreamRecord outputPath: null - - - 64211.4 – - - - - - - - - - - - - - - - - - - – - - -
> 
> 2012-01-05 07:22:04 CET comment server INFO 200 - ModuleStreamRecord append: false - - - 64211.4 – - - - - - - - - - - - - - - - - - - – - - -
> 
> 2012-01-05 07:22:04 CET comment server INFO 200 - ModuleStreamRecord version: true - - - 64211.401- - - - - - - - - - - - - - - - - - - – - - - -
> 
> 2012-01-05 07:22:04 CET comment server INFO 200 - ModuleStreamRecord startOnKeyFrame: false - - - 64211.401 - - - - - - - - - - - - - - - - - – - - - - - -
> 
> 2012-01-05 07:22:04 CET comment server INFO 200 - ModuleStreamRecord recordData: true - - - 64211.402- - - - - - - - - - - - - - - - - - - – - - - -
> 
> 2012-01-05 07:22:04 CET comment server INFO 200 - ModuleStreamRecord format (1=flv, 2=mp4): 1 - - - 64211.402 - - - - - - - - - - - - - - - - - – - - - - - -
> 
> 2012-01-05 07:22:04 CET comment server INFO 200 - ModuleStreamRecord.startRecording - - - 64211.402- - - - - - - - - - - - - - - - - - - – - - - -
> 
> 2nd test:
> 
> > [http://myserver:8086/livestreamrecord?app=videorecording&streamname=myStream&action=startRecording&format=1&output=test.flv](http://myserver:8086/livestreamrecord?app=videorecording&streamname=myStream&action=startRecording&format=1&output=test.flv)
> 
> **\>\> save a flv in the wowza lib folder, with only metadata inside**
> 
> Logs:
> 
> > 2012-01-05 07:25:36 CET comment server INFO 200 - ModuleStreamRecord action: startRecording - - - 64423.362 - - - - - - - - - - - - - - - - - – - - - - - -
> > 
> > 2012-01-05 07:25:36 CET comment server INFO 200 - ModuleStreamRecord app: videorecording - - - 64423.362- - - - - - - - - - - - - - - - - - - – - - - -
> > 
> > 2012-01-05 07:25:36 CET comment server INFO 200 - ModuleStreamRecord streamName: myStream - - - 64423.362 - - - - - - - - - - - - - - - - - – - - - - - -
> > 
> > 2012-01-05 07:25:36 CET comment server INFO 200 - ModuleStreamRecord outputPath: test.flv - - - 64423.363- - - - - - - - - - - - - - - - - - - – - - - -
> > 
> > 2012-01-05 07:25:36 CET comment server INFO 200 - ModuleStreamRecord append: false - - - 64423.363- - - - - - - - - - - - - - - - - - - – - - - -
> > 
> > 2012-01-05 07:25:36 CET comment server INFO 200 - ModuleStreamRecord version: true - - - 64423.363- - - - - - - - - - - - - - - - - - - – - - - -
> > 
> > 2012-01-05 07:25:36 CET comment server INFO 200 - ModuleStreamRecord startOnKeyFrame: false - - - 64423.364 - - - - - - - - - - - - - - - - - – - - - - - -
> > 
> > 2012-01-05 07:25:36 CET comment server INFO 200 - ModuleStreamRecord recordData: true - - - 64423.364- - - - - - - - - - - - - - - - - - - – - - - -
> > 
> > 2012-01-05 07:25:36 CET comment server INFO 200 - ModuleStreamRecord format (1=flv, 2=mp4): 1 - - - 64423.365 - - - - - - - - - - - - - - - - - – - - - - - -
> > 
> > 2012-01-05 07:25:36 CET comment server INFO 200 - ModuleStreamRecord.startRecording - - - 64423.365- - - - - - - - - - - - - - - - - - - – - - - -
> > 
> > 3rd test:
> > 
> > > [http://myserver:8086/livestreamrecord?app=videorecording&streamname=myStream&action=startRecording&format=1&output=/usr/local/etc/test.flv](http://myserver:8086/livestreamrecord?app=videorecording&streamname=myStream&action=startRecording&format=1&output=/usr/local/etc/test.flv)
> > 
> > **\>\> save a flv in the /usr/local/etc folder, with only metadata inside**
> > 
> > Logs:
> > 
> > > 2012-01-05 07:25:36 CET comment server INFO 200 - ModuleStreamRecord.startRecording - - - 64423.365- - - - - - - - - - - - - - - - - - - – - - - -
> > > 
> > > 2012-01-05 07:27:09 CET comment server INFO 200 - ModuleStreamRecord HTTPRequest - - - 64516.116 – - - - - - - - - - - - - - - - - - - – - - -
> > > 
> > > 2012-01-05 07:27:09 CET comment server INFO 200 - ModuleStreamRecord action: startRecording - - - 64516.117 - - - - - - - - - - - - - - - - - – - - - - - -
> > > 
> > > 2012-01-05 07:27:09 CET comment server INFO 200 - ModuleStreamRecord app: videorecording - - - 64516.117- - - - - - - - - - - - - - - - - - - – - - - -
> > > 
> > > 2012-01-05 07:27:09 CET comment server INFO 200 - ModuleStreamRecord streamName: myStream - - - 64516.117 - - - - - - - - - - - - - - - - - – - - - - - -
> > > 
> > > 2012-01-05 07:27:09 CET comment server INFO 200 - ModuleStreamRecord outputPath: /usr/local/etc/test.flv - - -64516.118 - - - - - - - - - - - - - - - - - – - - - - - -
> > > 
> > > 2012-01-05 07:27:09 CET comment server INFO 200 - ModuleStreamRecord append: false - - - 64516.118- - - - - - - - - - - - - - - - - - - – - - - -
> > > 
> > > 2012-01-05 07:27:09 CET comment server INFO 200 - ModuleStreamRecord version: true - - - 64516.118- - - - - - - - - - - - - - - - - - - – - - - -
> > > 
> > > 2012-01-05 07:27:09 CET comment server INFO 200 - ModuleStreamRecord startOnKeyFrame: false - - - 64516.119 - - - - - - - - - - - - - - - - - – - - - - - -
> > > 
> > > 2012-01-05 07:27:09 CET comment server INFO 200 - ModuleStreamRecord recordData: true - - - 64516.119- - - - - - - - - - - - - - - - - - - – - - - -
> > > 
> > > 2012-01-05 07:27:09 CET comment server INFO 200 - ModuleStreamRecord format (1=flv, 2=mp4): 1 - - - 64516.12 - - - - - - - - - - - - - - - - - - – - - - - -
> > > 
> > > 2012-01-05 07:27:09 CET comment server INFO 200 - ModuleStreamRecord.startRecording - - - 64516.12-- - - - - - - - - - - - - - - - - - - – - - -
> > > 
> > > **result of ls -la in lib folder:**
> > > 
> > > > -rwxrwxr-x 1 root root 1825985 2011-12-29 03:59 bcprov-ext-jdk15-146.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 199468 2011-12-29 03:59 commons-lang-2.6.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 193417 2011-12-29 03:59 jid3lib-0.5.4.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 370961 2011-12-29 03:59 log4j-1.2.16.jar
> > > > 
> > > > -rw-r–r-- 1 root root 106 2012-01-05 07:15 test5.flv
> > > > 
> > > > -rw-r–r-- 1 root root 106 2012-01-05 07:25 test.flv
> > > > 
> > > > -rw-r–r-- 1 root root 106 2012-01-05 07:21 testx.flv
> > > > 
> > > > -rwxrwxr-x 1 root root 30837 2011-12-29 03:59 wms-amazonutil.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 1370 2011-12-29 03:59 wms-ant.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 8372 2011-12-29 03:59 wms-bootstrap.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 69513 2011-12-29 03:59 wms-commons-modeler.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 294473 2011-12-29 03:59 wms-core.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 71220 2011-12-29 03:59 wms-drm.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 58836 2011-12-29 03:59 wms-dvr.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 143112 2011-12-29 03:59 wms-httpstreamer-cupertinostreaming.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 120697 2011-12-29 03:59 wms-httpstreamer-sanjosestreaming.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 127237 2011-12-29 03:59 wms-httpstreamer-smoothstreaming.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 15983 2011-12-29 03:59 wms-jlayer.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 20221 2011-12-29 03:59 wms-mediareader-flv.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 78882 2011-12-29 03:59 wms-mediareader-h264.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 14314 2011-12-29 03:59 wms-mediareader-mp3.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 6537 2011-12-29 03:59 wms-mediareader-smil.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 5787 2011-12-29 03:59 wms-mediawriter-flv.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 41974 2011-12-29 03:59 wms-mediawriter-h264.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 23028 2011-12-29 03:54 wms-plugin-integrationrecord.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 10244 2011-12-29 03:55 wms-plugin-livestreamrecord.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 2086781 2011-12-29 03:59 wms-server.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 30926 2011-12-29 03:59 wms-stream-file.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 61489 2011-12-29 03:59 wms-stream-live.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 20863 2011-12-29 03:59 wms-stream-publish.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 10330 2011-12-29 03:59 wms-stream-record.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 7589 2011-12-29 03:59 wms-stream-rtp.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 7912 2011-12-29 03:59 wms-stream-shoutcast.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 180527 2011-12-29 03:59 wms-transcoder.jar
> > > > 
> > > > -rwxrwxr-x 1 root root 2782 2011-12-29 03:59 wms-transport-security.jar
> > > 
> > > Wowza startup logs:
> > > 
> > > > #Version: 1.0
> > > > 
> > > > #Start-Date: 2012-01-05 07:34:00 CET
> > > > 
> > > > #Software: Wowza Media Server 3.0.3.10 build995
> > > > 
> > > > #Date: 2012-01-05
> > > > 
> > > > #Fields: date time tz x-event x-category x-severity x-status x-ctx x-comment x-vhost x-app x-appinst x-duratioent-id cs-bytes sc-bytes x-stream-id x-spos cs-stream-bytes sc-stream-bytes x-sname x-sname-query x-file-name x-file-ext xs-uri-query
> > > > 
> > > > 2012-01-05 07:34:00 CET server-start server INFO 200 Wowza Media Server 3 Monthly Edition 3.0.3.10 build995 - - – - - - - - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Server License Key: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX - - – - - - - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Maximum Connections: Unlimited - - - 0.433 - – - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Transcoder Streams Available: Unlimited - - - 0.437 – - - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Transcoder Watermark: No - - - 0.437 - – - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - nDVR Available: Yes - - - 0.438 - - – - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - DRM Available: Yes - - - 0.438 - - – - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Hardware Available Processors: 8 - - - 0.439 – - - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Hardware Physical Memory: 294MB/24146MB - - - 0.44 – - - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Hardware Swap Space: 8190MB/8190MB - - - 0.44 – - - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Max File Descriptor Count: 20000 - - - 0.441 – - - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Open File Descriptor Count: 48 - - - 0.441 - – - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - OS Name: Linux - - - 0.442 - - - – - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - OS Version: 2.6.38.2-grsec-xxxx-grs-ipv6-64 - - - 0- - - - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - OS Architecture: amd64 - - - 0.442 - - – - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Java Name: OpenJDK 64-Bit Server VM - - - 0.443 – - - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Java Vendor: Sun Microsystems Inc. - - - 0.443 – - - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Java Version: 1.6.0\_23 - - - 0.444 - - – - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Java VM Version: 20.0-b11 - - - 0.444 - – - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Java Spec Version: 1.6 - - - 0.445 - - – - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Java Home: /usr/lib/jvm/java-6-openjdk/jre - - - 0- - - - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Java Max Heap Size: 7111MB - - - 0.445 - – - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Java Architecture: 64 - - - 0.446 - - – - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Java Locale[user.language]: fr - - - 0.446 - – - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Java Locale[user.country]: FR - - - 0.447 - – - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Java Locale[file.encoding]: UTF-8 - - - 0.447 – - - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Java Args[0]: -Xmx8000M - - - 0.448 - - – - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Java Args[1]: -Djava.net.preferIPv4Stack=true - - - 0- - - - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Java Args[2]: -Dcom.sun.management.jmxremote=true - - – - - - - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Java Args[3]: -Dcom.wowza.wms.runmode=service - - - 0- - - - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Java Args[4]: -Dcom.wowza.wms.native.base=linux - - - 0- - - - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Java Args[5]: -Dcom.wowza.wms.AppHome=/usr/local/WowzaMediaServer – - - - - - - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Java Args[6]: -Dcom.wowza.wms.ConfigURL= - - - 0- - - - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Java Args[7]: -Dcom.wowza.wms.ConfigHome=/usr/local/WowzaMediaServer – - - - - - - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Server runmode: service - - - 0.451 - - – - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Server native.platform: linux - - - 0.451 - – - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:00 CET comment server INFO 200 - Server threads[h/t]: 10/10 - - - 0.452 - – - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:01 CET comment server INFO 200 - CMDInterface now listening: [any]:8083 - - - 1.093 – - - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:01 CET vhost-start vhost INFO 200 _defaultVHost_ - - - - 1.535 - - – - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:01 CET comment server INFO 200 - _defaultVHost_ threads[h/t]:120/80 home:/usr/local/WowzaMediaServer – - - - - - - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:01 CET comment vhost INFO 200 _defaultVHost_ Bind attempt ([any]:1935:4) - - - 1.581 – - - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:01 CET comment vhost INFO 200 _defaultVHost_ Bind successful ([any]:1935) - - - 1.585 – - - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:01 CET comment vhost INFO 200 _defaultVHost_ Bind attempt ([any]:8086:1) - - - 1.587 – - - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:01 CET comment vhost INFO 200 _defaultVHost_ Bind successful ([any]:8086) - - - 1.588 – - - - - - - - - - - - -
> > > > 
> > > > 2012-01-05 07:34:01 CET comment server INFO 200 - Wowza Media Server is started! - - - 1.592 - – - - - - - - - - - - -

---

<div class="post-metadata">

**Author:** ![gabriel\_fg](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@gabriel\_fg](https://community.wowza.com/u/gabriel_fg)\
**Post date:** [January 5, 2012, 10:57pm UTC](https://community.wowza.com/t/record-multiple-videos-from-a-live-web-cam-stream/34562/27 "2012-01-05T22:57:27Z")

</div>

the storage dir is set in the application.xml:

> true
> 
> default
> 
> /usr/local/etc
> 
> ${com.wowza.wms.context.VHostConfigHome}/keys
> 
> ${SourceStreamName}.xml,transrate.xml
> 
> ${com.wowza.wms.context.VHostConfigHome}/transcoder/profiles
> 
> ${com.wowza.wms.context.VHostConfigHome}/transcoder/templates
> 
> --\>
> 
> 0
> 
> ${com.wowza.wms.context.VHostConfigHome}/dvr
> 
> append
> 
> cupertinostreaming,smoothstreaming,sanjosestreaming
> 
> -1
> 
> \*
> 
> \*
> 
> \*
> 
> \*
> 
> digest
> 
> none
> 
> senderreport
> 
> 12000
> 
> 75
> 
> 90000
> 
> 0
> 
> 0.0.0.0
> 
> 127.0.0.1
> 
> \*
> 
> base
> 
> Base
> 
> com.wowza.wms.module.ModuleCore
> 
> properties
> 
> Properties
> 
> com.wowza.wms.module.ModuleProperties
> 
> logging
> 
> Client Logging
> 
> com.wowza.wms.module.ModuleClientLogging
> 
> flvplayback
> 
> FLVPlayback
> 
> com.wowza.wms.module.ModuleFLVPlayback
> 
> ModuleLiveStreamRecord
> 
> ModuleLiveStreamRecord
> 
> com.wowza.wms.plugin.livestreamrecord.ModuleLiveStreamRecord

---

<div class="post-metadata">

**Author:** ![gabriel\_fg](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@gabriel\_fg](https://community.wowza.com/u/gabriel_fg)\
**Post date:** [January 7, 2012, 11:56am UTC](https://community.wowza.com/t/record-multiple-videos-from-a-live-web-cam-stream/34562/28 "2012-01-07T11:56:49Z")

</div>

it produces a 1k mp4 with this:

> ftypf4v isommp42m4v wide mdat tmoov lmvhd Ë-ÕøË-Õø \_ @

---

<div class="post-metadata">

**Author:** ![gabriel\_fg](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@gabriel\_fg](https://community.wowza.com/u/gabriel_fg)\
**Post date:** [January 7, 2012, 1:01pm UTC](https://community.wowza.com/t/record-multiple-videos-from-a-live-web-cam-stream/34562/29 "2012-01-07T13:01:58Z")

</div>

i’ll try this but i’m setting love-lowlatency in the fla app

---

<div class="post-metadata">

**Author:** ![gabriel\_fg](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@gabriel\_fg](https://community.wowza.com/u/gabriel_fg)\
**Post date:** [January 7, 2012, 1:10pm UTC](https://community.wowza.com/t/record-multiple-videos-from-a-live-web-cam-stream/34562/30 "2012-01-07T13:10:14Z")

</div>

damn, it seems this is ok now, after setting live-lowlatency in the application.xml…i’ll perform some tests and let you know

thanks !

---

<div class="post-metadata">

**Author:** ![gabriel\_fg](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@gabriel\_fg](https://community.wowza.com/u/gabriel_fg)\
**Post date:** [January 16, 2012, 11:33am UTC](https://community.wowza.com/t/record-multiple-videos-from-a-live-web-cam-stream/34562/31 "2012-01-16T11:33:14Z")

</div>

hello again

so recording and path are ok now, but i still have 2 issues:

i canno’t add custom metadata. i do like that:

> metaData[“nom”] = \_pseudo;
> 
> recordStream.send(“@setDataFrame”, “onMetaData”, metaData);

but this metadata is not available then in the flv. is the synthax ok ?

also, i have a problem with sound: when played from flash, the recordings are ok. but i cannot play them anywhere else (have only video). when trying to convert to avi in ffmpeg i have this:

> Input #0, flv, from ‘686812914.flv’:
> 
> Metadata:
> 
> duration : 576
> 
> creationdate : ven. janv. 13 14:54:29
> 
> Duration: 00:09:35.78, start: 0.000000, bitrate: N/A
> 
> Stream #0.0: Video: flv, yuv420p, 176x106, 1k tbr, 1k tbn, 1k tbc
> 
> Stream #0.1: Audio: [0][0][0][0] / 0x0000, 16000 Hz, 1 channels
> 
> [buffer @ 0x118f1d0] w:176 h:106 pixfmt:yuv420p
> 
> Output #0, avi, to ‘test.avi’:
> 
> Stream #0.0: Video: mpeg4, yuv420p, 176x106, q=2-31, 200 kb/s, 90k tbn, 1k tbc
> 
> Stream #0.1: Audio: mp2, 16000 Hz, 1 channels, s16, 64 kb/s
> 
> Stream mapping:
> 
> Stream #0.0 → #0.0
> 
> Stream #0.1 → #0.1
> 
> Decoder (codec id 86054) not found for input stream #0.1

i’m using speex as audio codec to grab audio from microphone in flash

thanks for your help !

Gabriel

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [December 20, 2011, 12:37am UTC](https://community.wowza.com/t/record-multiple-videos-from-a-live-web-cam-stream/34562/32 "2011-12-20T00:37:54Z")

</div>

There isn’t any good way to do that, not that i know of anyway.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [December 22, 2011, 1:02am UTC](https://community.wowza.com/t/record-multiple-videos-from-a-live-web-cam-stream/34562/33 "2011-12-22T01:02:28Z")

</div>

Try it without setting outputPath.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [December 23, 2011, 2:16pm UTC](https://community.wowza.com/t/record-multiple-videos-from-a-live-web-cam-stream/34562/34 "2011-12-23T14:16:41Z")

</div>

It has worked in all my tests

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [December 29, 2011, 3:50pm UTC](https://community.wowza.com/t/record-multiple-videos-from-a-live-web-cam-stream/34562/35 "2011-12-29T15:50:23Z")

</div>

Test by hard-coding path to Wowza content folder + file name in outputPath. That will eliminate permission problems.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [January 2, 2012, 6:23pm UTC](https://community.wowza.com/t/record-multiple-videos-from-a-live-web-cam-stream/34562/36 "2012-01-02T18:23:09Z")

</div>

This was my test:

- Publish RTMP stream

- Started a stream

- Stopped a stream

- Tested C:/temp/mycoolvideo.mp4 with WMP, VLC, Flash. All good

- Also tried with URL encoded string to location:

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [January 3, 2012, 6:20pm UTC](https://community.wowza.com/t/record-multiple-videos-from-a-live-web-cam-stream/34562/37 "2012-01-03T18:20:30Z")

</div>

There are other ways to move or copy a recording after it is finished:

Configurable method:

[https://www.wowza.com/docs/how-to-move-recordings-from-live-streams](https://www.wowza.com/docs/how-to-move-recordings-from-live-streams)

API:

[https://www.wowza.com/docs/how-to-use-imediawriteractionnotify-to-programmatically-move-and-rename-recordings-of-live-streams](https://www.wowza.com/docs/how-to-use-imediawriteractionnotify-to-programmatically-move-and-rename-recordings-of-live-streams)

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [January 3, 2012, 10:23pm UTC](https://community.wowza.com/t/record-multiple-videos-from-a-live-web-cam-stream/34562/38 "2012-01-03T22:23:33Z")

</div>

I’ll test on Linux server using Wowza EC2 ami-79834b10, which I think is Fedora.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [January 4, 2012, 3:07am UTC](https://community.wowza.com/t/record-multiple-videos-from-a-live-web-cam-stream/34562/39 "2012-01-04T03:07:11Z")

</div>

I tested on small ec2 instance, Fedora, the AMI mentioned previously. It all works for me. I publish myStream and used LiveStreamRecord HTML form and querystring methods to record and save it to /tmp/mycoolvideo.mp4

```auto
Start:
http://ec2-nn-nn-nn-nn.compute-1.amazonaws.com:1935/livestreamrecord?app=live&streamname=myStream&action=startRecording&format=2&output=/tmp/mycoolvideo.mp4
Stop:
http://ec2-nn-nn-nn-nn.compute-1.amazonaws.com:1935/livestreamrecord?app=live&streamname=myStream&action=stopRecording

```

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [January 16, 2012, 12:58pm UTC](https://community.wowza.com/t/record-multiple-videos-from-a-live-web-cam-stream/34562/40 "2012-01-16T12:58:34Z")

</div>

Use IMediaStream.sendDirect for recording.

Richard

[Previous page](https://community.wowza.com/t/record-multiple-videos-from-a-live-web-cam-stream/34562.md?page=1)

[Next page](https://community.wowza.com/t/record-multiple-videos-from-a-live-web-cam-stream/34562.md?page=3)
