Re: [vdr] DVB-S2 + H.264 support for VDR-1.5.10

2007-10-24 Thread Reinhard Nissl
Hi,

Morfsta schrieb:

 The picture was very good, but there was dropped frames that xine
 reported and the stuttered on occassion and then ran very quickly to
 catch up. Playing around with the settings in xine (setting threads to
 2 etc) didn't really make much difference. However, for the first time
 I've spent playing with this I was impressed with the picture quality
 out of VDR. Top reported that the CPU was ~40% idle so I don't know
 why I saw dropped frames...

Frame duration wasn't set at all in xine-lib for this case. xine-lib-1.2
contains now a fix for this issue. The fix is part of vdr-xine-0.8.0's
xine-lib.patch for xine-lib-1.1.8, too.

 One other thing I noticed though was when using XVMC (-V xxmc) to view
 normal MPEG2 channels the VDR OSD looked terrible (very blockly
 looking) and playing with the settings in the xine plugin did not make
 it better. Any recommendations on improving this? When using MPEG4
 (i.e. software accel)  the OSD was fine.

xxmc's OSD support allows only 16 colors. I assume, you've enabled font
antialiasing in VDR, which requires much more than 16 colors. This is
the case for hardware accelerated MPEG2 decoding. For H.264, xxmc falls
back to xv where there is no such limitation.

You may also want to try to choose unscaled OSD in vdr-xine's setup
menu, which renders the OSD on top of the video image, using libX11. It
is therefore not limited to 16 colors but doesn't support OSD
transparency at all.

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:[EMAIL PROTECTED]

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


Re: [vdr] DVB-S2 + H.264 support for VDR-1.5.10

2007-10-24 Thread Tony Grant
Le mercredi 24 octobre 2007 à 09:04 +0200, Reinhard Nissl a écrit :

  The picture was very good, but there was dropped frames that xine
  reported and the stuttered on occassion and then ran very quickly to
  catch up. Playing around with the settings in xine (setting threads to
  2 etc) didn't really make much difference. However, for the first time
  I've spent playing with this I was impressed with the picture quality
  out of VDR. Top reported that the CPU was ~40% idle so I don't know
  why I saw dropped frames...
 
 Frame duration wasn't set at all in xine-lib for this case. xine-lib-1.2
 contains now a fix for this issue. The fix is part of vdr-xine-0.8.0's
 xine-lib.patch for xine-lib-1.1.8, too.

Reinhard,

Where can I find xine-lib-1.2?

Without patching and using the 0.3.0 CPU is back down under 40% on my
Epia M1

Cheers

Tony


-- 


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


Re: [vdr] DVB-S2 + H.264 support for VDR-1.5.10

2007-10-24 Thread Reinhard Nissl
Hi,

Tony Grant schrieb:

 Frame duration wasn't set at all in xine-lib for this case. xine-lib-1.2
 contains now a fix for this issue. The fix is part of vdr-xine-0.8.0's
 xine-lib.patch for xine-lib-1.1.8, too.
 
 Where can I find xine-lib-1.2?

xine-lib-1.2 is only available from the hg repository. Please follow
this guide:

http://www.vdr-wiki.de/wiki/index.php/OpenSuSE_DVB-S2_-_Step_by_Step_Installationsanleitung_%28Achtung_Beta%29

Although not required, I'd suggest you to use vdr-xine-0.8.0 too (see
other thread about fixes).

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:[EMAIL PROTECTED]

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


Re: [vdr] [ANNOUNCE] DVB-S2 + H.264 support for VDR-1.5.10

2007-10-24 Thread Jan Wagner
 Try the patch at posted at 
 http://www.vdr-portal.de/board/thread.php?threadid=50139page=32 from 
 Reinhard, which will solve most of the performance problems.
 Unfortunately, transmissions using interlaced pictures+spatial direct 
 mode still do not seem to work right and may cause major performance and 
 stability problems.

Awesome, that works like a charm even with deinterlacing on. I will try
xine-0.8.0 tonight. Keep up the nice work Reinhard!

Jan


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


Re: [vdr] DVB-S2 + H.264 support for VDR-1.5.10

2007-10-24 Thread Tony Grant
Le mercredi 24 octobre 2007 à 09:47 +0200, Reinhard Nissl a écrit :

 xine-lib-1.2 is only available from the hg repository. Please follow
 this guide:

OK I have lib-1.2 and vdr-xine-0.8.0 humming along. Image very clean and
CPU usage is down another 5%. I will see if the new version of
openchrome and libXVmc fixes something (CPU was 15% when I started this
VDR journey). Zaps fast. Locks solid when right clicking to get the xine
menu...

How do I set the PCM volume on startup? The setting in the OSD?

