nice still, streaming is dark

Support and queries relating to all previous versions of ZoneMinder
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

ZMC is working if you are getting images captured and stored to disk. I don't know how or why changing the owner/group worked and is working. zmfix should take care of setting the correct permisions for the device. ZMS is responcible for the streams and when you open a stream in the browser you should see that process start in top. What linux distro are you using?
bhomass
Posts: 103
Joined: Sat Jun 11, 2005 6:54 pm

Post by bhomass »

I just thought of something. Does WMP actually play mp4 format?

I tried pulling up a mp4 file in WMP (outside the browser), and it does not even see the file. it seems an Envivio plugin is available to play mp4 in WMP, but you have to purchase it. I can't imaging everyone has it by default. so, how is zm designed to play mp4 in the browser with an embedded WMP?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

You don't need mp4 for mpeg video and I didn't have to purchace anything for WMP. I think you should try mjpg first and get that working before introducing ffmpeg into this. You can use cambozola for the time being for IE till you can get ffmpeg working.
bhomass
Posts: 103
Joined: Sat Jun 11, 2005 6:54 pm

Post by bhomass »

ok, I must have misunderstood something. I thought zm plays mp4.

how do you set the encoding format to MJPEG instead of MPEG? I asked that question before but did not get an answer. did not find in documentation either. do I have to recompile without ffmpeg lib?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

It's super easy.
In the options menu under the video tab
select jpeg for ZM_VIDEO_STREAM_METHOD

To add cambozola put the jar file in the root for your web (same place the zm php files are)
Then in options under the Tools tab check ZM_OPT_CAMBOZOLA

This should be easy to get working if everything in zm is working and will get ya some joy at little cost of hair :)
bhomass
Posts: 103
Joined: Sat Jun 11, 2005 6:54 pm

Post by bhomass »

I don't need cambozola, since I got Netscape.

yes, indeed, it was super easy to get MJPEG working. and it does feel great.

now back to my undying desire. how to get MPEG working? btw, does this mean zm works with mp2 video streams?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

ZM does not but FFMPEG does I think. Sorry don't pay much attention to the codecs and the only thing I use ffmpeg for is to convert the files. I don't stream with it because I do not like the lag (WMP buffers the video so what you see happened 10 to 15 seconds prier to what you are watching drives me nuts) :roll:
bhomass
Posts: 103
Joined: Sat Jun 11, 2005 6:54 pm

Post by bhomass »

but I am nuts about getting mpeg stream working.

I will have a low bandwidth environment. I don't know if someone has the numbers, but I suspect, I get better performance with mpeg, even mp2, over mjpeg. would this be a correct assessment?

for that reason, I am motivated to get mpeg streaming working.
Locked