Failed to set video standard 45056: Device or resource busy

Forum for questions and support relating to the 1.28.x releases only.
orsty3001
Posts: 46
Joined: Tue Jan 26, 2010 5:55 pm

Failed to set video standard 45056: Device or resource busy

Post by orsty3001 » Wed Dec 09, 2015 5:55 pm

I'm running 1.28.1 on slackware 14.1. No video will display on the cameras connected to the DVR card. /dev/video0 to /dev/video3 all give the same error.
Failed to set video standard 45056: Device or resource busy
I'm able to output the video to a file using ffmepg.

I tried lsof and all video outputs return nothing.

Apache is in the video usergroup.

For some reason Zoneminder thinks the DVR card is busy but everything else can use it without a problem.

Not sure what to do from this point.

tuxmos
Posts: 16
Joined: Fri Oct 30, 2015 11:13 am

Re: Failed to set video standard 45056: Device or resource busy

Post by tuxmos » Thu Dec 10, 2015 9:31 am

Hello. Is this a TW68 based Card. I have the same Problem with this Card Type on Ubuntu 14.04 Kernel 3.19 and tw68 kernel driver.
bevor with Ubuntu 12.04 LTS and extra tw68 driver from gitorious works great.
i replased the tw68 Card with a bt878 Card and it works.
but the tw68 Card is the better one.
ffmpeg (ffserver) works with tw68, but zoneminder have this Problem

orsty3001
Posts: 46
Joined: Tue Jan 26, 2010 5:55 pm

Re: Failed to set video standard 45056: Device or resource busy

Post by orsty3001 » Thu Dec 10, 2015 1:36 pm

I don't get it. This card works with every other program on this machine so the driver should be fine. It's just ZM that won't access this card.

tuxmos
Posts: 16
Joined: Fri Oct 30, 2015 11:13 am

Re: Failed to set video standard 45056: Device or resource busy

Post by tuxmos » Fri Dec 11, 2015 10:52 pm

Can you post the Output from lsmod?

orsty3001
Posts: 46
Joined: Tue Jan 26, 2010 5:55 pm

Re: Failed to set video standard 45056: Device or resource busy

Post by orsty3001 » Fri Dec 11, 2015 11:15 pm

tw68 16103 0
videobuf2_dma_sg 8372 1 tw68
videobuf2_core 34906 1 tw68
v4l2_common 3093 2 tw68,videobuf2_core
videodev 124853 3 tw68,v4l2_common,videobuf2_core

tuxmos
Posts: 16
Joined: Fri Oct 30, 2015 11:13 am

Re: Failed to set video standard 45056: Device or resource busy

Post by tuxmos » Sat Dec 12, 2015 10:01 am

OK. The tw68 Kerneldriver is the Problem with Zoneminder.
Or Zoneminder instructions to v4l2 driver are different as the ffmpeg instructions to v4l2. ???

orsty3001
Posts: 46
Joined: Tue Jan 26, 2010 5:55 pm

Re: Failed to set video standard 45056: Device or resource busy

Post by orsty3001 » Mon Dec 14, 2015 1:32 pm

That's possible. I guess it's time to start ditching these DVR cards and replacing what analogue cameras I have left with IP cameras. ZoneMinder might be moving away from older hardware like this.

the_ccm
Posts: 2
Joined: Tue Dec 15, 2015 10:46 pm

Re: Failed to set video standard 45056: Device or resource busy

Post by the_ccm » Tue Dec 15, 2015 10:50 pm

Hi,

same problem here with TW6804. Had no problem with kernel 3.2.0, but after moving to 4.2.7 I have the same error. Keep in mind that tw68 module has been totally rewritten and integrated into kernel source, which was not the cas before.

But any help would be appreciated, I have 4 analog camera on my Techwell card and it would be anoying to replace all these cameras.

orsty3001
Posts: 46
Joined: Tue Jan 26, 2010 5:55 pm

Re: Failed to set video standard 45056: Device or resource busy

Post by orsty3001 » Wed Dec 23, 2015 12:31 pm

Replacing the card or going to IP cameras is the only solution at this point or going back to a older kernel. There is something going on with the new driver that only ZM doesn't like. It works fine with all other programs including streaming video using ffmepg.

tuxmos
Posts: 16
Joined: Fri Oct 30, 2015 11:13 am

Re: Failed to set video standard 45056: Device or resource busy

Post by tuxmos » Wed Dec 23, 2015 7:46 pm

So the question is: What makes ZoneMinder different?

User avatar
knight-of-ni
Posts: 2226
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Failed to set video standard 45056: Device or resource busy

Post by knight-of-ni » Mon Dec 28, 2015 2:08 pm

orsty3001 wrote:Replacing the card or going to IP cameras is the only solution at this point or going back to a older kernel. There is something going on with the new driver that only ZM doesn't like. It works fine with all other programs including streaming video using ffmepg.
No, there is another...
Keep your analog cameras, but replace the capture card with an IP video encoder. They work great.
At least in the midwestern USA, the commercial industry has completely moved away from analog equipment.
At my $dayjob, we have not sold a new analog system in quite some time.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/

the_ccm
Posts: 2
Joined: Tue Dec 15, 2015 10:46 pm

Re: Failed to set video standard 45056: Device or resource busy

Post by the_ccm » Mon Dec 28, 2015 7:13 pm

A good solution would be to not spend again money especially if it is a bug in zoneminder and/or in the tw68 module....

User avatar
knight-of-ni
Posts: 2226
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Failed to set video standard 45056: Device or resource busy

Post by knight-of-ni » Tue Dec 29, 2015 2:39 pm

the_ccm wrote:A good solution would be to not spend again money especially if it is a bug in zoneminder and/or in the tw68 module....
DVR Capture cards are obsolete technology. The only person I know who still uses these cards and might be able to fix the short term problem is iconnor. However, your expectation that he is just going to fix it for free on his own time, out of the kindness of his heart, isn't what I'd call realistic.

We are all volunteers here, and we all have much more work to do than time allows. If you want him to prioritize fixing this above his other action items, then creating a reasonable Bounty for github issue #733 is a good way to do that. That of course goes against your statement about spending money.

If your time spent installing software is not as important to you as spending money, then another option would be to find an old version of Linux, coupled with an old version of ZoneMinder, which works with your card. Then don't upgrade it. Ever.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/

orsty3001
Posts: 46
Joined: Tue Jan 26, 2010 5:55 pm

Re: Failed to set video standard 45056: Device or resource busy

Post by orsty3001 » Wed Jan 20, 2016 8:56 pm

knnniggett wrote:
orsty3001 wrote:Replacing the card or going to IP cameras is the only solution at this point or going back to a older kernel. There is something going on with the new driver that only ZM doesn't like. It works fine with all other programs including streaming video using ffmepg.
No, there is another...
Keep your analog cameras, but replace the capture card with an IP video encoder. They work great.
At least in the midwestern USA, the commercial industry has completely moved away from analog equipment.
At my $dayjob, we have not sold a new analog system in quite some time.
IP cameras would be cheaper.

User avatar
knight-of-ni
Posts: 2226
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Failed to set video standard 45056: Device or resource busy

Post by knight-of-ni » Wed Jan 20, 2016 10:41 pm

orsty3001 wrote: IP cameras would be cheaper.
The last video encoder I bought was a Grandstream GXV3504 4 channel IP Video Encoder.
It was $119 shipped.

You would have to pay $29.75 per ip camera, shipped, in order to match that price. Additionally, you would have to pull all new cable where the video encoder would simply use the existing coax.

The only reason to upgrade an existing analog camera to an IP camera is to achieve much better image resolution. It isn't price.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests