Re: [vdr] Moving to a stream mpeg or h264 with vdr-1.7.9

2009-11-11 Thread Theunis Potgieter
On 11/11/2009, Senufo  wrote:
> Hi,
>
>  When I make a mark with the 0 key if I want to move it by pressing 4 or
>  6 it works when the stream is the H264 but when it's mpeg2 the mark
>  moves but the image remains static.
>
>  Regards
>
>  Senufo
>
what is your output device?

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


Re: [vdr] rotor plugin puzzling question

2009-11-11 Thread Chris Moore

Hello,

ACK: this was clearly a bug ;-)

marti...@embl.de a écrit :

Is it just me or the newly released rotor plugin for vdr 1.7.9 needs the
following patch to the plugin itself in order to run (although it compiles
fine without it)
If the author reads these lines I would love to know why...

--- rotor.c.old 2006-06-14 23:44:27.0 +0200
+++ rotor.c 2006-06-14 23:46:43.0 +0200
@@ -96,7 +96,8 @@
   continue;
 if ((diseqc=Diseqcs.Get(source->Code(),12000,'h')) ||
(diseqc=Diseqcs.Get(source->Code(),12000,'v')) ||
(diseqc=Diseqcs.Get(source->Code(),12000,'l')) ||
(diseqc=Diseqcs.Get(source->Code(),12000,'r'))) 
 {

-  char *c=strdup(diseqc->Commands());
+  char *commandstring=strdup(diseqc->Commands());
+  char *c=commandstring;  
   while (c = strchr(c, '['))

   {
 char *e = strchr(++c, ']');
@@ -131,7 +132,7 @@
   break;
 }
   }
-  free(c);
+  free(commandstring);
  


I am not the author (nor even a user) but you are absolutely right.
You must free the pointer as returned by strdup; not one that you have 
modified or incremented :(

So you need to keep a virgin copy of the pointer as you have done.

Cheers,
Chris



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


[vdr] rotor plugin puzzling question

2009-11-11 Thread martinez
Is it just me or the newly released rotor plugin for vdr 1.7.9 needs the
following patch to the plugin itself in order to run (although it compiles
fine without it)
If the author reads these lines I would love to know why...

--- rotor.c.old 2006-06-14 23:44:27.0 +0200
+++ rotor.c 2006-06-14 23:46:43.0 +0200
@@ -96,7 +96,8 @@
   continue;
 if ((diseqc=Diseqcs.Get(source->Code(),12000,'h')) ||
(diseqc=Diseqcs.Get(source->Code(),12000,'v')) ||
(diseqc=Diseqcs.Get(source->Code(),12000,'l')) ||
(diseqc=Diseqcs.Get(source->Code(),12000,'r'))) 
 {
-  char *c=strdup(diseqc->Commands());
+  char *commandstring=strdup(diseqc->Commands());
+  char *c=commandstring;  
   while (c = strchr(c, '['))
   {
 char *e = strchr(++c, ']');
@@ -131,7 +132,7 @@
   break;
 }
   }
-  free(c);
+  free(commandstring);
 }
 cRotorPos *p = RotorPositions.GetfromSource(source->Code());
 if (p==RotorPositions.First())

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


Re: [vdr] [OT] ARM based devices for VDR server and client

2009-11-11 Thread Michael Stepanov
If we're starting to talk about media players then Popcorn Hour can be used
as VDR client - http://smart-home-blog.com/archives/1344

On Wed, Nov 11, 2009 at 2:32 PM, Theunis Potgieter <
theunis.potgie...@gmail.com> wrote:

> On 10/11/2009, Michael Stepanov  wrote:
> >
> >
> > On Tue, Nov 3, 2009 at 7:49 PM, Paul Menzel
> >  wrote:
> > > Am Dienstag, den 03.11.2009, 09:49 +0200 schrieb Michael Stepanov:
> > >
> > > > IMHO nVidia Ion is much better option.
> > >
> > > Did you try both options or is this just your point of view from
> reading
> > > the specs?
> > >
> > > > Especially for HDTV.
> > >
> > > As far as I know the Beagle Board is supposed to play 720p without any
> > > problems. See for example [1]. The NVIDIA ION is supposed to do 1080p
> > > with VDPAU, but I think I do not need it yet.
> > >
> > > + The Beagle Board should use less power.
> > > - More people run and test x86 hardware.
> > > • Both use proprietary drivers.
> > >
> >
> > Agree with you. But 720p on the Beagle Board is a hack while nVidia Ion
> is
> > reality ;) In any case this is just my opinion. You can find easily case,
> MB
> > with different options such external PSU, PCI extension or ready made
> HTPC
> > based on nVidia Ion. Regarding the power consumption. I don't think that
> the
> > difference between Ion and Beagle Board is extremely big. More efficient
> way
> > to reduce energy consumption is replace all kitchen appliances to energy
> > save ones, use thermostat to control temperature, switch off unnecessary
> > electrical devices  and use energy saving lamps :)
> >
> > >
> > >
> > > Thanks,
> > >
> > > Paul
> > >
> > >
> > > [1] http://www.youtube.com/watch?v=BdnDpH3543Q
> > >
> What about the Xstreamer? www.xstreamer.net 100 EUR, sounds like a
> good deal, now only a proper implementation of UPnP plugin for such a
> device?
>
> ___
> vdr mailing list
> vdr@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>



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


[vdr] Moving to a stream mpeg or h264 with vdr-1.7.9

2009-11-11 Thread Senufo
Hi,

When I make a mark with the 0 key if I want to move it by pressing 4 or
6 it works when the stream is the H264 but when it's mpeg2 the mark
moves but the image remains static.

Regards

Senufo



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


Re: [vdr] [OT] ARM based devices for VDR server and client

2009-11-11 Thread Theunis Potgieter
On 10/11/2009, Michael Stepanov  wrote:
>
>
> On Tue, Nov 3, 2009 at 7:49 PM, Paul Menzel
>  wrote:
> > Am Dienstag, den 03.11.2009, 09:49 +0200 schrieb Michael Stepanov:
> >
> > > IMHO nVidia Ion is much better option.
> >
> > Did you try both options or is this just your point of view from reading
> > the specs?
> >
> > > Especially for HDTV.
> >
> > As far as I know the Beagle Board is supposed to play 720p without any
> > problems. See for example [1]. The NVIDIA ION is supposed to do 1080p
> > with VDPAU, but I think I do not need it yet.
> >
> > + The Beagle Board should use less power.
> > - More people run and test x86 hardware.
> > • Both use proprietary drivers.
> >
>
> Agree with you. But 720p on the Beagle Board is a hack while nVidia Ion is
> reality ;) In any case this is just my opinion. You can find easily case, MB
> with different options such external PSU, PCI extension or ready made HTPC
> based on nVidia Ion. Regarding the power consumption. I don't think that the
> difference between Ion and Beagle Board is extremely big. More efficient way
> to reduce energy consumption is replace all kitchen appliances to energy
> save ones, use thermostat to control temperature, switch off unnecessary
> electrical devices  and use energy saving lamps :)
>
> >
> >
> > Thanks,
> >
> > Paul
> >
> >
> > [1] http://www.youtube.com/watch?v=BdnDpH3543Q
> >
What about the Xstreamer? www.xstreamer.net 100 EUR, sounds like a
good deal, now only a proper implementation of UPnP plugin for such a
device?

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


Re: [vdr] Hulu for Linux

2009-11-11 Thread Michael Stepanov
On Wed, Nov 11, 2009 at 10:08 AM, Steffen Barszus  wrote:

> Michael Stepanov schrieb:
>
>  On Wed, Nov 11, 2009 at 3:44 AM, Timothy D. Lenz > tl...@vorgon.com>> wrote:
>>
>>I already have debain linux/vdr setup. 64 bit on my system and 32
>>on my dads. I don't want to rip it all out and start over with
>>another flavor of linux.
>>
>>
>> Then XBMC will help you ;) Here is one way to integrate VDR and XBMC using
>> streamdev plugin -
>> http://blog.mymediasystem.net/avchd/xbmc-on-karmic-with-vdpau-and-vdr/There 
>> is also another way without streamdev, which is better as people talk.
>>
> And then, how does it related to the OP question ?
>

http://xbmc.org/forum/showthread.php?t=42041


>
>>
>>Michael Stepanov wrote:
>>
>>Hi Timothy,
>>
>>You may try LinuxMCE - http://linuxmce.com, which includes
>>VDR, MythTV and now Hulu :) Or you can try XBMC+VDR
>>
>>On Sat, Oct 10, 2009 at 6:58 PM, Timothy D. Lenz
>>mailto:tl...@vorgon.com>
>>>> wrote:
>>
>>   Hulu now has a linux interface. And it seems MythTv can use
>>it. what
>>   about vdr? Can it be done without installing a desktop?
>>
>>   http://www.nvnews.net/vbulletin/showthread.php?t=139868
>>
>>  To my understanding, yes and no, depends on what you understand to be a
> desktop. You need X for it and something to launch it. (Flash interface) +
> Flashplayer (i believe Gnash can't do it yet ?)
>
> The XBMC could be your "Desktop" and i believe, what the answers before
> trying you to say is you could launch Hulu Desktop from within XBMC (not
> proven as i can't - neither XBMC here yet, nor can i use hulu) So whatever
> else, you need X and display X on your TV.
>
> HTH
>
> Steffen
>
>
> ___
> vdr mailing list
> vdr@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>



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


Re: [vdr] Hulu for Linux

2009-11-11 Thread Steffen Barszus

Michael Stepanov schrieb:
On Wed, Nov 11, 2009 at 3:44 AM, Timothy D. Lenz > wrote:


I already have debain linux/vdr setup. 64 bit on my system and 32
on my dads. I don't want to rip it all out and start over with
another flavor of linux.


Then XBMC will help you ;) Here is one way to integrate VDR and XBMC 
using streamdev plugin - 
http://blog.mymediasystem.net/avchd/xbmc-on-karmic-with-vdpau-and-vdr/ 
There is also another way without streamdev, which is better as people 
talk.

And then, how does it related to the OP question ?
 



Michael Stepanov wrote:

Hi Timothy,

You may try LinuxMCE - http://linuxmce.com, which includes
VDR, MythTV and now Hulu :) Or you can try XBMC+VDR

On Sat, Oct 10, 2009 at 6:58 PM, Timothy D. Lenz
mailto:tl...@vorgon.com>
>> wrote:

   Hulu now has a linux interface. And it seems MythTv can use
it. what
   about vdr? Can it be done without installing a desktop?

   http://www.nvnews.net/vbulletin/showthread.php?t=139868

To my understanding, yes and no, depends on what you understand to be a 
desktop. You need X for it and something to launch it. (Flash interface) 
+ Flashplayer (i believe Gnash can't do it yet ?)


The XBMC could be your "Desktop" and i believe, what the answers before 
trying you to say is you could launch Hulu Desktop from within XBMC (not 
proven as i can't - neither XBMC here yet, nor can i use hulu) So 
whatever else, you need X and display X on your TV.


HTH

Steffen

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


Re: [vdr] mdadm software raid5 arrays?

2009-11-11 Thread jori.hamalainen

> Ok.. short comparison, using a single disk as baseline.

Good chart, perhaps you should also mention the capacity. With this I 
mean what happens.

1 disk = 1TB for simplicity.

>using 2 disks
>raid0: (striping)
> ++   double read throughput, 
> ++   double write throughput, 
> --   half the reliability (read: only use with good backup!)
Capacity: 2TB

>raid1: (mirroring)
> ++   double read throughput.
> osame write throughput
> ++   double the reliability
Capacity: 1TB

>using 3 disks:
>raid0: striping
> +++  tripple read performance
> +++  tripple write performance
> ---  third of reliability
Capacity: 3TB

>raid1: mirroring
> +++  tripple read performance
> osame write throughput
> +++  tripple reliability
Capacity: 1TB

>raid5: (distributed parity)
> +++  tripple read performance
> -lower write performance (not due to the second write but due 
>  to the necessary reads)
> +sustains failure of any one drive in the set
Capacity: 2TB

>using 4 disks:
>raid1+0:
>  four times the read performance 
> ++   double write performance
> ++   double reliability
Capacity: 2TB

Raid5:
> +++  four times the read performance
> -lower write performance (not due to the second write but due 
>  to the necessary reads)
> +sustains failure of any one drive in the set
Capacity: 3TB


smime.p7s
Description: S/MIME cryptographic signature
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr