Page 1 of 1

MPEG streaming not working

Posted: Tue Mar 21, 2006 12:48 pm
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.

Posted: Tue Mar 21, 2006 1:35 pm
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!