Page 1 of 1
Mpeg Streaming at 640x480 not work, 320x240 work
Posted: Sun Oct 03, 2010 1:32 am
by bumann
Hi!
I have got a zm 1.24.2 with a saa 7134 card(4x)!
settings:
options saa7134 card=33,33,33,33
kernel.shmall = 134217728
kernel.shmmax = 134217728
MMap enable
The jpeg stream with 640x480 is working good.
The mpeg stream with 320x240 (RGB24) too, but mpeg 640x480 don´t work!
logfile:
10/03/10 03:08:40.095154 zmdc[2833].INF ['zmc -d /dev/video2' starting at 10/10/03 03:08:40, pid = 2884]
10/03/10 03:08:40.109569 zmdc[2833].ERR ['zmc -d /dev/video2' exited abnormally, exit status 255]
10/03/10 03:09:20.008852 zmdc[2833].INF [Starting pending process, zmc -d /dev/video2]
10/03/10 03:09:20.009565 zmdc[2833].INF ['zmc -d /dev/video2' starting at 10/10/03 03:09:20, pid = 2896]
10/03/10 03:09:20.025279 zmdc[2833].ERR ['zmc -d /dev/video2' exited abnormally, exit status 255]
10/03/10 03:10:40.025364 zmdc[2833].INF [Starting pending process, zmc -d /dev/video2]
10/03/10 03:10:40.026055 zmdc[2833].INF ['zmc -d /dev/video2' starting at 10/10/03 03:10:40, pid = 3056]
any ideas ?
sorry for my bad english
Greetings from Germany!
Posted: Sun Oct 03, 2010 5:34 pm
by bumann
The grayscale swf streaming at 640x480 is working good, too!
But wehen i cange to rgb24 no picure is showing.
The Monitor link is still orange, so i think there are no memory issues!
any suggestions?
Posted: Sun Oct 03, 2010 5:55 pm
by bb99
I think your going to find that your issue is with shared memory; you've got a lot of the symptoms: works at a lower resolution, works with gray scale but not color, and works with one standard but not the other... Bump shared memory up 50% just to be sure. If you compiled mapped memory (MMap enable) into your build then I'm wrong.
Posted: Sun Oct 03, 2010 8:57 pm
by bumann
I have build MMap enable.
Posted: Sun Oct 03, 2010 9:26 pm
by bumann
I did a new build with mmap=no an set the
kernel.shmall = 2048000
kernel.shmmax = 4194304000
but the mpeg swf streaming with 640x480 25fps don't work.
I use debian lenny (i386)on celeron e3500 dualcore with 2gb and a PV-9404 saa 7134 card. I have got some warnings by building ffmpeg.
Posted: Thu Oct 07, 2010 11:28 am
by bumann
I have played with the shmall and shmmax a few days but it didn't work with 720x576 rgb24 25fps! I have read all post on forum but nothing help.Please anybody help me or give me a tip what it is?! Do i need more RAM? I have only 2GB!
Posted: Sun Oct 17, 2010 1:22 pm
by allanE
My understanding of memory management is that if you are using MMap then you would not want to set shmmax or shmall. It is one or the other. Easy to check,simply comment out the settings and reboot.
Posted: Sun Oct 17, 2010 5:21 pm
by bumann
thx. I have solved the problem a few days ago. I have compiled it with mmap enable and it is fine with the high resolution!
Re: Mpeg Streaming at 640x480 not work, 320x240 work
Posted: Wed May 02, 2012 9:35 pm
by Classic
I have the same issue, but the mmap not work properly, only can see the stream swf in low resolution, really i don't know wich it s the problem.
please, can you tellme more about your configuration?
thanks from Argentina.
Re: Mpeg Streaming at 640x480 not work, 320x240 work
Posted: Fri May 04, 2012 11:15 pm
by marty505
This post:
http://www.zoneminder.com/forums/viewto ... ory#p72552 contains a nice script that calculates the shared memory values to use on your system. The script is in the 6th post of the thread.
Re: Mpeg Streaming at 640x480 not work, 320x240 work
Posted: Sat May 05, 2012 1:13 am
by Classic
thanks, i use the script but the problem persist...keep looking the solution..
Re: Mpeg Streaming at 640x480 not work, 320x240 work
Posted: Tue May 15, 2012 6:11 am
by kloger
My knowing of remembrance supervision is the reality that if you arrive going to are implementing MMap then you won't prefer to placed shmmax or shmall. it are ordinarily one or even the other. straightforward to check,simply comment out the options and reboot.
Re: Mpeg Streaming at 640x480 not work, 320x240 work
Posted: Tue May 15, 2012 10:39 am
by Classic
Yes, I read de faq and say that. mmap or edit sysctl.conf. But I try with all posibilities and no luck. The problem is the ffmpeg encoder i think because i read t in the log:removing commo factor in frame rate....when work in low resolution.
I dont set limit fps and try with diferenet buffer image and fps direct from de cameras.
well thanks for your help. If anybody know another way for keep looking the solution
pleas Do not hesitate in posting.
Re: Mpeg Streaming at 640x480 not work, 320x240 work
Posted: Sun Jun 03, 2012 9:02 pm
by Classic
Well, I installed the version of the mastertheknife, and it`s really incredible the performance...I hope this will inclued in the new version of zoneminder.