Page 1 of 1
mpeg freeze
Posted: Fri Nov 25, 2005 10:50 am
by james
Hi, I have installed the (last version of) live CD on a computer. And it has working great so far .
I have an Axis 207 cam and I used the jpeg streaming so far.
But now that I want to use mpeg streaming, problems are comming.
it takes aprox. 6 sec to receive the first image but the problem is that it is freezing on that first image, so no real stream is comming. But the fps still change, so it is not a freeze of the iexplorer window.
So I'm using Internet Explorer, but I also tried FFox (black screen) and Netscape (same problem as IE).
a tail -f /var/log/messages gives nothing
but zmwatch gives "wathdog pausing". I don't know what it means but don't seams important.
I am in 640*480 but I also tried 320*240. I have put a bigger shared memory and also set a bigger buffer. I have set the fps to 5.
Does anyone have an idea ?
Thank you.
Posted: Fri Nov 25, 2005 3:13 pm
by zoneminder
Are you trying to use live streaming or event streaming? Which format are you trying ot use? Do you know what version of ffmpeg you might have installed?
Phil
Posted: Fri Nov 25, 2005 8:48 pm
by james
Hi,
Thank you for your reply.
The problem is with live streaming. But I didn't check recorded events yet.
The version of ffmep I use is the one delivered with the last version of the live cd.
The format I try to use is mpeg stream in place of jpeg stream. So in the video tab I have set mpeg instead of jpeg (ZM_VIDEO_STREAM_METHOD)
But, as I'm writing this answer, I see that
ZM_VIDEO_LIVE_FORMAT & ZM_VIDEO_REPLAY_FORMAT are set to ASF.
I don't understand the difference with these three settings.
I suppose I can't let ASF if I want MPEG ?
Thank you for your answer(s)
Posted: Fri Nov 25, 2005 8:54 pm
by jameswilson
i used to use the live cd and never had any problems
in fact it was the last time i have been able to use mpeg streaming
i think you need to leave that asf in there
Posted: Fri Nov 25, 2005 10:37 pm
by cordel
I have it working in CTU useing 0.4.8 I am not sure which version Ross is using but I think is the same.
Apparently I had broke ffmpeg streaming in zm-ctu as I had an extra library on both my build and test machine. so it worked for me and no one else. I don't know how long it was like that I suspect quite a while, but I didn't know that it was broke till someone posted it was broke here on the forum
I have put an 1.21.3.4 update on the yum/ftp server for that correction some time back so everything functions now.
Regards,
Cordel
Posted: Fri Nov 25, 2005 11:29 pm
by jameswilson
corey, i havnt worked out yet how to get my mpeg streaming working, and i noticed elsewhere that you have to use the version compiled with zm. I use Ross's RPM for my distro (PCLOS) and wondered if you have or know where i can find or even know the version that was compiled with so i can install it on my server??
Posted: Fri Nov 25, 2005 11:38 pm
by cordel
Like I said above I think he uses 0.4.8 If you have an installed Live CD you can run ffmpeg -v and it will give you the version info.
With zm being able to compile against the current CVS I'll be creating a package from CVS soon. I just haven't got to it yet. Been to busy with work that has picked up a bit (always fest or famin usualy more of the latter unless I have something I need or want to do, err) and tring to get the new 64 bit distro compleate so I can move on.
Regards,
Cordel
Posted: Sat Nov 26, 2005 12:03 am
by jameswilson
In your own time mate. Im not on live cd anymore but i still use ross's rpm, and i assume if i use that i have to use the version of ffmpeg that was built with it? or am i wrong here?
Posted: Sat Nov 26, 2005 12:12 am
by cordel
Yes, your spot on I think. Because of the drastic changes between the versions (If you can call them versions as they don't seem to release very often) I think you'll have to stick with for the moment the same version as LiveCD. I havent downloaded the Live CD and only have the version that Ross gave to me some time back.... errr thats not true. I downloaded his torrent to help seed it. I'll see what I can do.
Cordel
Posted: Sat Nov 26, 2005 12:23 am
by jameswilson
thanks mate. My pclinuxos distro updates through something called synaptic and it updated ffmpeg. To be honest i dont use it but i need something to test against when i start the mpeg update to my viewer
James
Posted: Sat Nov 26, 2005 1:45 am
by rdmelin
mpeg streaming, ZMliveCD, Mandrake RPMs, and etc.
the MDK RPMs are all built against the ffmpeg that comes with the distro, so 0.4.8 on MDK 10.0 and 10.1, 0.4.9 pre on 2006.
I have been able to stream live feed mpeg and create videos on all versions. The livecds work as configured, just set ZM_VIDEO_STREAM_METHOD to mpeg.
The fussy part is the client. I have mplayerplugin in firefox configured to work "OK". Set the cache buffer to 32kb or so.
Embedded kmplayer in konqueror work much better, I would choose it if I used mpeg streaming normally.
I don't know what works on windoze as I dont have any
Ross
Posted: Sat Nov 26, 2005 9:31 am
by james
ok. I'll try some browsers on linux.
On Windows I tried IE6, Firefox and netscape.
All works with jpeg but when mpeg is set, Firefox gives a black screen and netscape&ie6 give ONE frame, then freeze.
James (Wilson), when you say you had no problem with mpeg when you were using the livecd distro, as it on linux or windows. If windows, wich browser ?
thank you for all your replies.
Posted: Sat Nov 26, 2005 11:03 am
by jameswilson
was using live cd as is
and both windowsand firefox and some experiments which proved partitally succesful with my pocket pc
Posted: Sun Nov 27, 2005 4:39 pm
by james
OK, Indeed it is working on a Linux Client. I have done a test with conqueror and it is working.
But I tried on other windows client, with different config/browsers and no success.
Anyway, if I want to watch in Mpeg In know I have to be on my Linux.
Do you notice a big change when switching from jpeg to mpeg ? I'll test tomorow with Axis NEtwork Camera (207), but for know I have a Logitech Usb cam and I can't really say the compression/speed/quality is really different from the jpeg stream.
Posted: Sun Nov 27, 2005 5:00 pm
by jameswilson
mpeg streaming is lots of use when streaming over low bandwidth links other than that i always use jpeg streaming