Re: [vdr] eHD experiences with VDR

2009-02-28 Thread Morfsta
On Thu, Feb 26, 2009 at 6:52 PM, Antti Hartikainen ami+...@ah.fi wrote:
 S2API patch didn't work with my DVB-T tuners so i needed to change tuning 
 code from dvbdevice.c a little bit (to do it like scan-s2
 did, as tuning worked fine with it)

I had the same problem, can you post a diff to apply on top of the
S2API patch to fix the DVB-T tuning problem?

 4) Fast forward/rewind problems. Skipping with green/yellow buttons have 
 about 2-3 second delay before anything happens. FF/FRWD with left/right 
 buttons work.. mm.. just poorly, never can know in which point of recording 
 it will start playing again when pressing play.

I can confirm this problem with all version of VDR and reel plugin it
is very frustrating and makes controlling playback of recordings
difficult.

Morfsta

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


Re: [vdr] eHD experiences with VDR

2009-02-28 Thread Antti Hartikainen
On Sat, Feb 28, 2009 at 12:13:42PM +, Morfsta wrote:
 On Thu, Feb 26, 2009 at 6:52 PM, Antti Hartikainen ami+...@ah.fi wrote:
  S2API patch didn't work with my DVB-T tuners so i needed to change tuning 
  code from dvbdevice.c a little bit (to do it like scan-s2
  did, as tuning worked fine with it)
 
 I had the same problem, can you post a diff to apply on top of the
 S2API patch to fix the DVB-T tuning problem?

Well.. I don't really recommend using this one, it completely ignores almost 
all settings from VDR channels config and uses 
autopilot instead. Works for me, it's an ugly hack and i don't recommend it to 
be used. And it forces transponder bandwidth to 8MHz, 
as it's only one in use in Finland. I didn't want to make things more 
complicated (like to get settings from vdr ;)).
--- dvbdevice.c-orig2009-02-28 14:46:17.0 +0200
+++ dvbdevice.c 2009-02-28 14:51:01.0 +0200
@@ -338,27 +338,32 @@
   {
  // DVB-T
  Frontend[0].cmd = DTV_DELIVERY_SYSTEM;
- Frontend[0].u.data = fe_delivery_system_t(channel.System());  
+// Frontend[0].u.data = fe_delivery_system_t(channel.System());
+ Frontend[0].u.data = SYS_DVBT;
  Frontend[1].cmd = DTV_FREQUENCY;
  Frontend[1].u.data = FrequencyToHz(channel.Frequency()); 
  Frontend[2].cmd = DTV_INVERSION;
  Frontend[2].u.data = fe_spectral_inversion_t(channel.Inversion());
- Frontend[3].cmd = DTV_BANDWIDTH_HZ;
- Frontend[3].u.data = fe_bandwidth_t(channel.Bandwidth());
- Frontend[4].cmd = DTV_CODE_RATE_HP;
- Frontend[4].u.data = fe_code_rate_t(channel.CoderateH());
- Frontend[5].cmd = DTV_CODE_RATE_LP;
- Frontend[5].u.data = fe_code_rate_t(channel.CoderateL());
- Frontend[6].cmd = DTV_MODULATION;
- Frontend[6].u.data = fe_modulation_t(channel.Modulation());
- Frontend[7].cmd = DTV_TRANSMISSION_MODE;
- Frontend[7].u.data = fe_transmit_mode_t(channel.Transmission());
- Frontend[8].cmd = DTV_GUARD_INTERVAL;
- Frontend[8].u.data = fe_guard_interval_t(channel.Guard());
- Frontend[9].cmd = DTV_HIERARCHY;
- Frontend[9].u.data = fe_hierarchy_t(channel.Hierarchy());
- Frontend[10].cmd = DTV_TUNE;
- cmdseq.num = 11;
+ Frontend[3].cmd = DTV_SYMBOL_RATE;
+ Frontend[3].u.data = 0;
+ Frontend[4].cmd = DTV_BANDWIDTH_HZ;
+ Frontend[4].u.data = 800;
+/* Frontend[5].cmd = DTV_CODE_RATE_HP;
+ Frontend[5].u.data = fe_code_rate_t(channel.CoderateH());
+ Frontend[6].cmd = DTV_CODE_RATE_LP;
+ Frontend[6].u.data = fe_code_rate_t(channel.CoderateL());
+ Frontend[7].cmd = DTV_MODULATION;
+ Frontend[7].u.data = fe_modulation_t(channel.Modulation());
+ Frontend[8].cmd = DTV_TRANSMISSION_MODE;
+ Frontend[8].u.data = fe_transmit_mode_t(channel.Transmission());
+ Frontend[9].cmd = DTV_GUARD_INTERVAL;
+ Frontend[9].u.data = fe_guard_interval_t(channel.Guard());
+ Frontend[10].cmd = DTV_HIERARCHY;
+ Frontend[10].u.data = fe_hierarchy_t(channel.Hierarchy());*/
+ Frontend[5].cmd = DTV_PILOT;
+ Frontend[5].u.data = PILOT_AUTO;
+ Frontend[6].cmd = DTV_TUNE;
+ cmdseq.num = 7;
  cmdseq.props = Frontend;
 
  tuneTimeout = DVBT_TUNE_TIMEOUT;
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] eHD experiences with VDR

2009-02-26 Thread Antti Hartikainen
Hello list!

I had a thought to write about my experiences with eHD and VDR, to share my 
findings and to get some help/hints about some problems.

For the begining I will tell that I'm a not software developer, and I don't 
know how to debug crashes, find crashing code etc.

About one week ago I upgraded my VDR computer to DVB-S2 and HDTV time. Before I 
had it running with 2x DVB-T USB, 2x DVB-S budget 
and Technotred DVB-S full featured 1.5 card (only as decoder/tv-out card, no 
tuner was used).

So currently I'm running my vdr with:
- 2x Terratec Cinergy T2 USB (DVB-T)
- 2x TechnoTrend S2-3200 PCI (DVB-S2)
- Reel Extension HD as decoder/tv-out card

Drivers and software in use:
- VDR-1.7.0 with loads of patches to support S2API, H.264, teletext subtitles, 
reelbox plugin (TrueColorOsd) etc:
   - 
vdr-1.7.0-h264-syncearly-framespersec-audioindexer-fielddetection-speedup.diff
   - vdr-1.7.0-s2api-07102008-h264-clean.patch
   - vdr170-h264-rmm-svn9403-patch.diff
   - vdr-1.7.0-liemikuutio-1.21.diff
S2API patch didn't work with my DVB-T tuners so i needed to change tuning code 
from dvbdevice.c a little bit (to do it like scan-s2 
did, as tuning worked fine with it)

- DVB driver is latest from s2-liplianin mercurial 
(http://mercurial.intuxication.org/hg/s2-liplianin)
- Reel drivers/plugin r10768 (testing branch) from reelbox.org svn 
(svn://reelbox.org)
- Some plugins, like osdteletext, ttxtsubs, epgsearch

I also tried vdr-1.7.4 with following patches, without any plugins (except 
reelbox plugin):
  - vdr-1.7.4_reelbox.10388.diff (found from mailinglist, to patch OSD code to 
work with reelbox plugin)
  - vdr-1.7.4-liemikuutio-1.23.diff
  - and 1.7.4 patch for reelbox plugin (allowing audio track id 0)

With VDR-1.7.4 things doesn't work so well as heavily patched 1.7.0. There is 
lots of more freezes than with 1.7.0. Some packets 
are lost every now and then (vdr: [2163] ERROR: driver buffer overflow on 
device 2). And sometimes VDR gets in state when there is 
about 99% of packet loss (femon plugins shows about 0.10 Mbit/s data rate for 
channel, while it should be like 5 Mbit/s for SD and 
16Mbit/s for HD). This could be driver problem too.

And note for ttxtsubs users:
I also tried to put teletext subtitles patch on 1.7.4. Latest patch exist only 
for 1.7.2. As only failed hunks were in recorder.c 
(propably because of TS recording), I gave it a try. Subtitles worked fine with 
live view.


So that's for the configuration and patches, now for the problems I've 
encountered (both with 1.7.0 and 1.7.4):

1) Subtitles are out of sync. DVB Subtitles are shown about 2-3 seconds too 
early. It varies between different channels. Teletext 
subtitles work fine in live view, with recordings need to set subtitle delay to 
maximum. I have tried the set analog 
audio to soundcard -workaround but it had no affect at all.

2) Lots of crashes and freezes. I think they are mostly related to 
reelbox-plugin, as usually vdr still keeps recording if such 
happens. OSD will be frozen and no video/sound.

3) Choosing different audio language in left/right speakers doesn't work. 
Choosing left or right doesn't make any difference, 
both are played always. (I have tried only with S/PDIF from mini-din).

4) Fast forward/rewind problems. Skipping with green/yellow buttons have about 
2-3 second delay before anything happens. FF/FRWD 
with left/right buttons work.. mm.. just poorly, never can know in which point 
of recording it will start playing again when 
pressing play.

5) No automatic aspect ratio changing. I have connected eHD to my TV via HDMI. 
This is propably The feature I miss the most from FF 
card. Always need to change aspect ratio manually from TV between 16:9 and 4:3. 
This can be TV problem too (that's why I wrote this 
message, to get experience from other users too, if something works for them 
what doesn't work for me).


So here's my one week observations of VDR with eHD. On average use everything 
is working fine, I can watch SD channels, HD channels, 
recordings, get AC3 sound over S/PDIF to my home theater receiver, get MPEG 
sound as PCM over S/PDIF. So most of the things are 
working like before, and how it should be.

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