feeding http streaming(mpeg) in ZM
feeding http streaming(mpeg) in ZM
I have configure one machine with bttv card, and camera attached with it.
Now i am streaming the data from the camera using http streaming...
like http://(hostname):8081
Can any one tell me about this usage...or whether this can be done with ZM..
The stream can be received from other machine, I have tested it but now i would like to use it with ZM to record events..
________
vaporizer
Now i am streaming the data from the camera using http streaming...
like http://(hostname):8081
Can any one tell me about this usage...or whether this can be done with ZM..
The stream can be received from other machine, I have tested it but now i would like to use it with ZM to record events..
________
vaporizer
Last edited by amit on Tue Feb 01, 2011 2:26 am, edited 1 time in total.
Check this thread. I think it has what you are looking for.
http://www.zoneminder.com/forums/viewtopic.php?t=4150
Cheers,
Cordel
http://www.zoneminder.com/forums/viewtopic.php?t=4150
Cheers,
Cordel
3939663646337
It's better to keep your mouth shut and appear stupid than open it and remove all doubt.
-Mark Twain
I have tried setting but i don't see anything in the window...
i have installed Zm on 3 machine with camera on 2 machine attached with bttv card..
which is working on the same machine..
but i want there output to be input for third ZM
i have got my separate LAN...with IP's 192.168.2.10,11 and 12..
I want 2 of them 2 work as client..
In third ZM i have added 2 monitors..
with details like:
Hostname :192.168.2.12
port:80
path: /cgi-bin/zms?mode=jpeg&monitor=1&scale=100&maxfps=5..
I even tried with user and pass option in string..
I have one user 'ashish' with password 'ashish'
i appended this with path string..
but i don't see anything in third ZM it shows 0 fps ..
Please tell me the configuration at the earliest
Thanks in advance..
________
R16
i have installed Zm on 3 machine with camera on 2 machine attached with bttv card..
which is working on the same machine..
but i want there output to be input for third ZM
i have got my separate LAN...with IP's 192.168.2.10,11 and 12..
I want 2 of them 2 work as client..
In third ZM i have added 2 monitors..
with details like:
Hostname :192.168.2.12
port:80
path: /cgi-bin/zms?mode=jpeg&monitor=1&scale=100&maxfps=5..
I even tried with user and pass option in string..
I have one user 'ashish' with password 'ashish'
i appended this with path string..
but i don't see anything in third ZM it shows 0 fps ..
Please tell me the configuration at the earliest
Thanks in advance..
________
R16
Last edited by amit on Tue Feb 01, 2011 2:26 am, edited 1 time in total.
then the settings you wnat are in the above string
Put in your host name 192.168.2.10
the port apache is rumming on 80
your remote host path will depend on your installation. For RPM version
/cgi-bin/zm/zms?mode=jpeg&monitor=2&scale=100&maxfps=2&user=amituser&pass=amitpassword
or could be
/cgi-bin/zms?mode=jpeg&monitor=2&scale=100&maxfps=2&user=amituser&pass=amitpassword
then you have to set Remote image colours and image size.
If you have colotize jpeg set on the remote machines the you should set 24 bit color even if the camera is B/W.
Image size must match the setting on the remote.
Hope that helps.
Cordel
Put in your host name 192.168.2.10
the port apache is rumming on 80
your remote host path will depend on your installation. For RPM version
/cgi-bin/zm/zms?mode=jpeg&monitor=2&scale=100&maxfps=2&user=amituser&pass=amitpassword
or could be
/cgi-bin/zms?mode=jpeg&monitor=2&scale=100&maxfps=2&user=amituser&pass=amitpassword
then you have to set Remote image colours and image size.
If you have colotize jpeg set on the remote machines the you should set 24 bit color even if the camera is B/W.
Image size must match the setting on the remote.
Hope that helps.
Cordel
if i directly probide this link in browser I can see the stream without any user or password
http://192.168.2.12/cgi-bin/zm/zms?mode ... 0&maxfps=5
but when these settings are configured in ZM and i try to open the monitor for view i does not show anything and rate if 0fps,
there were some permission related error in log
I changed permissions and now there is no error in log I will provide the log to you..
one more thing..
I am trying to transcode the v4l stream which is raw, and convert it into mpeg whch is being streamed to http://192.168.2.12:8081....
can i use this with ZM...?
I am able to receive it form other machines.
Please help me out of this problem...
I don't have network camera and i'm trying to work with my v4l capture card cameras to work with ZM,
________
free vaporizer
http://192.168.2.12/cgi-bin/zm/zms?mode ... 0&maxfps=5
but when these settings are configured in ZM and i try to open the monitor for view i does not show anything and rate if 0fps,
there were some permission related error in log
I changed permissions and now there is no error in log I will provide the log to you..
one more thing..
I am trying to transcode the v4l stream which is raw, and convert it into mpeg whch is being streamed to http://192.168.2.12:8081....
can i use this with ZM...?
I am able to receive it form other machines.
Please help me out of this problem...
I don't have network camera and i'm trying to work with my v4l capture card cameras to work with ZM,
________
free vaporizer
Last edited by amit on Tue Feb 01, 2011 2:26 am, edited 1 time in total.
If you have authintication turned on you must provide a username and password else if it is off (not checked) you do not need to provide them.
0fps is a good indication that you are not getting through or one of your settings is incorrect.
Also any time you change any of this setting for the cameras on either machine you need to restart zm on the machine you changed (especialy for device and colour pallet changes).
If you have ZM_COLOUR_JPEG_FILES checked on the remote machine then you need to set Remote Image Colours to 24 bit colour on the server.
The images being streamed need to be in mjpeg or jpeg formats as it will not capture mpeg at this time.
What are your camera settings for the remote and what settings do you have for the server.
Here is my settings.
Remote:
/dev/video0 (1)
Palette Grey
Capture Width 320
Capture Heght 240
Server:
remote host name- 192.168.1.240
port 80
Remote Host Path-/cgi-bin/zm/zms?mode=jpeg&monitor=2&scale=100&maxfps=2&user=******&pass=*****
Remote Image colours- 24 bit colour
Capture Width- 320
Capture Height- 240
as you can see I have authintication turned on and have the user name and password in the path. Also I have the remotes ZM_COLOUR_JPEG_FILES checked so even though it's a B/W image the remote has made it into a colour image and is so set on the server.
0fps is a good indication that you are not getting through or one of your settings is incorrect.
Also any time you change any of this setting for the cameras on either machine you need to restart zm on the machine you changed (especialy for device and colour pallet changes).
If you have ZM_COLOUR_JPEG_FILES checked on the remote machine then you need to set Remote Image Colours to 24 bit colour on the server.
The images being streamed need to be in mjpeg or jpeg formats as it will not capture mpeg at this time.
What are your camera settings for the remote and what settings do you have for the server.
Here is my settings.
Remote:
/dev/video0 (1)
Palette Grey
Capture Width 320
Capture Heght 240
Server:
remote host name- 192.168.1.240
port 80
Remote Host Path-/cgi-bin/zm/zms?mode=jpeg&monitor=2&scale=100&maxfps=2&user=******&pass=*****
Remote Image colours- 24 bit colour
Capture Width- 320
Capture Height- 240
as you can see I have authintication turned on and have the user name and password in the path. Also I have the remotes ZM_COLOUR_JPEG_FILES checked so even though it's a B/W image the remote has made it into a colour image and is so set on the server.
I am trying to provide the path for local camere in remote camera but even that is not detected by ZM,
i.e
local machine IP 192.168.2.12
camera settings are /dev/video0, channel=1, Pallete=RGB565, width=320,height=240,
remote camera setting
host =192.168.2.12
port=80
path=as visible by checking the properties of local camera..
RGB24
with no authentication in ZM on both sides..
and I have configured the ZM as mentioned by You..
________
starcraft 2 replays
i.e
local machine IP 192.168.2.12
camera settings are /dev/video0, channel=1, Pallete=RGB565, width=320,height=240,
remote camera setting
host =192.168.2.12
port=80
path=as visible by checking the properties of local camera..
RGB24
with no authentication in ZM on both sides..
and I have configured the ZM as mentioned by You..
________
starcraft 2 replays
Last edited by amit on Tue Feb 01, 2011 2:26 am, edited 1 time in total.
yes this is the path I have set..
And there are no error in log files...
What kind of error are you expecting..?
It is working for local camera...?but why not the same setting be used for remote camera...?
can you help me in 2 point i mentioned where i am using trscode and reading raw stream, and streaming through http on a particular ports..
Thanks for taking care about my topic...
Please give me ideas if you are expecting any errors..
I will paste the log file if you want to have a look ...
________
SH150i
And there are no error in log files...
What kind of error are you expecting..?
It is working for local camera...?but why not the same setting be used for remote camera...?
can you help me in 2 point i mentioned where i am using trscode and reading raw stream, and streaming through http on a particular ports..
Thanks for taking care about my topic...
Please give me ideas if you are expecting any errors..
I will paste the log file if you want to have a look ...
________
SH150i
Last edited by amit on Tue Feb 01, 2011 2:26 am, edited 1 time in total.
Zoneminder can only capture streams of mjpeg. It can also of course capture jpeg frames. Any other format will not work to my knowledge at this time.amit wrote: can you help me in 2 point i mentioned where i am using trscode and reading raw stream, and streaming through http on a particular ports..
I can't tell how happy i am ...
for the past few days i was trying with zms
this time i configured with nph-zms as my server ..
and i am to see the stream as well as record event.s...
no authentication...
othe configuration remaining the same..
now i will try to use transcode...
Thanks cordel for your constant replies and suggestions....and will look for that in the future too..
for the past few days i was trying with zms
this time i configured with nph-zms as my server ..
and i am to see the stream as well as record event.s...
no authentication...
othe configuration remaining the same..
now i will try to use transcode...
Thanks cordel for your constant replies and suggestions....and will look for that in the future too..