MPEG streaming not working

Support and queries relating to all previous versions of ZoneMinder
Locked
GabiAPF
Posts: 7
Joined: Wed Mar 15, 2006 12:39 pm
Location: Buenos Aires, Argentina
Contact:

MPEG streaming not working

Post by GabiAPF »

Hello.

I'm trying to use MPEG streaming with the following code on a web page:

Code: Select all

<embed type="video/x-ms-asf" 
src="http://192.168.1.9/webcam/cgi-bin/nph-zms?mode=mpeg&monitor=1&scale=100&bitrate=25000&maxfps=8&format=asf&user=usuario&pass=usuario"
width="352"
height="288"
name="Morfeus"
autostart="1"
autoplay="1"
showcontrols="0"
controller="0">
</embed>
The plugin loads, but nothing shows on it. I've tried it both on Linux (Mozilla and Firefox) and Windows (Firefox and IE).

JPG streams and snapshots work. I have ffmpeg installed on /usr/bin/ffmpeg with no input options and -r 25 as the only output option.

Any idea what the problem may be?
Thanks in advance.
This is a signature.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

i suggest you search on mpeg streaming. This is a common thing and depends on a lot of factors. The mpeg streaming is done by ffmpeg not zm. You will need to have the correct version of ffmpeg copiled to suit the version of zm you have running. For example i have yet to get mpeg working but have managed without it!
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Locked