Re: [vdr] Using a local FF card for recording on streamdev client

2008-01-25 Thread Frank Schmirler
On Wed, 23 Jan 2008 10:50:45 +0100, Malte Forkel wrote
> sometimes I would like to use the FF card of my client for recording 
> (to the common video directory shared via NFS). The client seems to 
> automatically prefer its streamdev device though, i.e. it uses one 
> of the server's cards if available. Is there a way to tell vdr to 
> "stay local", preferably without editing channels.conf?

Two possible solutions come into my mind

1. Patch (or rather bugfix) for streamdev: When you disable streamdev-client
in its setup, it remains active until you restart vdr. It would make more
senste to make streamdev-client stop offering channels once it is disabled.
You would have to temporarily disable streamdev every time you want to make
sure the recording uses the local FF card.

2. Extend VDR's device selection algorithm: See cDevice::GetDevice(...) in
VDR's device.c. Timers usually have a high priority, so it's easy to identify
calls to GetDevice caused by a timer. Whenever GetDevice is called with a high
priority and the device's card index indicates a non-DVB card device like
streamdev-client, give that a maximum impact, so it should be avoided.

By checking for a particular priority range only (e.g. >= 30), you could even
use the timer priority to control whether streamdev or the FF card will
finally take the recording.

Patches for both solutions attached - feedback welcome! Note that both patches
are entirely untested.

DISCLAIMER: Fiddling around in cDevice::GetDevice() could have unexpected side
effects ;-)

Cheers,
Frank


streamdev-disabled.diff
Description: Binary data


vdr-avoid-streamdev-recording.diff
Description: Binary data
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] VDR-1.5.13 DVBS2 Autodetect Addon: Channel Not Available on DVBS2 Channels

2008-01-25 Thread Morfsta
Hi Reinhard,

I have just tried the new DVB-S2 patches for VDR-1.5.13 and the
additional addon.

Now I cannot tune to a DVB-S2 channel and I get a "Channel Not
Available".  H264 on DVB-S works fine.

I have a HVR4000 and a FF Technotrend. The response still appears when
I remove the use of the Technotrend through the use of the -D options
to VDR.

Regards

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR-1.5.13 DVBS2 Autodetect Addon: Channel Not Available on DVBS2 Channels

2008-01-25 Thread Christian Tramnitz

Morfsta schrieb:
[...]
> I have just tried the new DVB-S2 patches for VDR-1.5.13 and the
> additional addon.
> 
> Now I cannot tune to a DVB-S2 channel and I get a "Channel Not
> Available".  H264 on DVB-S works fine.
[...]



Hi Morfsta,

which addon patch are you using? The h264 autodetection posted on 
January 20th?


Best regards,
Christian


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR-1.5.13 DVBS2 Autodetect Addon: Channel Not Available on DVBS2 Channels

2008-01-25 Thread Morfsta
> have a look at the patch Gregoire provided starting at line 246.
> You may want to look for "DVBFE_DELSYS_DVBS2" which is what I think
> you'll need.
>
> What version of the HVR4000 patch/driver are you using if not the same
> as Gregoire? Is it more recent?

I think it is more recent. It was on the linux-dvb mailing list and
can be downloaded here: -

http://www.linuxtv.org/pipermail/linux-dvb/attachments/20071215/13bb7cb3/attachment-0001.bin

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] Muempf HG repositories

2008-01-25 Thread Stefan Huelswitt
Hi,

I would like to announce my new HG repositories at


At the moment it hosts my own project only, named:
MP3/MPlayer plugin
PremiereEPG plugin
cdbackup

The repos are hosted on a dedicated machine, so there is some
space and bandwidth left, so I offer this capacity for free HG
hosting of VDR related projects.

Please apply by mail, if you want your project to be hosted.

Please note that this is a private service and I reserve the
right to terminate the service and/or exclude/reject projects
from the hosting at any time and for any reason.

Regards.

-- 
Stefan Huelswitt
[EMAIL PROTECTED]  | http://www.muempf.de/

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR-1.5.13 DVBS2 Autodetect Addon: Channel Not Available on DVBS2 Channels

2008-01-25 Thread Christian Tramnitz
Morfsta schrieb:
[...]
> How do you declare a card DVB-S2 capable? This is the bit I need to
> add to cx24116.c in the current multiproto to make it work with the
> new VDR.

Morfsta,

have a look at the patch Gregoire provided starting at line 246.
You may want to look for "DVBFE_DELSYS_DVBS2" which is what I think 
you'll need.

What version of the HVR4000 patch/driver are you using if not the same 
as Gregoire? Is it more recent?


Best regards,
Christian


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR-1.5.13 DVBS2 Autodetect Addon: C hannel NotAvailable on DVBS2 Channels