Cheers

Tony

-- 


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


Re: [vdr] DVB-S2 + H.264 support for VDR-1.5.10

2007-10-24 Thread Torgeir Veimo


On 24 Oct 2007, at 15:44, Tony Grant wrote:



OK I have lib-1.2 and vdr-xine-0.8.0 humming along. Image very  
clean and

CPU usage is down another 5%. I will see if the new version of
openchrome and libXVmc fixes something (CPU was 15% when I started  
this
VDR journey). Zaps fast. Locks solid when right clicking to get the  
xine

menu...


Is there any support for h.264 decoding in any of the linux support  
libraries for the CN700 now?


Otherwise I'd assume that XvMC was not in use when not doing mpeg2  
decoding.



--
Torgeir Veimo
[EMAIL PROTECTED]



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


Re: [vdr] blank screen with xv softdevice on NVIDIA 6150

2007-10-24 Thread Fabian Ritzmann
On 10/24/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Quoting Fabian Ritzmann:

  The issue I am seeing with softdevice is that I have a black screen
  that displays the OSD just fine. In other words, the TV broadcasts are
  not being displayed but I can see and use the VDR menus as well as
  teletext and DVB subtitles (pretty weird seeing the subtitles
  displayed v-a-v a black picture).

 You should set OSD alpha blending to software instead of pseudo.

Thanks, but unfortunately that has not helped. These are the settings
I am using now:

softdevice.AC3Mode = 0
softdevice.AlsaAC3Device = hw:0,1
softdevice.AlsaDevice = default
softdevice.autodetectAspect = 0
softdevice.avOffset = 0
softdevice.bufferMode = 0
softdevice.CropBottomLines = 0
softdevice.CropLeftCols = 0
softdevice.CropMode = 0
softdevice.CropModeToggleKey = 0
softdevice.CropRightCols = 0
softdevice.CropTopLines = 0
softdevice.Deinterlace Method = 0
softdevice.ExpandLeftRightCols = 0
softdevice.ExpandTopBottomLines = 0
softdevice.mainMenu = 1
softdevice.OSDalphablend = 1
softdevice.Picture mirroring = 0
softdevice.PixelAspect = 0
softdevice.PixelFormat = 2
softdevice.Postprocess Method = 0
softdevice.Postprocess Quality = 0
softdevice.Suspend = 0
softdevice.syncTimerMode = 2
softdevice.UseSetSourceRectangle = 0
softdevice.UseStretchBlit = 0
softdevice.vidBrightness = -1
softdevice.vidContrast = -1
softdevice.vidHue = -1
softdevice.vidSaturation = -1
softdevice.Xv-Aspect = 1

Fabian

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


Re: [vdr] DVB-S2 + H.264 support for VDR-1.5.10

2007-10-24 Thread Reinhard Nissl
Hi,

Tony Grant schrieb:

 OK I have lib-1.2 and vdr-xine-0.8.0 humming along. Image very clean and
 CPU usage is down another 5%. I will see if the new version of
 openchrome and libXVmc fixes something (CPU was 15% when I started this
 VDR journey). Zaps fast. Locks solid when right clicking to get the xine
 menu...

It would be interesting, where the deadlock occurs. To analyze the
deadlock, please compile xine-lib and xine-ui with debug information by
running configure like that:

CFLAGS='-g3 -O0' ../xine-lib/configure --prefix=/soft/xine-lib-cvs
--enable-debug --disable-optimizations --with-external-ffmpeg --disable-dxr3

CFLAGS='-g3 -O0' ../xine-ui/configure --prefix=/soft/xine-ui-cvs
--enable-debug --disable-optimizations --enable-vdr-keys

When the deadlock occurs, run gdb like that:

gdb /path/to/xine `pidof xine`

There will be a lot of libraries listed by gdb. Among the output gdb
will also report for which libraries it could find debug symbols. For
the best result, try to install missing debug symbols if your Linux
distribution provides them. For simplicity, quit gdb by typing quit and
let xine alive. Restart gdb as mentioned above until debug symbols for
all libraries are available.

Then type the following command into gdb:

thread apply all bt

gdb will then output the backtrace of each thread (and there will be
about 20). Please report the backtraces here.

 How do I set the PCM volume on startup? The setting in the OSD?

When VDR sets the volume, vdr-xine stores this value internally. When
xine connects to vdr-xine, the stored value will be transmitted to xine.

Please have a look into VDR's setup menu. There exists a setting which
controls whether VDR shall restore the last set volume when it starts.
When VDR doesn't restore the volume setting, then vdr-xine's internal
value will be 0 and xine's volume will be set to 0, too.

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:[EMAIL PROTECTED]

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


[vdr] Missing sound..

2007-10-24 Thread JJussi
Hi!

I have my vdr with DVB-C cards at livingroom and now I build other vdr 
(without cards) to bedroom and use NFS to connect to video directory.
When I try to play recordings, everything except SOUND is fine..  I get 
following error:

ffmpeg_audio_dec: increasing buffer to 98304 to avoid overflow.
ffmpeg_audio_dec: trying to open null codec
audio_decoder: no plugin available to handle 'MPEG layer 2/3'

What libs (or something) I miss?

-- 
JJussi

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


Re: [vdr] 2 DVB-T cards == can't record

2007-10-24 Thread Jan Exner
JJussi [EMAIL PROTECTED] writes:

 So I invested little money (20€) and bougth 1 in 8 out amplifier.. No
 I can connect 8 devices (TV cards, TV, what ever) and every one of
 them get equal good signal.

And so I bought an amplifier today and it works! Brilliant!

Thanks a lot, and thanks to Darren, as well!

Cheers,
Jan

-- 
Jan Exner · [EMAIL PROTECTED] · 0x9E0D3E98 · http://www.jan-exner.de/

Neues aus Frankreich und England http://www.jan-exner.de/uk.html

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


Re: [vdr] blank screen with xv softdevice on NVIDIA 6150

2007-10-24 Thread Darren Wilkinson
Fabian Ritzmann wrote:
 On 10/24/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
   
 Quoting Fabian Ritzmann:

 
 The issue I am seeing with softdevice is that I have a black screen
 that displays the OSD just fine. In other words, the TV broadcasts are
 not being displayed but I can see and use the VDR menus as well as
 teletext and DVB subtitles (pretty weird seeing the subtitles
 displayed v-a-v a black picture).
   
 You should set OSD alpha blending to software instead of pseudo.
 

 Thanks, but unfortunately that has not helped. These are the settings
 I am using now:

 softdevice.AC3Mode = 0
 softdevice.AlsaAC3Device = hw:0,1
 softdevice.AlsaDevice = default
 softdevice.autodetectAspect = 0
 softdevice.avOffset = 0
 softdevice.bufferMode = 0
 softdevice.CropBottomLines = 0
 softdevice.CropLeftCols = 0
 softdevice.CropMode = 0
 softdevice.CropModeToggleKey = 0
 softdevice.CropRightCols = 0
 softdevice.CropTopLines = 0
 softdevice.Deinterlace Method = 0
 softdevice.ExpandLeftRightCols = 0
 softdevice.ExpandTopBottomLines = 0
 softdevice.mainMenu = 1
 softdevice.OSDalphablend = 1
 softdevice.Picture mirroring = 0
 softdevice.PixelAspect = 0
 softdevice.PixelFormat = 2
 softdevice.Postprocess Method = 0
 softdevice.Postprocess Quality = 0
 softdevice.Suspend = 0
 softdevice.syncTimerMode = 2
 softdevice.UseSetSourceRectangle = 0
 softdevice.UseStretchBlit = 0
 softdevice.vidBrightness = -1
 softdevice.vidContrast = -1
 softdevice.vidHue = -1
 softdevice.vidSaturation = -1
 softdevice.Xv-Aspect = 1

 Fabian
   
Recent Nvidia cards haven't been a good choice for softdevice. IIRC it's 
because nvidia dropped some overlay features in the last few years. When 
I was trying to get softdevice to work with directfb on my geforce 6600 
I had to alter the alphablend (like you've been told), the stretchblit 
and the pixelformat settings. I can't remember what they changed to though.

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


Re: [vdr] blank screen with xv softdevice on NVIDIA 6150

2007-10-24 Thread Darren Wilkinson
Darren Wilkinson wrote:
 Recent Nvidia cards haven't been a good choice for softdevice. IIRC it's 
 because nvidia dropped some overlay features in the last few years. When 
 I was trying to get softdevice to work with directfb on my geforce 6600 
 I had to alter the alphablend (like you've been told), the stretchblit 
 and the pixelformat settings. I can't remember what they changed to though.
   
http://www.spinics.net/lists/vdr/msg13392.html

Select YUY2 as the pixel format and select Use StrectBlit. You'll now 
get video.

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


Re: [vdr] Missing sound..

2007-10-24 Thread JJussi
On Wednesday, 24. Octoberta 2007 20:40:52 Reinhard Nissl wrote:
 Well, I'm not used to it, but it uses libxine like vdr-xine does.
 Therefore I think that your libxine lacks support for libmad, which
 implements the Mpeg Audio Decoder.

Yep! (Now it works!)
I had installed libmad but I had not set USE=mad at make.conf...

-- 
JJussi

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