Welcome to the ViewCast Discussion Forums. These forums are intended to foster community discussions and to provide a tool for the exchange of information and ideas between ViewCast developers and users. These discussion forums are not regularly monitored by ViewCast Technical Support.
  Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
General Development
 ViewCast Forums : General Development
Subject Topic: WMEnc stops - cannot record 24/7? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
dracore
Newbie
Newbie


Joined: February 03 2005
Posts: 11
Posted: February 03 2005 at 9:46am | IP Logged Quote dracore

I work with equipment that uses Osprey 230 boards on a daily basis.  Our goal is to capture video 24/7 but in a number of cases, we have run into different problems with different systems when video stops encoding.  Most of the time I can make it past several days before something dies.

I will list what I have come across and some of the things I have found that might help some people here.  Hopefully you guys can help me out too.  Browsing this forum, I've noticed there are similar threads (usually with 0 replies) so I'm going to bring up these again.

First off, the equipment encodes with WME having reasonable settings for PAL and NTSC:  20 sec between keyframes, Smoothness 10, Decoder complexity Simple, Buffer size is Use Default.  This keeps our CPU usage low while encoding otherwise WMEnc will immediately crash.

What we have noticed and learned: 

1) Low CPU usage is good while encoding.  At ~80% or higher, there's greater risk of failure.  I aim for ~40%

2) If the screen refresh rate is changed, wmenc can fail.

3) If you install UltraVNC on the system and try to connect it with a client machine, wmenc can fail.  This happens only when the Video Hook driver is enabled.

4) So far I noticed this on PAL but sometimes the encoded ASF video can get jittery and jumpy.  It speeds up a bit, frames are dropped, audio gets jumpy.  Then video slowly returns back to normal but audio stream is gone.  No more audio is encoded until the encoder process is restarted.  Seemed like there may not have been enough system resources.  I increasing the RAM on the system (originally 512MB with 2 Osprey encoders, now boosted to 1.5GB) and it might be fine now.

Now what I cannot figure out are the following problems that I have come across.  NOTE: I don't get this on all my encoding systems... just some of them and I can't seem to pinpoint what could be causing it.  Windows registry settings?  hardware?  Each of these systems are imaged from the same CD so they should be exactly the same in hardware and software.

1) WMEnc still fails unexpectedly regardless of satisfying the above points.

2) With a 2 card setup, sometimes just one wmenc will fail while the other keeps on going as though there's nothing wrong.  Wmenc process might hang... or fail peacefully by reporting errors in the Windows Event viewer

3) Windows Event viewer reports "Faulting application wmenc.exe, version 9.0.0.2980, faulting module wmadmoe.dll, version 9.0.0.2980, fault address 0x0001e4d6"

4) "Faulting application wmenc....." except this time in wmvdmoe2.dll

5) Sometimes encoded ASF files made by wmenc are partially corrupted.  Attempting to join these ASF files together or extracting portions of it will fail due to the corrupted portions of the ASF.

 

All encoding systems are running Windows 2000 with v2.2.2.0 of the driver.

Is there any possibility that there might be something in the video signal -- not standard-- that could cause the Osprey to output bad data to wmenc, and thus causing wmenc to die?  Could a bad Osprey card output bad data?

I'm just throwing some ideas around so maybe someone can help me out or give some opinions.

Thanks!

Dracore   

 

Back to Top View dracore's Profile Search for other posts by dracore
 
James Baud
Newbie
Newbie


Joined: March 03 2005
Location: United States
Posts: 4
Posted: March 03 2005 at 4:48pm | IP Logged Quote James Baud

I've only had rare crashes of WME while encoding 7x24 (actually, I can't even remember one that happened all by itself.)  I stream to publishing point on Windows Media Server.

In regards to your comments:

1) Yes, you don't want to go over about 80% CPU utilization.  Microsoft even says this.  Another trick that I've been experimenting with is increasing the base priority of wmenc.exe to "AboveNormal".  My systems are are at ~30%.

2) Never played with refresh setting, but if you set your Windows color display setting to High (16-bit) instead of Highest you'll see lower CPU cycles w/o impact to encoding quality.  You should also turn off the video preview window while encoding.

3) I use tightVNC 1.3dev6 with their video hook driver and have never had a crash logging into an encoder.  I'm also using an SSH tunnel when doing this.  If your CPU utilization is high, that's probably why it's crashing (VNC takes up CPU cycles and bandwidth.)

4) Sounds like your hardware isn't keeping up.  If you're dropping frames at the encoder, that's usually why.  Make sure you aren't running any other processes (anti-virus, Windows Updates, etc.) and that you've got the latest hardware drivers installed, especially video drivers.

I've encoded on Dell workstations and Viewcast Niagara systems using different driver versions.  I've had some driver update issues, but they've always yielded good results once up and running.

Back to Top View James Baud's Profile Search for other posts by James Baud
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.1411 seconds.
Home  Osprey  Niagara  IVN  Privacy  Term of Use  Contact Us  Site Map