2008-01-25 Thread Igor
> I am really really really sad on how bad this card gets into linux :-(

I'm too :(

Igor
 

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR-1.5.13 DVBS2 Autodetect Addon: Channel Not Available on DVBS2 Channels

2008-01-25 Thread Christian Tramnitz
Morfsta schrieb:
>> which addon patch are you using? The h264 autodetection posted on
>> January 20th?
>>
> 
> That's correct..

I'm using it without any problems so far (applied on January 21st) and 
both recordings and live-view via streamdev are working.
Have you checked the vpids? They shouldn't contain the +1 workaround 
anymore.


Best regards,
Christian


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR-1.5.13 DVBS2 Autodetect Addon: Channel Not Available on DVBS2 Channels

2008-01-25 Thread Morfsta
> Hi Morfsta,
>
> which addon patch are you using? The h264 autodetection posted on
> January 20th?
>

That's correct..

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR-1.5.13 DVBS2 Autodetect Addon: Channel Not Available on DVBS2 Channels

2008-01-25 Thread Gregoire Favre
On Fri, Jan 25, 2008 at 01:59:31PM +0100, Christian Tramnitz wrote:
> Morfsta schrieb:
> >> which addon patch are you using? The h264 autodetection posted on
> >> January 20th?
> >>
> > 
> > That's correct..
> 
> I'm using it without any problems so far (applied on January 21st) and 
> both recordings and live-view via streamdev are working.
> Have you checked the vpids? They shouldn't contain the +1 workaround 
> anymore.

If you use the patch from
http://www.linuxtv.org/pipermail/linux-dvb/2008-January/022762.html it
should work, the previous one didn't declare the card as DVB-S2 capable.

I am really really really sad on how bad this card gets into linux :-(
-- 
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org
   http://picasaweb.google.com/Gregoire.Favre

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR-1.5.13 DVBS2 Autodetect Addon: Channel NotAvailable on DVBS2 Channels

2008-01-25 Thread Morfsta
Me too - it seems crazy that the development of DVB into Linux is
being held up my personal arguments. It would be nice for these to be
put aside for the greater good!

2008/1/25 Igor <[EMAIL PROTECTED]>:
> > I am really really really sad on how bad this card gets into linux :-(
>
> I'm too :(
>
> Igor
>
>
>
> ___
> vdr mailing list
> vdr@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR-1.5.13 DVBS2 Autodetect Addon: Channel Not Available on DVBS2 Channels

2008-01-25 Thread Morfsta
I have tried your patch Gregoire and it doesn't work here (HVR4000
Lite). When tuning to a DVB-S or DVB-S2 I get a black screen. When
using the original patch everything works fine (on previous vdr-1.5.12
patches)

> If you use the patch from
> http://www.linuxtv.org/pipermail/linux-dvb/2008-January/022762.html it
> should work, the previous one didn't declare the card as DVB-S2 capable.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR-1.5.13 DVBS2 Autodetect Addon: Channel Not Available on DVBS2 Channels

2008-01-25 Thread Gregoire Favre
On Fri, Jan 25, 2008 at 02:03:55PM +, Morfsta wrote:
> I have tried your patch Gregoire and it doesn't work here (HVR4000
> Lite). When tuning to a DVB-S or DVB-S2 I get a black screen. When
> using the original patch everything works fine (on previous vdr-1.5.12
> patches)

Well, I took an older version of the diseqc as the merge was really
hard... I hope someone more knownledged would give a look at it :-)

But now your VDR recognize the card as a DVB-S2 one (who said black
screen is a problem ?).
-- 
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org
   http://picasaweb.google.com/Gregoire.Favre

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR-1.5.13 DVBS2 Autodetect Addon: Channel Not Available on DVBS2 Channels

2008-01-25 Thread Morfsta
No, when I apply your changes to the multiproto tree and install,
DVB-S / DVB-S2 doesn't work at all - all I get is a black screen on
DVB-S/2 delivered channels. Reverting back to the original patch works
fine.

What was the change you had to make to mark the HVR4000 as a DVB-S2
capable device? If you could isolate that bit then perhaps I could
just add that to the original multiproto + original hvr4000 patch?

> But now your VDR recognize the card as a DVB-S2 one (who said black
> screen is a problem ?).
>

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR-1.5.13 DVBS2 Autodetect Addon: Channel Not Available on DVBS2 Channels

2008-01-25 Thread Gregoire Favre
On Fri, Jan 25, 2008 at 03:36:40PM +, Morfsta wrote:
> No, when I apply your changes to the multiproto tree and install,
> DVB-S / DVB-S2 doesn't work at all - all I get is a black screen on
> DVB-S/2 delivered channels. Reverting back to the original patch works
> fine.

??? you should be able to let VDR tune, but your disecq don't work, no ?

> What was the change you had to make to mark the HVR4000 as a DVB-S2
> capable device? If you could isolate that bit then perhaps I could
> just add that to the original multiproto + original hvr4000 patch?

I wanted the driver to set DVBFE_DELSYS_DVBS2, and I found out that as I
didn't need the need diseqc so I took an older one.

As it worked for me so, I didn't worked anymore at it.

Good luck,
-- 
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org
   http://picasaweb.google.com/Gregoire.Favre

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR-1.5.13 DVBS2 Autodetect Addon: Channel Not Available on DVBS2 Channels

2008-01-25 Thread Morfsta
It's nothing to do with disecq, more that the card is not declared as
S2 capable and the patch you release does not show DVB-S or S2
channels with my HVR4000 lite (Nova-S2).

How do you declare a card DVB-S2 capable? This is the bit I need to
add to cx24116.c in the current multiproto to make it work with the
new VDR.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR-1.5.13 DVBS2 Autodetect Addon: Channel Not Available on DVBS2 Channels

2008-01-25 Thread Grégoire FAVRE
On Jan 25, 2008 6:00 PM, Morfsta <[EMAIL PROTECTED]> wrote:

> It's nothing to do with disecq, more that the card is not declared as
> S2 capable and the patch you release does not show DVB-S or S2
> channels with my HVR4000 lite (Nova-S2).

... does your VDR allow you to tune to DVB-S2 channels with my patch ?
If yes, then it declare your card as DVB-S2 capable, but my patch is based on
an older tuning implementation of Daren Broad, which seems to fail for you.

> How do you declare a card DVB-S2 capable? This is the bit I need to
> add to cx24116.c in the current multiproto to make it work with the
> new VDR.

I fear you have to dig the source... and read the thread in VDR ml about
DVB-S2 and vdr-1.5.12.

Good luck,

-- 
Grégoire FAVRE
http://picasaweb.google.com/Gregoire.Favre
http://gregoire.favre.googlepages.com/

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr