View unanswered posts | View active topics It is currently Wed May 22, 2013 9:56 pm



Reply to topic  [ 14 posts ] 
Mpeg Streaming at 640x480 not work, 320x240 work 
Author Message

Joined: Mon Sep 13, 2010 1:50 am
Posts: 31
Location: Germany
Post Mpeg Streaming at 640x480 not work, 320x240 work
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!


Sun Oct 03, 2010 2:32 am
Profile

Joined: Mon Sep 13, 2010 1:50 am
Posts: 31
Location: Germany
Post 
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?


Sun Oct 03, 2010 6:34 pm
Profile

Joined: Wed Apr 02, 2008 1:04 am
Posts: 833
Post 
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.


Sun Oct 03, 2010 6:55 pm
Profile

Joined: Mon Sep 13, 2010 1:50 am
Posts: 31
Location: Germany
Post 
I have build MMap enable.


Sun Oct 03, 2010 9:57 pm
Profile

Joined: Mon Sep 13, 2010 1:50 am
Posts: 31
Location: Germany
Post 
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.


Sun Oct 03, 2010 10:26 pm
Profile

Joined: Mon Sep 13, 2010 1:50 am
Posts: 31
Location: Germany
Post 
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!


Thu Oct 07, 2010 12:28 pm
Profile

Joined: Mon Feb 09, 2009 2:19 pm
Posts: 44
Location: Sharps Chapel,TN
Post 
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.


Sun Oct 17, 2010 2:22 pm
Profile

Joined: Mon Sep 13, 2010 1:50 am
Posts: 31
Location: Germany
Post 
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!


Sun Oct 17, 2010 6:21 pm
Profile

Joined: Mon Aug 02, 2010 11:48 pm
Posts: 14
Post Re: Mpeg Streaming at 640x480 not work, 320x240 work
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.


Wed May 02, 2012 10:35 pm
Profile

Joined: Thu Apr 05, 2012 2:19 am
Posts: 16
Post Re: Mpeg Streaming at 640x480 not work, 320x240 work
This post: viewtopic.php?f=21&t=18413&p=72552&hilit=pacolm+shared+memory#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.


Sat May 05, 2012 12:15 am
Profile

Joined: Mon Aug 02, 2010 11:48 pm
Posts: 14
Post Re: Mpeg Streaming at 640x480 not work, 320x240 work
thanks, i use the script but the problem persist...keep looking the solution..


Sat May 05, 2012 2:13 am
Profile

Joined: Tue Aug 23, 2011 3:16 am
Posts: 7
Post Re: Mpeg Streaming at 640x480 not work, 320x240 work
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.


Tue May 15, 2012 7:11 am
Profile

Joined: Mon Aug 02, 2010 11:48 pm
Posts: 14
Post Re: Mpeg Streaming at 640x480 not work, 320x240 work
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.


Tue May 15, 2012 11:39 am
Profile

Joined: Mon Aug 02, 2010 11:48 pm
Posts: 14
Post Re: Mpeg Streaming at 640x480 not work, 320x240 work
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.


Sun Jun 03, 2012 10:02 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 14 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group